From c99b4725ee2d2a0ddf86a1a818159b249fad1b17 Mon Sep 17 00:00:00 2001 From: Camille TJHOA Date: Fri, 12 Jul 2024 10:28:01 +0200 Subject: [PATCH 1/2] feat(COR-720): add icon_uri attribute on services --- openapi.yaml | 60 +++++++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 50 insertions(+), 10 deletions(-) diff --git a/openapi.yaml b/openapi.yaml index fed7e883..ae793d0c 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -11091,9 +11091,10 @@ components: - $ref: '#/components/schemas/ServiceStorage' - type: object required: - - healthchecks - - name - environment + - name + - healthchecks + - icon_uri properties: environment: $ref: '#/components/schemas/ReferenceObject' @@ -11167,6 +11168,10 @@ components: $ref: '#/components/schemas/OrganizationAnnotationsGroupResponseList' labels_groups: $ref: '#/components/schemas/OrganizationLabelsGroupResponseList' + icon_uri: + type: string + x-stoplight: + id: b8karc43pdxpu ApplicationDeploymentRestriction: allOf: - $ref: '#/components/schemas/Base' @@ -11515,12 +11520,16 @@ components: description: optional entrypoint when launching container auto_deploy: type: boolean - nullable: true description: Specify if the application will be automatically updated after receiving a new commit. + nullable: true annotations_groups: $ref: '#/components/schemas/ServiceAnnotationsRequestList' labels_groups: $ref: '#/components/schemas/ServiceLabelsRequestList' + icon_uri: + type: string + x-stoplight: + id: om4lw1ulknsrg ApplicationResponseList: type: object properties: @@ -13184,14 +13193,18 @@ components: If not specified, it takes the value of the `auto_preview` property from the associated environment. auto_deploy: type: boolean - nullable: true description: | Specify if the container will be automatically updated after receiving a new image tag. The new image tag shall be communicated via the "Auto Deploy container" endpoint https://api-doc.qovery.com/#tag/Containers/operation/autoDeployContainerEnvironments + nullable: true annotations_groups: $ref: '#/components/schemas/ServiceAnnotationsRequestList' labels_groups: $ref: '#/components/schemas/ServiceLabelsRequestList' + icon_uri: + type: string + x-stoplight: + id: jiypvl6nd63dm ContainerResponse: allOf: - $ref: '#/components/schemas/Base' @@ -13200,15 +13213,16 @@ components: - type: object required: - environment + - maximum_cpu + - maximum_memory - name - - auto_preview - cpu - memory - min_running_instances - max_running_instances - - maximum_cpu - - maximum_memory - healthchecks + - auto_preview + - icon_uri properties: environment: $ref: '#/components/schemas/ReferenceObject' @@ -13273,6 +13287,10 @@ components: $ref: '#/components/schemas/OrganizationAnnotationsGroupResponseList' labels_groups: $ref: '#/components/schemas/OrganizationLabelsGroupResponseList' + icon_uri: + type: string + x-stoplight: + id: o2bdci7ak3bmz ContainerResponseList: type: object properties: @@ -13639,6 +13657,10 @@ components: $ref: '#/components/schemas/ServiceAnnotationsRequestList' labels_groups: $ref: '#/components/schemas/ServiceLabelsRequestList' + icon_uri: + type: string + x-stoplight: + id: ls6yevnhskd5y DatabaseResponseList: type: object properties: @@ -15028,6 +15050,10 @@ components: $ref: '#/components/schemas/ServiceAnnotationsRequestList' labels_groups: $ref: '#/components/schemas/ServiceLabelsRequestList' + icon_uri: + type: string + x-stoplight: + id: k3gangiisgxpc type: object JobResponse: oneOf: @@ -15188,10 +15214,10 @@ components: - type: object required: - name + - auto_deploy - source - - values_override - arguments - - auto_deploy + - values_override properties: name: type: string @@ -15206,11 +15232,11 @@ components: Maximum number of seconds allowed for helm to run before killing it and mark it as failed auto_preview: type: boolean - nullable: true description: | Indicates if the 'environment preview option' is enabled. If enabled, a preview environment will be automatically cloned when `/preview` endpoint is called or when a new commit is updated. If not specified, it takes the value of the `auto_preview` property from the associated environment. + nullable: true auto_deploy: type: boolean description: | @@ -15292,6 +15318,10 @@ components: content: type: string description: The content of the value file + icon_uri: + type: string + x-stoplight: + id: 117p5u95nwx2p HelmResponse: allOf: - $ref: '#/components/schemas/Base' @@ -15305,6 +15335,7 @@ components: - arguments - allow_cluster_wide_resources - values_override + - icon_uri properties: environment: $ref: '#/components/schemas/ReferenceObject' @@ -15438,6 +15469,10 @@ components: description: List of path inside your git repository to locate values file. Must start by a / items: type: string + icon_uri: + type: string + x-stoplight: + id: i2pvbugqsldhe HelmResponseList: type: object properties: @@ -17859,6 +17894,7 @@ components: - auto_preview - source - healthchecks + - icon_uri properties: environment: $ref: '#/components/schemas/ReferenceObject' @@ -17928,6 +17964,10 @@ components: description: | Specify if the job will be automatically updated after receiving a new image tag or a new commit according to the source type. The new image tag shall be communicated via the "Auto Deploy job" endpoint https://api-doc.qovery.com/#tag/Jobs/operation/autoDeployJobEnvironments + icon_uri: + type: string + x-stoplight: + id: p1secr7kxozsd HelmGitRepositoryRequest: type: object required: From 887a00be4687de88c8eb18149e495ac1053d8f1e Mon Sep 17 00:00:00 2001 From: Camille TJHOA Date: Fri, 12 Jul 2024 15:44:10 +0200 Subject: [PATCH 2/2] fixup! feat(COR-720): add icon_uri attribute on services --- openapi.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/openapi.yaml b/openapi.yaml index ae793d0c..27909ea5 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -11170,6 +11170,8 @@ components: $ref: '#/components/schemas/OrganizationLabelsGroupResponseList' icon_uri: type: string + format: uri + description: Icon URI representing the application. x-stoplight: id: b8karc43pdxpu ApplicationDeploymentRestriction: @@ -11528,6 +11530,8 @@ components: $ref: '#/components/schemas/ServiceLabelsRequestList' icon_uri: type: string + format: uri + description: Icon URI representing the application. x-stoplight: id: om4lw1ulknsrg ApplicationResponseList: @@ -13203,6 +13207,8 @@ components: $ref: '#/components/schemas/ServiceLabelsRequestList' icon_uri: type: string + format: uri + description: Icon URI representing the container. x-stoplight: id: jiypvl6nd63dm ContainerResponse: @@ -13289,6 +13295,8 @@ components: $ref: '#/components/schemas/OrganizationLabelsGroupResponseList' icon_uri: type: string + format: uri + description: Icon URI representing the container. x-stoplight: id: o2bdci7ak3bmz ContainerResponseList: @@ -13659,6 +13667,8 @@ components: $ref: '#/components/schemas/ServiceLabelsRequestList' icon_uri: type: string + format: uri + description: Icon URI representing the database. x-stoplight: id: ls6yevnhskd5y DatabaseResponseList: @@ -15052,6 +15062,8 @@ components: $ref: '#/components/schemas/ServiceLabelsRequestList' icon_uri: type: string + format: uri + description: Icon URI representing the job. x-stoplight: id: k3gangiisgxpc type: object @@ -15320,6 +15332,8 @@ components: description: The content of the value file icon_uri: type: string + format: uri + description: Icon URI representing the helm service. x-stoplight: id: 117p5u95nwx2p HelmResponse: @@ -15471,6 +15485,8 @@ components: type: string icon_uri: type: string + format: uri + description: Icon URI representing the helm service. x-stoplight: id: i2pvbugqsldhe HelmResponseList: @@ -17966,6 +17982,8 @@ components: The new image tag shall be communicated via the "Auto Deploy job" endpoint https://api-doc.qovery.com/#tag/Jobs/operation/autoDeployJobEnvironments icon_uri: type: string + format: uri + description: Icon URI representing the job. x-stoplight: id: p1secr7kxozsd HelmGitRepositoryRequest: