Skip to content

Commit

Permalink
Merge pull request #233 from codefresh-io/CR-15902
Browse files Browse the repository at this point in the history
Cr 15902
  • Loading branch information
kim-codefresh authored Jan 3, 2023
2 parents 9a43ee3 + 27a5ee2 commit b041819
Show file tree
Hide file tree
Showing 11 changed files with 55,140 additions and 11 deletions.
11 changes: 11 additions & 0 deletions api/jsonschema/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -3576,6 +3576,17 @@
],
"type": "object"
},
"io.argoproj.workflow.v1alpha1.ArtifactByManifestRequest": {
"properties": {
"workflow": {
"$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Workflow"
}
},
"required": [
"workflow"
],
"type": "object"
},
"io.argoproj.workflow.v1alpha1.ArtifactGC": {
"description": "ArtifactGC describes how to delete artifacts from completed Workflows",
"properties": {
Expand Down
95 changes: 95 additions & 0 deletions api/openapi-spec/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -3733,6 +3733,48 @@
}
}
},
"/artifacts-by-manifest/{podName}/{artifactName}": {
"post": {
"tags": [
"ArtifactService"
],
"summary": "Get an output artifact by a full workflow manifest.",
"operationId": "ArtifactService_GetOutputArtifactByManifest",
"parameters": [
{
"name": "body",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/io.argoproj.workflow.v1alpha1.ArtifactByManifestRequest"
}
},
{
"type": "string",
"name": "podName",
"in": "path",
"required": true
},
{
"type": "string",
"name": "artifactName",
"in": "path",
"required": true
}
],
"responses": {
"200": {
"description": "An artifact file."
},
"default": {
"description": "An unexpected error response.",
"schema": {
"$ref": "#/definitions/grpc.gateway.runtime.Error"
}
}
}
}
},
"/artifacts-by-uid/{uid}/{nodeId}/{artifactName}": {
"get": {
"tags": [
Expand Down Expand Up @@ -3827,6 +3869,48 @@
}
}
},
"/input-artifacts-by-manifest/{podName}/{artifactName}": {
"post": {
"tags": [
"ArtifactService"
],
"summary": "Get an output artifact by a full workflow manifest.",
"operationId": "ArtifactService_GetInputArtifactByManifest",
"parameters": [
{
"name": "body",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/io.argoproj.workflow.v1alpha1.ArtifactByManifestRequest"
}
},
{
"type": "string",
"name": "podName",
"in": "path",
"required": true
},
{
"type": "string",
"name": "artifactName",
"in": "path",
"required": true
}
],
"responses": {
"200": {
"description": "An artifact file."
},
"default": {
"description": "An unexpected error response.",
"schema": {
"$ref": "#/definitions/grpc.gateway.runtime.Error"
}
}
}
}
},
"/input-artifacts-by-uid/{uid}/{nodeId}/{artifactName}": {
"get": {
"tags": [
Expand Down Expand Up @@ -7497,6 +7581,17 @@
}
}
},
"io.argoproj.workflow.v1alpha1.ArtifactByManifestRequest": {
"type": "object",
"required": [
"workflow"
],
"properties": {
"workflow": {
"$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Workflow"
}
}
},
"io.argoproj.workflow.v1alpha1.ArtifactGC": {
"description": "ArtifactGC describes how to delete artifacts from completed Workflows",
"type": "object",
Expand Down
95 changes: 95 additions & 0 deletions pkg/apiclient/_.primary.swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,90 @@
}
],
"paths": {
"/artifacts-by-manifest/{podName}/{artifactName}": {
"post": {
"tags": [
"ArtifactService"
],
"summary": "Get an output artifact by a full workflow manifest.",
"operationId": "ArtifactService_GetOutputArtifactByManifest",
"parameters": [
{
"name": "body",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/github.com.argoproj.argo_workflows.v3.pkg.apis.workflow.v1alpha1.ArtifactByManifestRequest"
}
},
{
"type": "string",
"name": "podName",
"in": "path",
"required": true
},
{
"type": "string",
"name": "artifactName",
"in": "path",
"required": true
}
],
"responses": {
"200": {
"description": "An artifact file."
},
"default": {
"description": "An unexpected error response.",
"schema": {
"$ref": "#/definitions/grpc.gateway.runtime.Error"
}
}
}
}
},
"/input-artifacts-by-manifest/{podName}/{artifactName}": {
"post": {
"tags": [
"ArtifactService"
],
"summary": "Get an output artifact by a full workflow manifest.",
"operationId": "ArtifactService_GetInputArtifactByManifest",
"parameters": [
{
"name": "body",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/github.com.argoproj.argo_workflows.v3.pkg.apis.workflow.v1alpha1.ArtifactByManifestRequest"
}
},
{
"type": "string",
"name": "podName",
"in": "path",
"required": true
},
{
"type": "string",
"name": "artifactName",
"in": "path",
"required": true
}
],
"responses": {
"200": {
"description": "An artifact file."
},
"default": {
"description": "An unexpected error response.",
"schema": {
"$ref": "#/definitions/grpc.gateway.runtime.Error"
}
}
}
}
},
"/artifact-files/{namespace}/{idDiscriminator}/{id}/{nodeId}/{artifactDiscriminator}/{artifactName}": {
"get": {
"tags": [
Expand Down Expand Up @@ -289,6 +373,17 @@
}
},
"definitions": {
"github.com.argoproj.argo_workflows.v3.pkg.apis.workflow.v1alpha1.ArtifactByManifestRequest": {
"type": "object",
"required": [
"workflow"
],
"properties": {
"workflow": {
"$ref": "#/definitions/github.com.argoproj.argo_workflows.v3.pkg.apis.workflow.v1alpha1.Workflow"
}
}
},
"io.k8s.apimachinery.pkg.runtime.Object": {
"title": "This is a hack do deal with this problem: https://github.com/kubernetes/kube-openapi/issues/174"
},
Expand Down
Loading

0 comments on commit b041819

Please sign in to comment.