@camunda/ccma-saas-frontend 0.0.41 → 0.0.44
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/esm/components/c4-cluster-details-connector-secrets/c4-cluster-details-connector-secrets.js +1 -1
- package/lib/esm/components/c4-cluster-details-connector-secrets/c4-cluster-details-connector-secrets.types.d.ts +1 -0
- package/lib/esm/components/c4-cluster-details-encryption/c4-cluster-details-encryption.d.ts +1 -1
- package/lib/esm/components/c4-cluster-details-encryption/c4-cluster-details-encryption.js +14 -6
- package/lib/esm/components/c4-cluster-details-encryption/c4-cluster-details-encryption.types.d.ts +3 -1
- package/lib/esm/components/c4-cluster-details-hot-backups/c4-cluster-details-hot-backups.d.ts +1 -1
- package/lib/esm/components/c4-cluster-details-hot-backups/c4-cluster-details-hot-backups.js +21 -6
- package/lib/esm/components/c4-cluster-details-hot-backups/c4-cluster-details-hot-backups.types.d.ts +17 -0
- package/lib/esm/components/c4-cluster-details-hot-backups-restore/c4-cluster-details-hot-backups-restore.d.ts +3 -0
- package/lib/esm/components/c4-cluster-details-hot-backups-restore/c4-cluster-details-hot-backups-restore.js +51 -0
- package/lib/esm/components/c4-cluster-details-hot-backups-restore/c4-cluster-details-hot-backups-restore.types.d.ts +24 -0
- package/lib/esm/components/c4-cluster-details-hot-backups-restore/c4-cluster-details-hot-backups-restore.types.js +6 -0
- package/lib/esm/components/c4-cluster-overview/applications.d.ts +3 -3
- package/lib/esm/components/c4-cluster-overview/applications.js +17 -2
- package/lib/esm/components/c4-cluster-overview/c4-cluster-overview.js +1 -1
- package/lib/esm/components/c4-cluster-overview/cluster-details.d.ts +1 -1
- package/lib/esm/components/c4-cluster-overview/cluster-details.js +1 -1
- package/lib/esm/components/c4-cluster-settings/elements/multi-tenancy.d.ts +3 -3
- package/lib/esm/components/c4-cluster-settings/elements/multi-tenancy.js +5 -13
- package/lib/esm/components/c4-cluster-settings/elements/multi-tenancy.spec.d.ts +1 -0
- package/lib/esm/components/c4-cluster-settings/elements/multi-tenancy.spec.js +42 -0
- package/lib/esm/components/c4-create-cluster/c4-create-cluster.js +1 -1
- package/lib/esm/components/c4-create-cluster/c4-create-cluster.spec.js +4 -0
- package/lib/esm/components/c4-create-console-api-client-modal/c4-create-console-api-client-modal.js +4 -0
- package/lib/esm/components/c4-job-dashboard-details-page/c4-job-dashboard-details-page.d.ts +1 -1
- package/lib/esm/components/c4-job-dashboard-details-page/c4-job-dashboard-details-page.js +3 -5
- package/lib/esm/components/c4-job-dashboard-details-page/c4-job-dashboard-details-page.types.d.ts +1 -2
- package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-error-table.d.ts +2 -3
- package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-error-table.js +2 -2
- package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-piechart.d.ts +2 -3
- package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-piechart.js +2 -2
- package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-time-chart.d.ts +2 -3
- package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-time-chart.js +2 -2
- package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-worker-table.d.ts +2 -3
- package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-worker-table.js +2 -2
- package/lib/esm/components/c4-job-dashboard-entry-point/c4-job-dashboard-entry-point.d.ts +1 -1
- package/lib/esm/components/c4-job-dashboard-entry-point/c4-job-dashboard-entry-point.js +2 -2
- package/lib/esm/components/c4-job-dashboard-entry-point/c4-job-dashboard-entry-point.types.d.ts +1 -2
- package/lib/esm/components/c4-job-dashboard-overview-page/c4-job-dashboard-overview.d.ts +1 -1
- package/lib/esm/components/c4-job-dashboard-overview-page/c4-job-dashboard-overview.js +4 -5
- package/lib/esm/components/c4-job-dashboard-overview-page/c4-job-dashboard-overview.types.d.ts +1 -2
- package/lib/esm/components/c4-job-dashboard-shared/c4-job-dashboard-error-handler.d.ts +2 -3
- package/lib/esm/components/c4-job-dashboard-shared/c4-job-dashboard-error-handler.js +4 -3
- package/lib/esm/components/c4-job-dashboard-shared/c4-job-dashboard-shared.types.d.ts +0 -4
- package/lib/esm/components/c4-optimize-activation-modal/c4-optimize-activation-modal.d.ts +3 -0
- package/lib/esm/components/c4-optimize-activation-modal/c4-optimize-activation-modal.js +21 -0
- package/lib/esm/components/c4-optimize-activation-modal/c4-optimize-activation-modal.types.d.ts +6 -0
- package/lib/esm/components/c4-optimize-activation-modal/c4-optimize-activation-modal.types.js +6 -0
- package/lib/esm/externalUrls.const.d.ts +3 -4
- package/lib/esm/externalUrls.const.js +4 -14
- package/lib/esm/externalUrls.const.spec.js +1 -9
- package/lib/esm/i18n/en/modals/apiclients.json +1 -0
- package/lib/esm/i18n/en/modals/clusterclients.json +8 -0
- package/lib/esm/i18n/en/modals/clusters.json +4 -1
- package/lib/esm/i18n/en/pages/clusterdetails.json +55 -4
- package/lib/esm/i18n/en/pages/orgmanagement.json +1 -0
- package/lib/esm/index.css +257 -0
- package/lib/esm/index.d.ts +5 -1
- package/lib/esm/index.js +3 -1
- package/lib/esm/widgets/cluster-client-details/c4-cluster-client-details-app.js +27 -1
- package/lib/esm/widgets/cluster-details/c4-cluster-details-app.js +45 -33
- package/lib/esm/widgets/cluster-details/c4-cluster-details-app.permissions.spec.js +52 -12
- package/lib/esm/widgets/cluster-details/c4-cluster-details-app.types.d.ts +2 -6
- package/lib/esm/widgets/cluster-details/c4-cluster-details-page.js +7 -0
- package/lib/esm/widgets/cluster-details/c4-cluster-details-page.types.d.ts +2 -0
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-clients-tab.d.ts +1 -1
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-clients-tab.js +19 -20
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-clients-tab.spec.js +53 -35
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-connector-secrets-tab.d.ts +1 -1
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-connector-secrets-tab.js +11 -26
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-encryption-tab.d.ts +2 -1
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-encryption-tab.js +15 -30
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-hot-backups-tab.js +104 -3
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-hot-backups-tab.spec.js +16 -15
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-overview-tab.d.ts +1 -2
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-overview-tab.js +140 -35
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-overview-tab.spec.js +192 -5
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-settings-tab.d.ts +2 -0
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-settings-tab.js +65 -12
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-settings-tab.spec.js +120 -1
- package/lib/esm/widgets/connector-management/c4-connector-management-executable-details-page.js +3 -2
- package/lib/esm/widgets/connector-management/c4-connector-management-executables-table-page.js +3 -2
- package/lib/esm/widgets/connector-management/c4-connector-management.shared.d.ts +1 -0
- package/lib/esm/widgets/connector-management/c4-connector-management.shared.js +20 -1
- package/lib/esm/widgets/job-worker/c4-job-worker-details-page.d.ts +1 -1
- package/lib/esm/widgets/job-worker/c4-job-worker-details-page.js +2 -2
- package/lib/esm/widgets/job-worker/c4-job-worker-overview-page.d.ts +1 -1
- package/lib/esm/widgets/job-worker/c4-job-worker-overview-page.js +2 -2
- package/lib/esm/widgets/job-worker/c4-job-worker.types.d.ts +0 -3
- package/lib/esm/widgets/management/c4-management-app.js +7 -1
- package/lib/esm/widgets/management/tabs/c4-management-api-tab.js +7 -0
- package/package.json +31 -26
- package/lib/esm/index.scss +0 -267
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-connector-secrets-tab.spec.d.ts +0 -1
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-connector-secrets-tab.spec.js +0 -55
|
@@ -100,6 +100,7 @@
|
|
|
100
100
|
"importFromClusterButton": "from Cluster",
|
|
101
101
|
"importFromFileButton": "from File",
|
|
102
102
|
"exportButton": "Export",
|
|
103
|
+
"emptyIconAltText": "Connector secrets icon",
|
|
103
104
|
"infoText": "Secrets can be used to reference encrypted authentication credentials in Connectors. See the <0>secrets</0> documentation for more details.",
|
|
104
105
|
"header": {
|
|
105
106
|
"key": "Key"
|
|
@@ -123,10 +124,16 @@
|
|
|
123
124
|
"title": "Oops ... something went wrong.",
|
|
124
125
|
"description": "Please try reloading!",
|
|
125
126
|
"button": "Reload"
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
"
|
|
127
|
+
}
|
|
128
|
+
},
|
|
129
|
+
"clusterSecrets": {
|
|
130
|
+
"title": "Cluster secrets",
|
|
131
|
+
"emptyIconAltText": "Cluster secrets icon",
|
|
132
|
+
"infoText": "Secrets can be used to reference encrypted authentication credentials in your cluster. See the <0>secrets</0> documentation for more details.",
|
|
133
|
+
"noSecrets": {
|
|
134
|
+
"title": "Store credentials safely using Camunda cluster secrets",
|
|
135
|
+
"description": "Accessing an external system requires authentication with credentials. To ensure the credentials are secure, use the Camunda secrets vault to store usernames, passwords, or API credentials without exposing sensitive information in your BPMN processes."
|
|
136
|
+
}
|
|
130
137
|
},
|
|
131
138
|
"hotbackups": {
|
|
132
139
|
"title": "Backups",
|
|
@@ -134,6 +141,25 @@
|
|
|
134
141
|
"createButton": "Create manual backup",
|
|
135
142
|
"deleteButton": "Delete",
|
|
136
143
|
"retryButton": "Retry",
|
|
144
|
+
"restoreAction": "Restore",
|
|
145
|
+
"expansionVersionLabel": "Version",
|
|
146
|
+
"restoreInProgressTitle": "Restoring \"{backupName}\"",
|
|
147
|
+
"restoreInProgressText": "You can't start another backup or restore while this is in progress.",
|
|
148
|
+
"restoreErrorTitle": "Restore failed",
|
|
149
|
+
"restoreErrorMessage": "Restore of \"{backupName}\" did not complete. Your cluster is unchanged. Contact support if the issue persists.",
|
|
150
|
+
"restoreErrorDismiss": "Dismiss",
|
|
151
|
+
"restoreModal": {
|
|
152
|
+
"title": "Restore backup",
|
|
153
|
+
"description": "Restoring this backup will replace the current cluster state. This action cannot be undone.",
|
|
154
|
+
"backupLabel": "Backup",
|
|
155
|
+
"dateLabel": "Date",
|
|
156
|
+
"versionLabel": "Version",
|
|
157
|
+
"confirmButton": "Restore",
|
|
158
|
+
"cancelButton": "Cancel",
|
|
159
|
+
"versionMismatchTitle": "Backup version differs from cluster",
|
|
160
|
+
"versionMismatchBody": "This cluster is on {currentVersion}; the backup was taken on {backupVersion}. Restoring will downgrade the cluster.",
|
|
161
|
+
"acknowledgmentLabel": "I understand this will downgrade the cluster."
|
|
162
|
+
},
|
|
137
163
|
"infoText0": "For more information, see documentation on <0>backups</0>.",
|
|
138
164
|
"infoText1": "<0>Learn more about backups</0>",
|
|
139
165
|
"disabledNotification": {
|
|
@@ -277,6 +303,10 @@
|
|
|
277
303
|
"overview": {
|
|
278
304
|
"title": "Overview",
|
|
279
305
|
"updateButton": "Update",
|
|
306
|
+
"restoreInProgress": {
|
|
307
|
+
"title": "Restore in progress",
|
|
308
|
+
"subtitle": "Cluster configuration changes are not available until the restore completes."
|
|
309
|
+
},
|
|
280
310
|
"applications": {
|
|
281
311
|
"title": "Components",
|
|
282
312
|
"launchLink": "Launch",
|
|
@@ -288,6 +318,16 @@
|
|
|
288
318
|
"optimize": "Get insights to improve your processes",
|
|
289
319
|
"connectors": "Integrate with external systems",
|
|
290
320
|
"identity": "Manage authentication and authorization"
|
|
321
|
+
},
|
|
322
|
+
"optimize": {
|
|
323
|
+
"disabled": {
|
|
324
|
+
"canEdit": "Optimize is not active for this cluster.",
|
|
325
|
+
"noPermission": "Optimize is not active for this cluster. Ask an admin to enable it.",
|
|
326
|
+
"cta": "Enable Optimize",
|
|
327
|
+
"modal": {
|
|
328
|
+
"description": "When enabled, the Optimize component is deployed alongside this cluster for process analytics and reporting."
|
|
329
|
+
}
|
|
330
|
+
}
|
|
291
331
|
}
|
|
292
332
|
},
|
|
293
333
|
"clusterDetails": {
|
|
@@ -571,6 +611,17 @@
|
|
|
571
611
|
"disable": "Disable"
|
|
572
612
|
}
|
|
573
613
|
},
|
|
614
|
+
"multiTenancy": {
|
|
615
|
+
"title": "Multi-tenancy",
|
|
616
|
+
"description": {
|
|
617
|
+
"enabled": "When enabled, tenant-level authorization checks will be enforced for all resource-based authorizations. Users, groups, and roles not assigned to a tenant will lose access to any resources scoped to that tenant.",
|
|
618
|
+
"disabled": "When disabled, tenants can still be created and principals assigned, but tenant-level checks will not be enforced until the feature is enabled. All data is associated with the \u003cdefault\u003e tenant."
|
|
619
|
+
},
|
|
620
|
+
"docsLink": {
|
|
621
|
+
"prefix": "Learn more about",
|
|
622
|
+
"label": "managing tenants"
|
|
623
|
+
}
|
|
624
|
+
},
|
|
574
625
|
"businessIdUniqueness": {
|
|
575
626
|
"title": "Enable Business ID Uniqueness",
|
|
576
627
|
"description": "When enabled, the cluster enforces uniqueness constraints on business identifiers to prevent duplicate process instances.",
|
|
@@ -0,0 +1,257 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
|
|
3
|
+
* under one or more contributor license agreements. Licensed under a commercial license.
|
|
4
|
+
* You may not use this file except in compliance with the commercial license.
|
|
5
|
+
*
|
|
6
|
+
* Native CSS — no Sass dependency.
|
|
7
|
+
*
|
|
8
|
+
* Consumers must load Carbon's stylesheet themselves (e.g.
|
|
9
|
+
* `import '@carbon/styles/css/styles.min.css'`) so that the `--cds-*` CSS
|
|
10
|
+
* custom properties used below are defined. This file only contains the
|
|
11
|
+
* c4-specific selectors and overrides that sit on top of Carbon.
|
|
12
|
+
*
|
|
13
|
+
* Carbon type-token values are inlined as literal rem/px values because
|
|
14
|
+
* Carbon doesn't expose them as CSS custom properties — they're only
|
|
15
|
+
* available via the Sass `type-style` mixin. If Carbon ever ships them as
|
|
16
|
+
* CSS variables, switch to `var(--cds-heading-04-font-size)` etc.
|
|
17
|
+
*/
|
|
18
|
+
|
|
19
|
+
@import "@carbon/charts/styles.css";
|
|
20
|
+
|
|
21
|
+
.cds--content {
|
|
22
|
+
min-height: calc(100vh - 3rem);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.cds--content.withTrialBanner {
|
|
26
|
+
margin-top: 7rem;
|
|
27
|
+
min-height: calc(100vh - 7rem);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.flex-container-stats {
|
|
31
|
+
display: flex;
|
|
32
|
+
flex-wrap: wrap;
|
|
33
|
+
gap: 25px;
|
|
34
|
+
justify-content: space-between;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.flex-container-stats .cds--tile {
|
|
38
|
+
min-width: 330px;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.flex-container-stats .cds--tile.wide {
|
|
42
|
+
min-width: 685px;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.flex-container-stats .cds--tile h3 {
|
|
46
|
+
padding-bottom: 8px;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.flex-stats {
|
|
50
|
+
min-width: 300px;
|
|
51
|
+
margin: 24px;
|
|
52
|
+
padding: 24px;
|
|
53
|
+
background-color: white;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.flex-container {
|
|
57
|
+
display: flex;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.flex-search-select {
|
|
61
|
+
flex-grow: 1;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.flex-search-input {
|
|
65
|
+
flex-grow: 4;
|
|
66
|
+
margin-top: 8px;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.cds--data-table th.cds--table-expand + .cds--table-column-checkbox + th {
|
|
70
|
+
padding-left: 0;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.cds--data-table td.cds--table-expand + .cds--table-column-checkbox + td {
|
|
74
|
+
padding-left: 1rem;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.cds--data-table thead th.cds--table-expand,
|
|
78
|
+
.cds--data-table tbody td.cds--table-expand {
|
|
79
|
+
min-width: 40px;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
tr.cds--parent-row.cds--expandable-row + tr[data-child-row] td {
|
|
83
|
+
padding-left: 6rem;
|
|
84
|
+
padding-right: 2rem;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.cds--inline-notification__icon,
|
|
88
|
+
.cds--actionable-notification .cds--inline-notification__icon {
|
|
89
|
+
margin-top: 1rem;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.cds--g100 .cds--inline-notification--low-contrast,
|
|
93
|
+
[data-carbon-theme="g100"] .cds--inline-notification--low-contrast {
|
|
94
|
+
color: var(--cds-text-inverse);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
/* Carbon type tokens (heading-04, heading-03, heading-02, heading-01,
|
|
98
|
+
* body-01, legal-01) — inlined values from @carbon/type, accurate as of
|
|
99
|
+
* @carbon/react 1.107. */
|
|
100
|
+
h1 {
|
|
101
|
+
font-size: 1.75rem;
|
|
102
|
+
font-weight: 400;
|
|
103
|
+
line-height: 1.28572;
|
|
104
|
+
letter-spacing: 0;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
h2 {
|
|
108
|
+
font-size: 1.25rem;
|
|
109
|
+
font-weight: 400;
|
|
110
|
+
line-height: 1.4;
|
|
111
|
+
letter-spacing: 0;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
h3 {
|
|
115
|
+
font-size: 1rem;
|
|
116
|
+
font-weight: 600;
|
|
117
|
+
line-height: 1.375;
|
|
118
|
+
letter-spacing: 0;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
h4 {
|
|
122
|
+
font-size: 0.875rem;
|
|
123
|
+
font-weight: 600;
|
|
124
|
+
line-height: 1.42857;
|
|
125
|
+
letter-spacing: 0.16px;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
p,
|
|
129
|
+
.bodyText {
|
|
130
|
+
font-size: 0.875rem;
|
|
131
|
+
font-weight: 400;
|
|
132
|
+
line-height: 1.42857;
|
|
133
|
+
letter-spacing: 0.16px;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.legalText {
|
|
137
|
+
font-size: 0.75rem;
|
|
138
|
+
font-weight: 400;
|
|
139
|
+
line-height: 1.33333;
|
|
140
|
+
letter-spacing: 0.32px;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.textPrimary {
|
|
144
|
+
color: var(--cds-text-primary);
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.balancedHorizontalStack {
|
|
148
|
+
grid-auto-columns: 1fr;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.headerTag {
|
|
152
|
+
height: 1.5rem;
|
|
153
|
+
margin-top: 0.75rem;
|
|
154
|
+
padding: 0 1rem;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.healthIndicator {
|
|
158
|
+
position: relative;
|
|
159
|
+
padding-left: 20px;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
.healthIndicator::before {
|
|
163
|
+
content: "";
|
|
164
|
+
position: absolute;
|
|
165
|
+
left: 0;
|
|
166
|
+
top: 50%;
|
|
167
|
+
transform: translateY(-50%);
|
|
168
|
+
width: 12px;
|
|
169
|
+
height: 12px;
|
|
170
|
+
border-radius: 100%;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
.healthIndicator.healthy::before {
|
|
174
|
+
background-color: var(--cds-support-success);
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
.healthIndicator.creating::before {
|
|
178
|
+
background-color: var(--cds-support-warning);
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
.healthIndicator.unhealthy::before {
|
|
182
|
+
background-color: var(--cds-support-error);
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
.cluster-state {
|
|
186
|
+
width: 12px;
|
|
187
|
+
height: 12px;
|
|
188
|
+
border-radius: 100%;
|
|
189
|
+
display: inline-block;
|
|
190
|
+
margin-right: 12px;
|
|
191
|
+
position: relative;
|
|
192
|
+
top: 1px;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.cluster-state.creating,
|
|
196
|
+
.cluster-state.updating {
|
|
197
|
+
background-color: var(--cds-support-warning);
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
.cluster-state.healthy {
|
|
201
|
+
background-color: var(--cds-support-success);
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
.cluster-state.unhealthy {
|
|
205
|
+
background-color: var(--cds-support-error);
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
.dashboard {
|
|
209
|
+
display: grid;
|
|
210
|
+
grid-template-columns: 1fr 1fr 1fr;
|
|
211
|
+
grid-template-rows: max-content max-content auto;
|
|
212
|
+
column-gap: 30px;
|
|
213
|
+
row-gap: 30px;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
.dashboard .welcome {
|
|
217
|
+
grid-column-start: 1;
|
|
218
|
+
grid-column-end: 3;
|
|
219
|
+
grid-row-start: 1;
|
|
220
|
+
grid-row-end: 2;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
.dashboard .clusters {
|
|
224
|
+
grid-column-start: 1;
|
|
225
|
+
grid-column-end: 2;
|
|
226
|
+
grid-row-start: 2;
|
|
227
|
+
grid-row-end: 3;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
.dashboard .users {
|
|
231
|
+
grid-column-start: 2;
|
|
232
|
+
grid-column-end: 3;
|
|
233
|
+
grid-row-start: 2;
|
|
234
|
+
grid-row-end: 3;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
.dashboard .documentation {
|
|
238
|
+
grid-column-start: 3;
|
|
239
|
+
grid-column-end: 4;
|
|
240
|
+
grid-row-start: 1;
|
|
241
|
+
grid-row-end: 3;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
.dashboard .feedback {
|
|
245
|
+
grid-column-start: 3;
|
|
246
|
+
grid-column-end: 4;
|
|
247
|
+
grid-row-start: 3;
|
|
248
|
+
grid-row-end: 4;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
.cds--modal .cds--popover-content.cds--tooltip-content {
|
|
252
|
+
margin-left: -50px;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
.cluster-load .cds--loading-overlay {
|
|
256
|
+
position: absolute !important;
|
|
257
|
+
}
|
package/lib/esm/index.d.ts
CHANGED
|
@@ -46,6 +46,8 @@ export { C4ClusterDetailsEncryption } from './components/c4-cluster-details-encr
|
|
|
46
46
|
export type { C4ClusterDetailsEncryptionProps, ClusterEncryptionData, EncryptionFormData, EncryptionStatus, } from './components/c4-cluster-details-encryption/c4-cluster-details-encryption.types';
|
|
47
47
|
export { C4ClusterDetailsHotBackups } from './components/c4-cluster-details-hot-backups/c4-cluster-details-hot-backups';
|
|
48
48
|
export type { BackupItem, BackupScheduleItem, C4ClusterDetailsHotBackupsProps, } from './components/c4-cluster-details-hot-backups/c4-cluster-details-hot-backups.types';
|
|
49
|
+
export { C4ClusterDetailsHotBackupsRestore } from './components/c4-cluster-details-hot-backups-restore/c4-cluster-details-hot-backups-restore';
|
|
50
|
+
export type { C4ClusterDetailsHotBackupsRestoreProps } from './components/c4-cluster-details-hot-backups-restore/c4-cluster-details-hot-backups-restore.types';
|
|
49
51
|
export { C4ClusterDetailsIpWhitelist } from './components/c4-cluster-details-ip-whitelist/c4-cluster-details-ip-whitelist';
|
|
50
52
|
export type { C4ClusterDetailsIpWhitelistProps, IpWhitelistItem, } from './components/c4-cluster-details-ip-whitelist/c4-cluster-details-ip-whitelist.types';
|
|
51
53
|
export { C4ClusterDetailsSecureConnectivity } from './components/c4-cluster-details-secure-connectivity/c4-cluster-details-secure-connectivity';
|
|
@@ -121,6 +123,8 @@ export { C4NumberInput } from './components/c4-number-input/c4-number-input';
|
|
|
121
123
|
export type { C4NumberInputProps } from './components/c4-number-input/c4-number-input.types';
|
|
122
124
|
export { C4OldDashboard } from './components/c4-old-dashboard/c4-old-dashboard';
|
|
123
125
|
export type { C4OldDashboardProps } from './components/c4-old-dashboard/c4-old-dashboard.types';
|
|
126
|
+
export { C4OptimizeActivationModal } from './components/c4-optimize-activation-modal/c4-optimize-activation-modal';
|
|
127
|
+
export type { C4OptimizeActivationModalProps } from './components/c4-optimize-activation-modal/c4-optimize-activation-modal.types';
|
|
124
128
|
export { C4PageTemplate } from './components/c4-page-template/c4-page-template';
|
|
125
129
|
export { C4PermissionErrorPage } from './components/c4-permission-error-page/c4-permission-error-page';
|
|
126
130
|
export type { C4PermissionErrorPageProps } from './components/c4-permission-error-page/c4-permission-error-page.types';
|
|
@@ -167,7 +171,7 @@ export type { C4UsageMetricsPerClusterProps } from './components/c4-usage-metric
|
|
|
167
171
|
export { C4UserDetails } from './components/c4-user-details/c4-user-details';
|
|
168
172
|
export type { C4UserDetailsProps } from './components/c4-user-details/c4-user-details.types';
|
|
169
173
|
export type { AuthorizedResourcesConfig } from './components/c4-user-details/tabs/authorized-resources';
|
|
170
|
-
export { C4_EXTERNAL_URLS, getC4ClusterClientDetailsDocsUrl, getC4ClusterDetailsUrls, getC4ClustersGettingStartedHref, getC4CreateClusterExternalLinks, getC4DashboardUrls, getC4GroupDetailsExternalLinks,
|
|
174
|
+
export { C4_EXTERNAL_URLS, getC4ClusterClientDetailsDocsUrl, getC4ClusterDetailsUrls, getC4ClustersGettingStartedHref, getC4CreateClusterExternalLinks, getC4DashboardUrls, getC4GroupDetailsExternalLinks, getC4ManagementUrls, getC4TalkToAnExpertUrl, getC4UserDetailsExternalLinks, } from './externalUrls.const';
|
|
171
175
|
export type { C4I18nRegistrar } from './i18n/c4-console-i18n';
|
|
172
176
|
export { C4_CONSOLE_I18N_NAMESPACE, registerC4ConsoleI18n, } from './i18n/c4-console-i18n';
|
|
173
177
|
export { C4ModelerIcon, C4OperateIcon, C4OptimizeIcon, C4TasklistIcon, } from './icons/c4-icons';
|
package/lib/esm/index.js
CHANGED
|
@@ -27,6 +27,7 @@ export { C4ClusterDetailsClients } from './components/c4-cluster-details-clients
|
|
|
27
27
|
export { C4ClusterDetailsConnectorSecrets } from './components/c4-cluster-details-connector-secrets/c4-cluster-details-connector-secrets.js';
|
|
28
28
|
export { C4ClusterDetailsEncryption } from './components/c4-cluster-details-encryption/c4-cluster-details-encryption.js';
|
|
29
29
|
export { C4ClusterDetailsHotBackups } from './components/c4-cluster-details-hot-backups/c4-cluster-details-hot-backups.js';
|
|
30
|
+
export { C4ClusterDetailsHotBackupsRestore } from './components/c4-cluster-details-hot-backups-restore/c4-cluster-details-hot-backups-restore.js';
|
|
30
31
|
export { C4ClusterDetailsIpWhitelist } from './components/c4-cluster-details-ip-whitelist/c4-cluster-details-ip-whitelist.js';
|
|
31
32
|
export { C4ClusterDetailsSecureConnectivity } from './components/c4-cluster-details-secure-connectivity/c4-cluster-details-secure-connectivity.js';
|
|
32
33
|
export { C4ClusterList } from './components/c4-cluster-list/c4-cluster-list.js';
|
|
@@ -64,6 +65,7 @@ export { C4MultiStepModal } from './components/c4-multi-step-modal/c4-multi-step
|
|
|
64
65
|
export { C4MultiStepUglyModal } from './components/c4-multi-step-modal-ugly/c4-multi-step-modal-ugly.js';
|
|
65
66
|
export { C4NumberInput } from './components/c4-number-input/c4-number-input.js';
|
|
66
67
|
export { C4OldDashboard } from './components/c4-old-dashboard/c4-old-dashboard.js';
|
|
68
|
+
export { C4OptimizeActivationModal } from './components/c4-optimize-activation-modal/c4-optimize-activation-modal.js';
|
|
67
69
|
export { C4PageTemplate } from './components/c4-page-template/c4-page-template.js';
|
|
68
70
|
export { C4PermissionErrorPage } from './components/c4-permission-error-page/c4-permission-error-page.js';
|
|
69
71
|
export { C4Pricing } from './components/c4-pricing/c4-pricing.js';
|
|
@@ -87,7 +89,7 @@ export { C4UsageAlertUpdateModal } from './components/c4-usage-alert-update-moda
|
|
|
87
89
|
export { C4UsageHistory } from './components/c4-usage-history/c4-usage-history.js';
|
|
88
90
|
export { C4UsageMetricsPerCluster } from './components/c4-usage-metrics-per-cluster/c4-usage-metrics-per-cluster.js';
|
|
89
91
|
export { C4UserDetails } from './components/c4-user-details/c4-user-details.js';
|
|
90
|
-
export { C4_EXTERNAL_URLS, getC4ClusterClientDetailsDocsUrl, getC4ClusterDetailsUrls, getC4ClustersGettingStartedHref, getC4CreateClusterExternalLinks, getC4DashboardUrls, getC4GroupDetailsExternalLinks,
|
|
92
|
+
export { C4_EXTERNAL_URLS, getC4ClusterClientDetailsDocsUrl, getC4ClusterDetailsUrls, getC4ClustersGettingStartedHref, getC4CreateClusterExternalLinks, getC4DashboardUrls, getC4GroupDetailsExternalLinks, getC4ManagementUrls, getC4TalkToAnExpertUrl, getC4UserDetailsExternalLinks, } from './externalUrls.const.js';
|
|
91
93
|
export { C4_CONSOLE_I18N_NAMESPACE, registerC4ConsoleI18n, } from './i18n/c4-console-i18n.js';
|
|
92
94
|
export { C4ModelerIcon, C4OperateIcon, C4OptimizeIcon, C4TasklistIcon, } from './icons/c4-icons.js';
|
|
93
95
|
export { openC4CreateClusterApiClientModal, setC4CreateClusterApiClientModalHandle, } from './modals/c4-create-cluster-api-client-modal-handle.js';
|
|
@@ -295,13 +295,39 @@ export const C4ClusterClientDetailsApp = observer((props) => {
|
|
|
295
295
|
value: oauthTokenUrl,
|
|
296
296
|
copy: true,
|
|
297
297
|
});
|
|
298
|
-
|
|
298
|
+
// Intentionally NOT `trueOnInvalidVersion: true` here: when we can't
|
|
299
|
+
// resolve the Zeebe version, `clusterUrl` (line 385-393) falls back to
|
|
300
|
+
// the gRPC URL because its own version check is also strict. Combining
|
|
301
|
+
// an unknown version with `${clusterUrl}/v2` would emit an invalid
|
|
302
|
+
// `grpcs://…/v2`. Letting unknown-version clusters drop through to the
|
|
303
|
+
// 8.6 fallback branch keeps them on the validated string-transform.
|
|
304
|
+
const supportsRestApiV2 = checkVersion({
|
|
305
|
+
possiblyVersionOrDockerPath: cluster.generation?.versions?.zeebe,
|
|
306
|
+
trueForSnapshot: true,
|
|
307
|
+
operator: VersionCheckOperator.GreaterThanOrEqual,
|
|
308
|
+
versionToCompareTo: '8.10.0-alpha1',
|
|
309
|
+
});
|
|
310
|
+
if (supportsRestApiV2) {
|
|
311
|
+
// From 8.10 onwards (including alphas) the operator publishes
|
|
312
|
+
// `zeebeRestUrl` in a shape that's directly usable — the v2 REST API
|
|
313
|
+
// lives at `${clusterUrl}/v2`, no string surgery needed.
|
|
314
|
+
rows.push({
|
|
315
|
+
id: 'camundaRestApiUrl',
|
|
316
|
+
label: safeTranslate(t, 'clusterdetails:clients.details.restApi', 'REST API'),
|
|
317
|
+
value: clusterUrl ? `${clusterUrl}/v2` : '',
|
|
318
|
+
copy: true,
|
|
319
|
+
});
|
|
320
|
+
}
|
|
321
|
+
else if (checkVersion({
|
|
299
322
|
possiblyVersionOrDockerPath: cluster.generation?.versions?.zeebe,
|
|
300
323
|
trueForSnapshot: true,
|
|
301
324
|
operator: VersionCheckOperator.GreaterThanOrEqual,
|
|
302
325
|
versionToCompareTo: '8.6.0',
|
|
303
326
|
trueOnInvalidVersion: true,
|
|
304
327
|
})) {
|
|
328
|
+
// 8.6 – 8.9 fallback: derive the REST URL by string-transforming the
|
|
329
|
+
// gRPC URL because the operator's `zeebeRestUrl` for these versions
|
|
330
|
+
// isn't reliable enough to use directly.
|
|
305
331
|
const zeebeUrl = cluster.status?.zeebeUrl ?? '';
|
|
306
332
|
const base = zeebeUrl
|
|
307
333
|
.replaceAll(cluster.uuid ?? '', '')
|