@camunda/ccma-saas-frontend 0.0.34 → 0.0.36
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/assetUrls.d.ts +19 -0
- package/lib/esm/assetUrls.js +41 -0
- package/lib/esm/assets/ai.svg +14 -0
- package/lib/esm/assets/alerts.svg +5 -0
- package/lib/esm/assets/auditlogs.svg +9 -0
- package/lib/esm/assets/backup.svg +3 -0
- package/lib/esm/assets/clientApi.svg +10 -0
- package/lib/esm/assets/cluster.svg +4 -0
- package/lib/esm/assets/connectorSecret.svg +3 -0
- package/lib/esm/assets/consoleAPI.svg +3 -0
- package/lib/esm/assets/error.svg +11 -0
- package/lib/esm/assets/fatalError.svg +5 -0
- package/lib/esm/assets/ipwhitelist.svg +3 -0
- package/lib/esm/assets/monitoring.svg +6 -0
- package/lib/esm/assets/operatePreview.jpg +0 -0
- package/lib/esm/assets/optimizePreview.jpg +0 -0
- package/lib/esm/assets/secureConnectivity.svg +11 -0
- package/lib/esm/assets/tasklistPreview.jpg +0 -0
- package/lib/esm/assets/upgrade.svg +4 -0
- package/lib/esm/components/c4-ai-usage/c4-ai-usage.js +2 -1
- package/lib/esm/components/c4-audit-log/c4-audit-log.js +2 -1
- package/lib/esm/components/c4-billing-page/elements/value-metric.js +3 -3
- package/lib/esm/components/c4-billing-page/elements/value-metric.spec.d.ts +1 -0
- package/lib/esm/components/c4-billing-page/elements/value-metric.spec.js +49 -0
- package/lib/esm/components/c4-cluster-byom-clients/c4-cluster-byom-clients.js +3 -2
- package/lib/esm/components/c4-cluster-details-activity/c4-cluster-details-activity.js +2 -1
- package/lib/esm/components/c4-cluster-details-alerts/c4-cluster-details-alerts.js +3 -2
- package/lib/esm/components/c4-cluster-details-clients/c4-cluster-details-clients.js +3 -2
- package/lib/esm/components/c4-cluster-details-connector-secrets/c4-cluster-details-connector-secrets.js +3 -2
- package/lib/esm/components/c4-cluster-details-hot-backups/c4-cluster-details-hot-backups.js +5 -4
- package/lib/esm/components/c4-cluster-details-ip-whitelist/c4-cluster-details-ip-whitelist.js +2 -1
- package/lib/esm/components/c4-cluster-details-secure-connectivity/c4-cluster-details-secure-connectivity.js +10 -2
- package/lib/esm/components/c4-clusters-empty-state/c4-clusters-empty-state.js +4 -3
- package/lib/esm/components/c4-create-cluster/c4-create-cluster.js +48 -7
- package/lib/esm/components/c4-create-cluster/c4-create-cluster.spec.d.ts +1 -0
- package/lib/esm/components/c4-create-cluster/c4-create-cluster.spec.js +303 -0
- package/lib/esm/components/c4-create-cluster/c4-create-cluster.types.d.ts +4 -0
- package/lib/esm/components/c4-delete-organization-modal/c4-delete-organization-modal.d.ts +3 -0
- package/lib/esm/components/c4-delete-organization-modal/c4-delete-organization-modal.js +41 -0
- package/lib/esm/components/c4-delete-organization-modal/c4-delete-organization-modal.types.d.ts +10 -0
- package/lib/esm/components/c4-delete-organization-modal/c4-delete-organization-modal.types.js +6 -0
- package/lib/esm/components/c4-job-dashboard-details-page/c4-job-dashboard-details-page.d.ts +1 -0
- package/lib/esm/components/c4-job-dashboard-details-page/c4-job-dashboard-details-page.js +5 -2
- package/lib/esm/components/c4-job-dashboard-details-page/c4-job-dashboard-details-page.types.d.ts +1 -1
- 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.js +6 -1
- package/lib/esm/components/c4-job-dashboard-overview-page/c4-job-dashboard-overview.js +4 -2
- package/lib/esm/components/c4-job-dashboard-overview-page/c4-job-dashboard-overview.types.d.ts +1 -1
- package/lib/esm/components/c4-management-api/c4-management-api.js +2 -1
- package/lib/esm/components/c4-management-settings/c4-management-settings.js +2 -1
- package/lib/esm/components/c4-theme-switcher/c4-theme-switcher.js +25 -2
- package/lib/esm/externalUrls.const.d.ts +90 -0
- package/lib/esm/externalUrls.const.js +191 -0
- package/lib/esm/externalUrls.const.spec.d.ts +1 -0
- package/lib/esm/externalUrls.const.spec.js +108 -0
- package/lib/esm/i18n/en/modals/clusterclients.json +3 -0
- package/lib/esm/i18n/en/pages/clusterdetails.json +4 -0
- package/lib/esm/i18n/en/pages/createcluster.json +4 -1
- package/lib/esm/index.d.ts +4 -0
- package/lib/esm/index.js +3 -0
- package/lib/esm/widgets/cluster-client-details/c4-cluster-client-details-app.js +2 -1
- package/lib/esm/widgets/cluster-client-details/c4-cluster-client-details-app.types.d.ts +2 -2
- package/lib/esm/widgets/cluster-details/c4-cluster-details-app.js +53 -37
- package/lib/esm/widgets/cluster-details/c4-cluster-details-app.permissions.spec.js +34 -1
- package/lib/esm/widgets/cluster-details/c4-cluster-details-app.types.d.ts +69 -38
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-clients-tab.js +3 -3
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-clients-tab.spec.js +19 -0
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-connector-secrets-tab.d.ts +6 -0
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-connector-secrets-tab.js +5 -5
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-secure-connectivity-tab.js +33 -41
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-secure-connectivity-tab.spec.js +64 -0
- package/lib/esm/widgets/clusters/c4-clusters-page.js +5 -3
- package/lib/esm/widgets/clusters/c4-clusters-page.spec.js +37 -2
- package/lib/esm/widgets/clusters/c4-clusters-page.types.d.ts +1 -1
- package/lib/esm/widgets/connector-management/c4-connector-management.shared.js +2 -1
- package/lib/esm/widgets/create-cluster/c4-create-cluster-page.js +26 -15
- package/lib/esm/widgets/create-cluster/c4-create-cluster-page.types.d.ts +1 -1
- package/lib/esm/widgets/dashboard/c4-dashboard-app.js +8 -7
- package/lib/esm/widgets/dashboard/c4-dashboard-app.types.d.ts +9 -8
- package/lib/esm/widgets/group-details/c4-group-details-page.js +2 -3
- package/lib/esm/widgets/group-details/c4-group-details-page.types.d.ts +1 -1
- package/lib/esm/widgets/management/c4-management-app.js +116 -89
- package/lib/esm/widgets/management/c4-management-app.types.d.ts +16 -15
- package/lib/esm/widgets/management/tabs/c4-management-usage-tab.js +3 -4
- package/lib/esm/widgets/user-details/c4-user-details-page.js +2 -3
- package/lib/esm/widgets/user-details/c4-user-details-page.types.d.ts +1 -1
- package/package.json +2 -2
|
@@ -9,6 +9,7 @@ import { checkVersion, SseEntity, VersionCheckOperator, } from '@camunda/ccma-sh
|
|
|
9
9
|
import { Modal, Stack, TextInput } from '@carbon/react';
|
|
10
10
|
import { observer } from 'mobx-react-lite';
|
|
11
11
|
import { useCallback, useEffect, useMemo, useRef, useState, } from 'react';
|
|
12
|
+
import { getC4ClusterDetailsUrls } from '../../externalUrls.const.js';
|
|
12
13
|
import { useC4ConsoleAuthz } from '../../runtime/c4-console-authz.js';
|
|
13
14
|
import { useC4ConsoleData } from '../../runtime/c4-console-data-context.js';
|
|
14
15
|
import { useC4ConsoleRuntime } from '../../runtime/c4-console-runtime-context.js';
|
|
@@ -68,7 +69,7 @@ function getClusterDetailsTabTelemetryId(tabId) {
|
|
|
68
69
|
return 'byom-clients';
|
|
69
70
|
case 'ipWhitelist':
|
|
70
71
|
return 'ip-whitelist';
|
|
71
|
-
case '
|
|
72
|
+
case 'privateNetworking':
|
|
72
73
|
return 'secure-connectivity';
|
|
73
74
|
case 'backups':
|
|
74
75
|
return 'backups';
|
|
@@ -205,6 +206,7 @@ export const C4ClusterDetailsApp = observer((props) => {
|
|
|
205
206
|
const runtime = useC4ConsoleRuntime();
|
|
206
207
|
const data = useC4ConsoleData();
|
|
207
208
|
const t = runtime.i18n?.t;
|
|
209
|
+
const urls = useMemo(() => getC4ClusterDetailsUrls(props.urls), [props.urls]);
|
|
208
210
|
const isSecureConnectivityEnabled = runtime.featureFlags?.isEnabled?.('console.secureConnectivity') ?? false;
|
|
209
211
|
const jobDashboardEnabled = runtime.featureFlags?.isEnabled?.('console.jobWorkerDashboard') ?? false;
|
|
210
212
|
const apiConfig = useMemo(() => toApiConfig(runtime), [runtime]);
|
|
@@ -247,7 +249,7 @@ export const C4ClusterDetailsApp = observer((props) => {
|
|
|
247
249
|
const [activeTabId, setActiveTabId] = useState(props.desiredTabId ?? 'overview');
|
|
248
250
|
useEffect(() => {
|
|
249
251
|
if (props.desiredTabId) {
|
|
250
|
-
if (props.desiredTabId === '
|
|
252
|
+
if (props.desiredTabId === 'privateNetworking' &&
|
|
251
253
|
!isSecureConnectivityEnabled) {
|
|
252
254
|
setActiveTabId('overview');
|
|
253
255
|
return;
|
|
@@ -423,7 +425,7 @@ export const C4ClusterDetailsApp = observer((props) => {
|
|
|
423
425
|
onLearnMore: () => {
|
|
424
426
|
props.onNavigate?.({
|
|
425
427
|
kind: 'openUrl',
|
|
426
|
-
url:
|
|
428
|
+
url: urls.docs.releasePolicy,
|
|
427
429
|
});
|
|
428
430
|
},
|
|
429
431
|
};
|
|
@@ -436,13 +438,13 @@ export const C4ClusterDetailsApp = observer((props) => {
|
|
|
436
438
|
onLearnMore: () => {
|
|
437
439
|
props.onNavigate?.({
|
|
438
440
|
kind: 'openUrl',
|
|
439
|
-
url:
|
|
441
|
+
url: urls.docs.identityAuthorization,
|
|
440
442
|
});
|
|
441
443
|
},
|
|
442
444
|
};
|
|
443
445
|
}
|
|
444
446
|
return undefined;
|
|
445
|
-
}, [cluster, hasIdentityIntegration, props]);
|
|
447
|
+
}, [cluster, hasIdentityIntegration, props.onNavigate, urls]);
|
|
446
448
|
// -----------------------------
|
|
447
449
|
// Cluster menu modals
|
|
448
450
|
// -----------------------------
|
|
@@ -508,7 +510,7 @@ export const C4ClusterDetailsApp = observer((props) => {
|
|
|
508
510
|
const [clientsLoading, setClientsLoading] = useState(false);
|
|
509
511
|
const [clientsError, setClientsError] = useState(false);
|
|
510
512
|
const clientsLoadedRef = useRef(false);
|
|
511
|
-
const clientsDocsUrl =
|
|
513
|
+
const clientsDocsUrl = urls.docs.clients;
|
|
512
514
|
const reloadClients = useCallback(async () => {
|
|
513
515
|
if (!canViewApiClientsTab) {
|
|
514
516
|
setClients([]);
|
|
@@ -860,7 +862,7 @@ export const C4ClusterDetailsApp = observer((props) => {
|
|
|
860
862
|
}
|
|
861
863
|
return _jsx(_Fragment, {});
|
|
862
864
|
}
|
|
863
|
-
return (_jsx(C4ClusterDetailsOverviewTab, { cluster: cluster, clusterError: clusterError, creationParameters: creationParameters, clustersOfOrg: clustersOfOrg, clusterPlanTypeReservations: clusterPlanTypeReservations, clusterLoadLatest: clusterLoadLatest, clusterLoadPerDay: clusterLoadPerDay, clusterLoad24h: clusterLoad24h, clusterLoadLoading: clusterLoadLoading, canSeeClusterLoad: canSeeClusterLoad, canEditCluster: Boolean(authz.visibilities.clusters?.canEdit), canWakeCluster: Boolean(authz.visibilities.clusters?.canWake), canManageUsers: canManageUsers, canViewConnectorsLink: Boolean(orgPermissions?.cluster.connectors.read), hasIdentityIntegration: hasIdentityIntegration, orgId: props.orgId, clusterId: props.clusterId, jobDashboardEnabled: jobDashboardEnabled, jobDashboardDocsUrls:
|
|
865
|
+
return (_jsx(C4ClusterDetailsOverviewTab, { cluster: cluster, clusterError: clusterError, creationParameters: creationParameters, clustersOfOrg: clustersOfOrg, clusterPlanTypeReservations: clusterPlanTypeReservations, clusterLoadLatest: clusterLoadLatest, clusterLoadPerDay: clusterLoadPerDay, clusterLoad24h: clusterLoad24h, clusterLoadLoading: clusterLoadLoading, canSeeClusterLoad: canSeeClusterLoad, canEditCluster: Boolean(authz.visibilities.clusters?.canEdit), canWakeCluster: Boolean(authz.visibilities.clusters?.canWake), canManageUsers: canManageUsers, canViewConnectorsLink: Boolean(orgPermissions?.cluster.connectors.read), hasIdentityIntegration: hasIdentityIntegration, orgId: props.orgId, clusterId: props.clusterId, jobDashboardEnabled: jobDashboardEnabled, jobDashboardDocsUrls: urls.docs.jobDashboard, upgradeDocsUrls: urls.docs.upgrade, statisticsConfig: statisticsConfig, apiConfig: apiConfig, t: t ?? ((key) => key), onReloadCluster: reloadCluster, onReloadClusterLoad: reloadClusterLoad, onNavigate: props.onNavigate, ignoreGracePeriod: ignoreGracePeriod, clusterLoadDocsUrl: urls.docs.clusterLoad }));
|
|
864
866
|
}, [
|
|
865
867
|
apiConfig,
|
|
866
868
|
authz.visibilities.clusters?.canEdit,
|
|
@@ -884,15 +886,13 @@ export const C4ClusterDetailsApp = observer((props) => {
|
|
|
884
886
|
props.clusterId,
|
|
885
887
|
props.orgId,
|
|
886
888
|
props.onNavigate,
|
|
887
|
-
|
|
888
|
-
props.urls?.docs?.jobDashboard,
|
|
889
|
-
props.urls?.docs?.upgrade,
|
|
889
|
+
urls,
|
|
890
890
|
reloadCluster,
|
|
891
891
|
reloadClusterLoad,
|
|
892
892
|
t,
|
|
893
893
|
]);
|
|
894
894
|
const clientsComponent = useMemo(() => {
|
|
895
|
-
return (_jsx(C4ClusterDetailsClientsTab, { cluster: cluster, clients: clients, clientsLoading: clientsLoading, clientsError: clientsError, hasIdentityIntegration: hasIdentityIntegration, orgId: props.orgId, clusterId: props.clusterId, clientsDocsUrl: clientsDocsUrl, mcpSetupDocsUrl:
|
|
895
|
+
return (_jsx(C4ClusterDetailsClientsTab, { cluster: cluster, clients: clients, clientsLoading: clientsLoading, clientsError: clientsError, hasIdentityIntegration: hasIdentityIntegration, orgId: props.orgId, clusterId: props.clusterId, clientsDocsUrl: clientsDocsUrl, mcpSetupDocsUrl: urls.docs.mcpSetup, identityAuthorizationDocsUrl: urls.docs.identityAuthorization, springZeebeGettingStartedDocsUrl: urls.docs.springZeebeGettingStarted, springZeebeConfigDocsUrl: urls.docs.springZeebeConfig, apiConfig: apiConfig, canMutateCluster: canMutateCluster, t: t ?? ((key) => key), onNavigate: props.onNavigate, onReloadClients: reloadClients }));
|
|
896
896
|
}, [
|
|
897
897
|
canMutateCluster,
|
|
898
898
|
clientsDocsUrl,
|
|
@@ -901,13 +901,16 @@ export const C4ClusterDetailsApp = observer((props) => {
|
|
|
901
901
|
clientsLoading,
|
|
902
902
|
cluster,
|
|
903
903
|
hasIdentityIntegration,
|
|
904
|
-
props,
|
|
905
904
|
apiConfig,
|
|
905
|
+
props.clusterId,
|
|
906
|
+
props.onNavigate,
|
|
907
|
+
props.orgId,
|
|
906
908
|
reloadClients,
|
|
907
909
|
t,
|
|
910
|
+
urls,
|
|
908
911
|
]);
|
|
909
912
|
const alertsComponent = useMemo(() => {
|
|
910
|
-
return (_jsx(C4ClusterDetailsAlertsTab, { alerts: alerts, isLoading: alertsLoading, canMutateCluster: canMutateCluster, docsAlertsUrl:
|
|
913
|
+
return (_jsx(C4ClusterDetailsAlertsTab, { alerts: alerts, isLoading: alertsLoading, canMutateCluster: canMutateCluster, docsAlertsUrl: urls.docs.alerts, userEmail: runtime.user?.email, t: t ?? ((key) => key), renderInlineStrong: renderInlineStrong, renderInlineLink0: renderInlineLink0, onNavigate: props.onNavigate, onCreateAlert: async (params) => {
|
|
911
914
|
await ConsoleAlertsService.create({
|
|
912
915
|
config: apiConfig,
|
|
913
916
|
params: { orgId: props.orgId, clusterId: props.clusterId },
|
|
@@ -964,7 +967,6 @@ export const C4ClusterDetailsApp = observer((props) => {
|
|
|
964
967
|
alerts,
|
|
965
968
|
alertsLoading,
|
|
966
969
|
canMutateCluster,
|
|
967
|
-
props.urls.docs.alerts,
|
|
968
970
|
props.orgId,
|
|
969
971
|
props.clusterId,
|
|
970
972
|
props.onNavigate,
|
|
@@ -972,17 +974,18 @@ export const C4ClusterDetailsApp = observer((props) => {
|
|
|
972
974
|
t,
|
|
973
975
|
apiConfig,
|
|
974
976
|
reloadAlerts,
|
|
977
|
+
urls.docs.alerts,
|
|
975
978
|
]);
|
|
976
979
|
const activityComponent = useMemo(() => {
|
|
977
980
|
return (_jsx(C4ClusterDetailsActivityTab, { activityGroups: activityGroups, isLoading: activityLoading, hasError: Boolean(activityError), t: t, onRefresh: () => reloadActivity() }));
|
|
978
981
|
}, [activityError, activityGroups, activityLoading, reloadActivity, t]);
|
|
979
982
|
const settingsComponent = useMemo(() => {
|
|
980
983
|
return (_jsx(C4ClusterDetailsSettingsTab, { cluster: cluster, orgId: props.orgId, clusterId: props.clusterId, apiConfig: apiConfig, canEditCluster: authz.visibilities.clusters?.canEdit ?? false, canDeleteCluster: authz.visibilities.clusters?.canDelete ?? false, canManageUsers: canManageUsers, t: t ?? ((key) => key), onReloadCluster: reloadCluster, onRequestDelete: () => setDeleteOpen(true), onNavigate: props.onNavigate, docsUrls: {
|
|
981
|
-
resourceAuthorizations:
|
|
982
|
-
identityAuthorization:
|
|
983
|
-
swagger:
|
|
984
|
-
mcpOverview:
|
|
985
|
-
tasklistApiVersions:
|
|
984
|
+
resourceAuthorizations: urls.docs.resourceAuthorizations,
|
|
985
|
+
identityAuthorization: urls.docs.identityAuthorization,
|
|
986
|
+
swagger: urls.docs.swagger,
|
|
987
|
+
mcpOverview: urls.docs.mcpOverview,
|
|
988
|
+
tasklistApiVersions: urls.docs.tasklistApiVersions,
|
|
986
989
|
} }));
|
|
987
990
|
}, [
|
|
988
991
|
cluster,
|
|
@@ -995,39 +998,51 @@ export const C4ClusterDetailsApp = observer((props) => {
|
|
|
995
998
|
t,
|
|
996
999
|
reloadCluster,
|
|
997
1000
|
props.onNavigate,
|
|
1001
|
+
urls,
|
|
998
1002
|
]);
|
|
999
1003
|
const ipWhitelistComponent = useMemo(() => {
|
|
1000
|
-
return (_jsx(C4ClusterDetailsIpWhitelistTab, { cluster: cluster, isClusterLoading: isClusterLoading, orgId: props.orgId, clusterId: props.clusterId, docsUrl:
|
|
1004
|
+
return (_jsx(C4ClusterDetailsIpWhitelistTab, { cluster: cluster, isClusterLoading: isClusterLoading, orgId: props.orgId, clusterId: props.clusterId, docsUrl: urls.docs.ipWhitelist, apiConfig: apiConfig, canMutateCluster: canMutateCluster, t: t ?? ((key) => key), onNavigate: props.onNavigate, onReloadCluster: reloadCluster }));
|
|
1001
1005
|
}, [
|
|
1002
1006
|
cluster,
|
|
1003
1007
|
isClusterLoading,
|
|
1004
|
-
props,
|
|
1005
1008
|
apiConfig,
|
|
1006
1009
|
canMutateCluster,
|
|
1010
|
+
props.clusterId,
|
|
1011
|
+
props.onNavigate,
|
|
1012
|
+
props.orgId,
|
|
1007
1013
|
t,
|
|
1008
1014
|
reloadCluster,
|
|
1015
|
+
urls.docs.ipWhitelist,
|
|
1009
1016
|
]);
|
|
1010
1017
|
const byomComponent = useMemo(() => {
|
|
1011
|
-
return (_jsx(C4ClusterDetailsByomClientsTab, { cluster: cluster, byomClients: byomClients, byomStatus: byomStatus, byomLoading: byomLoading, byomError: byomError, orgId: props.orgId, docLink:
|
|
1018
|
+
return (_jsx(C4ClusterDetailsByomClientsTab, { cluster: cluster, byomClients: byomClients, byomStatus: byomStatus, byomLoading: byomLoading, byomError: byomError, orgId: props.orgId, docLink: urls.docs.byom, clusterId: props.clusterId, apiConfig: apiConfig, canMutateCluster: canMutateCluster, t: t ?? ((key) => key), onNavigate: props.onNavigate, onReloadByom: reloadByom }));
|
|
1012
1019
|
}, [
|
|
1013
1020
|
byomClients,
|
|
1014
1021
|
byomError,
|
|
1015
1022
|
byomLoading,
|
|
1016
1023
|
byomStatus,
|
|
1017
1024
|
canMutateCluster,
|
|
1018
|
-
props,
|
|
1019
1025
|
apiConfig,
|
|
1026
|
+
props.clusterId,
|
|
1027
|
+
props.onNavigate,
|
|
1028
|
+
props.orgId,
|
|
1020
1029
|
reloadByom,
|
|
1021
1030
|
t,
|
|
1031
|
+
urls.docs.byom,
|
|
1022
1032
|
]);
|
|
1023
|
-
const secureConnectivityComponent = (_jsx(C4ClusterDetailsSecureConnectivityTab, { orgId: props.orgId, clusterId: props.clusterId, apiConfig: apiConfig, canMutateCluster: canMutateCluster, isActive: activeTabId === '
|
|
1024
|
-
secureConnectivity:
|
|
1033
|
+
const secureConnectivityComponent = (_jsx(C4ClusterDetailsSecureConnectivityTab, { orgId: props.orgId, clusterId: props.clusterId, apiConfig: apiConfig, canMutateCluster: canMutateCluster, isActive: activeTabId === 'privateNetworking', t: t, docsUrls: {
|
|
1034
|
+
secureConnectivity: urls.docs.secureConnectivity,
|
|
1025
1035
|
}, onNavigate: props.onNavigate }));
|
|
1026
|
-
const connectorSecretsComponent = (_jsx(C4ClusterDetailsConnectorSecretsTab, { orgId: props.orgId, clusterId: props.clusterId, apiConfig: apiConfig, canMutateCluster: canMutateCluster,
|
|
1036
|
+
const connectorSecretsComponent = (_jsx(C4ClusterDetailsConnectorSecretsTab, { orgId: props.orgId, clusterId: props.clusterId, apiConfig: apiConfig, canMutateCluster: canMutateCluster, connectorSecretsPermissions: {
|
|
1037
|
+
canCreate: Boolean(orgPermissions?.cluster.connectorSecrets.create),
|
|
1038
|
+
canRead: Boolean(orgPermissions?.cluster.connectorSecrets.read),
|
|
1039
|
+
canUpdate: Boolean(orgPermissions?.cluster.connectorSecrets.update),
|
|
1040
|
+
canDelete: Boolean(orgPermissions?.cluster.connectorSecrets.delete),
|
|
1041
|
+
}, docsUrl: urls.docs.connectorSecrets, t: t, onNavigate: props.onNavigate }));
|
|
1027
1042
|
const hotBackupsComponent = (_jsx(C4ClusterDetailsHotBackupsTab, { cluster: cluster, orgId: props.orgId, clusterId: props.clusterId, apiConfig: apiConfig, canMutateCluster: canMutateCluster, isHotBackupEnabled: Boolean(orgInfo?.organizationToSalesPlan?.limits?.hotBackup), docsUrls: {
|
|
1028
|
-
hotBackups:
|
|
1029
|
-
support:
|
|
1030
|
-
contact:
|
|
1043
|
+
hotBackups: urls.docs.hotBackups,
|
|
1044
|
+
support: urls.docs.support,
|
|
1045
|
+
contact: urls.docs.contact,
|
|
1031
1046
|
}, t: t, onNavigate: props.onNavigate }));
|
|
1032
1047
|
const auditLogComponent = useMemo(() => {
|
|
1033
1048
|
const state = cluster?.externalMetadata?.auditLog;
|
|
@@ -1043,7 +1058,7 @@ export const C4ClusterDetailsApp = observer((props) => {
|
|
|
1043
1058
|
const clientCategories = (state?.clientCategories ?? [])
|
|
1044
1059
|
.filter((v) => typeof v === 'string')
|
|
1045
1060
|
.filter(isAuditLogCategory);
|
|
1046
|
-
return (_jsx(C4ClusterDetailsAuditLogTab, { enabled: enabled, userCategories: userCategories, clientCategories: clientCategories, canMutateCluster: canMutateCluster, learnMoreUrl:
|
|
1061
|
+
return (_jsx(C4ClusterDetailsAuditLogTab, { enabled: enabled, userCategories: userCategories, clientCategories: clientCategories, canMutateCluster: canMutateCluster, learnMoreUrl: urls.docs.auditlogs, onUpdate: async (nextUser, nextClient) => {
|
|
1047
1062
|
await ConsoleClusterService.updateCluster({
|
|
1048
1063
|
config: apiConfig,
|
|
1049
1064
|
params: { orgId: props.orgId, clusterId: props.clusterId },
|
|
@@ -1076,11 +1091,12 @@ export const C4ClusterDetailsApp = observer((props) => {
|
|
|
1076
1091
|
props.clusterId,
|
|
1077
1092
|
props.orgId,
|
|
1078
1093
|
reloadCluster,
|
|
1094
|
+
urls.docs.auditlogs,
|
|
1079
1095
|
]);
|
|
1080
1096
|
const encryptionComponent = (_jsx(C4ClusterDetailsEncryptionTab, { cluster: cluster, orgId: props.orgId, clusterId: props.clusterId, apiConfig: apiConfig, translate: t ?? ((key) => key), activeTabId: activeTabId, onReloadCluster: reloadCluster, docsUrls: {
|
|
1081
|
-
encryption:
|
|
1082
|
-
encryptionCli:
|
|
1083
|
-
encryptionManual:
|
|
1097
|
+
encryption: urls.docs.encryption,
|
|
1098
|
+
encryptionCli: urls.docs.encryptionCli,
|
|
1099
|
+
encryptionManual: urls.docs.encryptionManual,
|
|
1084
1100
|
} }));
|
|
1085
1101
|
const tabs = useMemo(() => {
|
|
1086
1102
|
const base = [
|
|
@@ -1134,8 +1150,8 @@ export const C4ClusterDetailsApp = observer((props) => {
|
|
|
1134
1150
|
init: () => { },
|
|
1135
1151
|
},
|
|
1136
1152
|
{
|
|
1137
|
-
id: '
|
|
1138
|
-
label: safeTranslate(t, 'clusterdetails:secureConnectivity.title', '
|
|
1153
|
+
id: 'privateNetworking',
|
|
1154
|
+
label: safeTranslate(t, 'clusterdetails:secureConnectivity.title', 'Private networking'),
|
|
1139
1155
|
component: secureConnectivityComponent,
|
|
1140
1156
|
visible: isSecureConnectivityTabVisible &&
|
|
1141
1157
|
canViewSecureConnectivityTab &&
|
|
@@ -1223,12 +1239,12 @@ export const C4ClusterDetailsApp = observer((props) => {
|
|
|
1223
1239
|
]);
|
|
1224
1240
|
useEffect(() => {
|
|
1225
1241
|
if (!isClusterLoading &&
|
|
1226
|
-
activeTabId === '
|
|
1242
|
+
activeTabId === 'privateNetworking' &&
|
|
1227
1243
|
!isSecureConnectivityTabVisible) {
|
|
1228
1244
|
setActiveTabId('overview');
|
|
1229
1245
|
}
|
|
1230
1246
|
}, [activeTabId, isClusterLoading, isSecureConnectivityTabVisible]);
|
|
1231
|
-
return (_jsxs(_Fragment, { children: [_jsx(C4ClusterDetailsPage, { loading: isClusterLoading || authz.isLoading, clusterName: cluster?.name, isDevelopmentPlan: cluster?.planType?.development, urls: { clusters:
|
|
1247
|
+
return (_jsxs(_Fragment, { children: [_jsx(C4ClusterDetailsPage, { loading: isClusterLoading || authz.isLoading, clusterName: cluster?.name, isDevelopmentPlan: cluster?.planType?.development, urls: { clusters: urls.clusters }, onNavigateToClusters: () => props.onNavigate?.({ kind: 'clusters', orgId: props.orgId }), menu: {
|
|
1232
1248
|
canRename,
|
|
1233
1249
|
canDelete,
|
|
1234
1250
|
onRename: canRename ? () => setRenameOpen(true) : undefined,
|
|
@@ -87,8 +87,12 @@ vi.mock('./tabs/c4-cluster-details-activity-tab', () => ({
|
|
|
87
87
|
vi.mock('./tabs/c4-cluster-details-byom-clients-tab', () => ({
|
|
88
88
|
C4ClusterDetailsByomClientsTab: () => _jsx("div", { children: "Monitoring" }),
|
|
89
89
|
}));
|
|
90
|
+
const connectorSecretsTabPropsSpy = vi.fn();
|
|
90
91
|
vi.mock('./tabs/c4-cluster-details-connector-secrets-tab', () => ({
|
|
91
|
-
C4ClusterDetailsConnectorSecretsTab: () =>
|
|
92
|
+
C4ClusterDetailsConnectorSecretsTab: (props) => {
|
|
93
|
+
connectorSecretsTabPropsSpy(props);
|
|
94
|
+
return _jsx("div", { children: "Connector secrets" });
|
|
95
|
+
},
|
|
92
96
|
}));
|
|
93
97
|
vi.mock('./tabs/c4-cluster-details-ip-whitelist-tab', () => ({
|
|
94
98
|
C4ClusterDetailsIpWhitelistTab: () => _jsx("div", { children: "IP allowlist" }),
|
|
@@ -222,6 +226,10 @@ describe('C4ClusterDetailsApp tab permissions', () => {
|
|
|
222
226
|
});
|
|
223
227
|
vi.mocked(HdpService.getClusterCapacity).mockResolvedValue([]);
|
|
224
228
|
});
|
|
229
|
+
afterEach(() => {
|
|
230
|
+
cleanup();
|
|
231
|
+
vi.clearAllMocks();
|
|
232
|
+
});
|
|
225
233
|
it('hides Alerts and Connector secrets tabs and skips their initial loads when permissions are missing', async () => {
|
|
226
234
|
const token = buildJwt({
|
|
227
235
|
// Modeler has no access to alerts or connector secrets.
|
|
@@ -241,6 +249,31 @@ describe('C4ClusterDetailsApp tab permissions', () => {
|
|
|
241
249
|
});
|
|
242
250
|
expect(ConsoleAlertsService.getAll).toHaveBeenCalledTimes(0);
|
|
243
251
|
});
|
|
252
|
+
it('passes connector secrets CRUD permissions for developer role (not general cluster edit)', async () => {
|
|
253
|
+
const token = buildJwt({
|
|
254
|
+
// Developer has connectorSecrets: CRUD_TRUE but org.clusters.update: false
|
|
255
|
+
'https://camunda.com/orgs': [{ id: 'org-1', roles: ['developer'] }],
|
|
256
|
+
});
|
|
257
|
+
render(_jsx(C4ConsoleRuntimeProvider, { config: {
|
|
258
|
+
stage: 'dev',
|
|
259
|
+
auth: { getAccessToken: async () => token },
|
|
260
|
+
backendUrls: {},
|
|
261
|
+
}, children: _jsx(C4ClusterDetailsApp, { orgId: 'org-1', clusterId: 'cluster-1', urls: stubUrls }) }));
|
|
262
|
+
await screen.findByRole('tablist', { name: 'tabs' });
|
|
263
|
+
// The developer role has org.clusters.update = false, so canMutateCluster is false.
|
|
264
|
+
// But cluster.connectorSecrets has all CRUD = true.
|
|
265
|
+
// Verify the tab receives the specific connectorSecrets permissions.
|
|
266
|
+
await waitFor(() => {
|
|
267
|
+
expect(connectorSecretsTabPropsSpy).toHaveBeenCalled();
|
|
268
|
+
});
|
|
269
|
+
const lastCallProps = connectorSecretsTabPropsSpy.mock.calls.at(-1)?.[0];
|
|
270
|
+
expect(lastCallProps.connectorSecretsPermissions).toEqual({
|
|
271
|
+
canCreate: true,
|
|
272
|
+
canRead: true,
|
|
273
|
+
canUpdate: true,
|
|
274
|
+
canDelete: true,
|
|
275
|
+
});
|
|
276
|
+
});
|
|
244
277
|
});
|
|
245
278
|
describe('C4ClusterDetailsApp job statistics configuration', () => {
|
|
246
279
|
const adminToken = buildJwt({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type C4ClusterDetailsTabId = 'overview' | 'api' | 'monitoring' | 'alerts' | 'activity' | '
|
|
1
|
+
export type C4ClusterDetailsTabId = 'overview' | 'api' | 'monitoring' | 'alerts' | 'activity' | 'privateNetworking' | 'backups' | 'auditLog' | 'settings' | 'secrets' | 'encryption' | 'ipWhitelist';
|
|
2
2
|
export type C4ClusterDetailsNavigateEvent = {
|
|
3
3
|
kind: 'tabChange';
|
|
4
4
|
orgId: string;
|
|
@@ -31,42 +31,73 @@ export interface C4ClusterDetailsAppProps {
|
|
|
31
31
|
clusterId: string;
|
|
32
32
|
desiredTabId?: C4ClusterDetailsTabId;
|
|
33
33
|
onNavigate?: (event: C4ClusterDetailsNavigateEvent) => void;
|
|
34
|
-
urls:
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
34
|
+
urls: C4ClusterDetailsUrls;
|
|
35
|
+
}
|
|
36
|
+
export interface C4ClusterDetailsUpgradeDocsUrls {
|
|
37
|
+
whatsNewIn88: string;
|
|
38
|
+
tasklistApiVersions: string;
|
|
39
|
+
announcementsApiTools: string;
|
|
40
|
+
}
|
|
41
|
+
export interface C4ClusterDetailsJobDashboardDocsUrls {
|
|
42
|
+
roles: string;
|
|
43
|
+
jobWorker: string;
|
|
44
|
+
}
|
|
45
|
+
export interface C4ClusterDetailsDocsUrls {
|
|
46
|
+
alerts: string;
|
|
47
|
+
auditlogs: string;
|
|
48
|
+
ipWhitelist: string;
|
|
49
|
+
clients: string;
|
|
50
|
+
connectorSecrets: string;
|
|
51
|
+
mcpSetup: string;
|
|
52
|
+
upgrade: C4ClusterDetailsUpgradeDocsUrls;
|
|
53
|
+
jobDashboard: C4ClusterDetailsJobDashboardDocsUrls;
|
|
54
|
+
byom: string;
|
|
55
|
+
hotBackups: string;
|
|
56
|
+
secureConnectivity: string;
|
|
57
|
+
releasePolicy: string;
|
|
58
|
+
identityAuthorization: string;
|
|
59
|
+
resourceAuthorizations: string;
|
|
60
|
+
swagger: string;
|
|
61
|
+
mcpOverview: string;
|
|
62
|
+
tasklistApiVersions: string;
|
|
63
|
+
springZeebeGettingStarted: string;
|
|
64
|
+
springZeebeConfig: string;
|
|
65
|
+
clusterLoad: string;
|
|
66
|
+
encryption: string;
|
|
67
|
+
encryptionCli: string;
|
|
68
|
+
encryptionManual: string;
|
|
69
|
+
identityDocsUrl: string;
|
|
70
|
+
support: string;
|
|
71
|
+
contact: string;
|
|
72
|
+
}
|
|
73
|
+
export interface C4ClusterDetailsUrls {
|
|
74
|
+
clusters: string;
|
|
75
|
+
docs?: {
|
|
76
|
+
alerts?: string;
|
|
77
|
+
auditlogs?: string;
|
|
78
|
+
ipWhitelist?: string;
|
|
79
|
+
clients?: string;
|
|
80
|
+
connectorSecrets?: string;
|
|
81
|
+
mcpSetup?: string;
|
|
82
|
+
upgrade?: Partial<C4ClusterDetailsUpgradeDocsUrls>;
|
|
83
|
+
jobDashboard?: Partial<C4ClusterDetailsJobDashboardDocsUrls>;
|
|
84
|
+
byom?: string;
|
|
85
|
+
hotBackups?: string;
|
|
86
|
+
secureConnectivity?: string;
|
|
87
|
+
releasePolicy?: string;
|
|
88
|
+
identityAuthorization?: string;
|
|
89
|
+
resourceAuthorizations?: string;
|
|
90
|
+
swagger?: string;
|
|
91
|
+
mcpOverview?: string;
|
|
92
|
+
tasklistApiVersions?: string;
|
|
93
|
+
springZeebeGettingStarted?: string;
|
|
94
|
+
springZeebeConfig?: string;
|
|
95
|
+
clusterLoad?: string;
|
|
96
|
+
encryption?: string;
|
|
97
|
+
encryptionCli?: string;
|
|
98
|
+
encryptionManual?: string;
|
|
99
|
+
identityDocsUrl?: string;
|
|
100
|
+
support?: string;
|
|
101
|
+
contact?: string;
|
|
71
102
|
};
|
|
72
103
|
}
|
|
@@ -287,7 +287,7 @@ export const C4ClusterDetailsClientsTab = (props) => {
|
|
|
287
287
|
kind: 'openUrl',
|
|
288
288
|
url: identityAuthorizationDocsUrl,
|
|
289
289
|
});
|
|
290
|
-
}, children: "Learn more about authorizations" }) })] })), clientMutationError && _jsx(
|
|
290
|
+
}, children: "Learn more about authorizations" }) })] })), clientMutationError && (_jsx(InlineNotification, { kind: 'error', title: safeTranslate(t, 'clusterclients:create.error.title', 'Error'), subtitle: clientMutationError, hideCloseButton: true, lowContrast: true })), _jsx(TextInput, { id: 'clusterClientName-create', name: 'name', "data-modal-primary-focus": true, labelText: safeTranslate(t, 'clusterclients:create.fields.name.label', 'Client Name'), maxLength: 50, value: clientName, placeholder: safeTranslate(t, 'clusterclients:create.fields.name.label', 'Client Name'), helperText: safeTranslate(t, 'clusterclients:create.fields.name.helperText', 'can contain letters, dashes, underscores, and digits'), invalid: Boolean(clientNameTouched && validateClientName(clientName)), invalidText: (clientNameTouched && validateClientName(clientName)) ?? '', onChange: (event) => {
|
|
291
291
|
setClientName(event.target.value);
|
|
292
292
|
}, onBlur: () => setClientNameTouched(true) }), _jsxs(Stack, { gap: 2, children: [_jsx("h3", { children: safeTranslate(t, 'clusterclients:create.fields.scopes.label', 'Scopes') }), _jsx("p", { children: safeTranslate(t, 'clusterclients:create.fields.scopes.helperText', 'Scopes define the access for client credentials.') }), hasIdentityIntegration && (_jsx("p", { children: safeTranslate(t, 'clusterclients:create.fields.scopes.helperText8_8', 'Granular authorizations for the Orchestration Cluster API can be managed via Orchestration Cluster Identity.') })), _jsx("div", { style: { marginBottom: '8px' }, children: renderInlineLink(safeTranslate(t, 'clusterclients:create.fields.scopes.learnMoreHelperText', 'Read more about <0>Scopes for Client Credentials</0>.'), {
|
|
293
293
|
href: clientsDocsUrl,
|
|
@@ -843,7 +843,7 @@ export const C4ClusterDetailsClientsTab = (props) => {
|
|
|
843
843
|
setClientMutationBusy(false);
|
|
844
844
|
}
|
|
845
845
|
})();
|
|
846
|
-
}, children: _jsxs(Stack, { gap: 4, children: [clientMutationError && _jsx(
|
|
846
|
+
}, children: _jsxs(Stack, { gap: 4, children: [clientMutationError && (_jsx(InlineNotification, { kind: 'error', title: safeTranslate(t, 'clusterclients:update.error.title', 'Error'), subtitle: clientMutationError, hideCloseButton: true, lowContrast: true })), _jsx(TextInput, { id: 'client-update-name', labelText: 'Name', value: clientName, onChange: (event) => setClientName(event.target.value) })] }) }), _jsx(Modal, { open: deleteClientOpen, danger: true, modalHeading: 'Delete API client', primaryButtonText: 'Delete', secondaryButtonText: 'Cancel', primaryButtonDisabled: clientMutationBusy, onRequestClose: () => {
|
|
847
847
|
trackEvent('apiClients:delete:cancel', 'Cancel Delete Api Client Modal');
|
|
848
848
|
setDeleteClientOpen(false);
|
|
849
849
|
}, onRequestSubmit: () => {
|
|
@@ -877,5 +877,5 @@ export const C4ClusterDetailsClientsTab = (props) => {
|
|
|
877
877
|
setClientMutationBusy(false);
|
|
878
878
|
}
|
|
879
879
|
})();
|
|
880
|
-
}, children: _jsxs(Stack, { gap: 4, children: [clientMutationError && _jsx(
|
|
880
|
+
}, children: _jsxs(Stack, { gap: 4, children: [clientMutationError && (_jsx(InlineNotification, { kind: 'error', title: safeTranslate(t, 'clusterclients:delete.error.title', 'Error'), subtitle: clientMutationError, hideCloseButton: true, lowContrast: true })), _jsx("p", { children: "Delete this client?" })] }) })] }));
|
|
881
881
|
};
|
|
@@ -120,6 +120,25 @@ describe('C4ClusterDetailsClientsTab', () => {
|
|
|
120
120
|
}));
|
|
121
121
|
});
|
|
122
122
|
});
|
|
123
|
+
it('shows an InlineNotification when create client returns a 4xx error', async () => {
|
|
124
|
+
vi.mocked(ConsoleClusterClientsService.create).mockRejectedValue(new Error('Maximum number of clients reached for this cluster'));
|
|
125
|
+
renderTab();
|
|
126
|
+
await userEvent.click(screen.getByRole('button', { name: 'Open create client' }));
|
|
127
|
+
const createDialog = await screen.findByRole('dialog', {
|
|
128
|
+
name: 'Create new client credentials',
|
|
129
|
+
});
|
|
130
|
+
fireEvent.change(screen.getByLabelText('Client Name'), {
|
|
131
|
+
target: { value: 'my-client' },
|
|
132
|
+
});
|
|
133
|
+
await userEvent.click(screen.getByLabelText('Optimize'));
|
|
134
|
+
const createButton = within(createDialog).getByRole('button', {
|
|
135
|
+
name: 'Create',
|
|
136
|
+
});
|
|
137
|
+
await userEvent.click(createButton);
|
|
138
|
+
await waitFor(() => {
|
|
139
|
+
expect(within(createDialog).getByText('Maximum number of clients reached for this cluster')).toBeTruthy();
|
|
140
|
+
});
|
|
141
|
+
});
|
|
123
142
|
it("does not include a trailing '/' in ZEEBE_ADDRESS", async () => {
|
|
124
143
|
vi.mocked(ConsoleClusterClientsService.create).mockResolvedValue({
|
|
125
144
|
uuid: 'uuid-new',
|
|
@@ -6,6 +6,12 @@ interface C4ClusterDetailsConnectorSecretsTabProps {
|
|
|
6
6
|
clusterId: string;
|
|
7
7
|
apiConfig: RequestBaseParamsConfig;
|
|
8
8
|
canMutateCluster: boolean;
|
|
9
|
+
connectorSecretsPermissions?: {
|
|
10
|
+
canCreate: boolean;
|
|
11
|
+
canRead: boolean;
|
|
12
|
+
canUpdate: boolean;
|
|
13
|
+
canDelete: boolean;
|
|
14
|
+
};
|
|
9
15
|
docsUrl?: string;
|
|
10
16
|
t?: TranslateFn;
|
|
11
17
|
onNavigate?: (event: {
|
|
@@ -38,7 +38,7 @@ function renderInlineLink0(value, linkRenderer) {
|
|
|
38
38
|
return (_jsxs("span", { children: [before, linkRenderer(label), after] }));
|
|
39
39
|
}
|
|
40
40
|
export const C4ClusterDetailsConnectorSecretsTab = (props) => {
|
|
41
|
-
const { orgId, clusterId, apiConfig, canMutateCluster, docsUrl, t, onNavigate, } = props;
|
|
41
|
+
const { orgId, clusterId, apiConfig, canMutateCluster, connectorSecretsPermissions, docsUrl, t, onNavigate, } = props;
|
|
42
42
|
const data = useC4ConsoleData();
|
|
43
43
|
const runtime = useC4ConsoleRuntime();
|
|
44
44
|
const trackEvent = useCallback((eventName, message, meta) => {
|
|
@@ -171,10 +171,10 @@ export const C4ClusterDetailsConnectorSecretsTab = (props) => {
|
|
|
171
171
|
infoText,
|
|
172
172
|
protectedBadge: 'Protected',
|
|
173
173
|
}, urls: { docs: docsUrl ?? '' }, permissions: {
|
|
174
|
-
canCreate: canMutateCluster,
|
|
175
|
-
canRead: canMutateCluster,
|
|
176
|
-
canUpdate: canMutateCluster,
|
|
177
|
-
canDelete: canMutateCluster,
|
|
174
|
+
canCreate: connectorSecretsPermissions?.canCreate ?? canMutateCluster,
|
|
175
|
+
canRead: connectorSecretsPermissions?.canRead ?? canMutateCluster,
|
|
176
|
+
canUpdate: connectorSecretsPermissions?.canUpdate ?? canMutateCluster,
|
|
177
|
+
canDelete: connectorSecretsPermissions?.canDelete ?? canMutateCluster,
|
|
178
178
|
}, onCreateSecret: () => {
|
|
179
179
|
trackEvent('listConnectors:create:open', 'Open Create Connector Secret Modal');
|
|
180
180
|
setSecretMutationError('');
|