Skip to content

Commit 8dac532

Browse files
committed
updated openapi-spec to add historical-get-api-change
1 parent 5e8d155 commit 8dac532

File tree

1 file changed

+248
-1
lines changed

1 file changed

+248
-1
lines changed

specs/swagger/openapi.yaml

Lines changed: 248 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3861,6 +3861,198 @@ paths:
38613861
application/json:
38623862
schema:
38633863
$ref: '#/components/schemas/Error'
3864+
/orchestrator/app/history/deployed-component/detail/{appId}/{pipelineId}/{id}:
3865+
get:
3866+
summary: Fetch component history
3867+
description: fetch detail of a history on the basis of the history component
3868+
and it's name
3869+
operationId: FetchHistoryByDeployedConfigurationDetail
3870+
tags:
3871+
- Deployment History
3872+
parameters:
3873+
- name: appId
3874+
in: path
3875+
required: true
3876+
schema:
3877+
type: integer
3878+
- name: pipelineId
3879+
in: path
3880+
required: true
3881+
schema:
3882+
type: integer
3883+
- name: id
3884+
in: path
3885+
required: true
3886+
schema:
3887+
type: integer
3888+
- name: historyComponent
3889+
in: query
3890+
required: true
3891+
schema:
3892+
type: string
3893+
enum:
3894+
- DEPLOYMENT_TEMPLATE
3895+
- CONFIGMAP
3896+
- SECRET
3897+
- PIPELINE_STRATEGY
3898+
- name: historyComponentName
3899+
in: query
3900+
required: false
3901+
description: name of config-map, secret
3902+
schema:
3903+
type: string
3904+
security:
3905+
- bearerAuth: []
3906+
- apiKeyAuth: []
3907+
responses:
3908+
'200':
3909+
description: Successfully return history
3910+
content:
3911+
application/json:
3912+
schema:
3913+
$ref: '#/components/schemas/HistoryComponentDetailDto'
3914+
'400':
3915+
description: Bad Request. Input Validation error/wrong request body.
3916+
content:
3917+
application/json:
3918+
schema:
3919+
$ref: '#/components/schemas/Error'
3920+
'500':
3921+
description: Internal Server Error
3922+
content:
3923+
application/json:
3924+
schema:
3925+
$ref: '#/components/schemas/Error'
3926+
'403':
3927+
description: Unauthorized User
3928+
content:
3929+
application/json:
3930+
schema:
3931+
$ref: '#/components/schemas/Error'
3932+
/orchestrator/app/history/deployed-component/list/{appId}/{pipelineId}:
3933+
get:
3934+
summary: fetch deployed history details list
3935+
description: fetch deployed history details list
3936+
operationId: FetchHistoryListByDeployedConfigurationDetail
3937+
tags:
3938+
- Deployment History
3939+
parameters:
3940+
- name: appId
3941+
in: path
3942+
required: true
3943+
schema:
3944+
type: integer
3945+
- name: pipelineId
3946+
in: path
3947+
required: true
3948+
schema:
3949+
type: integer
3950+
- name: historyComponent
3951+
in: query
3952+
required: true
3953+
schema:
3954+
type: string
3955+
enum:
3956+
- DEPLOYMENT_TEMPLATE
3957+
- CONFIGMAP
3958+
- SECRET
3959+
- PIPELINE_STRATEGY
3960+
- name: historyComponentName
3961+
in: query
3962+
required: false
3963+
description: name of config-map, secret
3964+
schema:
3965+
type: string
3966+
- name: baseConfigurationId
3967+
in: query
3968+
required: true
3969+
description: id of base configuration
3970+
schema:
3971+
type: integer
3972+
security:
3973+
- bearerAuth: []
3974+
- apiKeyAuth: []
3975+
responses:
3976+
'200':
3977+
description: Successfully return history list
3978+
content:
3979+
application/json:
3980+
schema:
3981+
type: array
3982+
items:
3983+
$ref: '#/components/schemas/HistoryComponentListDto'
3984+
'400':
3985+
description: Bad Request. Input Validation error/wrong request body.
3986+
content:
3987+
application/json:
3988+
schema:
3989+
$ref: '#/components/schemas/Error'
3990+
'500':
3991+
description: Internal Server Error
3992+
content:
3993+
application/json:
3994+
schema:
3995+
$ref: '#/components/schemas/Error'
3996+
'403':
3997+
description: Unauthorized User
3998+
content:
3999+
application/json:
4000+
schema:
4001+
$ref: '#/components/schemas/Error'
4002+
/orchestrator/app/history/deployed-configuration/{appId}/{pipelineId}/{wfrId}:
4003+
get:
4004+
summary: all deployed configuration history
4005+
description: fetch all deployed configurations history (deployment template,
4006+
pipeline strategy, configmaps, secrets)
4007+
operationId: FetchHistoryListForAllDeployedConfigurations
4008+
tags:
4009+
- Deployment History
4010+
parameters:
4011+
- name: appId
4012+
in: path
4013+
required: true
4014+
schema:
4015+
type: integer
4016+
- name: pipelineId
4017+
in: path
4018+
required: true
4019+
schema:
4020+
type: integer
4021+
- name: wfrId
4022+
in: path
4023+
required: true
4024+
schema:
4025+
type: integer
4026+
security:
4027+
- bearerAuth: []
4028+
- apiKeyAuth: []
4029+
responses:
4030+
'200':
4031+
description: Successfully return history
4032+
content:
4033+
application/json:
4034+
schema:
4035+
type: array
4036+
items:
4037+
$ref: '#/components/schemas/HistoryConfigurationListDto'
4038+
'400':
4039+
description: Bad Request. Input Validation error/wrong request body.
4040+
content:
4041+
application/json:
4042+
schema:
4043+
$ref: '#/components/schemas/Error'
4044+
'500':
4045+
description: Internal Server Error
4046+
content:
4047+
application/json:
4048+
schema:
4049+
$ref: '#/components/schemas/Error'
4050+
'403':
4051+
description: Unauthorized User
4052+
content:
4053+
application/json:
4054+
schema:
4055+
$ref: '#/components/schemas/Error'
38644056
components:
38654057
securitySchemes:
38664058
ApiKeyAuth:
@@ -3968,7 +4160,6 @@ components:
39684160
properties:
39694161
code:
39704162
type: integer
3971-
format: int32
39724163
description: Error code
39734164
message:
39744165
type: string
@@ -5920,6 +6111,62 @@ components:
59206111
name:
59216112
type: string
59226113
description: it contains entity name
6114+
HistoryComponentDetailDto:
6115+
type: object
6116+
properties:
6117+
values:
6118+
type: array
6119+
items:
6120+
$ref: '#/components/schemas/HistoryComponentValuesDto'
6121+
codeEditorValue:
6122+
type: object
6123+
properties:
6124+
displayName:
6125+
type: string
6126+
value:
6127+
type: string
6128+
HistoryComponentValuesDto:
6129+
type: object
6130+
properties:
6131+
fieldName:
6132+
type: object
6133+
properties:
6134+
displayName:
6135+
type: string
6136+
value:
6137+
type: string
6138+
HistoryComponentListDto:
6139+
type: object
6140+
properties:
6141+
id:
6142+
type: integer
6143+
deployedOn:
6144+
type: string
6145+
format: timestamp
6146+
deployedBy:
6147+
type: string
6148+
deploymentStatus:
6149+
type: string
6150+
HistoryConfigurationListDto:
6151+
type: array
6152+
items:
6153+
$ref: '#/components/schemas/HistoryConfiguration'
6154+
HistoryConfiguration:
6155+
type: object
6156+
properties:
6157+
id:
6158+
type: integer
6159+
name:
6160+
type: string
6161+
enum:
6162+
- DEPLOYMENT_TEMPLATE
6163+
- CONFIGMAP
6164+
- SECRET
6165+
- PIPELINE_STRATEGY
6166+
childList:
6167+
type: array
6168+
items:
6169+
type: string
59236170
requestBodies:
59246171
SSOLoginDto:
59256172
description: SSO Login Configuration object

0 commit comments

Comments
 (0)