Skip to content

Commit b041819

Browse files
Merge pull request #233 from codefresh-io/CR-15902
Cr 15902
2 parents 9a43ee3 + 27a5ee2 commit b041819

File tree

11 files changed

+55140
-11
lines changed

11 files changed

+55140
-11
lines changed

api/jsonschema/schema.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3576,6 +3576,17 @@
35763576
],
35773577
"type": "object"
35783578
},
3579+
"io.argoproj.workflow.v1alpha1.ArtifactByManifestRequest": {
3580+
"properties": {
3581+
"workflow": {
3582+
"$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Workflow"
3583+
}
3584+
},
3585+
"required": [
3586+
"workflow"
3587+
],
3588+
"type": "object"
3589+
},
35793590
"io.argoproj.workflow.v1alpha1.ArtifactGC": {
35803591
"description": "ArtifactGC describes how to delete artifacts from completed Workflows",
35813592
"properties": {

api/openapi-spec/swagger.json

Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3733,6 +3733,48 @@
37333733
}
37343734
}
37353735
},
3736+
"/artifacts-by-manifest/{podName}/{artifactName}": {
3737+
"post": {
3738+
"tags": [
3739+
"ArtifactService"
3740+
],
3741+
"summary": "Get an output artifact by a full workflow manifest.",
3742+
"operationId": "ArtifactService_GetOutputArtifactByManifest",
3743+
"parameters": [
3744+
{
3745+
"name": "body",
3746+
"in": "body",
3747+
"required": true,
3748+
"schema": {
3749+
"$ref": "#/definitions/io.argoproj.workflow.v1alpha1.ArtifactByManifestRequest"
3750+
}
3751+
},
3752+
{
3753+
"type": "string",
3754+
"name": "podName",
3755+
"in": "path",
3756+
"required": true
3757+
},
3758+
{
3759+
"type": "string",
3760+
"name": "artifactName",
3761+
"in": "path",
3762+
"required": true
3763+
}
3764+
],
3765+
"responses": {
3766+
"200": {
3767+
"description": "An artifact file."
3768+
},
3769+
"default": {
3770+
"description": "An unexpected error response.",
3771+
"schema": {
3772+
"$ref": "#/definitions/grpc.gateway.runtime.Error"
3773+
}
3774+
}
3775+
}
3776+
}
3777+
},
37363778
"/artifacts-by-uid/{uid}/{nodeId}/{artifactName}": {
37373779
"get": {
37383780
"tags": [
@@ -3827,6 +3869,48 @@
38273869
}
38283870
}
38293871
},
3872+
"/input-artifacts-by-manifest/{podName}/{artifactName}": {
3873+
"post": {
3874+
"tags": [
3875+
"ArtifactService"
3876+
],
3877+
"summary": "Get an output artifact by a full workflow manifest.",
3878+
"operationId": "ArtifactService_GetInputArtifactByManifest",
3879+
"parameters": [
3880+
{
3881+
"name": "body",
3882+
"in": "body",
3883+
"required": true,
3884+
"schema": {
3885+
"$ref": "#/definitions/io.argoproj.workflow.v1alpha1.ArtifactByManifestRequest"
3886+
}
3887+
},
3888+
{
3889+
"type": "string",
3890+
"name": "podName",
3891+
"in": "path",
3892+
"required": true
3893+
},
3894+
{
3895+
"type": "string",
3896+
"name": "artifactName",
3897+
"in": "path",
3898+
"required": true
3899+
}
3900+
],
3901+
"responses": {
3902+
"200": {
3903+
"description": "An artifact file."
3904+
},
3905+
"default": {
3906+
"description": "An unexpected error response.",
3907+
"schema": {
3908+
"$ref": "#/definitions/grpc.gateway.runtime.Error"
3909+
}
3910+
}
3911+
}
3912+
}
3913+
},
38303914
"/input-artifacts-by-uid/{uid}/{nodeId}/{artifactName}": {
38313915
"get": {
38323916
"tags": [
@@ -7497,6 +7581,17 @@
74977581
}
74987582
}
74997583
},
7584+
"io.argoproj.workflow.v1alpha1.ArtifactByManifestRequest": {
7585+
"type": "object",
7586+
"required": [
7587+
"workflow"
7588+
],
7589+
"properties": {
7590+
"workflow": {
7591+
"$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Workflow"
7592+
}
7593+
}
7594+
},
75007595
"io.argoproj.workflow.v1alpha1.ArtifactGC": {
75017596
"description": "ArtifactGC describes how to delete artifacts from completed Workflows",
75027597
"type": "object",

pkg/apiclient/_.primary.swagger.json

Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,90 @@
3030
}
3131
],
3232
"paths": {
33+
"/artifacts-by-manifest/{podName}/{artifactName}": {
34+
"post": {
35+
"tags": [
36+
"ArtifactService"
37+
],
38+
"summary": "Get an output artifact by a full workflow manifest.",
39+
"operationId": "ArtifactService_GetOutputArtifactByManifest",
40+
"parameters": [
41+
{
42+
"name": "body",
43+
"in": "body",
44+
"required": true,
45+
"schema": {
46+
"$ref": "#/definitions/github.com.argoproj.argo_workflows.v3.pkg.apis.workflow.v1alpha1.ArtifactByManifestRequest"
47+
}
48+
},
49+
{
50+
"type": "string",
51+
"name": "podName",
52+
"in": "path",
53+
"required": true
54+
},
55+
{
56+
"type": "string",
57+
"name": "artifactName",
58+
"in": "path",
59+
"required": true
60+
}
61+
],
62+
"responses": {
63+
"200": {
64+
"description": "An artifact file."
65+
},
66+
"default": {
67+
"description": "An unexpected error response.",
68+
"schema": {
69+
"$ref": "#/definitions/grpc.gateway.runtime.Error"
70+
}
71+
}
72+
}
73+
}
74+
},
75+
"/input-artifacts-by-manifest/{podName}/{artifactName}": {
76+
"post": {
77+
"tags": [
78+
"ArtifactService"
79+
],
80+
"summary": "Get an output artifact by a full workflow manifest.",
81+
"operationId": "ArtifactService_GetInputArtifactByManifest",
82+
"parameters": [
83+
{
84+
"name": "body",
85+
"in": "body",
86+
"required": true,
87+
"schema": {
88+
"$ref": "#/definitions/github.com.argoproj.argo_workflows.v3.pkg.apis.workflow.v1alpha1.ArtifactByManifestRequest"
89+
}
90+
},
91+
{
92+
"type": "string",
93+
"name": "podName",
94+
"in": "path",
95+
"required": true
96+
},
97+
{
98+
"type": "string",
99+
"name": "artifactName",
100+
"in": "path",
101+
"required": true
102+
}
103+
],
104+
"responses": {
105+
"200": {
106+
"description": "An artifact file."
107+
},
108+
"default": {
109+
"description": "An unexpected error response.",
110+
"schema": {
111+
"$ref": "#/definitions/grpc.gateway.runtime.Error"
112+
}
113+
}
114+
}
115+
}
116+
},
33117
"/artifact-files/{namespace}/{idDiscriminator}/{id}/{nodeId}/{artifactDiscriminator}/{artifactName}": {
34118
"get": {
35119
"tags": [
@@ -289,6 +373,17 @@
289373
}
290374
},
291375
"definitions": {
376+
"github.com.argoproj.argo_workflows.v3.pkg.apis.workflow.v1alpha1.ArtifactByManifestRequest": {
377+
"type": "object",
378+
"required": [
379+
"workflow"
380+
],
381+
"properties": {
382+
"workflow": {
383+
"$ref": "#/definitions/github.com.argoproj.argo_workflows.v3.pkg.apis.workflow.v1alpha1.Workflow"
384+
}
385+
}
386+
},
292387
"io.k8s.apimachinery.pkg.runtime.Object": {
293388
"title": "This is a hack do deal with this problem: https://github.com/kubernetes/kube-openapi/issues/174"
294389
},

0 commit comments

Comments
 (0)