@camunda/ccma-saas-frontend 0.28.2 → 0.28.4
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.
|
@@ -61,6 +61,15 @@ export declare const CLUSTER_NAME: {
|
|
|
61
61
|
message: string;
|
|
62
62
|
};
|
|
63
63
|
};
|
|
64
|
+
/** The optional description field, with the copy and the rules of the create page. */
|
|
65
|
+
export declare const CLUSTER_DESCRIPTION: {
|
|
66
|
+
title: string;
|
|
67
|
+
placeholder: string;
|
|
68
|
+
validation: (value: string) => {
|
|
69
|
+
isValid: boolean;
|
|
70
|
+
message: string;
|
|
71
|
+
};
|
|
72
|
+
};
|
|
64
73
|
export declare const backupDescription = "Choose single region to keep your data in one place, or dual region for higher redundancy across geographically separate locations. Some dual-region locations also support cross-region cold recovery, while others only keep a secondary copy of your backups.";
|
|
65
74
|
/** The expiry section, with the copy and the rules of the create page. */
|
|
66
75
|
export declare const ttlFormElement: C4CreateClusterTtlFormElement;
|
|
@@ -3,7 +3,8 @@
|
|
|
3
3
|
* under one or more contributor license agreements. Licensed under a commercial license.
|
|
4
4
|
* You may not use this file except in compliance with the commercial license.
|
|
5
5
|
*/
|
|
6
|
-
import { ClusterPlanTypeCategory, isHttpUrl } from '@camunda/ccma-shared-types';
|
|
6
|
+
import { ClusterPlanTypeCategory, isHttpUrl, MAX_HARDWARE_PACKAGE_COUNT, } from '@camunda/ccma-shared-types';
|
|
7
|
+
import { C4_EXTERNAL_URLS } from '../../externalUrls.const.js';
|
|
7
8
|
export const stageLabel = {
|
|
8
9
|
title: 'Cluster tag',
|
|
9
10
|
textBelow: 'Assign a tag to make it easier for team members to clearly distinguish between different stages of the software development lifecycle. Tags can be changed later.',
|
|
@@ -270,6 +271,17 @@ export const CLUSTER_NAME = {
|
|
|
270
271
|
return response;
|
|
271
272
|
},
|
|
272
273
|
};
|
|
274
|
+
/** The optional description field, with the copy and the rules of the create page. */
|
|
275
|
+
export const CLUSTER_DESCRIPTION = {
|
|
276
|
+
title: 'Description (optional)',
|
|
277
|
+
placeholder: 'Enter a description for the cluster',
|
|
278
|
+
validation: (value) => value && value.length > 150
|
|
279
|
+
? {
|
|
280
|
+
isValid: false,
|
|
281
|
+
message: 'Description cannot be longer than 150 characters.',
|
|
282
|
+
}
|
|
283
|
+
: { isValid: true, message: '' },
|
|
284
|
+
};
|
|
273
285
|
// The page adds a "Learn more" link after this text. The component does not.
|
|
274
286
|
export const backupDescription = 'Choose single region to keep your data in one place, or dual region for higher redundancy across geographically separate locations. Some dual-region locations also support cross-region cold recovery, while others only keep a secondary copy of your backups.';
|
|
275
287
|
/** The expiry section, with the copy and the rules of the create page. */
|
|
@@ -315,8 +327,21 @@ export const basicCreateClusterProps = {
|
|
|
315
327
|
},
|
|
316
328
|
},
|
|
317
329
|
cta: CTA(true),
|
|
330
|
+
autoUpdate: { default: true, enabled: true },
|
|
331
|
+
tasklistModeToggle: {
|
|
332
|
+
enabled: true,
|
|
333
|
+
title: 'Tasklist API version',
|
|
334
|
+
tasklistApiVersionDocs: C4_EXTERNAL_URLS.docs.tasklistApiVersions,
|
|
335
|
+
},
|
|
336
|
+
authorizationToggle: {
|
|
337
|
+
enabled: true,
|
|
338
|
+
title: 'Authorized access',
|
|
339
|
+
authorizationDocs: C4_EXTERNAL_URLS.docs.identityAuthorizations,
|
|
340
|
+
},
|
|
341
|
+
features: { identityIntegration: true },
|
|
318
342
|
formElements: {
|
|
319
343
|
name: CLUSTER_NAME,
|
|
344
|
+
description: CLUSTER_DESCRIPTION,
|
|
320
345
|
clusterPlanType: {
|
|
321
346
|
title: 'Select a cluster type',
|
|
322
347
|
options: generateClusterPlanTypeOptions({}),
|
|
@@ -333,6 +358,26 @@ export const basicCreateClusterProps = {
|
|
|
333
358
|
generation: {
|
|
334
359
|
title: 'Channel',
|
|
335
360
|
channels: generateChannels(),
|
|
361
|
+
olderGenerationsLabel: 'View older generations',
|
|
362
|
+
olderGenerationsHelperText: 'These are older generations that are used in your organization.',
|
|
363
|
+
orgUnlockedGenerationsHelperText: 'These are generations that have been unlocked for your organization.',
|
|
364
|
+
},
|
|
365
|
+
allocatedHardwarePackages: {
|
|
366
|
+
title: 'Cluster size',
|
|
367
|
+
max: MAX_HARDWARE_PACKAGE_COUNT,
|
|
368
|
+
description: 'Increase the cluster size to enhance performance and capacity. Each size increase uses an additional reservation slot.',
|
|
369
|
+
bold: 'Reservations',
|
|
370
|
+
link: {
|
|
371
|
+
label: 'Learn more about cluster size',
|
|
372
|
+
href: C4_EXTERNAL_URLS.docs.clusters.autoPause,
|
|
373
|
+
},
|
|
374
|
+
},
|
|
375
|
+
autoUpdate: {
|
|
376
|
+
title: 'Automatic cluster patch updates',
|
|
377
|
+
description: 'When enabled, the cluster will be updated to the latest patch release. For entirely new cluster versions, updates will need to be performed manually. Please note that during the update, there may be a brief period of unavailability for the cluster.',
|
|
378
|
+
descriptionIfDisabled: 'Only available for generations in the stable channel.',
|
|
379
|
+
label: 'Enable automatic cluster patch updates',
|
|
380
|
+
shouldBeEnabled: (channelUuid) => channelUuid === 'stable',
|
|
336
381
|
},
|
|
337
382
|
stageLabel,
|
|
338
383
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camunda/ccma-saas-frontend",
|
|
3
|
-
"version": "0.28.
|
|
3
|
+
"version": "0.28.4",
|
|
4
4
|
"description": "Camunda Composite Components",
|
|
5
5
|
"bugs": {
|
|
6
6
|
"url": "https://github.com/camunda/camunda-cloud-management-apps/issues"
|
|
@@ -85,8 +85,8 @@
|
|
|
85
85
|
"react-markdown": "^8.0.7 || ^10.0.0"
|
|
86
86
|
},
|
|
87
87
|
"dependencies": {
|
|
88
|
-
"@camunda/ccma-api": "7.9.
|
|
89
|
-
"@camunda/ccma-shared-types": "12.
|
|
88
|
+
"@camunda/ccma-api": "7.9.1",
|
|
89
|
+
"@camunda/ccma-shared-types": "12.12.0",
|
|
90
90
|
"@pactsafe/pactsafe-react-sdk": "2.15.0",
|
|
91
91
|
"cron-parser": "5.10.2",
|
|
92
92
|
"mobx": "6.16.1",
|