@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
package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-error-table.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { JobsError } from '../../c4-job-dashboard-shared/c4-job-dashboard-shared.types';
|
|
2
2
|
import type { ErrorTableData, JobDashboardDetailsTranslations } from '../c4-job-dashboard-details-page.types';
|
|
3
3
|
interface C4JobDashboardErrorTableProps {
|
|
4
4
|
errors: ErrorTableData[];
|
|
@@ -6,8 +6,7 @@ interface C4JobDashboardErrorTableProps {
|
|
|
6
6
|
operateBaseUrl: string | null;
|
|
7
7
|
isLoading: boolean;
|
|
8
8
|
translations: JobDashboardDetailsTranslations;
|
|
9
|
-
docsUrls: DocsUrls;
|
|
10
9
|
trackErrorClick?: (error: ErrorTableData) => void;
|
|
11
10
|
}
|
|
12
|
-
declare function C4JobDashboardErrorTable({ errors, operateBaseUrl, isLoading, translations, error,
|
|
11
|
+
declare function C4JobDashboardErrorTable({ errors, operateBaseUrl, isLoading, translations, error, trackErrorClick, }: C4JobDashboardErrorTableProps): import("react/jsx-runtime").JSX.Element;
|
|
13
12
|
export default C4JobDashboardErrorTable;
|
package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-error-table.js
CHANGED
|
@@ -11,14 +11,14 @@ import { C4JobDashboardErrorHandler } from '../../c4-job-dashboard-shared/c4-job
|
|
|
11
11
|
function noWrapLabel(label) {
|
|
12
12
|
return label.replaceAll(' ', '\u00A0');
|
|
13
13
|
}
|
|
14
|
-
function C4JobDashboardErrorTable({ errors, operateBaseUrl, isLoading, translations, error,
|
|
14
|
+
function C4JobDashboardErrorTable({ errors, operateBaseUrl, isLoading, translations, error, trackErrorClick, }) {
|
|
15
15
|
const rows = errors.map((error, index) => ({
|
|
16
16
|
...error,
|
|
17
17
|
id: `error-${index}`,
|
|
18
18
|
originalIndex: index,
|
|
19
19
|
}));
|
|
20
20
|
if (error || (!isLoading && errors.length === 0)) {
|
|
21
|
-
return (_jsxs(Stack, { gap: 4, children: [_jsx("h2", { children: translations.errorTable.title }), _jsx(C4JobDashboardErrorHandler, { itemsLength: errors.length, showIcons: false, error: error, translations: translations.errorHandler
|
|
21
|
+
return (_jsxs(Stack, { gap: 4, children: [_jsx("h2", { children: translations.errorTable.title }), _jsx(C4JobDashboardErrorHandler, { itemsLength: errors.length, showIcons: false, error: error, translations: translations.errorHandler })] }));
|
|
22
22
|
}
|
|
23
23
|
const toolbar = [
|
|
24
24
|
{
|
package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-piechart.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { JobStatusSummary, JobsError } from '../../c4-job-dashboard-shared/c4-job-dashboard-shared.types';
|
|
2
2
|
import { type ColorScale } from '../c4-job-dashboard-details-page';
|
|
3
3
|
import type { JobDashboardDetailsTranslations } from '../c4-job-dashboard-details-page.types';
|
|
4
4
|
export interface C4JobDashboardPieChartProps {
|
|
@@ -7,7 +7,6 @@ export interface C4JobDashboardPieChartProps {
|
|
|
7
7
|
colorScale: ColorScale;
|
|
8
8
|
isLoading: boolean;
|
|
9
9
|
translations: JobDashboardDetailsTranslations;
|
|
10
|
-
docsUrls: DocsUrls;
|
|
11
10
|
}
|
|
12
|
-
declare function C4JobDashboardPieChart({ jobData, error, colorScale, isLoading, translations,
|
|
11
|
+
declare function C4JobDashboardPieChart({ jobData, error, colorScale, isLoading, translations, }: C4JobDashboardPieChartProps): import("react/jsx-runtime").JSX.Element;
|
|
13
12
|
export default C4JobDashboardPieChart;
|
package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-piechart.js
CHANGED
|
@@ -8,7 +8,7 @@ import { DonutChart } from '@carbon/charts-react';
|
|
|
8
8
|
import { C4JobDashboardErrorHandler } from '../../c4-job-dashboard-shared/c4-job-dashboard-error-handler.js';
|
|
9
9
|
import { CHART_HEIGHT, PIE_CHART_MAX_WIDTH_PX, } from '../c4-job-dashboard-details-page.js';
|
|
10
10
|
import C4JobDashboardChartHeading from './c4-job-dashboard-chart-heading.js';
|
|
11
|
-
function C4JobDashboardPieChart({ jobData, error, colorScale, isLoading, translations,
|
|
11
|
+
function C4JobDashboardPieChart({ jobData, error, colorScale, isLoading, translations, }) {
|
|
12
12
|
const completedCount = jobData?.completed?.count ?? 0;
|
|
13
13
|
const failedCount = jobData?.failed?.count ?? 0;
|
|
14
14
|
const createdCount = jobData?.created?.count ?? 0;
|
|
@@ -70,6 +70,6 @@ function C4JobDashboardPieChart({ jobData, error, colorScale, isLoading, transla
|
|
|
70
70
|
const noData = (jobData?.created.count === jobData?.failed.count &&
|
|
71
71
|
jobData?.completed.count === 0) ||
|
|
72
72
|
!jobData;
|
|
73
|
-
return (_jsxs(_Fragment, { children: [_jsx("div", { style: { marginBottom: 25 }, children: _jsx(C4JobDashboardChartHeading, { title: translations.charts.createdVsCompleted.title, tooltipLabel: translations.charts.createdVsCompleted.tooltip }) }), (!jobData || noData || error) && !isLoading ? (_jsx(C4JobDashboardErrorHandler, { itemsLength: noData ? 0 : 1, showIcons: false, translations: translations.errorHandler, error: error
|
|
73
|
+
return (_jsxs(_Fragment, { children: [_jsx("div", { style: { marginBottom: 25 }, children: _jsx(C4JobDashboardChartHeading, { title: translations.charts.createdVsCompleted.title, tooltipLabel: translations.charts.createdVsCompleted.tooltip }) }), (!jobData || noData || error) && !isLoading ? (_jsx(C4JobDashboardErrorHandler, { itemsLength: noData ? 0 : 1, showIcons: false, translations: translations.errorHandler, error: error })) : (_jsx("div", { style: { maxWidth: PIE_CHART_MAX_WIDTH_PX, margin: '0 auto' }, children: _jsx(DonutChart, { data: pieData, options: pieOptions }) }))] }));
|
|
74
74
|
}
|
|
75
75
|
export default C4JobDashboardPieChart;
|
package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-time-chart.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { JSX } from 'react';
|
|
2
|
-
import type {
|
|
2
|
+
import type { JobStatusSummary, JobsError } from '../../c4-job-dashboard-shared/c4-job-dashboard-shared.types';
|
|
3
3
|
import { type ColorScale } from '../c4-job-dashboard-details-page';
|
|
4
4
|
import type { JobDashboardDetailsTranslations } from '../c4-job-dashboard-details-page.types';
|
|
5
5
|
interface C4JobDashboardBarChartProps {
|
|
@@ -10,7 +10,6 @@ interface C4JobDashboardBarChartProps {
|
|
|
10
10
|
isLoading: boolean;
|
|
11
11
|
translations: JobDashboardDetailsTranslations;
|
|
12
12
|
error?: JobsError;
|
|
13
|
-
docsUrls: DocsUrls;
|
|
14
13
|
}
|
|
15
|
-
declare function C4JobDashboardTimeChart({ timeSeries, isLoading, colorScale, translations, error,
|
|
14
|
+
declare function C4JobDashboardTimeChart({ timeSeries, isLoading, colorScale, translations, error, }: C4JobDashboardBarChartProps): JSX.Element;
|
|
16
15
|
export default C4JobDashboardTimeChart;
|
package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-time-chart.js
CHANGED
|
@@ -19,7 +19,7 @@ function formatTooltipTimestamp(value) {
|
|
|
19
19
|
minute: '2-digit',
|
|
20
20
|
}).format(new Date(value));
|
|
21
21
|
}
|
|
22
|
-
function C4JobDashboardTimeChart({ timeSeries, isLoading, colorScale, translations, error,
|
|
22
|
+
function C4JobDashboardTimeChart({ timeSeries, isLoading, colorScale, translations, error, }) {
|
|
23
23
|
const chartData = timeSeries.flatMap((item) => [
|
|
24
24
|
{
|
|
25
25
|
group: translations.charts.legend.created,
|
|
@@ -97,6 +97,6 @@ function C4JobDashboardTimeChart({ timeSeries, isLoading, colorScale, translatio
|
|
|
97
97
|
scale: formattedColorScale,
|
|
98
98
|
},
|
|
99
99
|
};
|
|
100
|
-
return (_jsxs(Stack, { gap: 6, children: [_jsx(C4JobDashboardChartHeading, { title: translations.charts.jobWorkload.title, tooltipLabel: translations.charts.jobWorkload.tooltip }), _jsxs("strong", { children: [translations.charts.jobWorkload.subtitle, " "] }), (!timeSeries || timeSeries.length === 0 || error) && !isLoading ? (_jsx(C4JobDashboardErrorHandler, { itemsLength: timeSeries.length, showIcons: false, translations: translations.errorHandler, error: error
|
|
100
|
+
return (_jsxs(Stack, { gap: 6, children: [_jsx(C4JobDashboardChartHeading, { title: translations.charts.jobWorkload.title, tooltipLabel: translations.charts.jobWorkload.tooltip }), _jsxs("strong", { children: [translations.charts.jobWorkload.subtitle, " "] }), (!timeSeries || timeSeries.length === 0 || error) && !isLoading ? (_jsx(C4JobDashboardErrorHandler, { itemsLength: timeSeries.length, showIcons: false, translations: translations.errorHandler, error: error })) : (_jsx("div", { style: { height: CHART_HEIGHT }, children: _jsx(StackedAreaChart, { data: chartData, options: areaOptions }) }))] }));
|
|
101
101
|
}
|
|
102
102
|
export default C4JobDashboardTimeChart;
|
package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-worker-table.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { JobStatusSummary, JobsError } from '../../c4-job-dashboard-shared/c4-job-dashboard-shared.types';
|
|
2
2
|
import type { JobDashboardDetailsTranslations } from '../c4-job-dashboard-details-page.types';
|
|
3
3
|
interface C4JobDashboardWorkerTableProps {
|
|
4
4
|
workerData: Array<{
|
|
@@ -7,7 +7,6 @@ interface C4JobDashboardWorkerTableProps {
|
|
|
7
7
|
error?: JobsError;
|
|
8
8
|
isLoading: boolean;
|
|
9
9
|
translations: JobDashboardDetailsTranslations;
|
|
10
|
-
docsUrls: DocsUrls;
|
|
11
10
|
}
|
|
12
|
-
declare function C4JobDashboardWorkerTable({ workerData, error, isLoading, translations,
|
|
11
|
+
declare function C4JobDashboardWorkerTable({ workerData, error, isLoading, translations, }: C4JobDashboardWorkerTableProps): import("react/jsx-runtime").JSX.Element;
|
|
13
12
|
export default C4JobDashboardWorkerTable;
|
package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-worker-table.js
CHANGED
|
@@ -9,7 +9,7 @@ import { Stack } from '@carbon/react';
|
|
|
9
9
|
import { C4BackgroundFetchingIndicator } from '../../c4-job-dashboard-shared/c4-background-fetching-indicator.js';
|
|
10
10
|
import { C4JobDashboardErrorHandler } from '../../c4-job-dashboard-shared/c4-job-dashboard-error-handler.js';
|
|
11
11
|
import { headerWithTooltip } from '../../c4-job-dashboard-shared/c4-job-dashboard-table-heading-with-tooltip.js';
|
|
12
|
-
function C4JobDashboardWorkerTable({ workerData, error, isLoading, translations,
|
|
12
|
+
function C4JobDashboardWorkerTable({ workerData, error, isLoading, translations, }) {
|
|
13
13
|
const tableData = workerData.map((worker, index) => ({
|
|
14
14
|
worker: worker.worker,
|
|
15
15
|
completed: worker.completed.count,
|
|
@@ -19,7 +19,7 @@ function C4JobDashboardWorkerTable({ workerData, error, isLoading, translations,
|
|
|
19
19
|
originalIndex: index,
|
|
20
20
|
}));
|
|
21
21
|
if (error || (!isLoading && workerData.length === 0)) {
|
|
22
|
-
return (_jsxs(_Fragment, { children: [_jsx("h2", { children: translations.workerTable.title }), _jsx(C4JobDashboardErrorHandler, { itemsLength: workerData.length, showIcons: false, error: error, translations: translations.errorHandler
|
|
22
|
+
return (_jsxs(_Fragment, { children: [_jsx("h2", { children: translations.workerTable.title }), _jsx(C4JobDashboardErrorHandler, { itemsLength: workerData.length, showIcons: false, error: error, translations: translations.errorHandler })] }));
|
|
23
23
|
}
|
|
24
24
|
return (_jsxs(Stack, { gap: 4, children: [_jsx("h2", { children: translations.workerTable.title }), _jsx(C3DataTable, { id: 'worker-data-table', data: tableData, headers: [
|
|
25
25
|
{ key: 'worker', label: translations.workerTable.headers.workerName },
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { JSX } from 'react';
|
|
2
2
|
import type { C4JobDashboardEntryPointProps } from './c4-job-dashboard-entry-point.types';
|
|
3
|
-
declare function C4JobDashboardEntryPoint({ data, error, onClick, isLoading, translations,
|
|
3
|
+
declare function C4JobDashboardEntryPoint({ data, error, onClick, isLoading, translations, }: C4JobDashboardEntryPointProps): JSX.Element;
|
|
4
4
|
export default C4JobDashboardEntryPoint;
|
|
@@ -39,7 +39,7 @@ const JobTilesGrid = styled.div `
|
|
|
39
39
|
}
|
|
40
40
|
`;
|
|
41
41
|
const JobTile = ({ title, description, icon, tooltip, }) => (_jsx(Tooltip, { align: 'top', label: tooltip, children: _jsx("div", { children: _jsx(Layer, { children: _jsxs(Tile, { children: [_jsxs(TileHeader, { children: [_jsx("h6", { children: title }), icon] }), _jsx(TileDescription, { children: description })] }) }) }) }));
|
|
42
|
-
function C4JobDashboardEntryPoint({ data, error, onClick, isLoading, translations,
|
|
42
|
+
function C4JobDashboardEntryPoint({ data, error, onClick, isLoading, translations, }) {
|
|
43
43
|
const hasError = !!error;
|
|
44
44
|
const shouldShowEmpty = !hasError &&
|
|
45
45
|
(!data ||
|
|
@@ -47,6 +47,6 @@ function C4JobDashboardEntryPoint({ data, error, onClick, isLoading, translation
|
|
|
47
47
|
data.failed.count === 0 &&
|
|
48
48
|
data.completed.count === 0));
|
|
49
49
|
const getTileDescription = (count) => `${count ?? 0} ${count === 1 ? translations.jobTileSingular.toLowerCase() : translations.jobTilePlural.toLowerCase()}`;
|
|
50
|
-
return (_jsx(Tile, { children: _jsxs(Stack, { gap: 4, children: [_jsx("h3", { children: translations.title }), _jsx("p", { children: translations.description }), isLoading ? (_jsx(LoadingContainer, { children: _jsx(Loading, { withOverlay: false }) })) : hasError || shouldShowEmpty ? (_jsxs(Container, { children: [_jsx(C4JobDashboardErrorHandler, { itemsLength: shouldShowEmpty ? 0 : 1, error: hasError ? error : null, showIcons: true, translations: translations.errorHandler
|
|
50
|
+
return (_jsx(Tile, { children: _jsxs(Stack, { gap: 4, children: [_jsx("h3", { children: translations.title }), _jsx("p", { children: translations.description }), isLoading ? (_jsx(LoadingContainer, { children: _jsx(Loading, { withOverlay: false }) })) : hasError || shouldShowEmpty ? (_jsxs(Container, { children: [_jsx(C4JobDashboardErrorHandler, { itemsLength: shouldShowEmpty ? 0 : 1, error: hasError ? error : null, showIcons: true, translations: translations.errorHandler }), shouldShowEmpty && (_jsx(Button, { onClick: onClick, children: translations.viewAllJobTypes }))] })) : (_jsx(Container, { children: _jsxs(Stack, { gap: 4, children: [_jsx(C4TimestampInformation, { description: translations.lastUpdated, lastUpdatedAt: data?.lastUpdatedAt ?? '' }), _jsx(JobTilesContainer, { children: _jsxs(JobTilesGrid, { children: [_jsx(JobTile, { title: translations.jobTileCompleted, description: getTileDescription(data?.completed.count), icon: _jsx(JobsCompletedIcon, {}), tooltip: translations.jobTileCompletedTooltip }), _jsx(JobTile, { title: translations.jobTileFailed, description: getTileDescription(data?.failed.count), icon: _jsx(JobsFailedIcon, {}), tooltip: translations.jobTileFailedTooltip }), _jsx(JobTile, { title: translations.jobTileCreated, description: getTileDescription(data?.created.count), icon: _jsx(JobsCreatedIcon, {}), tooltip: translations.jobTileCreatedTooltip })] }) }), _jsx(Button, { onClick: onClick, children: translations.viewAllJobTypes })] }) }))] }) }));
|
|
51
51
|
}
|
|
52
52
|
export default C4JobDashboardEntryPoint;
|
package/lib/esm/components/c4-job-dashboard-entry-point/c4-job-dashboard-entry-point.types.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { JobDashboardErrorHandlerTranslations } from '../c4-job-dashboard-shared/c4-job-dashboard-error-handler';
|
|
2
|
-
import type {
|
|
2
|
+
import type { JobStatusSummary, JobsError } from '../c4-job-dashboard-shared/c4-job-dashboard-shared.types';
|
|
3
3
|
export interface JobDashboardTranslations {
|
|
4
4
|
title: string;
|
|
5
5
|
description: string;
|
|
@@ -21,5 +21,4 @@ export interface C4JobDashboardEntryPointProps {
|
|
|
21
21
|
onClick: () => void;
|
|
22
22
|
translations: JobDashboardTranslations;
|
|
23
23
|
isLoading?: boolean;
|
|
24
|
-
docsUrls: DocsUrls;
|
|
25
24
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { type JSX } from 'react';
|
|
2
2
|
import type { C4JobDashboardOverviewPageProps } from './c4-job-dashboard-overview.types';
|
|
3
|
-
export declare const C4JobDashboardOverviewPage: ({ error, items, isIncomplete, config, onTimeRangeChange, breadcrumb, isLoadingConfig, isLoadingTable, translations, lastUpdatedAt,
|
|
3
|
+
export declare const C4JobDashboardOverviewPage: ({ error, items, isIncomplete, config, onTimeRangeChange, breadcrumb, isLoadingConfig, isLoadingTable, translations, lastUpdatedAt, }: C4JobDashboardOverviewPageProps) => JSX.Element;
|
|
@@ -8,7 +8,7 @@ import { C3DataTable, } from '@camunda/camunda-composite-components';
|
|
|
8
8
|
import { InlineNotification, Stack } from '@carbon/react';
|
|
9
9
|
import { Launch } from '@carbon/react/icons/index.esm.js';
|
|
10
10
|
import { useEffect, useState } from 'react';
|
|
11
|
-
import {
|
|
11
|
+
import { C4_EXTERNAL_URLS } from '../../externalUrls.const.js';
|
|
12
12
|
import { C4Breadcrumb } from '../c4-breadcrumb/c4-breadcrumb.js';
|
|
13
13
|
import { C4BackgroundFetchingIndicator } from '../c4-job-dashboard-shared/c4-background-fetching-indicator.js';
|
|
14
14
|
import { C4JobDashboardErrorHandler } from '../c4-job-dashboard-shared/c4-job-dashboard-error-handler.js';
|
|
@@ -16,8 +16,7 @@ import { headerWithTooltip } from '../c4-job-dashboard-shared/c4-job-dashboard-t
|
|
|
16
16
|
import C4JobDashboardTimeRangeDropdown from '../c4-job-dashboard-shared/c4-job-dashboard-time-range-dropdown.js';
|
|
17
17
|
import C4TimestampInformation from '../c4-job-dashboard-shared/c4-timestamp-information.js';
|
|
18
18
|
import { C4LinkButton } from '../c4-link-button/c4-link-button.js';
|
|
19
|
-
export const C4JobDashboardOverviewPage = ({ error, items, isIncomplete, config, onTimeRangeChange, breadcrumb, isLoadingConfig, isLoadingTable, translations, lastUpdatedAt,
|
|
20
|
-
const resolvedDocsUrls = getC4JobDashboardDocsUrls(docsUrls);
|
|
19
|
+
export const C4JobDashboardOverviewPage = ({ error, items, isIncomplete, config, onTimeRangeChange, breadcrumb, isLoadingConfig, isLoadingTable, translations, lastUpdatedAt, }) => {
|
|
21
20
|
const [rows, setRows] = useState([]);
|
|
22
21
|
useEffect(() => {
|
|
23
22
|
const originalRows = items.map((row, index) => ({
|
|
@@ -53,9 +52,9 @@ export const C4JobDashboardOverviewPage = ({ error, items, isIncomplete, config,
|
|
|
53
52
|
details: 'Feature is disabled',
|
|
54
53
|
message: '',
|
|
55
54
|
};
|
|
56
|
-
return (_jsx(C4JobDashboardErrorHandler, { itemsLength: 0, showIcons: true, translations: translations.errorHandler, error: error
|
|
55
|
+
return (_jsx(C4JobDashboardErrorHandler, { itemsLength: 0, showIcons: true, translations: translations.errorHandler, error: error }));
|
|
57
56
|
}
|
|
58
|
-
return (_jsxs(Stack, { gap: 3, children: [_jsx(C4Breadcrumb, { loading: false, elements: breadcrumb.elements, title: translations.title }), _jsxs("p", { children: [translations.description, ' ', _jsx(C4LinkButton, { onClick: () => window.open(
|
|
57
|
+
return (_jsxs(Stack, { gap: 3, children: [_jsx(C4Breadcrumb, { loading: false, elements: breadcrumb.elements, title: translations.title }), _jsxs("p", { children: [translations.description, ' ', _jsx(C4LinkButton, { onClick: () => window.open(C4_EXTERNAL_URLS.docs.jobDashboard.jobWorker, '_blank', 'noopener,noreferrer'), label: translations.learnMoreLabel, icon: _jsx(Launch, {}) })] }), _jsx(C4TimestampInformation, { description: translations.lastUpdated, lastUpdatedAt: lastUpdatedAt }), _jsx(C4JobDashboardTimeRangeDropdown, { onChange: onTimeRangeChange, exportInterval: config?.exportInterval, disabled: isLoadingConfig, translations: translations.dropdown }), shouldShowErrorHandler ? (_jsx(C4JobDashboardErrorHandler, { error: error, itemsLength: items.length, showIcons: true, translations: translations.errorHandler })) : (_jsxs(_Fragment, { children: [isIncomplete && (_jsx(InlineNotification, { style: { maxWidth: '100%' }, lowContrast: true, kind: 'warning', title: translations.dataLimitWarning.title, subtitle: translations.dataLimitWarning.description })), _jsx(C3DataTable, { id: 'usage-history-table', data: rows, toolbar: toolbar, headers: [
|
|
59
58
|
{
|
|
60
59
|
key: 'jobType',
|
|
61
60
|
label: translations.tableHeaders.jobType,
|
package/lib/esm/components/c4-job-dashboard-overview-page/c4-job-dashboard-overview.types.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { C4BreadcrumbProps } from '../c4-breadcrumb/c4-breadcrumb.types';
|
|
2
2
|
import type { JobDashboardErrorHandlerTranslations } from '../c4-job-dashboard-shared/c4-job-dashboard-error-handler';
|
|
3
|
-
import type { Config,
|
|
3
|
+
import type { Config, JobStatusSummary, JobsError } from '../c4-job-dashboard-shared/c4-job-dashboard-shared.types';
|
|
4
4
|
import type { JobDashboardDropdownTranslationProps } from '../c4-job-dashboard-shared/c4-job-dashboard-time-range-dropdown';
|
|
5
5
|
export interface JobDashboardOverviewDataRow extends JobStatusSummary {
|
|
6
6
|
jobType: string;
|
|
@@ -43,5 +43,4 @@ export interface C4JobDashboardOverviewPageProps {
|
|
|
43
43
|
isLoadingConfig: boolean;
|
|
44
44
|
isLoadingTable: boolean;
|
|
45
45
|
translations: JobDashboardOverviewTranslations;
|
|
46
|
-
docsUrls?: DocsUrls;
|
|
47
46
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { JSX } from 'react';
|
|
2
|
-
import type {
|
|
2
|
+
import type { JobsError } from './c4-job-dashboard-shared.types';
|
|
3
3
|
export interface JobDashboardErrorHandlerTranslations {
|
|
4
4
|
forbidden: {
|
|
5
5
|
title: string;
|
|
@@ -21,6 +21,5 @@ export interface C4JobDashboardErrorHandlerProps {
|
|
|
21
21
|
itemsLength: number;
|
|
22
22
|
showIcons: boolean;
|
|
23
23
|
translations: JobDashboardErrorHandlerTranslations;
|
|
24
|
-
docsUrls: DocsUrls;
|
|
25
24
|
}
|
|
26
|
-
export declare const C4JobDashboardErrorHandler: ({ error, showIcons, itemsLength, translations,
|
|
25
|
+
export declare const C4JobDashboardErrorHandler: ({ error, showIcons, itemsLength, translations, }: C4JobDashboardErrorHandlerProps) => JSX.Element;
|
|
@@ -7,6 +7,7 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
|
|
|
7
7
|
import { Tile } from '@carbon/react';
|
|
8
8
|
import { Launch } from '@carbon/react/icons/index.esm.js';
|
|
9
9
|
import styled from 'styled-components';
|
|
10
|
+
import { C4_EXTERNAL_URLS } from '../../externalUrls.const.js';
|
|
10
11
|
import { AccessRestrictedIcon, EmptyJobsIcon, ErrorIcon, } from '../../icons/c4-icons.js';
|
|
11
12
|
import { C4LinkButton } from '../c4-link-button/c4-link-button.js';
|
|
12
13
|
const Row = styled.div `
|
|
@@ -21,7 +22,7 @@ const Description = styled.p `
|
|
|
21
22
|
color: var(--cds-text-secondary, #525252);
|
|
22
23
|
padding: 0.5rem 0;
|
|
23
24
|
`;
|
|
24
|
-
export const C4JobDashboardErrorHandler = ({ error, showIcons, itemsLength, translations,
|
|
25
|
+
export const C4JobDashboardErrorHandler = ({ error, showIcons, itemsLength, translations, }) => {
|
|
25
26
|
if (error) {
|
|
26
27
|
const isAccessRestricted = error.status === 401 || error.status === 403;
|
|
27
28
|
let title;
|
|
@@ -42,10 +43,10 @@ export const C4JobDashboardErrorHandler = ({ error, showIcons, itemsLength, tran
|
|
|
42
43
|
}
|
|
43
44
|
}
|
|
44
45
|
return (_jsx("div", { style: { width: '100%', margin: '1rem 0' }, children: _jsx(Tile, { children: _jsxs(Row, { children: [showIcons &&
|
|
45
|
-
(isAccessRestricted ? (_jsx(AccessRestrictedIcon, { size: 70 })) : (_jsx(ErrorIcon, { size: 80 }))), _jsxs("div", { children: [_jsx("h3", { children: title }), _jsx(Description, { children: description }), isAccessRestricted && (_jsx(C4LinkButton, { onClick: () => window.open(
|
|
46
|
+
(isAccessRestricted ? (_jsx(AccessRestrictedIcon, { size: 70 })) : (_jsx(ErrorIcon, { size: 80 }))), _jsxs("div", { children: [_jsx("h3", { children: title }), _jsx(Description, { children: description }), isAccessRestricted && (_jsx(C4LinkButton, { onClick: () => window.open(C4_EXTERNAL_URLS.docs.jobDashboard.roles, '_blank', 'noopener,noreferrer'), label: translations.forbidden.learnMoreLabel, icon: _jsx(Launch, {}) }))] })] }) }) }));
|
|
46
47
|
}
|
|
47
48
|
if (itemsLength === 0) {
|
|
48
|
-
return (_jsx(Tile, { children: _jsxs(Row, { children: [showIcons && _jsx(EmptyJobsIcon, { size: 84 }), _jsxs("div", { children: [_jsx("h2", { children: translations.empty.title }), _jsx(Description, { children: translations.empty.description }), _jsx(C4LinkButton, { onClick: () => window.open(
|
|
49
|
+
return (_jsx(Tile, { children: _jsxs(Row, { children: [showIcons && _jsx(EmptyJobsIcon, { size: 84 }), _jsxs("div", { children: [_jsx("h2", { children: translations.empty.title }), _jsx(Description, { children: translations.empty.description }), _jsx(C4LinkButton, { onClick: () => window.open(C4_EXTERNAL_URLS.docs.jobDashboard.jobWorker, '_blank', 'noopener,noreferrer'), label: translations.empty.learnMoreLabel, icon: _jsx(Launch, { color: 'currentColor', size: 16 }) })] })] }) }));
|
|
49
50
|
}
|
|
50
51
|
return _jsx(_Fragment, {});
|
|
51
52
|
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { C4AsyncModal } from '../c4-async-modal/c4-async-modal.js';
|
|
3
|
+
export const C4OptimizeActivationModal = ({ open, description, onClose, onActivate, }) => {
|
|
4
|
+
return (_jsx(C4AsyncModal, { open: open, modalHeading: 'Enable Optimize', primaryButtonText: 'Enable', secondaryButtonText: 'Cancel', loadingText: 'Enabling Optimize...', onRequestClose: onClose, onRequestSubmit: async () => {
|
|
5
|
+
try {
|
|
6
|
+
await onActivate();
|
|
7
|
+
return { success: true };
|
|
8
|
+
}
|
|
9
|
+
catch (error) {
|
|
10
|
+
return {
|
|
11
|
+
success: false,
|
|
12
|
+
error: {
|
|
13
|
+
title: 'Failed to enable Optimize',
|
|
14
|
+
description: error instanceof Error
|
|
15
|
+
? error.message
|
|
16
|
+
: 'Something went wrong. Try again.',
|
|
17
|
+
},
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
}, children: _jsx("p", { children: description }) }));
|
|
21
|
+
};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { DocsUrls as C4JobDashboardDocsUrls } from './components/c4-job-dashboard-shared/c4-job-dashboard-shared.types';
|
|
2
1
|
import type { C4ClusterDetailsDocsUrls, C4ClusterDetailsUrls } from './widgets/cluster-details/c4-cluster-details-app.types';
|
|
3
2
|
import type { C4CreateClusterExternalLinks } from './widgets/create-cluster/c4-create-cluster-page.types';
|
|
4
3
|
import type { C4DashboardUrls } from './widgets/dashboard/c4-dashboard-app.types';
|
|
@@ -10,7 +9,7 @@ export declare const C4_EXTERNAL_URLS: {
|
|
|
10
9
|
readonly consoleApiClients: "https://docs.camunda.io/docs/next/apis-tools/administration-api/administration-api-reference/";
|
|
11
10
|
readonly consoleAlerts: "https://docs.camunda.io/docs/next/components/console/manage-clusters/manage-alerts/";
|
|
12
11
|
readonly consoleClusterClients: "https://docs.camunda.io/docs/next/components/console/manage-clusters/manage-api-clients/";
|
|
13
|
-
readonly consoleManageConnectors: "https://docs.camunda.io/docs/components/console/manage-connectors/";
|
|
12
|
+
readonly consoleManageConnectors: "https://docs.camunda.io/docs/components/console/manage-clusters/cluster-connectors/";
|
|
14
13
|
readonly connectorSecrets: "https://docs.camunda.io/docs/next/components/connectors/use-connectors/#using-secrets";
|
|
15
14
|
readonly consoleIpWhitelist: "https://docs.camunda.io/docs/next/components/console/manage-clusters/manage-ip-allowlists/";
|
|
16
15
|
readonly conceptsRBA: "https://docs.camunda.io/docs/components/concepts/resource-authorizations/";
|
|
@@ -21,6 +20,7 @@ export declare const C4_EXTERNAL_URLS: {
|
|
|
21
20
|
readonly encryption: "https://docs.camunda.io/docs/components/console/manage-clusters/create-cluster/";
|
|
22
21
|
readonly clusterLoad: "https://docs.camunda.io/docs/next/components/console/manage-clusters/cluster-capacity/";
|
|
23
22
|
readonly identityAuthorizations: "https://docs.camunda.io/docs/next/components/concepts/access-control/authorizations/";
|
|
23
|
+
readonly multiTenancy: "https://docs.camunda.io/docs/components/admin/tenant/";
|
|
24
24
|
readonly tasklistApiVersions: "https://docs.camunda.io/docs/next/components/tasklist/api-versions/";
|
|
25
25
|
readonly whatsNewIn88: "https://docs.camunda.io/docs/reference/announcements-release-notes/880/whats-new-in-88/";
|
|
26
26
|
readonly announcementsApiTools: "https://docs.camunda.io/docs/reference/announcements-release-notes/880/880-announcements/#apis--tools";
|
|
@@ -45,7 +45,7 @@ export declare const C4_EXTERNAL_URLS: {
|
|
|
45
45
|
readonly secureConnectivity: "https://docs.camunda.io/docs/components/saas/secure-connectivity/";
|
|
46
46
|
readonly releasePolicy: "https://camunda.com/release-policy/";
|
|
47
47
|
readonly jobDashboard: {
|
|
48
|
-
readonly roles: "https://docs.camunda.io/docs/components/
|
|
48
|
+
readonly roles: "https://docs.camunda.io/docs/components/admin/role/";
|
|
49
49
|
readonly jobWorker: "https://docs.camunda.io/docs/components/concepts/job-workers/";
|
|
50
50
|
};
|
|
51
51
|
};
|
|
@@ -82,7 +82,6 @@ export declare function getC4DashboardUrls(params: {
|
|
|
82
82
|
};
|
|
83
83
|
export declare function getC4ClusterClientDetailsDocsUrl(url?: string): string;
|
|
84
84
|
export declare function getC4ClustersGettingStartedHref(href?: string): string;
|
|
85
|
-
export declare function getC4JobDashboardDocsUrls(docsUrls?: C4JobDashboardDocsUrls): Required<C4JobDashboardDocsUrls>;
|
|
86
85
|
export declare function getC4ManagementUrls(params?: {
|
|
87
86
|
email?: string;
|
|
88
87
|
overrides?: C4ManagementUrls;
|
|
@@ -8,7 +8,7 @@ export const C4_EXTERNAL_URLS = {
|
|
|
8
8
|
consoleApiClients: 'https://docs.camunda.io/docs/next/apis-tools/administration-api/administration-api-reference/',
|
|
9
9
|
consoleAlerts: 'https://docs.camunda.io/docs/next/components/console/manage-clusters/manage-alerts/',
|
|
10
10
|
consoleClusterClients: 'https://docs.camunda.io/docs/next/components/console/manage-clusters/manage-api-clients/',
|
|
11
|
-
consoleManageConnectors: 'https://docs.camunda.io/docs/components/console/manage-connectors/',
|
|
11
|
+
consoleManageConnectors: 'https://docs.camunda.io/docs/components/console/manage-clusters/cluster-connectors/',
|
|
12
12
|
connectorSecrets: 'https://docs.camunda.io/docs/next/components/connectors/use-connectors/#using-secrets',
|
|
13
13
|
consoleIpWhitelist: 'https://docs.camunda.io/docs/next/components/console/manage-clusters/manage-ip-allowlists/',
|
|
14
14
|
conceptsRBA: 'https://docs.camunda.io/docs/components/concepts/resource-authorizations/',
|
|
@@ -19,6 +19,7 @@ export const C4_EXTERNAL_URLS = {
|
|
|
19
19
|
encryption: 'https://docs.camunda.io/docs/components/console/manage-clusters/create-cluster/',
|
|
20
20
|
clusterLoad: 'https://docs.camunda.io/docs/next/components/console/manage-clusters/cluster-capacity/',
|
|
21
21
|
identityAuthorizations: 'https://docs.camunda.io/docs/next/components/concepts/access-control/authorizations/',
|
|
22
|
+
multiTenancy: 'https://docs.camunda.io/docs/components/admin/tenant/',
|
|
22
23
|
tasklistApiVersions: 'https://docs.camunda.io/docs/next/components/tasklist/api-versions/',
|
|
23
24
|
whatsNewIn88: 'https://docs.camunda.io/docs/reference/announcements-release-notes/880/whats-new-in-88/',
|
|
24
25
|
announcementsApiTools: 'https://docs.camunda.io/docs/reference/announcements-release-notes/880/880-announcements/#apis--tools',
|
|
@@ -43,7 +44,7 @@ export const C4_EXTERNAL_URLS = {
|
|
|
43
44
|
secureConnectivity: 'https://docs.camunda.io/docs/components/saas/secure-connectivity/',
|
|
44
45
|
releasePolicy: 'https://camunda.com/release-policy/',
|
|
45
46
|
jobDashboard: {
|
|
46
|
-
roles: 'https://docs.camunda.io/docs/components/
|
|
47
|
+
roles: 'https://docs.camunda.io/docs/components/admin/role/',
|
|
47
48
|
jobWorker: 'https://docs.camunda.io/docs/components/concepts/job-workers/',
|
|
48
49
|
},
|
|
49
50
|
},
|
|
@@ -83,12 +84,6 @@ export function getC4ClusterDetailsUrls(urls) {
|
|
|
83
84
|
announcementsApiTools: urls.docs?.upgrade?.announcementsApiTools ??
|
|
84
85
|
C4_EXTERNAL_URLS.docs.announcementsApiTools,
|
|
85
86
|
},
|
|
86
|
-
jobDashboard: {
|
|
87
|
-
roles: urls.docs?.jobDashboard?.roles ??
|
|
88
|
-
C4_EXTERNAL_URLS.docs.jobDashboard.roles,
|
|
89
|
-
jobWorker: urls.docs?.jobDashboard?.jobWorker ??
|
|
90
|
-
C4_EXTERNAL_URLS.docs.jobDashboard.jobWorker,
|
|
91
|
-
},
|
|
92
87
|
byom: urls.docs?.byom ?? C4_EXTERNAL_URLS.docs.byom,
|
|
93
88
|
hotBackups: urls.docs?.hotBackups ?? C4_EXTERNAL_URLS.docs.hotBackups,
|
|
94
89
|
secureConnectivity: urls.docs?.secureConnectivity ??
|
|
@@ -97,6 +92,7 @@ export function getC4ClusterDetailsUrls(urls) {
|
|
|
97
92
|
identityAuthorization: urls.docs?.identityAuthorization ??
|
|
98
93
|
C4_EXTERNAL_URLS.docs.identityAuthorizations,
|
|
99
94
|
resourceAuthorizations: urls.docs?.resourceAuthorizations ?? C4_EXTERNAL_URLS.docs.conceptsRBA,
|
|
95
|
+
multiTenancy: urls.docs?.multiTenancy ?? C4_EXTERNAL_URLS.docs.multiTenancy,
|
|
100
96
|
swagger: urls.docs?.swagger ?? C4_EXTERNAL_URLS.docs.swagger,
|
|
101
97
|
mcpOverview: urls.docs?.mcpOverview ?? C4_EXTERNAL_URLS.docs.mcpOverview,
|
|
102
98
|
tasklistApiVersions: urls.docs?.tasklistApiVersions ??
|
|
@@ -146,12 +142,6 @@ export function getC4ClusterClientDetailsDocsUrl(url) {
|
|
|
146
142
|
export function getC4ClustersGettingStartedHref(href) {
|
|
147
143
|
return href?.trim() || 'https://docs.camunda.io/docs/guides/';
|
|
148
144
|
}
|
|
149
|
-
export function getC4JobDashboardDocsUrls(docsUrls) {
|
|
150
|
-
return {
|
|
151
|
-
roles: docsUrls?.roles ?? C4_EXTERNAL_URLS.docs.jobDashboard.roles,
|
|
152
|
-
jobWorker: docsUrls?.jobWorker ?? C4_EXTERNAL_URLS.docs.jobDashboard.jobWorker,
|
|
153
|
-
};
|
|
154
|
-
}
|
|
155
145
|
export function getC4ManagementUrls(params) {
|
|
156
146
|
const overrides = params?.overrides;
|
|
157
147
|
return {
|
|
@@ -41,16 +41,13 @@ describe('getC4ClusterDetailsUrls', () => {
|
|
|
41
41
|
tasklistApiVersions: C4_EXTERNAL_URLS.docs.tasklistApiVersions,
|
|
42
42
|
announcementsApiTools: C4_EXTERNAL_URLS.docs.announcementsApiTools,
|
|
43
43
|
},
|
|
44
|
-
jobDashboard: {
|
|
45
|
-
roles: C4_EXTERNAL_URLS.docs.jobDashboard.roles,
|
|
46
|
-
jobWorker: C4_EXTERNAL_URLS.docs.jobDashboard.jobWorker,
|
|
47
|
-
},
|
|
48
44
|
byom: C4_EXTERNAL_URLS.docs.byom,
|
|
49
45
|
hotBackups: C4_EXTERNAL_URLS.docs.hotBackups,
|
|
50
46
|
secureConnectivity: C4_EXTERNAL_URLS.docs.secureConnectivity,
|
|
51
47
|
releasePolicy: C4_EXTERNAL_URLS.docs.releasePolicy,
|
|
52
48
|
identityAuthorization: C4_EXTERNAL_URLS.docs.identityAuthorizations,
|
|
53
49
|
resourceAuthorizations: C4_EXTERNAL_URLS.docs.conceptsRBA,
|
|
50
|
+
multiTenancy: C4_EXTERNAL_URLS.docs.multiTenancy,
|
|
54
51
|
swagger: C4_EXTERNAL_URLS.docs.swagger,
|
|
55
52
|
mcpOverview: C4_EXTERNAL_URLS.docs.mcpOverview,
|
|
56
53
|
tasklistApiVersions: C4_EXTERNAL_URLS.docs.tasklistApiVersions,
|
|
@@ -74,16 +71,11 @@ describe('getC4ClusterDetailsUrls', () => {
|
|
|
74
71
|
upgrade: {
|
|
75
72
|
whatsNewIn88: 'https://docs.example/upgrade',
|
|
76
73
|
},
|
|
77
|
-
jobDashboard: {
|
|
78
|
-
roles: 'https://docs.example/job-dashboard-roles',
|
|
79
|
-
},
|
|
80
74
|
},
|
|
81
75
|
});
|
|
82
76
|
expect(urls.docs.alerts).toBe('https://docs.example/alerts');
|
|
83
77
|
expect(urls.docs.upgrade.whatsNewIn88).toBe('https://docs.example/upgrade');
|
|
84
78
|
expect(urls.docs.upgrade.tasklistApiVersions).toBe(C4_EXTERNAL_URLS.docs.tasklistApiVersions);
|
|
85
|
-
expect(urls.docs.jobDashboard.roles).toBe('https://docs.example/job-dashboard-roles');
|
|
86
|
-
expect(urls.docs.jobDashboard.jobWorker).toBe(C4_EXTERNAL_URLS.docs.jobDashboard.jobWorker);
|
|
87
79
|
expect(urls.docs.contact).toBe(C4_EXTERNAL_URLS.camunda.contact);
|
|
88
80
|
});
|
|
89
81
|
});
|
|
@@ -87,6 +87,14 @@
|
|
|
87
87
|
"updateSubtitle": "The connector secret has been updated successfully.",
|
|
88
88
|
"errorTitle": "Failed to create connector secret"
|
|
89
89
|
},
|
|
90
|
+
"clusterSecret": {
|
|
91
|
+
"buttonText": "Save as cluster secret",
|
|
92
|
+
"successTitle": "Cluster secret created",
|
|
93
|
+
"successSubtitle": "The cluster secret has been created successfully.",
|
|
94
|
+
"updateTitle": "Cluster secret updated",
|
|
95
|
+
"updateSubtitle": "The cluster secret has been updated successfully.",
|
|
96
|
+
"errorTitle": "Failed to create cluster secret"
|
|
97
|
+
},
|
|
90
98
|
"identity": {
|
|
91
99
|
"step1Header": "Step 1: Select a format and save your credentials",
|
|
92
100
|
"step2Header": "Step 2: Copy the client ID over to Identity and set authorizations",
|
|
@@ -171,7 +171,10 @@
|
|
|
171
171
|
"tasklistV2Line0": "The Tasklist component currently uses the <0>{{ state }}</0> v1 API. We recommend upgrading to Tasklist v2, which integrates with the Orchestration Cluster API, uses the recommended Camunda user task implementation type, and offers improved performance.",
|
|
172
172
|
"tasklistV2Line1": "Before migrating to Tasklist v2, ensure that you’re <0>{{ support }}</0> job worker-based user tasks, draft variables, or public start forms, as these features are only available in v1.",
|
|
173
173
|
"tasklistV2Line2": "After upgrading to v2, downgrading back to v1 will not be possible.",
|
|
174
|
-
"tasklistV2LearnMore": "Learn more about upgrading from Tasklist v1 to v2"
|
|
174
|
+
"tasklistV2LearnMore": "Learn more about upgrading from Tasklist v1 to v2",
|
|
175
|
+
"tasklistV1RemovalTitle": "Update removes Tasklist v1",
|
|
176
|
+
"tasklistV1RemovalBody": "The 8.10 update removes the Tasklist v1 API. Applications on this cluster still using Tasklist v1 will break. Migrate to Tasklist v2 / Orchestration Cluster API before continuing.",
|
|
177
|
+
"tasklistV1RemovalLearnMore": "Migration guide"
|
|
175
178
|
},
|
|
176
179
|
"autoUpdate": "Automatically keep my cluster up to date",
|
|
177
180
|
"buttons": {
|