@camunda/ccma-saas-frontend 0.0.40 → 0.0.43
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 +1 -0
- 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 +1 -1
- package/lib/esm/components/c4-cluster-overview/applications.js +7 -0
- 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-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-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/externalUrls.const.d.ts +3 -5
- package/lib/esm/externalUrls.const.js +3 -15
- package/lib/esm/externalUrls.const.spec.js +0 -9
- 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 +33 -0
- package/lib/esm/i18n/en/pages/job-dashboard.json +4 -4
- package/lib/esm/index.css +257 -0
- package/lib/esm/index.d.ts +6 -1
- package/lib/esm/index.js +4 -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 +50 -27
- 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 +0 -6
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-clients-tab.d.ts +1 -0
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-clients-tab.js +18 -16
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-clients-tab.spec.js +53 -1
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-connector-secrets-tab.d.ts +1 -0
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-connector-secrets-tab.js +9 -5
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-encryption-tab.d.ts +1 -0
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-encryption-tab.js +13 -12
- 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 +111 -34
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-overview-tab.spec.js +121 -5
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-settings-tab.d.ts +1 -0
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-settings-tab.js +4 -2
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-settings-tab.spec.js +4 -0
- 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 +5 -0
- package/lib/esm/widgets/job-worker/c4-job-worker-details-page.js +309 -0
- package/lib/esm/widgets/job-worker/c4-job-worker-overview-page.d.ts +5 -0
- package/lib/esm/widgets/job-worker/c4-job-worker-overview-page.js +197 -0
- package/lib/esm/widgets/job-worker/c4-job-worker.helpers.d.ts +21 -0
- package/lib/esm/widgets/job-worker/c4-job-worker.helpers.js +82 -0
- package/lib/esm/widgets/job-worker/c4-job-worker.types.d.ts +28 -0
- package/lib/esm/widgets/job-worker/c4-job-worker.types.js +6 -0
- package/lib/esm/widgets/management/c4-management-app.js +1 -1
- package/package.json +31 -26
- package/lib/esm/index.scss +0 -267
|
@@ -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
|
};
|
|
@@ -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/";
|
|
@@ -29,7 +28,7 @@ export declare const C4_EXTERNAL_URLS: {
|
|
|
29
28
|
readonly byom: "https://docs.camunda.io/docs/components/saas/monitoring/cluster-metrics-endpoint/";
|
|
30
29
|
readonly mcpSetup: "https://docs.camunda.io/docs/next/apis-tools/orchestration-cluster-api-mcp/orchestration-cluster-api-mcp-setup/#use-c8ctl-mcp-proxy";
|
|
31
30
|
readonly mcpOverview: "https://docs.camunda.io/docs/next/apis-tools/orchestration-cluster-api-mcp/orchestration-cluster-api-mcp-overview/";
|
|
32
|
-
readonly llmTokens: "https://docs.camunda.io/docs/components/
|
|
31
|
+
readonly llmTokens: "https://docs.camunda.io/docs/next/components/agentic-orchestration/camunda-provided-llm/";
|
|
33
32
|
readonly aiBlueprintsMarketplace: "https://marketplace.camunda.com/";
|
|
34
33
|
readonly byok: {
|
|
35
34
|
readonly overview: "https://docs.camunda.io/docs/components/saas/byok/aws-external-encryption-setup/";
|
|
@@ -45,7 +44,7 @@ export declare const C4_EXTERNAL_URLS: {
|
|
|
45
44
|
readonly secureConnectivity: "https://docs.camunda.io/docs/components/saas/secure-connectivity/";
|
|
46
45
|
readonly releasePolicy: "https://camunda.com/release-policy/";
|
|
47
46
|
readonly jobDashboard: {
|
|
48
|
-
readonly roles: "https://docs.camunda.io/docs/components/
|
|
47
|
+
readonly roles: "https://docs.camunda.io/docs/components/admin/role/";
|
|
49
48
|
readonly jobWorker: "https://docs.camunda.io/docs/components/concepts/job-workers/";
|
|
50
49
|
};
|
|
51
50
|
};
|
|
@@ -82,7 +81,6 @@ export declare function getC4DashboardUrls(params: {
|
|
|
82
81
|
};
|
|
83
82
|
export declare function getC4ClusterClientDetailsDocsUrl(url?: string): string;
|
|
84
83
|
export declare function getC4ClustersGettingStartedHref(href?: string): string;
|
|
85
|
-
export declare function getC4JobDashboardDocsUrls(docsUrls?: C4JobDashboardDocsUrls): Required<C4JobDashboardDocsUrls>;
|
|
86
84
|
export declare function getC4ManagementUrls(params?: {
|
|
87
85
|
email?: string;
|
|
88
86
|
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/',
|
|
@@ -27,7 +27,7 @@ export const C4_EXTERNAL_URLS = {
|
|
|
27
27
|
byom: 'https://docs.camunda.io/docs/components/saas/monitoring/cluster-metrics-endpoint/',
|
|
28
28
|
mcpSetup: 'https://docs.camunda.io/docs/next/apis-tools/orchestration-cluster-api-mcp/orchestration-cluster-api-mcp-setup/#use-c8ctl-mcp-proxy',
|
|
29
29
|
mcpOverview: 'https://docs.camunda.io/docs/next/apis-tools/orchestration-cluster-api-mcp/orchestration-cluster-api-mcp-overview/',
|
|
30
|
-
llmTokens: 'https://docs.camunda.io/docs/components/
|
|
30
|
+
llmTokens: 'https://docs.camunda.io/docs/next/components/agentic-orchestration/camunda-provided-llm/',
|
|
31
31
|
aiBlueprintsMarketplace: 'https://marketplace.camunda.com/',
|
|
32
32
|
byok: {
|
|
33
33
|
overview: 'https://docs.camunda.io/docs/components/saas/byok/aws-external-encryption-setup/',
|
|
@@ -43,7 +43,7 @@ export const C4_EXTERNAL_URLS = {
|
|
|
43
43
|
secureConnectivity: 'https://docs.camunda.io/docs/components/saas/secure-connectivity/',
|
|
44
44
|
releasePolicy: 'https://camunda.com/release-policy/',
|
|
45
45
|
jobDashboard: {
|
|
46
|
-
roles: 'https://docs.camunda.io/docs/components/
|
|
46
|
+
roles: 'https://docs.camunda.io/docs/components/admin/role/',
|
|
47
47
|
jobWorker: 'https://docs.camunda.io/docs/components/concepts/job-workers/',
|
|
48
48
|
},
|
|
49
49
|
},
|
|
@@ -83,12 +83,6 @@ export function getC4ClusterDetailsUrls(urls) {
|
|
|
83
83
|
announcementsApiTools: urls.docs?.upgrade?.announcementsApiTools ??
|
|
84
84
|
C4_EXTERNAL_URLS.docs.announcementsApiTools,
|
|
85
85
|
},
|
|
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
86
|
byom: urls.docs?.byom ?? C4_EXTERNAL_URLS.docs.byom,
|
|
93
87
|
hotBackups: urls.docs?.hotBackups ?? C4_EXTERNAL_URLS.docs.hotBackups,
|
|
94
88
|
secureConnectivity: urls.docs?.secureConnectivity ??
|
|
@@ -146,12 +140,6 @@ export function getC4ClusterClientDetailsDocsUrl(url) {
|
|
|
146
140
|
export function getC4ClustersGettingStartedHref(href) {
|
|
147
141
|
return href?.trim() || 'https://docs.camunda.io/docs/guides/';
|
|
148
142
|
}
|
|
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
143
|
export function getC4ManagementUrls(params) {
|
|
156
144
|
const overrides = params?.overrides;
|
|
157
145
|
return {
|
|
@@ -41,10 +41,6 @@ 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,
|
|
@@ -74,16 +70,11 @@ describe('getC4ClusterDetailsUrls', () => {
|
|
|
74
70
|
upgrade: {
|
|
75
71
|
whatsNewIn88: 'https://docs.example/upgrade',
|
|
76
72
|
},
|
|
77
|
-
jobDashboard: {
|
|
78
|
-
roles: 'https://docs.example/job-dashboard-roles',
|
|
79
|
-
},
|
|
80
73
|
},
|
|
81
74
|
});
|
|
82
75
|
expect(urls.docs.alerts).toBe('https://docs.example/alerts');
|
|
83
76
|
expect(urls.docs.upgrade.whatsNewIn88).toBe('https://docs.example/upgrade');
|
|
84
77
|
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
78
|
expect(urls.docs.contact).toBe(C4_EXTERNAL_URLS.camunda.contact);
|
|
88
79
|
});
|
|
89
80
|
});
|
|
@@ -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": {
|
|
@@ -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"
|
|
@@ -125,12 +126,40 @@
|
|
|
125
126
|
"button": "Reload"
|
|
126
127
|
}
|
|
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
|
+
}
|
|
137
|
+
},
|
|
128
138
|
"hotbackups": {
|
|
129
139
|
"title": "Backups",
|
|
130
140
|
"searchPlaceholder": "Search for backups",
|
|
131
141
|
"createButton": "Create manual backup",
|
|
132
142
|
"deleteButton": "Delete",
|
|
133
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
|
+
},
|
|
134
163
|
"infoText0": "For more information, see documentation on <0>backups</0>.",
|
|
135
164
|
"infoText1": "<0>Learn more about backups</0>",
|
|
136
165
|
"disabledNotification": {
|
|
@@ -274,6 +303,10 @@
|
|
|
274
303
|
"overview": {
|
|
275
304
|
"title": "Overview",
|
|
276
305
|
"updateButton": "Update",
|
|
306
|
+
"restoreInProgress": {
|
|
307
|
+
"title": "Restore in progress",
|
|
308
|
+
"subtitle": "Cluster configuration changes are not available until the restore completes."
|
|
309
|
+
},
|
|
277
310
|
"applications": {
|
|
278
311
|
"title": "Components",
|
|
279
312
|
"launchLink": "Launch",
|
|
@@ -30,11 +30,11 @@
|
|
|
30
30
|
},
|
|
31
31
|
"jobWorkload": {
|
|
32
32
|
"title": "Job workload",
|
|
33
|
-
"tooltip": "Tracks the flow of created, completed and not completed (failed, cancelled, timed out) jobs over time for the chosen
|
|
33
|
+
"tooltip": "Tracks the flow of created, completed and not completed (failed, cancelled, timed out) jobs over time for the chosen job type.",
|
|
34
34
|
"subtitle": "Jobs created, completed and not completed (failed, cancelled, timed out) over time"
|
|
35
35
|
},
|
|
36
36
|
"createdVsCompleted": {
|
|
37
|
-
"title": "
|
|
37
|
+
"title": "Job completion rate",
|
|
38
38
|
"tooltip": "Indicates overall completion rate. How many created jobs were finished for the chosen job type."
|
|
39
39
|
},
|
|
40
40
|
"axes": {
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"headers": {
|
|
67
67
|
"errorType": "Error type",
|
|
68
68
|
"errorMessage": "Error message",
|
|
69
|
-
"jobsWithError": "
|
|
69
|
+
"jobsWithError": "Job workers with errors"
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
72
|
},
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
"empty": {
|
|
81
81
|
"title": "No data available.",
|
|
82
82
|
"description": "No data was found for this cluster.",
|
|
83
|
-
"learnMoreLabel": "Learn more about
|
|
83
|
+
"learnMoreLabel": "Learn more about jobs and job workers"
|
|
84
84
|
},
|
|
85
85
|
"generalError": {
|
|
86
86
|
"title": "Error while loading data",
|