Skip to content

Commit 579e335

Browse files
Merge pull request mendix#9148 from Nidhi251289/CustomRoleDeployAPI
Updated Custom Role as deprecated for old custom permission
2 parents 9a51b9f + deca8f1 commit 579e335

1 file changed

Lines changed: 56 additions & 6 deletions

File tree

static/openapi-spec/private-cloud-deploy-api.yaml

Lines changed: 56 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -923,6 +923,13 @@ components:
923923
maximum: 10
924924
minimum: 0
925925
example: 3
926+
lastRunningInstanceCount:
927+
type: integer
928+
description: |-
929+
non-editable</br>
930+
If application is running, this is equal to the number of instances.</br>
931+
If the application is stopped, this is equal to the number of instances which the application was running before it stopped.
932+
example: 3
926933
coreResources:
927934
type: object
928935
required:
@@ -1290,6 +1297,8 @@ components:
12901297
example-update-namespace-manifest:
12911298
$ref: '#/components/examples/NamespaceManifestExample'
12921299
description: Model for the manifest used when retrieving a namespace.
1300+
x-stoplight:
1301+
id: c5451533c063d
12931302
properties:
12941303
manifestVersion:
12951304
type: string
@@ -1356,7 +1365,10 @@ components:
13561365
example: abc@xxx.com
13571366
role:
13581367
type: string
1359-
example: Developer | Administrator | Custom
1368+
example: Developer | Administrator | Custom_DEPRECATED | MyCustomRole | OtherCustomRole
1369+
description: |-
1370+
Existing Custom permission-based role is becoming deprecated, hence its new name Custom_DEPRECATED.<br/>
1371+
To get the same result/functionality, you can use the Custom Roles which can be created/accessed at cluster level on the portal.
13601372
status:
13611373
$ref: '#/components/schemas/invitationStatus'
13621374
displayName:
@@ -1373,57 +1385,75 @@ components:
13731385
manageEnvironment:
13741386
type: boolean
13751387
default: false
1388+
description: non-editable</br>
13761389
deployApp:
13771390
type: boolean
13781391
default: false
1392+
description: non-editable</br>
13791393
scaleApp:
13801394
type: boolean
13811395
default: false
1396+
description: non-editable</br>
13821397
startApp:
13831398
type: boolean
13841399
default: false
1400+
description: non-editable</br>
13851401
stopApp:
13861402
type: boolean
13871403
default: false
1404+
description: non-editable</br>
13881405
modifyMxAdminPassword:
13891406
type: boolean
13901407
default: false
1408+
description: non-editable</br>
13911409
editAppConstants:
13921410
type: boolean
13931411
default: false
1412+
description: non-editable</br>
13941413
manageAppScheduledEvents:
13951414
type: boolean
13961415
default: false
1416+
description: non-editable</br>
13971417
viewAppLogs:
13981418
type: boolean
13991419
default: false
1420+
description: non-editable</br>
14001421
viewAppAlerts:
14011422
type: boolean
14021423
default: false
1424+
description: non-editable</br>
14031425
viewAppMetrics:
14041426
type: boolean
14051427
default: false
1428+
description: non-editable</br>
14061429
manageAppBackups:
14071430
type: boolean
14081431
default: false
1432+
description: non-editable</br>
14091433
manageDebugger:
14101434
type: boolean
14111435
default: false
1436+
description: non-editable</br>
14121437
manageTLSConfigurations:
14131438
type: boolean
14141439
default: false
1440+
description: non-editable</br>
14151441
manageCustomEnvVarJVMOpts:
14161442
type: boolean
14171443
default: false
1444+
description: non-editable</br>
14181445
manageCustomRuntimeSettings:
14191446
type: boolean
14201447
default: false
1448+
description: non-editable</br>
14211449
manageLogLevels:
14221450
type: boolean
14231451
default: false
1452+
description: non-editable</br>
14241453
manageRuntimeMetricsConfiguration:
14251454
type: boolean
14261455
default: false
1456+
description: non-editable</br>
14271457
required:
14281458
- email
14291459
- role
@@ -1511,9 +1541,6 @@ components:
15111541
required:
15121542
- manifestVersion
15131543
- namespace
1514-
x-stoplight:
1515-
id: c5451533c063d
1516-
title: ''
15171544
createNamespaceManifest:
15181545
type: object
15191546
x-examples:
@@ -1624,7 +1651,10 @@ components:
16241651
example: abc@xxx.com
16251652
role:
16261653
type: string
1627-
example: Developer | Administrator | Custom
1654+
example: Developer | Administrator | Custom_DEPRECATED | MyCustomRole | OtherCustomRole
1655+
description: |-
1656+
Existing Custom permission-based role is becoming deprecated, hence its new name Custom_DEPRECATED.<br/>
1657+
To get the same result/functionality, you can use the Custom Roles which can be created/accessed at cluster level on the portal.
16281658
status:
16291659
$ref: '#/components/schemas/invitationStatus'
16301660
displayName:
@@ -1641,57 +1671,75 @@ components:
16411671
manageEnvironment:
16421672
type: boolean
16431673
default: false
1674+
description: non-editable</br>
16441675
deployApp:
16451676
type: boolean
16461677
default: false
1678+
description: non-editable</br>
16471679
scaleApp:
16481680
type: boolean
16491681
default: false
1682+
description: non-editable</br>
16501683
startApp:
16511684
type: boolean
16521685
default: false
1686+
description: non-editable</br>
16531687
stopApp:
16541688
type: boolean
16551689
default: false
1690+
description: non-editable</br>
16561691
modifyMxAdminPassword:
16571692
type: boolean
16581693
default: false
1694+
description: non-editable</br>
16591695
editAppConstants:
16601696
type: boolean
16611697
default: false
1698+
description: non-editable</br>
16621699
manageAppScheduledEvents:
16631700
type: boolean
16641701
default: false
1702+
description: non-editable</br>
16651703
viewAppLogs:
16661704
type: boolean
16671705
default: false
1706+
description: non-editable</br>
16681707
viewAppAlerts:
16691708
type: boolean
16701709
default: false
1710+
description: non-editable</br>
16711711
viewAppMetrics:
16721712
type: boolean
16731713
default: false
1714+
description: non-editable</br>
16741715
manageAppBackups:
16751716
type: boolean
16761717
default: false
1718+
description: non-editable</br>
16771719
manageDebugger:
16781720
type: boolean
16791721
default: false
1722+
description: non-editable</br>
16801723
manageTLSConfigurations:
16811724
type: boolean
16821725
default: false
1726+
description: non-editable</br>
16831727
manageCustomEnvVarJVMOpts:
16841728
type: boolean
16851729
default: false
1730+
description: non-editable</br>
16861731
manageCustomRuntimeSettings:
16871732
type: boolean
16881733
default: false
1734+
description: non-editable</br>
16891735
manageLogLevels:
16901736
type: boolean
16911737
default: false
1738+
description: non-editable</br>
16921739
manageRuntimeMetricsConfiguration:
16931740
type: boolean
16941741
default: false
1742+
description: non-editable</br>
16951743
required:
16961744
- email
16971745
- role
@@ -2102,6 +2150,7 @@ components:
21022150
container:
21032151
state: Ready
21042152
instances: 3
2153+
lastRunningInstanceCount: 3
21052154
coreResources:
21062155
limits:
21072156
cpu: '1'
@@ -3026,6 +3075,7 @@ components:
30263075
container:
30273076
state: Ready
30283077
instances: 3
3078+
lastRunningInstanceCount: 3
30293079
coreResources:
30303080
limits:
30313081
cpu: '1'
@@ -3072,4 +3122,4 @@ tags:
30723122
- name: jobs
30733123
- name: namespaces
30743124
security:
3075-
- PersonalAccessToken: []
3125+
- PersonalAccessToken: []

0 commit comments

Comments
 (0)