ydb-embedded-ui 6.19.0 → 6.20.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/components/CriticalActionDialog/CriticalActionDialog.d.ts +2 -1
- package/dist/components/CriticalActionDialog/CriticalActionDialog.js +11 -3
- package/dist/components/CriticalActionDialog/CriticalActionDialog.js.map +1 -1
- package/dist/components/CriticalActionDialog/i18n/en.json +2 -1
- package/dist/components/CriticalActionDialog/i18n/index.d.ts +1 -1
- package/dist/components/DiskStateProgressBar/DiskStateProgressBar.scss +7 -36
- package/dist/components/TabletsStatistic/TabletsStatistic.d.ts +2 -4
- package/dist/components/TabletsStatistic/TabletsStatistic.js.map +1 -1
- package/dist/components/Tag/Tag.d.ts +2 -1
- package/dist/components/Tag/Tag.js.map +1 -1
- package/dist/components/Tags/Tags.d.ts +2 -1
- package/dist/components/Tags/Tags.js.map +1 -1
- package/dist/containers/Cluster/ClusterInfo/ClusterInfo.js +3 -112
- package/dist/containers/Cluster/ClusterInfo/ClusterInfo.js.map +1 -1
- package/dist/containers/Cluster/ClusterInfo/ClusterInfo.scss +7 -14
- package/dist/containers/Cluster/ClusterInfo/components/DiskGroupsStatsBars/DiskGroupsStatsBars.d.ts +7 -0
- package/dist/containers/Cluster/ClusterInfo/components/DiskGroupsStatsBars/DiskGroupsStatsBars.js +43 -0
- package/dist/containers/Cluster/ClusterInfo/components/DiskGroupsStatsBars/DiskGroupsStatsBars.js.map +1 -0
- package/dist/containers/Cluster/ClusterInfo/components/DiskGroupsStatsBars/DiskGroupsStatsBars.scss +11 -0
- package/dist/containers/Cluster/ClusterInfo/components/NodesState/NodesState.d.ts +8 -0
- package/dist/containers/Cluster/ClusterInfo/components/NodesState/NodesState.js +8 -0
- package/dist/containers/Cluster/ClusterInfo/components/NodesState/NodesState.js.map +1 -0
- package/dist/containers/Cluster/ClusterInfo/components/NodesState/NodesState.scss +16 -0
- package/dist/containers/Cluster/ClusterInfo/shared.d.ts +1 -0
- package/dist/containers/Cluster/ClusterInfo/shared.js +3 -0
- package/dist/containers/Cluster/ClusterInfo/shared.js.map +1 -0
- package/dist/containers/Cluster/ClusterInfo/utils.d.ts +12 -0
- package/dist/containers/Cluster/ClusterInfo/utils.js +145 -0
- package/dist/containers/Cluster/ClusterInfo/utils.js.map +1 -1
- package/dist/containers/Cluster/i18n/en.json +7 -1
- package/dist/containers/Cluster/i18n/index.d.ts +1 -1
- package/dist/containers/Cluster/i18n/index.js +1 -2
- package/dist/containers/Cluster/i18n/index.js.map +1 -1
- package/dist/containers/Nodes/Nodes.js +3 -13
- package/dist/containers/Nodes/Nodes.js.map +1 -1
- package/dist/containers/PDiskPage/DecommissionButton/DecommissionButton.js +1 -1
- package/dist/containers/PDiskPage/DecommissionButton/DecommissionButton.js.map +1 -1
- package/dist/containers/UserSettings/i18n/en.json +0 -2
- package/dist/containers/UserSettings/i18n/index.d.ts +1 -1
- package/dist/containers/UserSettings/settings.d.ts +0 -1
- package/dist/containers/UserSettings/settings.js +2 -12
- package/dist/containers/UserSettings/settings.js.map +1 -1
- package/dist/services/api.d.ts +3 -6
- package/dist/services/api.js +0 -5
- package/dist/services/api.js.map +1 -1
- package/dist/services/settings.d.ts +0 -1
- package/dist/services/settings.js +1 -2
- package/dist/services/settings.js.map +1 -1
- package/dist/store/reducers/cluster/cluster.js +10 -1
- package/dist/store/reducers/cluster/cluster.js.map +1 -1
- package/dist/store/reducers/cluster/utils.d.ts +3 -1
- package/dist/store/reducers/cluster/utils.js +9 -3
- package/dist/store/reducers/cluster/utils.js.map +1 -1
- package/dist/store/reducers/executeQuery.js +1 -1
- package/dist/store/reducers/executeQuery.js.map +1 -1
- package/dist/store/reducers/explainQuery/utils.d.ts +1 -1
- package/dist/store/reducers/explainQuery/utils.js.map +1 -1
- package/dist/store/reducers/nodes/nodes.d.ts +1 -2
- package/dist/store/reducers/nodes/nodes.js +1 -16
- package/dist/store/reducers/nodes/nodes.js.map +1 -1
- package/dist/store/reducers/nodes/types.d.ts +1 -6
- package/dist/store/reducers/nodes/utils.d.ts +1 -4
- package/dist/store/reducers/nodes/utils.js +1 -41
- package/dist/store/reducers/nodes/utils.js.map +1 -1
- package/dist/store/reducers/viewSchema/viewSchema.js +1 -1
- package/dist/store/reducers/viewSchema/viewSchema.js.map +1 -1
- package/dist/styles/mixins.scss +45 -0
- package/dist/types/api/cluster.d.ts +31 -1
- package/dist/types/api/cluster.js +3 -1
- package/dist/types/api/cluster.js.map +1 -1
- package/dist/types/api/meta.d.ts +2 -2
- package/dist/utils/constants.d.ts +0 -1
- package/dist/utils/constants.js +0 -1
- package/dist/utils/constants.js.map +1 -1
- package/dist/utils/nodes.d.ts +1 -2
- package/dist/utils/nodes.js.map +1 -1
- package/dist/utils/versions/parseNodesToVersionsValues.d.ts +1 -1
- package/dist/utils/versions/parseNodesToVersionsValues.js +3 -2
- package/dist/utils/versions/parseNodesToVersionsValues.js.map +1 -1
- package/package.json +2 -1
- package/dist/containers/Cluster/i18n/ru.json +0 -16
- package/dist/types/api/compute.d.ts +0 -57
- package/dist/types/api/compute.js +0 -2
- package/dist/types/api/compute.js.map +0 -1
@@ -1,4 +1,28 @@
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
2
|
+
import React from 'react';
|
3
|
+
import { skipToken } from '@reduxjs/toolkit/query';
|
4
|
+
import { LinkWithIcon } from '../../../components/LinkWithIcon/LinkWithIcon';
|
5
|
+
import { ProgressViewer } from '../../../components/ProgressViewer/ProgressViewer';
|
6
|
+
import { Tablet } from '../../../components/Tablet';
|
7
|
+
import { Tags } from '../../../components/Tags';
|
8
|
+
import { nodesApi } from '../../../store/reducers/nodes/nodes';
|
9
|
+
import { isClusterInfoV2 } from '../../../types/api/cluster';
|
1
10
|
import { EType } from '../../../types/api/tablet';
|
11
|
+
import { formatStorageValues } from '../../../utils/dataFormatters/dataFormatters';
|
12
|
+
import { parseNodeGroupsToVersionsValues, parseNodesToVersionsValues } from '../../../utils/versions';
|
13
|
+
import { VersionsBar } from '../VersionsBar/VersionsBar';
|
14
|
+
import i18n from '../i18n';
|
15
|
+
import { DiskGroupsStatsBars } from './components/DiskGroupsStatsBars/DiskGroupsStatsBars';
|
16
|
+
import { NodesState } from './components/NodesState/NodesState';
|
17
|
+
import { b } from './shared';
|
18
|
+
const COLORS_PRIORITY = {
|
19
|
+
Green: 5,
|
20
|
+
Blue: 4,
|
21
|
+
Yellow: 3,
|
22
|
+
Orange: 2,
|
23
|
+
Red: 1,
|
24
|
+
Grey: 0,
|
25
|
+
};
|
2
26
|
export const compareTablets = (tablet1, tablet2) => {
|
3
27
|
if (tablet1.Type === EType.TxAllocator) {
|
4
28
|
return 1;
|
@@ -8,4 +32,125 @@ export const compareTablets = (tablet1, tablet2) => {
|
|
8
32
|
}
|
9
33
|
return 0;
|
10
34
|
};
|
35
|
+
const getGroupsStatsFields = (groupsStats) => {
|
36
|
+
return Object.keys(groupsStats).map((diskType) => {
|
37
|
+
return {
|
38
|
+
label: i18n('storage-groups', { diskType }),
|
39
|
+
value: _jsx(DiskGroupsStatsBars, { stats: groupsStats[diskType] }),
|
40
|
+
};
|
41
|
+
});
|
42
|
+
};
|
43
|
+
const getDCInfo = (cluster) => {
|
44
|
+
var _a;
|
45
|
+
if (isClusterInfoV2(cluster) && cluster.MapDataCenters) {
|
46
|
+
return Object.entries(cluster.MapDataCenters).map(([dc, count]) => (_jsxs(React.Fragment, { children: [dc, ": ", _jsx("span", { className: b('dc-count'), children: i18n('quantity', { count }) })] }, dc)));
|
47
|
+
}
|
48
|
+
return (_a = cluster.DataCenters) === null || _a === void 0 ? void 0 : _a.filter(Boolean);
|
49
|
+
};
|
50
|
+
const getStorageStats = (cluster) => {
|
51
|
+
if (isClusterInfoV2(cluster) && cluster.MapDataCenters) {
|
52
|
+
const { MapStorageTotal, MapStorageUsed } = cluster;
|
53
|
+
const storageTypesSet = new Set(Object.keys(MapStorageTotal !== null && MapStorageTotal !== void 0 ? MapStorageTotal : []).concat(Object.keys(MapStorageUsed !== null && MapStorageUsed !== void 0 ? MapStorageUsed : [])));
|
54
|
+
if (storageTypesSet.size > 0) {
|
55
|
+
return Array.from(storageTypesSet).reduce((acc, storageType) => {
|
56
|
+
acc[storageType] = {
|
57
|
+
used: MapStorageUsed === null || MapStorageUsed === void 0 ? void 0 : MapStorageUsed[storageType],
|
58
|
+
total: MapStorageTotal === null || MapStorageTotal === void 0 ? void 0 : MapStorageTotal[storageType],
|
59
|
+
};
|
60
|
+
return acc;
|
61
|
+
}, {});
|
62
|
+
}
|
63
|
+
}
|
64
|
+
return { _default: { used: cluster === null || cluster === void 0 ? void 0 : cluster.StorageUsed, total: cluster === null || cluster === void 0 ? void 0 : cluster.StorageTotal } };
|
65
|
+
};
|
66
|
+
export const getInfo = (cluster, versionsValues, groupsStats, additionalInfo, links) => {
|
67
|
+
const info = [];
|
68
|
+
const dataCenters = getDCInfo(cluster);
|
69
|
+
if (dataCenters === null || dataCenters === void 0 ? void 0 : dataCenters.length) {
|
70
|
+
info.push({
|
71
|
+
label: i18n('dc'),
|
72
|
+
value: _jsx(Tags, { tags: dataCenters }),
|
73
|
+
});
|
74
|
+
}
|
75
|
+
if (cluster.SystemTablets) {
|
76
|
+
const tablets = cluster.SystemTablets.slice(0).sort(compareTablets);
|
77
|
+
info.push({
|
78
|
+
label: i18n('tablets'),
|
79
|
+
value: (_jsx("div", { className: b('system-tablets'), children: tablets.map((tablet, tabletIndex) => (_jsx(Tablet, { tablet: tablet }, tabletIndex))) })),
|
80
|
+
});
|
81
|
+
}
|
82
|
+
if (cluster.Tenants) {
|
83
|
+
info.push({
|
84
|
+
label: i18n('databases'),
|
85
|
+
value: cluster.Tenants,
|
86
|
+
});
|
87
|
+
}
|
88
|
+
info.push({
|
89
|
+
label: i18n('nodes'),
|
90
|
+
value: _jsx(ProgressViewer, { value: cluster === null || cluster === void 0 ? void 0 : cluster.NodesAlive, capacity: cluster === null || cluster === void 0 ? void 0 : cluster.NodesTotal }),
|
91
|
+
});
|
92
|
+
if (isClusterInfoV2(cluster) && cluster.MapNodeStates) {
|
93
|
+
const arrayNodesStates = Object.entries(cluster.MapNodeStates);
|
94
|
+
// sort stack to achieve order "green, orange, yellow, red, blue, grey"
|
95
|
+
arrayNodesStates.sort((a, b) => COLORS_PRIORITY[b[0]] - COLORS_PRIORITY[a[0]]);
|
96
|
+
const nodesStates = arrayNodesStates.map(([state, count]) => {
|
97
|
+
return (_jsx(NodesState, { state: state, children: count }, state));
|
98
|
+
});
|
99
|
+
info.push({
|
100
|
+
label: i18n('nodes-state'),
|
101
|
+
value: _jsx("div", { className: b('nodes-states'), children: nodesStates }),
|
102
|
+
});
|
103
|
+
}
|
104
|
+
info.push({
|
105
|
+
label: i18n('load'),
|
106
|
+
value: _jsx(ProgressViewer, { value: cluster === null || cluster === void 0 ? void 0 : cluster.LoadAverage, capacity: cluster === null || cluster === void 0 ? void 0 : cluster.NumberOfCpus }),
|
107
|
+
});
|
108
|
+
const storageStats = getStorageStats(cluster);
|
109
|
+
Object.entries(storageStats).forEach(([type, stats]) => {
|
110
|
+
let label = i18n('storage-size');
|
111
|
+
if (type !== '_default') {
|
112
|
+
label += `, ${type}`;
|
113
|
+
}
|
114
|
+
info.push({
|
115
|
+
label: label,
|
116
|
+
value: (_jsx(ProgressViewer, { value: stats.used, capacity: stats.total, formatValues: formatStorageValues })),
|
117
|
+
});
|
118
|
+
});
|
119
|
+
if (Object.keys(groupsStats).length) {
|
120
|
+
info.push(...getGroupsStatsFields(groupsStats));
|
121
|
+
}
|
122
|
+
info.push(...additionalInfo, {
|
123
|
+
label: i18n('links'),
|
124
|
+
value: (_jsx("div", { className: b('links'), children: links.map(({ title, url }) => (_jsx(LinkWithIcon, { title: title, url: url }, title))) })),
|
125
|
+
}, {
|
126
|
+
label: i18n('versions'),
|
127
|
+
value: (_jsx(VersionsBar, { versionsValues: versionsValues.filter((el) => el.title !== 'unknown') })),
|
128
|
+
});
|
129
|
+
return info;
|
130
|
+
};
|
131
|
+
export const useGetVersionValues = (cluster, versionToColor) => {
|
132
|
+
const { currentData } = nodesApi.useGetNodesQuery(isClusterInfoV2(cluster)
|
133
|
+
? skipToken
|
134
|
+
: {
|
135
|
+
tablets: false,
|
136
|
+
group: 'Version',
|
137
|
+
});
|
138
|
+
const versionsValues = React.useMemo(() => {
|
139
|
+
if (isClusterInfoV2(cluster) && cluster.MapVersions) {
|
140
|
+
const groups = Object.entries(cluster.MapVersions).map(([version, count]) => ({
|
141
|
+
name: version,
|
142
|
+
count,
|
143
|
+
}));
|
144
|
+
return parseNodeGroupsToVersionsValues(groups, versionToColor, cluster.NodesTotal);
|
145
|
+
}
|
146
|
+
if (!currentData) {
|
147
|
+
return [];
|
148
|
+
}
|
149
|
+
if (Array.isArray(currentData.NodeGroups)) {
|
150
|
+
return parseNodeGroupsToVersionsValues(currentData.NodeGroups, versionToColor, cluster === null || cluster === void 0 ? void 0 : cluster.NodesTotal);
|
151
|
+
}
|
152
|
+
return parseNodesToVersionsValues(currentData.Nodes, versionToColor);
|
153
|
+
}, [currentData, versionToColor, cluster]);
|
154
|
+
return versionsValues;
|
155
|
+
};
|
11
156
|
//# sourceMappingURL=utils.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../../src/containers/Cluster/ClusterInfo/utils.
|
1
|
+
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../../src/containers/Cluster/ClusterInfo/utils.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,SAAS,EAAC,MAAM,wBAAwB,CAAC;AAGjD,OAAO,EAAC,YAAY,EAAC,MAAM,+CAA+C,CAAC;AAC3E,OAAO,EAAC,cAAc,EAAC,MAAM,mDAAmD,CAAC;AACjF,OAAO,EAAC,MAAM,EAAC,MAAM,4BAA4B,CAAC;AAClD,OAAO,EAAC,IAAI,EAAC,MAAM,0BAA0B,CAAC;AAE9C,OAAO,EAAC,QAAQ,EAAC,MAAM,qCAAqC,CAAC;AAE7D,OAAO,EAAC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C,WAAW,CAAC,UAAU,EACtB,cAAc,EACd,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,UAAU,CACtB,CAAC;QACN,CAAC;QACD,OAAO,0BAA0B,CAAC,WAAW,CAAC,KAAK,EAAE,cAAc,CAAC,CAAC;IACzE,CAAC,EAAE,CAAC,WAAW,EAAE,cAAc,EAAE,OAAO,CAAC,CAAC,CAAC;IAE3C,OAAO,cAAc,CAAC;AAC1B,CAAC,CAAC"}
|
@@ -8,9 +8,15 @@
|
|
8
8
|
"tablets": "Tablets",
|
9
9
|
"databases": "Databases",
|
10
10
|
"nodes": "Nodes",
|
11
|
+
"nodes-state": "Nodes state",
|
11
12
|
"load": "Load",
|
12
13
|
"storage-size": "Storage size",
|
13
14
|
"storage-groups": "Storage groups, {{diskType}}",
|
14
15
|
"links": "Links",
|
15
|
-
"versions": "Versions"
|
16
|
+
"versions": "Versions",
|
17
|
+
"quantity": {
|
18
|
+
"one": "{{count}} node",
|
19
|
+
"other": "{{count}} nodes",
|
20
|
+
"zero": "no nodes"
|
21
|
+
}
|
16
22
|
}
|
@@ -1,2 +1,2 @@
|
|
1
|
-
declare const _default: (key: "nodes" | "tablets" | "versions" | "load" | "links" | "storage-groups" | "disk-type" | "erasure" | "allocated" | "available" | "usage" | "dc" | "databases" | "storage-size", params?: import("@gravity-ui/i18n").Params) => string;
|
1
|
+
declare const _default: (key: "nodes" | "tablets" | "versions" | "load" | "links" | "storage-groups" | "disk-type" | "erasure" | "allocated" | "available" | "usage" | "dc" | "databases" | "nodes-state" | "storage-size" | "quantity", params?: import("@gravity-ui/i18n").Params) => string;
|
2
2
|
export default _default;
|
@@ -1,6 +1,5 @@
|
|
1
1
|
import { registerKeysets } from '../../../utils/i18n';
|
2
2
|
import en from './en.json';
|
3
|
-
import ru from './ru.json';
|
4
3
|
const COMPONENT = 'ydb-cluster';
|
5
|
-
export default registerKeysets(COMPONENT, {
|
4
|
+
export default registerKeysets(COMPONENT, { en });
|
6
5
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/containers/Cluster/i18n/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,qBAAqB,CAAC;AAEpD,OAAO,EAAE,MAAM,WAAW,CAAC;
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/containers/Cluster/i18n/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,qBAAqB,CAAC;AAEpD,OAAO,EAAE,MAAM,WAAW,CAAC;AAE3B,MAAM,SAAS,GAAG,aAAa,CAAC;AAEhC,eAAe,eAAe,CAAC,SAAS,EAAE,EAAC,EAAE,EAAC,CAAC,CAAC"}
|
@@ -1,7 +1,6 @@
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
2
2
|
import React from 'react';
|
3
3
|
import { ASCENDING } from '@gravity-ui/react-data-table/build/esm/lib/constants';
|
4
|
-
import { skipToken } from '@reduxjs/toolkit/query';
|
5
4
|
import { StringParam, useQueryParams } from 'use-query-params';
|
6
5
|
import { EntitiesCount } from '../../components/EntitiesCount';
|
7
6
|
import { AccessDenied } from '../../components/Errors/403';
|
@@ -17,8 +16,8 @@ import { nodesApi } from '../../store/reducers/nodes/nodes';
|
|
17
16
|
import { filterNodes } from '../../store/reducers/nodes/selectors';
|
18
17
|
import { ProblemFilterValues, changeFilter, selectProblemFilter, } from '../../store/reducers/settings/settings';
|
19
18
|
import { cn } from '../../utils/cn';
|
20
|
-
import { DEFAULT_TABLE_SETTINGS
|
21
|
-
import { useAutoRefreshInterval,
|
19
|
+
import { DEFAULT_TABLE_SETTINGS } from '../../utils/constants';
|
20
|
+
import { useAutoRefreshInterval, useTableSort, useTypedDispatch, useTypedSelector, } from '../../utils/hooks';
|
22
21
|
import { NodesUptimeFilterValues, isSortableNodesProperty, isUnavailableNode, nodesUptimeFilterValuesSchema, } from '../../utils/nodes';
|
23
22
|
import { NODES_COLUMNS_WIDTH_LS_KEY, getNodesColumns } from './getNodesColumns';
|
24
23
|
import i18n from './i18n';
|
@@ -35,16 +34,7 @@ export const Nodes = ({ path, database, additionalNodesProps = {} }) => {
|
|
35
34
|
const dispatch = useTypedDispatch();
|
36
35
|
const problemFilter = useTypedSelector(selectProblemFilter);
|
37
36
|
const [autoRefreshInterval] = useAutoRefreshInterval();
|
38
|
-
const
|
39
|
-
// If there is no path, it's cluster Nodes tab
|
40
|
-
const useGetComputeNodes = path && !useNodesEndpoint;
|
41
|
-
const nodesQuery = nodesApi.useGetNodesQuery(useGetComputeNodes ? skipToken : { path, database }, {
|
42
|
-
pollingInterval: autoRefreshInterval,
|
43
|
-
});
|
44
|
-
const computeQuery = nodesApi.useGetComputeNodesQuery(useGetComputeNodes ? { path } : skipToken, {
|
45
|
-
pollingInterval: autoRefreshInterval,
|
46
|
-
});
|
47
|
-
const { currentData: data, isLoading, error } = useGetComputeNodes ? computeQuery : nodesQuery;
|
37
|
+
const { currentData: data, isLoading, error, } = nodesApi.useGetNodesQuery({ path, database }, { pollingInterval: autoRefreshInterval });
|
48
38
|
const [sortValue, setSortValue] = React.useState({
|
49
39
|
sortValue: 'NodeId',
|
50
40
|
sortOrder: ASCENDING,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Nodes.js","sourceRoot":"","sources":["../../../src/containers/Nodes/Nodes.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,SAAS,EAAC,MAAM,sDAAsD,CAAC;AAC/E,OAAO,EAAC,
|
1
|
+
{"version":3,"file":"Nodes.js","sourceRoot":"","sources":["../../../src/containers/Nodes/Nodes.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,SAAS,EAAC,MAAM,sDAAsD,CAAC;AAC/E,OAAO,EAAC,WAAW,EAAE,cAAc,EAAC,M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AC,CAAC,WAAW,EAAE,CAAC,CAAC,CAAC,IAAI,GACA,IACV,CAC7B,CAAC;AACN,CAAC,CAAC"}
|
@@ -83,7 +83,7 @@ export function DecommissionButton({ decommission, onConfirmAction, onConfirmAct
|
|
83
83
|
const renderSwitcher = (props) => {
|
84
84
|
return (_jsx(DecommissionButtonSwitcher, { popoverDisabled: popoverDisabled, loading: buttonLoading, disabled: buttonDisabled, ...props }));
|
85
85
|
};
|
86
|
-
return (_jsxs(React.Fragment, { children: [_jsx(DropdownMenu, { renderSwitcher: renderSwitcher, items: items, popupProps: { className: b('popup') } }), _jsx(CriticalActionDialog, { visible: Boolean(newDecommission), header: pDiskPageKeyset('decommission-dialog-title'), text: getDecommissionWarningText(newDecommission), withRetry: withRetry, retryButtonText: pDiskPageKeyset('decommission-dialog-force-change'), onConfirm: handleConfirmAction, onConfirmActionSuccess: handleConfirmActionSuccess, onConfirmActionError: handleConfirmActionError, onClose: handleClose })] }));
|
86
|
+
return (_jsxs(React.Fragment, { children: [_jsx(DropdownMenu, { renderSwitcher: renderSwitcher, items: items, popupProps: { className: b('popup') } }), _jsx(CriticalActionDialog, { visible: Boolean(newDecommission), header: pDiskPageKeyset('decommission-dialog-title'), text: getDecommissionWarningText(newDecommission), withRetry: withRetry, withCheckBox: true, retryButtonText: pDiskPageKeyset('decommission-dialog-force-change'), onConfirm: handleConfirmAction, onConfirmActionSuccess: handleConfirmActionSuccess, onConfirmActionError: handleConfirmActionError, onClose: handleClose })] }));
|
87
87
|
}
|
88
88
|
function DecommissionButtonSwitcher({ popoverDisabled, ...restProps }) {
|
89
89
|
return (_jsx(Popover, { content: pDiskPageKeyset('decommission-change-not-allowed'), placement: 'right', disabled: popoverDisabled, children: _jsxs(Button, { view: 'normal', className: b('button'), ...restProps, children: [_jsx(Icon, { data: decommissionIcon }), pDiskPageKeyset('decommission-button'), _jsx(Icon, { data: ChevronDown })] }) }));
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DecommissionButton.js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AAE,0BAA0B,EAClD,oBAAoB,EAAE,wBAAwB,EAC9C,OAAO,EAAE,WAAW,GACtB,IACW,CACpB,CAAC;AACN,CAAC;AAED,SAAS,0BAA0B,CAAC,EAChC,eAAe,EACf,GAAG,SAAS,EAC4B;IACxC,OAAO,CACH,KAAC,OAAO,IACJ,OAAO,EAAE,eAAe,CAAC,iCAAiC,CAAC,EAC3D,SAAS,EAAE,OAAO,EAClB,QAAQ,EAAE,eAAe,YAEzB,MAAC,MAAM,IAAC,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC,CAAC,QAAQ,CAAC,KAAM,SAAS,aACzD,KAAC,IAAI,IAAC,IAAI,EAAE,gBAAgB,GAAI,EAC/B,eAAe,CAAC,qBAAqB,CAAC,EACvC,KAAC,IAAI,IAAC,IAAI,EAAE,WAAW,GAAI,IACtB,GACH,CACb,CAAC;AACN,CAAC"}
|
1
|
+
{"version":3,"file":"DecommissionButton.js","sourceRoot":"","sources":["../../../../src/containers/PDiskPage/DecommissionButton/DecommissionButton.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,WAAW,EAAC,MAAM,mBAAmB,CAAC;AAE9C,OAAO,EAAC,MAAM,EAAE,YAAY,EAAE,IAAI,EAAE,OAAO,EAAC,MAAM,mBAAmB,CAAC;AAEtE,OAAO,EAAC,oBAAoB,EAAC,MAAM,+DAA+D,CAAC;AACnG,OAAO,EAAC,gBAAgB,EAAC,MAAM,gDAAgD,CAAC;AAEhF,OAAO,EAAC,IAAI,EAAC,MAAM,gBAAgB,CAAC;AACpC,OAAO,EAAC,EAAE,EAAC,MAAM,mBAAmB,CAAC;AACrC,OAAO,EAAC,eAAe,EAAC,MAAM,SAAS,CAAC;AAExC,OAAO,gBAAgB,MAAM,wCAAwC,CAAC;AAEtE,OAAO,2BAA2B,CAAC;AAEnC,MAAM,CAAC,GAAG,EAAE,CAAC,+BAA+B,CAAC,CAAC;AAE9C,SAAS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play.title": "Display binary data in plain text",
|
22
22
|
"settings.invertedDisks.title": "Inverted disks space indicators",
|
23
|
-
"settings.useNodesEndpoint.title": "Break the Nodes tab in Diagnostics",
|
24
|
-
"settings.useNodesEndpoint.description": "Use /viewer/json/nodes endpoint for Nodes tab in diagnostics. It could return incorrect data on versions before 24-1",
|
25
23
|
"settings.useAdvancedStorage.title": "Use advanced storage",
|
26
24
|
"settings.useAdvancedStorage.description": "Display additional data in Storage table",
|
27
25
|
"settings.usePaginatedTables.title": "Use paginated tables",
|
@@ -1,2 +1,2 @@
|
|
1
|
-
declare const _default: (key: "page.general" | "section.appearance" | "page.experiments" | "section.experiments" | "page.editor" | "section.dev-setting" | "page.about" | "section.about" | "settings.editor.autocomplete.title" | "settings.editor.autocomplete.description" | "settings.editor.autocomplete-on-enter.title" | "settings.editor.autocomplete-on-enter.description" | "settings.theme.title" | "settings.theme.option-dark" | "settings.theme.option-light" | "settings.theme.option-system" | "settings.language.title" | "settings.language.option-russian" | "settings.language.option-english" | "settings.binaryDataInPlainTextDisplay.title" | "settings.invertedDisks.title" | "settings.
|
1
|
+
declare const _default: (key: "page.general" | "section.appearance" | "page.experiments" | "section.experiments" | "page.editor" | "section.dev-setting" | "page.about" | "section.about" | "settings.editor.autocomplete.title" | "settings.editor.autocomplete.description" | "settings.editor.autocomplete-on-enter.title" | "settings.editor.autocomplete-on-enter.description" | "settings.theme.title" | "settings.theme.option-dark" | "settings.theme.option-light" | "settings.theme.option-system" | "settings.language.title" | "settings.language.option-russian" | "settings.language.option-english" | "settings.binaryDataInPlainTextDisplay.title" | "settings.invertedDisks.title" | "settings.useAdvancedStorage.title" | "settings.useAdvancedStorage.description" | "settings.usePaginatedTables.title" | "settings.usePaginatedTables.description" | "settings.showDomainDatabase.title" | "settings.queryUseMultiSchema.title" | "settings.queryUseMultiSchema.description" | "settings.useClusterBalancerAsBackend.title" | "settings.useClusterBalancerAsBackend.description" | "settings.about.interfaceVersionInfoField.title", params?: import("@gravity-ui/i18n").Params) => string;
|
2
2
|
export default _default;
|
@@ -16,7 +16,6 @@ export declare const themeSetting: SettingProps;
|
|
16
16
|
export declare const languageSetting: SettingProps;
|
17
17
|
export declare const binaryDataInPlainTextDisplay: SettingProps;
|
18
18
|
export declare const invertedDisksSetting: SettingProps;
|
19
|
-
export declare const useNodesEndpointSetting: SettingProps;
|
20
19
|
export declare const useAdvancedStorageSetting: SettingProps;
|
21
20
|
export declare const usePaginatedTables: SettingProps;
|
22
21
|
export declare const showDomainDatabase: SettingProps;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { CircleInfo, Flask, PencilToSquare, StarFill } from '@gravity-ui/icons';
|
2
2
|
import { createNextState } from '@reduxjs/toolkit';
|
3
|
-
import { AUTOCOMPLETE_ON_ENTER, BINARY_DATA_IN_PLAIN_TEXT_DISPLAY, ENABLE_AUTOCOMPLETE, INVERTED_DISKS_KEY, LANGUAGE_KEY, QUERY_USE_MULTI_SCHEMA_KEY, SHOW_DOMAIN_DATABASE_KEY, THEME_KEY, USE_ADVANCED_STORAGE_KEY, USE_CLUSTER_BALANCER_AS_BACKEND_KEY,
|
3
|
+
import { AUTOCOMPLETE_ON_ENTER, BINARY_DATA_IN_PLAIN_TEXT_DISPLAY, ENABLE_AUTOCOMPLETE, INVERTED_DISKS_KEY, LANGUAGE_KEY, QUERY_USE_MULTI_SCHEMA_KEY, SHOW_DOMAIN_DATABASE_KEY, THEME_KEY, USE_ADVANCED_STORAGE_KEY, USE_CLUSTER_BALANCER_AS_BACKEND_KEY, USE_PAGINATED_TABLES_KEY, } from '../../utils/constants';
|
4
4
|
import { Lang, defaultLang } from '../../utils/i18n';
|
5
5
|
import i18n from './i18n';
|
6
6
|
import packageJson from '../../../package.json';
|
@@ -52,11 +52,6 @@ export const invertedDisksSetting = {
|
|
52
52
|
settingKey: INVERTED_DISKS_KEY,
|
53
53
|
title: i18n('settings.invertedDisks.title'),
|
54
54
|
};
|
55
|
-
export const useNodesEndpointSetting = {
|
56
|
-
settingKey: USE_NODES_ENDPOINT_IN_DIAGNOSTICS_KEY,
|
57
|
-
title: i18n('settings.useNodesEndpoint.title'),
|
58
|
-
description: i18n('settings.useNodesEndpoint.description'),
|
59
|
-
};
|
60
55
|
export const useAdvancedStorageSetting = {
|
61
56
|
settingKey: USE_ADVANCED_STORAGE_KEY,
|
62
57
|
title: i18n('settings.useAdvancedStorage.title'),
|
@@ -109,12 +104,7 @@ export const appearanceSection = {
|
|
109
104
|
export const experimentsSection = {
|
110
105
|
id: 'experimentsSection',
|
111
106
|
title: i18n('section.experiments'),
|
112
|
-
settings: [
|
113
|
-
useNodesEndpointSetting,
|
114
|
-
useAdvancedStorageSetting,
|
115
|
-
usePaginatedTables,
|
116
|
-
queryUseMultiSchemaSetting,
|
117
|
-
],
|
107
|
+
settings: [useAdvancedStorageSetting, usePaginatedTables, queryUseMultiSchemaSetting],
|
118
108
|
};
|
119
109
|
export const devSettingsSection = {
|
120
110
|
id: 'devSettingsSection',
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"settings.js","sourceRoot":"","sources":["../../../src/containers/UserSettings/settings.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAE,KAAK,EAAE,cAAc,EAAE,QAAQ,EAAC,MAAM,mBAAmB,CAAC;AAE9E,OAAO,EAAC,eAAe,EAAC,MAAM,kBAAkB,CAAC;AAEjD,OAAO,EACH,qBAAqB,EACrB,iCAAiC,EACjC,mBAAmB,EACnB,kBAAkB,EAClB,YAAY,EACZ,0BAA0B,EAC1B,wBAAwB,EACxB,SAAS,EACT,wBAAwB,EACxB,mCAAmC,EACnC,
|
1
|
+
{"version":3,"file":"settings.js","sourceRoot":"","sources":["../../../src/containers/UserSettings/settings.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAE,KAAK,EAAE,cAAc,EAAE,QAAQ,EAAC,MAAM,mBAAmB,CAAC;AAE9E,OAAO,EAAC,eAAe,EAAC,MAAM,kBAAkB,CAAC;AAEjD,OA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
2
|
import type { AxiosWrapperOptions } from '@gravity-ui/axios-wrapper';
|
3
|
-
import type {
|
3
|
+
import type { NodesApiRequestParams } from '../store/reducers/nodes/types';
|
4
4
|
import type { TMetaInfo } from '../types/api/acl';
|
5
5
|
import type { TQueryAutocomplete } from '../types/api/autocomplete';
|
6
6
|
import type { CapabilitiesResponse } from '../types/api/capabilities';
|
7
7
|
import type { TClusterInfo } from '../types/api/cluster';
|
8
|
-
import type { TComputeInfo } from '../types/api/compute';
|
9
8
|
import type { DescribeConsumerResult } from '../types/api/consumer';
|
10
9
|
import type { FeatureFlagConfigs } from '../types/api/featureFlags';
|
11
10
|
import type { HealthCheckAPIResponse } from '../types/api/healthcheck';
|
@@ -48,8 +47,6 @@ export declare class YdbEmbeddedAPI extends AxiosWrapper {
|
|
48
47
|
database?: string;
|
49
48
|
}, { concurrentId, signal }?: AxiosOptions): Promise<TTenantInfo>;
|
50
49
|
getNodes({ visibleEntities, type, tablets, sortOrder, sortValue, ...params }: NodesApiRequestParams, { concurrentId, signal }?: AxiosOptions): Promise<TNodesInfo>;
|
51
|
-
/** @deprecated use getNodes instead */
|
52
|
-
getCompute({ sortOrder, sortValue, ...params }: ComputeApiRequestParams, { concurrentId, signal }?: AxiosOptions): Promise<TComputeInfo>;
|
53
50
|
getStorageInfo({ tenant, database, nodeId, groupId, pDiskId, ...params }: StorageRequestParams, { concurrentId, signal }?: AxiosOptions): Promise<TStorageInfo>;
|
54
51
|
getStorageGroups({ nodeId, pDiskId, groupId, fieldsRequired, ...params }: GroupsRequestParams, { concurrentId, signal }?: AxiosOptions): Promise<StorageGroupsResponse>;
|
55
52
|
getNodeWhiteboardPDiskInfo({ nodeId, pDiskId }: {
|
@@ -123,7 +120,7 @@ export declare class YdbEmbeddedAPI extends AxiosWrapper {
|
|
123
120
|
transaction_mode?: TransactionMode;
|
124
121
|
timeout?: Timeout;
|
125
122
|
query_id?: string;
|
126
|
-
}, { concurrentId, signal, withRetries }?: AxiosOptions): Promise<ErrorResponse | QueryAPIResponse<Action, Schema
|
123
|
+
}, { concurrentId, signal, withRetries }?: AxiosOptions): Promise<ErrorResponse | QueryAPIResponse<Action, Schema> | null>;
|
127
124
|
getHotKeys({ path, database, enableSampling }: {
|
128
125
|
path: string;
|
129
126
|
database: string;
|
@@ -193,7 +190,7 @@ export declare class YdbWebVersionAPI extends YdbEmbeddedAPI {
|
|
193
190
|
getClustersList(_?: never, { signal }?: {
|
194
191
|
signal?: AbortSignal;
|
195
192
|
}): Promise<MetaClusters>;
|
196
|
-
getClusterInfo(clusterName: string, { signal }?: AxiosOptions): Promise<
|
193
|
+
getClusterInfo(clusterName: string, { signal }?: AxiosOptions): Promise<import("../types/api/cluster").TClusterInfoV1 | import("../types/api/cluster").TClusterInfoV2>;
|
197
194
|
getTenants(clusterName: string, { signal }?: AxiosOptions): Promise<TTenantInfo>;
|
198
195
|
getClusterBaseInfo(clusterName: string, { concurrentId, signal }?: AxiosOptions): Promise<MetaBaseClusterInfo>;
|
199
196
|
}
|
package/dist/services/api.js
CHANGED
@@ -108,11 +108,6 @@ export class YdbEmbeddedAPI extends AxiosWrapper {
|
|
108
108
|
node_id: params.node_id,
|
109
109
|
}, { concurrentId, requestConfig: { signal } });
|
110
110
|
}
|
111
|
-
/** @deprecated use getNodes instead */
|
112
|
-
getCompute({ sortOrder, sortValue, ...params }, { concurrentId, signal } = {}) {
|
113
|
-
const sort = prepareSortValue(sortValue, sortOrder);
|
114
|
-
return this.get(this.getPath('/viewer/json/compute?enums=true'), { sort, ...params }, { concurrentId, requestConfig: { signal } });
|
115
|
-
}
|
116
111
|
getStorageInfo({ tenant, database, nodeId, groupId, pDiskId, ...params }, { concurrentId, signal } = {}) {
|
117
112
|
return this.get(this.getPath(`/viewer/json/storage?enums=true`), {
|
118
113
|
database: database || tenant,
|
package/dist/services/api.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"api.js","sourceRoot":"","sources":["../../src/services/api.ts"],"names":[],"mappings":"AAAA,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AAG,CACX,GAAG,YAAY,IAAI,EAAE,mBAAmB,EACxC;YACI,IAAI,EAAE,WAAW;SACpB,EACD,EAAC,YAAY,EAAE,aAAa,EAAE,EAAC,MAAM,EAAC,EAAC,CAC1C,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;IAC9B,CAAC;CACJ;AAED,MAAM,UAAU,SAAS,CAAC,EAAC,UAAU,GAAG,KAAK,EAAE,eAAe,GAAG,KAAK,EAAC,GAAG,EAAE;IACxE,MAAM,MAAM,GAAuB,EAAC,eAAe,EAAC,CAAC;IACrD,MAAM,GAAG,GAAG,UAAU,CAAC,CAAC,CAAC,IAAI,gBAAgB,CAAC,EAAC,MAAM,EAAC,CAAC,CAAC,CAAC,CAAC,IAAI,cAAc,CAAC,EAAC,MAAM,EAAC,CAAC,CAAC;IACvF,OAAO,GAAG,CAAC;AACf,CAAC"}
|
@@ -4,7 +4,6 @@ export declare const DEFAULT_USER_SETTINGS: {
|
|
4
4
|
readonly theme: "system";
|
5
5
|
readonly language: undefined;
|
6
6
|
readonly invertedDisks: false;
|
7
|
-
readonly useNodesEndpointInDiagnostics: true;
|
8
7
|
readonly use_advanced_storage: false;
|
9
8
|
readonly queryUseMultiSchema: true;
|
10
9
|
readonly binaryDataInPlainTextDisplay: true;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { TENANT_PAGES_IDS } from '../store/reducers/tenant/constants';
|
2
|
-
import { ASIDE_HEADER_COMPACT_KEY, AUTOCOMPLETE_ON_ENTER, AUTO_REFRESH_INTERVAL, BINARY_DATA_IN_PLAIN_TEXT_DISPLAY, DEFAULT_QUERY_SETTINGS, ENABLE_AUTOCOMPLETE, INVERTED_DISKS_KEY, IS_HOTKEYS_HELP_HIDDEN_KEY, LANGUAGE_KEY, LAST_QUERY_EXECUTION_SETTINGS_KEY, LAST_USED_QUERY_ACTION_KEY, PARTITIONS_HIDDEN_COLUMNS_KEY, QUERY_EXECUTION_SETTINGS_KEY, QUERY_SETTINGS_BANNER_LAST_CLOSED_KEY, QUERY_USE_MULTI_SCHEMA_KEY, SAVED_QUERIES_KEY, SHOW_DOMAIN_DATABASE_KEY, TENANT_INITIAL_PAGE_KEY, THEME_KEY, USE_ADVANCED_STORAGE_KEY, USE_CLUSTER_BALANCER_AS_BACKEND_KEY,
|
2
|
+
import { ASIDE_HEADER_COMPACT_KEY, AUTOCOMPLETE_ON_ENTER, AUTO_REFRESH_INTERVAL, BINARY_DATA_IN_PLAIN_TEXT_DISPLAY, DEFAULT_QUERY_SETTINGS, ENABLE_AUTOCOMPLETE, INVERTED_DISKS_KEY, IS_HOTKEYS_HELP_HIDDEN_KEY, LANGUAGE_KEY, LAST_QUERY_EXECUTION_SETTINGS_KEY, LAST_USED_QUERY_ACTION_KEY, PARTITIONS_HIDDEN_COLUMNS_KEY, QUERY_EXECUTION_SETTINGS_KEY, QUERY_SETTINGS_BANNER_LAST_CLOSED_KEY, QUERY_USE_MULTI_SCHEMA_KEY, SAVED_QUERIES_KEY, SHOW_DOMAIN_DATABASE_KEY, TENANT_INITIAL_PAGE_KEY, THEME_KEY, USE_ADVANCED_STORAGE_KEY, USE_CLUSTER_BALANCER_AS_BACKEND_KEY, USE_PAGINATED_TABLES_KEY, } from '../utils/constants';
|
3
3
|
import { QUERY_ACTIONS } from '../utils/query';
|
4
4
|
import { parseJson } from '../utils/utils';
|
5
5
|
/** User settings keys and their default values */
|
@@ -7,7 +7,6 @@ export const DEFAULT_USER_SETTINGS = {
|
|
7
7
|
[THEME_KEY]: 'system',
|
8
8
|
[LANGUAGE_KEY]: undefined,
|
9
9
|
[INVERTED_DISKS_KEY]: false,
|
10
|
-
[USE_NODES_ENDPOINT_IN_DIAGNOSTICS_KEY]: true,
|
11
10
|
[USE_ADVANCED_STORAGE_KEY]: false,
|
12
11
|
[QUERY_USE_MULTI_SCHEMA_KEY]: true,
|
13
12
|
[BINARY_DATA_IN_PLAIN_TEXT_DISPLAY]: true,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"settings.js","sourceRoot":"","sources":["../../src/services/settings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,gBAAgB,EAAC,MAAM,oCAAoC,CAAC;AACpE,OAAO,EACH,wBAAwB,EACxB,qBAAqB,EACrB,qBAAqB,EACrB,iCAAiC,EACjC,sBAAsB,EACtB,mBAAmB,EACnB,kBAAkB,EAClB,0BAA0B,EAC1B,YAAY,EACZ,iCAAiC,EACjC,0BAA0B,EAC1B,6BAA6B,EAC7B,4BAA4B,EAC5B,qCAAqC,EACrC,0BAA0B,EAC1B,iBAAiB,EACjB,wBAAwB,EACxB,uBAAuB,EACvB,SAAS,EACT,wBAAwB,EACxB,mCAAmC,EACnC,
|
1
|
+
{"version":3,"file":"settings.js","sourceRoot":"","sources":["../../src/services/settings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,gBAAgB,EAAC,MAAM,oCAAoC,CAAC;AACpE,OAAO,EACH,wBAAwB,EACxB,qBAAqB,EACrB,qBAAqB,EACrB,iCAAiC,EACjC,sBAAsB,EACtB,mBAAmB,EACnB,kBAAkB,EAClB,0BAA0B,EAC1B,YAAY,EACZ,iCAAiC,EACjC,0BAA0B,EAC1B,6BAA6B,EAC7B,4BAA4B,EAC5B,qCAAqC,EACrC,0BAA0B,EAC1B,iBAAiB,EACjB,wBAAwB,EACxB,uBAAuB,EACvB,SAAS,EACT,wBAAwB,EACxB,mCAAmC,EACnC,wBAAwB,GAC3B,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAC,aAAa,EAAC,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAC,SAAS,EAAC,MAAM,gBAAgB,CAAC;AAIzC,kDAAkD;AAClD,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACjC,CAAC,SAAS,CAAC,EAAE,QAAQ;IACrB,CAAC,YAAY,CAAC,EAAE,SAAS;IACzB,CAAC,kBAAkB,CAAC,EAAE,KAAK;IAC3B,CA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CAAC,CAAC;gBAExC,OAAO,SAAS,CAAC,KAAK,CAAC,CAAC;YAC5B,CAAC;YAAC,WAAM,CAAC;gBACL,OAAO,SAAS,CAAC;YACrB,CAAC;QACL,CAAC,CAAC;QAEM,iBAAY,GAAG,CAAC,GAAW,EAAE,KAAc,EAAQ,EAAE;YACzD,IAAI,CAAC;gBACD,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE,CAAC;oBAC5B,YAAY,CAAC,OAAO,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC;gBACrC,CAAC;qBAAM,CAAC;oBACJ,YAAY,CAAC,OAAO,CAAC,GAAG,EAAE,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC;gBACrD,CAAC;YACL,CAAC;YAAC,WAAM,CAAC,CAAA,CAAC;QACd,CAAC,CAAC;IACN,CAAC;IA7CG;;;;OAIG;IACH,qBAAqB,CAAC,GAAW,EAAE,YAAsB;;QACrD,OAAO,MAAA,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,mCAAI,YAAY,CAAC;IACrD,CAAC;IAED;;OAEG;IACH,oBAAoB,CAAC,GAAW,EAAE,KAAc;QAC5C,OAAO,IAAI,CAAC,YAAY,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC;IACzC,CAAC;CA+BJ;AAED,MAAM,CAAC,MAAM,eAAe,GAAG,IAAI,eAAe,EAAE,CAAC"}
|
@@ -3,10 +3,11 @@ import { skipToken } from '@reduxjs/toolkit/query';
|
|
3
3
|
import { StringParam, useQueryParam } from 'use-query-params';
|
4
4
|
import { clusterTabsIds, isClusterTab } from '../../../containers/Cluster/utils';
|
5
5
|
import { parseTraceFields } from '../../../services/parsers/parseMetaCluster';
|
6
|
+
import { isClusterInfoV2 } from '../../../types/api/cluster';
|
6
7
|
import { CLUSTER_DEFAULT_TITLE, DEFAULT_CLUSTER_TAB_KEY } from '../../../utils/constants';
|
7
8
|
import { isQueryErrorResponse } from '../../../utils/query';
|
8
9
|
import { api } from '../api';
|
9
|
-
import { createSelectClusterGroupsQuery, normalizeDomain, parseGroupsStatsQueryResponse, } from './utils';
|
10
|
+
import { createSelectClusterGroupsQuery, getGroupStatsFromClusterInfo, normalizeDomain, parseGroupsStatsQueryResponse, } from './utils';
|
10
11
|
const defaultClusterTabLS = localStorage.getItem(DEFAULT_CLUSTER_TAB_KEY);
|
11
12
|
let defaultClusterTab;
|
12
13
|
if (isClusterTab(defaultClusterTabLS)) {
|
@@ -47,6 +48,14 @@ export const clusterApi = api.injectEndpoints({
|
|
47
48
|
if (!clusterRoot) {
|
48
49
|
return { data: { clusterData } };
|
49
50
|
}
|
51
|
+
if (isClusterInfoV2(clusterData)) {
|
52
|
+
return {
|
53
|
+
data: {
|
54
|
+
clusterData,
|
55
|
+
groupsStats: getGroupStatsFromClusterInfo(clusterData),
|
56
|
+
},
|
57
|
+
};
|
58
|
+
}
|
50
59
|
try {
|
51
60
|
const query = createSelectClusterGroupsQuery(clusterRoot);
|
52
61
|
// Normally query request should be fulfilled within 300-400ms even on very big clusters
|