Skip to content

Commit 297e51f

Browse files
OAS Update
1 parent 2704776 commit 297e51f

1 file changed

Lines changed: 35 additions & 9 deletions

File tree

‎services/sca/v1alpha/sca.json‎

Lines changed: 35 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,7 @@
7676
"required": [
7777
"containers",
7878
"displayName",
79-
"scaling",
80-
"network"
79+
"scaling"
8180
],
8281
"type": "object"
8382
},
@@ -177,6 +176,10 @@
177176
"format": "int32",
178177
"type": "integer"
179178
},
179+
"internalUrl": {
180+
"description": "Application's internal URL.",
181+
"type": "string"
182+
},
180183
"lastDeployment": {
181184
"description": "Date of the last moment the application got the running status in RFC3339 format.",
182185
"format": "date-time",
@@ -337,8 +340,7 @@
337340
"required": [
338341
"containers",
339342
"displayName",
340-
"scaling",
341-
"network"
343+
"scaling"
342344
],
343345
"type": "object"
344346
},
@@ -364,6 +366,9 @@
364366
"description": "Environment identifier, for example: default.",
365367
"readOnly": true,
366368
"type": "string"
369+
},
370+
"status": {
371+
"$ref": "#/components/schemas/EnvironmentStatus"
367372
}
368373
},
369374
"required": [
@@ -498,13 +503,26 @@
498503
"description": "Environment identifier, for example: default.",
499504
"readOnly": true,
500505
"type": "string"
506+
},
507+
"status": {
508+
"$ref": "#/components/schemas/EnvironmentStatus"
501509
}
502510
},
503511
"required": [
504512
"displayName"
505513
],
506514
"type": "object"
507515
},
516+
"EnvironmentStatus": {
517+
"default": "ENVIRONMENT_STATUS_UNSPECIFIED",
518+
"description": " - ENVIRONMENT_STATUS_UNSPECIFIED: Used as zero value.\n - ENVIRONMENT_STATUS_PROGRESSING: Environment is being created.\n - ENVIRONMENT_STATUS_CREATED: Environment is successfully created.",
519+
"enum": [
520+
"ENVIRONMENT_STATUS_UNSPECIFIED",
521+
"ENVIRONMENT_STATUS_PROGRESSING",
522+
"ENVIRONMENT_STATUS_CREATED"
523+
],
524+
"type": "string"
525+
},
508526
"EnvironmentSummary": {
509527
"description": "Environment summary.",
510528
"properties": {
@@ -680,6 +698,11 @@
680698
},
681699
"type": "array"
682700
},
701+
"internalPort": {
702+
"description": "Internal port number for inter application communication.",
703+
"format": "int32",
704+
"type": "integer"
705+
},
683706
"port": {
684707
"description": "Port number.",
685708
"format": "int32",
@@ -690,9 +713,6 @@
690713
"type": "boolean"
691714
}
692715
},
693-
"required": [
694-
"publicIngress"
695-
],
696716
"type": "object"
697717
},
698718
"RuleType": {
@@ -726,6 +746,11 @@
726746
"title": "List of the application instance names",
727747
"type": "array"
728748
},
749+
"internalUrl": {
750+
"description": "Internal URL for the running application.",
751+
"readOnly": true,
752+
"type": "string"
753+
},
729754
"lastDeployment": {
730755
"description": "Last time the application was deployed.",
731756
"format": "date-time",
@@ -1704,7 +1729,7 @@
17041729
"description": "Request failed. Check the request and retry operation."
17051730
}
17061731
},
1707-
"summary": "GetApplicationEvents retrieves events of an application.",
1732+
"summary": "Retrieves events of an application.",
17081733
"x-stackit-authorization": {
17091734
"actions": [
17101735
"sca.application.get"
@@ -1828,7 +1853,7 @@
18281853
"description": "Request failed. Check the request and retry operation."
18291854
}
18301855
},
1831-
"summary": "GetApplicationLogs retrieves logs of an application.",
1856+
"summary": "Retrieves logs of an application.",
18321857
"x-stackit-authorization": {
18331858
"actions": [
18341859
"sca.application.get"
@@ -1886,6 +1911,7 @@
18861911
"description": "Request failed. Check the request and retry operation."
18871912
}
18881913
},
1914+
"summary": "Retrieves the overview for an environment.",
18891915
"x-stackit-authorization": {
18901916
"actions": [
18911917
"sca.project.overview"

0 commit comments

Comments
 (0)