Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

count instead of jobs list and expose filter by pipeline and tag #1513

Merged
merged 10 commits into from
Feb 8, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 37 additions & 5 deletions core/api-server/api/rest-api/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"info": {
"title": "HKube API",
"description": "HKube RESTful API",
"version": "2.2.7",
"version": "2.2.9",
"contact": {
"email": "[email protected]"
},
Expand Down Expand Up @@ -12464,15 +12464,15 @@
"description": "Get preferred",
"parameters": [
{
"name": "fromJob",
"name": "firstJobId",
"in": "query",
"description": "from this job and on",
"schema": {
"type": "string"
}
},
{
"name": "toJob",
"name": "lastJobId",
"in": "query",
"description": "up to this job",
"schema": {
Expand All @@ -12487,6 +12487,22 @@
"schema": {
"type": "string"
}
},
{
"name": "pipelineName",
"in": "query",
"schema": {
"type": "string"
},
"description": "filter by pipeline"
},
{
"name": "tag",
"in": "query",
"schema": {
"type": "string"
},
"description": "filter by tag"
}
],
"responses": {
Expand Down Expand Up @@ -13143,15 +13159,15 @@
"description": "Get managed",
"parameters": [
{
"name": "fromJob",
"name": "firstJobId",
"in": "query",
"description": "from this job and on",
"schema": {
"type": "string"
}
},
{
"name": "toJob",
"name": "lastJobId",
"in": "query",
"description": "up to this job",
"schema": {
Expand All @@ -13166,6 +13182,22 @@
"schema": {
"type": "string"
}
},
{
"name": "pipelineName",
"in": "query",
"schema": {
"type": "string"
},
"description": "filter by pipeline"
},
{
"name": "tag",
"in": "query",
"schema": {
"type": "string"
},
"description": "filter by tag"
}
],
"responses": {
Expand Down
42 changes: 37 additions & 5 deletions core/datasources-service/api/rest-api/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"info": {
"title": "HKube API",
"description": "HKube RESTful API",
"version": "2.2.7",
"version": "2.2.9",
"contact": {
"email": "[email protected]"
},
Expand Down Expand Up @@ -12464,15 +12464,15 @@
"description": "Get preferred",
"parameters": [
{
"name": "fromJob",
"name": "firstJobId",
"in": "query",
"description": "from this job and on",
"schema": {
"type": "string"
}
},
{
"name": "toJob",
"name": "lastJobId",
"in": "query",
"description": "up to this job",
"schema": {
Expand All @@ -12487,6 +12487,22 @@
"schema": {
"type": "string"
}
},
{
"name": "pipelineName",
"in": "query",
"schema": {
"type": "string"
},
"description": "filter by pipeline"
},
{
"name": "tag",
"in": "query",
"schema": {
"type": "string"
},
"description": "filter by tag"
}
],
"responses": {
Expand Down Expand Up @@ -13143,15 +13159,15 @@
"description": "Get managed",
"parameters": [
{
"name": "fromJob",
"name": "firstJobId",
"in": "query",
"description": "from this job and on",
"schema": {
"type": "string"
}
},
{
"name": "toJob",
"name": "lastJobId",
"in": "query",
"description": "up to this job",
"schema": {
Expand All @@ -13166,6 +13182,22 @@
"schema": {
"type": "string"
}
},
{
"name": "pipelineName",
"in": "query",
"schema": {
"type": "string"
},
"description": "filter by pipeline"
},
{
"name": "tag",
"in": "query",
"schema": {
"type": "string"
},
"description": "filter by tag"
}
],
"responses": {
Expand Down
42 changes: 37 additions & 5 deletions core/gc-service/api/rest-api/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"info": {
"title": "HKube API",
"description": "HKube RESTful API",
"version": "2.2.7",
"version": "2.2.9",
"contact": {
"email": "[email protected]"
},
Expand Down Expand Up @@ -12464,15 +12464,15 @@
"description": "Get preferred",
"parameters": [
{
"name": "fromJob",
"name": "firstJobId",
"in": "query",
"description": "from this job and on",
"schema": {
"type": "string"
}
},
{
"name": "toJob",
"name": "lastJobId",
"in": "query",
"description": "up to this job",
"schema": {
Expand All @@ -12487,6 +12487,22 @@
"schema": {
"type": "string"
}
},
{
"name": "pipelineName",
"in": "query",
"schema": {
"type": "string"
},
"description": "filter by pipeline"
},
{
"name": "tag",
"in": "query",
"schema": {
"type": "string"
},
"description": "filter by tag"
}
],
"responses": {
Expand Down Expand Up @@ -13143,15 +13159,15 @@
"description": "Get managed",
"parameters": [
{
"name": "fromJob",
"name": "firstJobId",
"in": "query",
"description": "from this job and on",
"schema": {
"type": "string"
}
},
{
"name": "toJob",
"name": "lastJobId",
"in": "query",
"description": "up to this job",
"schema": {
Expand All @@ -13166,6 +13182,22 @@
"schema": {
"type": "string"
}
},
{
"name": "pipelineName",
"in": "query",
"schema": {
"type": "string"
},
"description": "filter by pipeline"
},
{
"name": "tag",
"in": "query",
"schema": {
"type": "string"
},
"description": "filter by tag"
}
],
"responses": {
Expand Down
42 changes: 37 additions & 5 deletions core/openapi-spec/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"info": {
"title": "HKube API",
"description": "HKube RESTful API",
"version": "2.2.7",
"version": "2.2.9",
"contact": {
"email": "[email protected]"
},
Expand Down Expand Up @@ -12464,15 +12464,15 @@
"description": "Get preferred",
"parameters": [
{
"name": "fromJob",
"name": "firstJobId",
"in": "query",
"description": "from this job and on",
"schema": {
"type": "string"
}
},
{
"name": "toJob",
"name": "lastJobId",
"in": "query",
"description": "up to this job",
"schema": {
Expand All @@ -12487,6 +12487,22 @@
"schema": {
"type": "string"
}
},
{
"name": "pipelineName",
"in": "query",
"schema": {
"type": "string"
},
"description": "filter by pipeline"
},
{
"name": "tag",
"in": "query",
"schema": {
"type": "string"
},
"description": "filter by tag"
}
],
"responses": {
Expand Down Expand Up @@ -13143,15 +13159,15 @@
"description": "Get managed",
"parameters": [
{
"name": "fromJob",
"name": "firstJobId",
"in": "query",
"description": "from this job and on",
"schema": {
"type": "string"
}
},
{
"name": "toJob",
"name": "lastJobId",
"in": "query",
"description": "up to this job",
"schema": {
Expand All @@ -13166,6 +13182,22 @@
"schema": {
"type": "string"
}
},
{
"name": "pipelineName",
"in": "query",
"schema": {
"type": "string"
},
"description": "filter by pipeline"
},
{
"name": "tag",
"in": "query",
"schema": {
"type": "string"
},
"description": "filter by tag"
}
],
"responses": {
Expand Down
14 changes: 12 additions & 2 deletions core/openapi-spec/swagger/paths/managed/list.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ get:
summary: Get Managed
description: Get managed
parameters:
- name: fromJob
- name: firstJobId
in: query
description: from this job and on
schema:
type: string
- name: toJob
- name: lastJobId
in: query
description: up to this job
schema:
Expand All @@ -20,6 +20,16 @@ get:
required: true
schema:
type: string
- name: pipelineName
in: query
schema:
type: string
description: filter by pipeline
- name: tag
in: query
schema:
type: string
description: filter by tag

responses:
"200":
Expand Down
Loading