ydb-embedded-ui 6.28.0 → 6.29.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/components/BasicNodeViewer/BasicNodeViewer.js +2 -2
- package/dist/components/BasicNodeViewer/BasicNodeViewer.js.map +1 -1
- package/dist/components/EntityStatus/EntityStatus.js +1 -1
- package/dist/components/EntityStatus/EntityStatus.js.map +1 -1
- package/dist/components/EntityStatus/EntityStatus.scss +3 -1
- package/dist/components/NodeHostWrapper/NodeHostWrapper.js +2 -2
- package/dist/components/NodeHostWrapper/NodeHostWrapper.js.map +1 -1
- package/dist/containers/Cluster/ClusterDashboard/ClusterDashboard.d.ts +5 -4
- package/dist/containers/Cluster/ClusterDashboard/ClusterDashboard.js +16 -8
- package/dist/containers/Cluster/ClusterDashboard/ClusterDashboard.js.map +1 -1
- package/dist/containers/Cluster/ClusterInfo/utils.js +1 -1
- package/dist/containers/Cluster/ClusterInfo/utils.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantOverview.js +1 -7
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantOverview.js.map +1 -1
- package/dist/containers/Tenant/Schema/SchemaViewer/prepareData.js +4 -4
- package/dist/containers/Tenant/Schema/SchemaViewer/prepareData.js.map +1 -1
- package/dist/types/api/cluster.d.ts +1 -0
- package/dist/types/api/cluster.js.map +1 -1
- package/dist/utils/__test__/prepareBackend.test.js +1 -1
- package/dist/utils/__test__/prepareBackend.test.js.map +1 -1
- package/dist/utils/developerUI/__test__/developerUI.test.js +4 -4
- package/dist/utils/developerUI/__test__/developerUI.test.js.map +1 -1
- package/dist/utils/developerUI/developerUI.js +4 -4
- package/dist/utils/developerUI/developerUI.js.map +1 -1
- package/dist/utils/monaco/yql/constants.js +2 -0
- package/dist/utils/monaco/yql/constants.js.map +1 -1
- package/dist/utils/prepareBackend.js +2 -2
- package/dist/utils/prepareBackend.js.map +1 -1
- package/package.json +1 -1
@@ -11,10 +11,10 @@ const b = cn('basic-node-viewer');
|
|
11
11
|
export const BasicNodeViewer = ({ node, additionalNodesProps, className }) => {
|
12
12
|
let nodeHref;
|
13
13
|
if (additionalNodesProps === null || additionalNodesProps === void 0 ? void 0 : additionalNodesProps.getNodeRef) {
|
14
|
-
nodeHref = additionalNodesProps.getNodeRef(node) + 'internal';
|
14
|
+
nodeHref = additionalNodesProps.getNodeRef(node) + '/internal';
|
15
15
|
}
|
16
16
|
else if (node.NodeId) {
|
17
|
-
nodeHref = createDeveloperUILinkWithNodeId(node.NodeId) + 'internal';
|
17
|
+
nodeHref = createDeveloperUILinkWithNodeId(node.NodeId) + '/internal';
|
18
18
|
}
|
19
19
|
return (_jsx("div", { className: b(null, className), children: node ? (_jsxs(React.Fragment, { children: [_jsx("div", { className: b('title'), children: "Node" }), _jsx(EntityStatus, { status: node.SystemState, name: node.Host }), nodeHref && (_jsx("a", { rel: "noopener noreferrer", className: b('link', { external: true }), href: nodeHref, target: "_blank", children: _jsx(Icon, { data: ArrowUpRightFromSquare }) })), _jsxs("div", { className: b('id'), children: [_jsx("label", { className: b('label'), children: "NodeID" }), _jsx("label", { children: node.NodeId })] }), node.DC && _jsx(Tags, { tags: [node.DC] }), node.Roles && _jsx(Tags, { tags: node.Roles, tagsType: "blue" })] })) : (_jsx("div", { className: "error", children: "no data" })) }));
|
20
20
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"BasicNodeViewer.js","sourceRoot":"","sources":["../../../src/components/BasicNodeViewer/BasicNodeViewer.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,sBAAsB,EAAC,MAAM,mBAAmB,CAAC;AACzD,OAAO,EAAC,IAAI,EAAC,MAAM,mBAAmB,CAAC;AAIvC,OAAO,EAAC,EAAE,EAAC,MAAM,gBAAgB,CAAC;AAClC,OAAO,EAAC,+BAA+B,EAAC,MAAM,qCAAqC,CAAC;AACpF,OAAO,EAAC,YAAY,EAAC,MAAM,8BAA8B,CAAC;AAC1D,OAAO,EAAC,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,MAAM,EAAE,CAAC;QACrB,QAAQ,GAAG,+BAA+B,CAAC,IAAI,CAAC,MAAM,CAAC,GAAG,WAAW,CAAC;IAC1E,CAAC;IAED,OAAO,CACH,cAAK,SAAS,EAAE,CAAC,CAAC,IAAI,EAAE,SAAS,CAAC,YAC7B,IAAI,CAAC,CAAC,CAAC,CACJ,MAAC,KAAK,CAAC,QAAQ,eACX,cAAK,SAAS,EAAE,CAAC,CAAC,OAAO,CAAC,qBAAY,EACtC,KAAC,YAAY,IAAC,MAAM,EAAE,IAAI,CAAC,WAAW,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,GAAI,EAC1D,QAAQ,IAAI,CACT,YACI,GAAG,EAAC,qBAAqB,EACzB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,EAAC,QAAQ,EAAE,IAAI,EAAC,CAAC,EACtC,IAAI,EAAE,QAAQ,EACd,MAAM,EAAC,QAAQ,YAEf,KAAC,IAAI,IAAC,IAAI,EAAE,sBAAsB,GAAI,GACtC,CACP,EAED,eAAK,SAAS,EAAE,CAAC,CAAC,IAAI,CAAC,aACnB,gBAAO,SAAS,EAAE,CAAC,CAAC,OAAO,CAAC,uBAAgB,EAC5C,0BAAQ,IAAI,CAAC,MAAM,GAAS,IAC1B,EAEL,IAAI,CAAC,EAAE,IAAI,KAAC,IAAI,IAAC,IAAI,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC,GAAI,EACpC,IAAI,CAAC,KAAK,IAAI,KAAC,IAAI,IAAC,IAAI,EAAE,IAAI,CAAC,KAAK,EAAE,QAAQ,EAAC,MAAM,GAAG,IAC5C,CACpB,CAAC,CAAC,CAAC,CACA,cAAK,SAAS,EAAC,OAAO,wBAAc,CACvC,GACC,CACT,CAAC;AACN,CAAC,CAAC"}
|
@@ -25,7 +25,7 @@ export function EntityStatus({ status = EFlag.Grey, name = '', label, path, icon
|
|
25
25
|
}
|
26
26
|
return name && _jsx("span", { className: b('name'), children: name });
|
27
27
|
};
|
28
|
-
return (_jsxs("div", { className: b(null, className), title: name, children: [iconPath ? renderStatusLink(iconPath) : renderIcon(), label && (_jsx("span", { title: label, className: b('label', { size, state: status.toLowerCase() }), children: label })), (path || name) && (_jsxs("div", { className: b('wrapper'), children: [_jsx("span", { className: b('link', { 'with-left-trim': withLeftTrim }), children: renderLink() }), hasClipboardButton && (_jsx("div", { className: b('controls-wrapper', {
|
28
|
+
return (_jsxs("div", { className: b(null, className), title: name, children: [iconPath ? renderStatusLink(iconPath) : renderIcon(), label && (_jsx("span", { title: label, className: b('label', { size, state: status.toLowerCase() }), children: label })), (path || name) && (_jsxs("div", { className: b('wrapper', { 'with-button': hasClipboardButton }), children: [_jsx("span", { className: b('link', { 'with-left-trim': withLeftTrim }), children: renderLink() }), hasClipboardButton && (_jsx("div", { className: b('controls-wrapper', {
|
29
29
|
visible: clipboardButtonAlwaysVisible,
|
30
30
|
}), children: _jsx(ClipboardButton, { text: name, size: "xs", view: "normal", className: b('clipboard-button', {
|
31
31
|
visible: clipboardButtonAlwaysVisible,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"EntityStatus.js","sourceRoot":"","sources":["../../../src/components/EntityStatus/EntityStatus.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,eAAe,EAAE,IAAI,IAAI,SAAS,EAAC,MAAM,mBAAmB,CAAC;AAErE,OAAO,EAAC,KAAK,EAAC,MAAM,uBAAuB,CAAC;AAC5C,OAAO,EAAC,EAAE,EAAC,MAAM,gBAAgB,CAAC;AAClC,OAAO,EAAC,YAAY,EAAC,MAAM,8BAA8B,CAAC;AAC1D,OAAO,EAAC,UAAU,EAAC,MAAM,0BAA0B,CAAC;AAGpD,OAAO,qBAAqB,CAAC;AAE7B,MAAM,CAAC,GAAG,EAAE,CAAC,eAAe,CAAC,CAAC;AAsB9B,MAAM,UAAU,YAAY,CAAC,EACzB,MAAM,GAAG,KAAK,CAAC,IAAI,EACnB,IAAI,GAAG,EAAE,EACT,KAAK,EACL,IAAI,EACJ,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aAAa,EAAE,kBAAkB,EAAC,CAAC,aAC7D,eAAM,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,EAAC,gBAAgB,EAAE,YAAY,EAAC,CAAC,YACvD,UAAU,EAAE,GACV,EACN,kBAAkB,IAAI,CACnB,cACI,SAAS,EAAE,CAAC,CAAC,kBAAkB,EAAE;4BAC7B,OAAO,EAAE,4BAA4B;yBACxC,CAAC,YAEF,KAAC,eAAe,IACZ,IAAI,EAAE,IAAI,EACV,IAAI,EAAC,IAAI,EACT,IAAI,EAAC,QAAQ,EACb,SAAS,EAAE,CAAC,CAAC,kBAAkB,EAAE;gCAC7B,OAAO,EAAE,4BAA4B;6BACxC,CAAC,GACJ,GACA,CACT,IACC,CACT,IACC,CACT,CAAC;AACN,CAAC"}
|
@@ -13,10 +13,10 @@ export const NodeHostWrapper = ({ node, getNodeRef, database }) => {
|
|
13
13
|
const isNodeAvailable = !isUnavailableNode(node);
|
14
14
|
let nodeHref;
|
15
15
|
if (getNodeRef) {
|
16
|
-
nodeHref = getNodeRef(node) + 'internal';
|
16
|
+
nodeHref = getNodeRef(node) + '/internal';
|
17
17
|
}
|
18
18
|
else if (node.NodeId) {
|
19
|
-
nodeHref = createDeveloperUILinkWithNodeId(node.NodeId) + 'internal';
|
19
|
+
nodeHref = createDeveloperUILinkWithNodeId(node.NodeId) + '/internal';
|
20
20
|
}
|
21
21
|
const nodePath = isNodeAvailable
|
22
22
|
? getDefaultNodePath(node.NodeId, {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"NodeHostWrapper.js","sourceRoot":"","sources":["../../../src/components/NodeHostWrapper/NodeHostWrapper.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,mBAAmB,CAAC;AAElD,OAAO,EAAC,kBAAkB,EAAC,MAAM,iCAAiC,CAAC;AAGnE,OAAO,EAAC,+BAA+B,EAAC,MAAM,qCAAqC,CAAC;AACpF,OAAO,EAAC,iBAAiB,EAAC,MAAM,m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AAC;IAEjD,IAAI,QAA4B,CAAC;IACjC,IAAI,UAAU,EAAE,CAAC;QACb,QAAQ,GAAG,UAAU,CAAC,IAAI,CAAC,GAAG,WAAW,CAAC;IAC9C,CAAC;SAAM,IAAI,IAAI,CAAC,MAAM,EAAE,CAAC;QACrB,QAAQ,GAAG,+BAA+B,CAAC,IAAI,CAAC,MAAM,CAAC,GAAG,WAAW,CAAC;IAC1E,CAAC;IAED,MAAM,QAAQ,GAAG,eAAe;QAC5B,CAAC,CAAC,kBAAkB,CAAC,IAAI,CAAC,MAAM,EAAE;YAC5B,UAAU,EAAE,QAAQ,aAAR,QAAQ,cAAR,QAAQ,GAAI,IAAI,CAAC,UAAU;SAC1C,CAAC;QACJ,CAAC,CAAC,SAAS,CAAC;IAEhB,OAAO,CACH,KAAC,eAAe,IACZ,QAAQ,EAAE,CAAC,eAAe,EAC1B,OAAO,EAAE,KAAC,2BAA2B,IAAC,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,GAAI,EACxE,SAAS,EAAE,CAAC,KAAK,EAAE,QAAQ,CAAC,EAC5B,QAAQ,EAAE,eAAe,CAAC,SAAS,YAEnC,KAAC,YAAY,IACT,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,MAAM,EAAE,IAAI,CAAC,WAAW,EACxB,IAAI,EAAE,QAAQ,EACd,kBAAkB,SACpB,GACY,CACrB,CAAC;AACN,CAAC,CAAC"}
|
@@ -1,12 +1,13 @@
|
|
1
1
|
import type { ClusterGroupsStats } from '../../../store/reducers/cluster/types';
|
2
|
-
import type { TClusterInfo } from '../../../types/api/cluster';
|
2
|
+
import type { TClusterInfo, TClusterInfoV2 } from '../../../types/api/cluster';
|
3
3
|
import type { IResponseError } from '../../../types/api/error';
|
4
4
|
import './ClusterDashboard.scss';
|
5
|
-
|
6
|
-
|
5
|
+
export declare function isClusterInfoV5(info?: TClusterInfo): info is TClusterInfoV2;
|
6
|
+
interface ClusterDashboardProps<T = TClusterInfo> {
|
7
|
+
cluster: T;
|
7
8
|
groupStats?: ClusterGroupsStats;
|
8
9
|
loading?: boolean;
|
9
10
|
error?: IResponseError | string;
|
10
11
|
}
|
11
|
-
export declare function ClusterDashboard(props: ClusterDashboardProps): import("react/jsx-runtime").JSX.Element;
|
12
|
+
export declare function ClusterDashboard({ cluster, ...props }: ClusterDashboardProps): import("react/jsx-runtime").JSX.Element | null;
|
12
13
|
export {};
|
@@ -2,7 +2,6 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { Flex, Text } from '@gravity-ui/uikit';
|
3
3
|
import { ResponseError } from '../../../components/Errors/ResponseError';
|
4
4
|
import { Tags } from '../../../components/Tags';
|
5
|
-
import { isClusterInfoV2 } from '../../../types/api/cluster';
|
6
5
|
import { valueIsDefined } from '../../../utils';
|
7
6
|
import { formatNumber } from '../../../utils/dataFormatters/dataFormatters';
|
8
7
|
import i18n from '../i18n';
|
@@ -13,28 +12,37 @@ import { ClusterMetricsStorage } from './components/ClusterMetricsStorage';
|
|
13
12
|
import { b } from './shared';
|
14
13
|
import { getDCInfo, getNodesRolesInfo, getStorageGroupStats, getTotalStorageGroupsUsed, } from './utils';
|
15
14
|
import './ClusterDashboard.scss';
|
15
|
+
// fixed CPU calculation
|
16
|
+
export function isClusterInfoV5(info) {
|
17
|
+
return info
|
18
|
+
? 'Version' in info && typeof info.Version === 'number' && info.Version >= 5
|
19
|
+
: false;
|
20
|
+
}
|
16
21
|
function Amount({ value }) {
|
17
22
|
if (!valueIsDefined(value)) {
|
18
23
|
return null;
|
19
24
|
}
|
20
25
|
return (_jsx(Text, { variant: "subheader-3", color: "secondary", children: formatNumber(value) }));
|
21
26
|
}
|
22
|
-
export function ClusterDashboard(props) {
|
27
|
+
export function ClusterDashboard({ cluster, ...props }) {
|
28
|
+
const isSupportedClusterResponse = isClusterInfoV5(cluster);
|
29
|
+
if (!isSupportedClusterResponse) {
|
30
|
+
return null;
|
31
|
+
}
|
23
32
|
if (props.error) {
|
24
33
|
return _jsx(ResponseError, { error: props.error, className: b('error') });
|
25
34
|
}
|
26
|
-
return (_jsx("div", { className: b(), children: _jsxs(Flex, { gap: 4, wrap: true, children: [_jsx(Flex, { gap: 4, wrap: "nowrap", children: _jsx(ClusterDoughnuts, { ...props }) }), _jsx("div", { className: b('cards-container'), children: _jsx(ClusterDashboardCards, { ...props }) })] }) }));
|
35
|
+
return (_jsx("div", { className: b(), children: _jsxs(Flex, { gap: 4, wrap: true, children: [_jsx(Flex, { gap: 4, wrap: "nowrap", children: _jsx(ClusterDoughnuts, { ...props, cluster: cluster }) }), _jsx("div", { className: b('cards-container'), children: _jsx(ClusterDashboardCards, { ...props, cluster: cluster }) })] }) }));
|
27
36
|
}
|
28
37
|
function ClusterDoughnuts({ cluster, loading }) {
|
29
38
|
if (loading) {
|
30
39
|
return _jsx(ClusterDashboardSkeleton, {});
|
31
40
|
}
|
32
41
|
const metricsCards = [];
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
}
|
42
|
+
const { CoresUsed, NumberOfCpus, CoresTotal } = cluster;
|
43
|
+
const total = CoresTotal !== null && CoresTotal !== void 0 ? CoresTotal : NumberOfCpus;
|
44
|
+
if (valueIsDefined(CoresUsed) && valueIsDefined(total)) {
|
45
|
+
metricsCards.push(_jsx(ClusterMetricsCores, { value: CoresUsed, capacity: total }, "cores"));
|
38
46
|
}
|
39
47
|
const { StorageTotal, StorageUsed } = cluster;
|
40
48
|
if (valueIsDefined(StorageTotal) && valueIsDefined(StorageUsed)) {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ClusterDashboard.js","sourceRoot":"","sources":["../../../../src/containers/Cluster/ClusterDashboard/ClusterDashboard.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,IAAI,EAAE,IAAI,EAAC,MAAM,mBAAmB,CAAC;AAE7C,OAAO,EAAC,aAAa,EAAC,MAAM,0CAA0C,CAAC;AACvE,OAAO,EAAC,IAAI,EAAC,MAAM,0B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;IACN,CAAC;IAED,IAAI,OAAO,CAAC,OAAO,EAAE,CAAC;QAClB,KAAK,CAAC,IAAI,CACN,KAAC,kBAAkB,IAAC,IAAI,EAAC,GAAG,EAAe,KAAK,EAAE,IAAI,CAAC,iBAAiB,CAAC,YACrE,KAAC,MAAM,IAAC,KAAK,EAAE,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,OAAO,GAAI,IADN,SAAS,CAErB,CACxB,CAAC;IACN,CAAC;IACD,OAAO,KAAK,CAAC;AACjB,CAAC"}
|
@@ -40,7 +40,7 @@ export const getInfo = (cluster, additionalInfo, links) => {
|
|
40
40
|
// sort stack to achieve order "green, orange, yellow, red, blue, grey"
|
41
41
|
arrayNodesStates.sort((a, b) => COLORS_PRIORITY[b[0]] - COLORS_PRIORITY[a[0]]);
|
42
42
|
const nodesStates = arrayNodesStates.map(([state, count]) => {
|
43
|
-
return (_jsx(NodesState, { state: state, children: count }, state));
|
43
|
+
return (_jsx(NodesState, { state: state, children: formatNumber(count) }, state));
|
44
44
|
});
|
45
45
|
info.push({
|
46
46
|
label: i18n('label_nodes-state'),
|
@@ -1 +1 @@
|
|
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,IAAI,EAAC,MAAM,mBAAmB,CAAC;AAGvC,OAAO,EAAC,YAAY,EAAC,MAAM,+CAA+C,CAAC;AAC3E,OAAO,EAAC,cAAc,EAAC,MAAM,mDAAmD,CAAC;AACjF,OAAO,EAAC,IAAI,EAAC,MAAM,0BAA0B,CAAC;AAE9C,OAAO,EAAC,eAAe,EAAC,MAAM,4BAA4B,CAAC;AAI3D,OAAO,EAAC,KAAK,EAAC,MAAM,2BAA2B,CAAC;AAChD,OAAO,EAAC,YAAY,EAAC,MAAM,8CAA8C,CAAC;AAC1E,OAAO,IAAI,MAAM,SAAS,CAAC;A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,EAAE,CAAC,CACzB,KAAC,YAAY,IAAa,KAAK,EAAE,KAAK,EAAE,GAAG,EAAE,GAAG,IAA7B,KAAK,CAA4B,CACvD,CAAC,GACA,CACT;SACJ,CAAC,CAAC;IACP,CAAC;IAED,OAAO,IAAI,CAAC;AAChB,CAAC,CAAC"}
|
@@ -35,13 +35,7 @@ export function TenantOverview({ tenantName, additionalTenantProps, additionalNo
|
|
35
35
|
pollingInterval: autoRefreshInterval,
|
36
36
|
});
|
37
37
|
const { Tables, Topics } = ((_b = (_a = tenantSchemaData === null || tenantSchemaData === void 0 ? void 0 : tenantSchemaData.PathDescription) === null || _a === void 0 ? void 0 : _a.DomainDescription) === null || _b === void 0 ? void 0 : _b.DiskSpaceUsage) || {};
|
38
|
-
const usedTabletStorage = [
|
39
|
-
Tables === null || Tables === void 0 ? void 0 : Tables.TotalSize,
|
40
|
-
Topics === null || Topics === void 0 ? void 0 : Topics.AccountSize,
|
41
|
-
Topics === null || Topics === void 0 ? void 0 : Topics.DataSize,
|
42
|
-
Topics === null || Topics === void 0 ? void 0 : Topics.ReserveSize,
|
43
|
-
Topics === null || Topics === void 0 ? void 0 : Topics.UsedReserveSize,
|
44
|
-
].reduce((sum, current) => {
|
38
|
+
const usedTabletStorage = [Tables === null || Tables === void 0 ? void 0 : Tables.TotalSize, Topics === null || Topics === void 0 ? void 0 : Topics.DataSize].reduce((sum, current) => {
|
45
39
|
if (current) {
|
46
40
|
return sum + Number(current);
|
47
41
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"TenantOverview.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Diagnostics/TenantOverview/TenantOverview.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,MAAM,EAAC,MAAM,mBAAmB,CAAC;AAEzC,OAAO,EAAC,YAAY,EAAC,MAAM,kDAAkD,CAAC;AAC9E,OAAO,EAAC,gBAAgB,EAAC,MAAM,0DAA0D,CAAC;AAC1F,OAAO,EAAC,WAAW,EAAC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,IAAI,EAAE,IAAI,EAAE,OAAO,EAAC,GAAG,MAAM,IAAI,EAAE,CAAC;IAE3C,MAAM,UAAU,GAAG,uBAAuB,CAAC,IAAI,CAAC,CAAC;IACjD,0DAA0D;IAC1D,MAAM,EAAC,WAAW,EAAE,gBAAgB,EAAC,GAAG,WAAW,CAAC,mBAAmB,CACnE;QACI,IAAI,EAAE,UAAU;QAChB,QAAQ,EAAE,UAAU;KACvB,EACD;QACI,eAAe,EAAE,mBAAmB;KACvC,CACJ,CAAC;IACF,MAAM,EAAC,MAAM,EAAE,MAAM,EAAC,GAClB,CAAA,MAAA,MAAA,gBAAgB,aAAhB,gBAAgB,uBAAhB,gBAAgB,CAAE,eAAe,0CAAE,iBAAiB,0CAAE,cAAc,KAAI,EAAE,CAAC;IAE/E,MAAM,iBAAiB,GAAG
|
1
|
+
{"version":3,"file":"TenantOverview.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Diagnostics/TenantOverview/TenantOverview.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,MAAM,EAAC,MAAM,mBAAmB,CAAC;AAEzC,OAAO,EAAC,YAAY,EAAC,MAAM,kDAAkD,CAAC;AAC9E,OAAO,EAAC,gBAAgB,EAAC,MAAM,0DAA0D,CAAC;AAC1F,OAAO,EAAC,WAAW,EAAC,MAAM,8CAA8C,CAAC;AACzE,OAAO,EAAC,uBAAuB,EAAC,MAAM,6CAA6C,CAAC;AACpF,OAAO,EAAC,SAAS,EAAC,MAAM,0CAA0C,CAAC;AACnE,OAAO,EAAC,sBAAsB,EAAC,MAAM,0CAA0C,CAAC;AAEhF,OAAO,EAAC,oBAAoB,EAAC,MAAM,6BAA6B,CAAC;AACjE,OAAO,EAAC,sBAAsB,EAAE,gBAAgB,EAAC,MAAM,yBAAyB,CAAC;AACjF,OAAO,EAAC,uBAAuB,EAAC,MAAM,oBAAoB,CAAC;AAE3D,OAAO,EAAC,sBAAsB,EAAC,MAAM,iDAAiD,CAAC;AACvF,OAAO,EAA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gBAAgB,IAAC,IAAI,EAAE,cAAc,GAAI,IAC3D,EACN,KAAC,YAAY,IACT,aAAa,EAAE,UAAU,EACzB,WAAW,EAAE,WAAW,EACxB,gBAAgB,EAAE,gBAAgB,EAClC,kBAAkB,EAAE,kBAAkB,EACtC,UAAU,EAAE,UAAU,GACxB,IACA,EACL,gBAAgB,EAAE,IACjB,CACT,CAAC;AACN,CAAC"}
|
@@ -23,11 +23,11 @@ export function prepareFamilies(data) {
|
|
23
23
|
}
|
24
24
|
function prepareRowTableSchema(data = {}) {
|
25
25
|
const families = prepareFamilies(data);
|
26
|
-
const { Columns,
|
26
|
+
const { Columns, KeyColumnNames } = data;
|
27
27
|
const preparedColumns = Columns === null || Columns === void 0 ? void 0 : Columns.map((column) => {
|
28
28
|
var _a, _b, _c;
|
29
29
|
const { Id, Name, NotNull, Type, Family, DefaultFromSequence, DefaultFromLiteral } = column;
|
30
|
-
const keyColumnIndex = (_a =
|
30
|
+
const keyColumnIndex = (_a = KeyColumnNames === null || KeyColumnNames === void 0 ? void 0 : KeyColumnNames.findIndex((keyColumnName) => keyColumnName === Name)) !== null && _a !== void 0 ? _a : -1;
|
31
31
|
const familyName = Family ? families[Family].Name : undefined;
|
32
32
|
const prefferedPoolKind = Family
|
33
33
|
? (_c = (_b = families[Family].StorageConfig) === null || _b === void 0 ? void 0 : _b.Data) === null || _c === void 0 ? void 0 : _c.PreferredPoolKind
|
@@ -65,13 +65,13 @@ function prepareExternalTableSchema(data = {}) {
|
|
65
65
|
}
|
66
66
|
function prepareColumnTableSchema(data = {}) {
|
67
67
|
const { Schema = {}, Sharding = {} } = data;
|
68
|
-
const { Columns,
|
68
|
+
const { Columns, KeyColumnNames } = Schema;
|
69
69
|
const { HashSharding = {} } = Sharding;
|
70
70
|
const { Columns: HashColumns = [] } = HashSharding;
|
71
71
|
const preparedColumns = Columns === null || Columns === void 0 ? void 0 : Columns.map((column) => {
|
72
72
|
var _a;
|
73
73
|
const { Id, Name, Type, NotNull } = column;
|
74
|
-
const keyColumnIndex = (_a =
|
74
|
+
const keyColumnIndex = (_a = KeyColumnNames === null || KeyColumnNames === void 0 ? void 0 : KeyColumnNames.findIndex((keyColumnName) => keyColumnName === Name)) !== null && _a !== void 0 ? _a : -1;
|
75
75
|
const isPartitioningKeyColumn = Boolean(HashColumns === null || HashColumns === void 0 ? void 0 : HashColumns.find((hashColumnName) => hashColumnName === Name));
|
76
76
|
return {
|
77
77
|
id: Id,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"prepareData.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Schema/SchemaViewer/prepareData.ts"],"names":[],"mappings":"AASA,OAAO,EAAC,YAAY,EAAC,MAAM,8BAA8B,CAAC;AAE1D,OAAO,EAAC,kBAAkB,EAAE,mBAAmB,EAAE,cAAc,EAAC,MAAM,oBAAoB,CAAC;AAI3F,SAAS,iBAAiB,CAAC,KAAoB;IAC3C,IAAI,CAAC,KAAK,EAAE,CAAC;QACT,OAAO,SAAS,CAAC;IACrB,CAAC;IACD,IAAI,KAAK,KAAK,YAAY,CAAC,gBAAgB,EAAE,CAAC;QAC1C,OAAO,MAAM,CAAC;IAClB,CAAC;IACD,OAAO,KAAK,CAAC,OAAO,CAAC,aAAa,EAAE,EAAE,CAAC,CAAC,iBAAiB,EAAE,CAAC;AAChE,CAAC;AAED,MAAM,UAAU,eAAe,CAAC,IAAwB;;IACpD,OAAO,CACH,MAAA,MAAA,MAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,eAAe,0CAAE,cAAc,0CAAE,MAAM,CACzC,CAAC,GAAG,EAAE,MAAM,EAAE,EAAE;QACZ,IAAI,MAAM,CAAC,EAAE,EAAE,CAAC;YACZ,OAAO;gBACH,GAAG,GAAG;gBACN,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,MAAM;aACtB,CAAC;QACN,CAAC;QACD,OAAO,GAAG,CAAC;IACf,CAAC,EACD,EAAE,CACL,mCAAI,EAAE,CACV,CAAC;AACN,CAAC;AAED,SAAS,qBAAqB,CAAC,OAA0B,EAAE;IACvD,MAAM,QAAQ,GAAG,eAAe,CAAC,IAAI,CAAC,CAAC;IAEvC,MAAM,EAAC,OAAO,EAAE,
|
1
|
+
{"version":3,"file":"prepareData.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Schema/SchemaViewer/prepareData.ts"],"names":[],"mappings":"AASA,OAAO,EAAC,YAAY,EAAC,MAAM,8BAA8B,CAAC;AAE1D,OAAO,EAAC,kBAAkB,EAAE,mBAAmB,EAAE,cAAc,EAAC,MAAM,oBAAoB,CAAC;AAI3F,SAAS,iBAAiB,CAAC,KAAoB;IAC3C,IAAI,CAAC,KAAK,EAAE,CAAC;QACT,OAAO,SAAS,CAAC;IACrB,CAAC;IACD,IAAI,KAAK,KAAK,YAAY,CAAC,gBAAgB,EAAE,CAAC;QAC1C,OAAO,MAAM,CAAC;IAClB,CAAC;IACD,OAAO,KAAK,CAAC,OAAO,CAAC,aAAa,EAAE,EAAE,CAAC,CAAC,iBAAiB,EAAE,CAAC;AAChE,CAAC;AAED,MAAM,UAAU,eAAe,CAAC,IAAwB;;IACpD,OAAO,CACH,MAAA,MAAA,MAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,eAAe,0CAAE,cAAc,0CAAE,MAAM,CACzC,CAAC,GAAG,EAAE,MAAM,EAAE,EAAE;QACZ,IAAI,MAAM,CAAC,EAAE,EAAE,CAAC;YACZ,OAAO;gBACH,GAAG,GAAG;gBACN,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,MAAM;aACtB,CAAC;QACN,CAAC;QACD,OAAO,GAAG,CAAC;IACf,CAAC,EACD,EAAE,CACL,mCAAI,EAAE,CACV,CAAC;AACN,CAAC;AAED,SAAS,qBAAqB,CAAC,OAA0B,EAAE;IACvD,MAAM,QAAQ,GAAG,eAAe,CAAC,IAAI,CAAC,CAAC;IAEvC,MAAM,EAAC,OAAO,EAAE,cAAc,EAAC,GAAG,IAAI,C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OAAO,qBAAqB,CAAC,KAAK,CAAC,CAAC;IACxC,CAAC;SAAM,IAAI,kBAAkB,CAAC,IAAI,CAAC,EAAE,CAAC;QAClC,OAAO,wBAAwB,CAAC,sBAAsB,CAAC,CAAC;IAC5D,CAAC;SAAM,IAAI,mBAAmB,CAAC,IAAI,CAAC,EAAE,CAAC;QACnC,OAAO,0BAA0B,CAAC,wBAAwB,CAAC,CAAC;IAChE,CAAC;IAED,OAAO,EAAE,CAAC;AACd,CAAC;AAED,MAAM,UAAU,iBAAiB,CAAC,OAAsB;IACpD,MAAM,eAAe,GAAG,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE;;QAC5C,8CAA8C;QAC9C,MAAM,IAAI,GAAG,CAAA,MAAA,MAAM,CAAC,IAAI,0CAAE,QAAQ,CAAC,GAAG,CAAC,EAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC;QAEjF,OAAO;YACH,IAAI;YACJ,IAAI,EAAE,MAAM,CAAC,IAAI;SACpB,CAAC;IACN,CAAC,CAAC,CAAC;IAEH,OAAO,eAAe,IAAI,EAAE,CAAC;AACjC,CAAC"}
|
@@ -71,6 +71,7 @@ export interface TClusterInfoV2 extends TClusterInfoV1 {
|
|
71
71
|
Version?: number;
|
72
72
|
/** value is uint64 */
|
73
73
|
CoresUsed?: string;
|
74
|
+
CoresTotal?: number;
|
74
75
|
}
|
75
76
|
export type TClusterInfo = TClusterInfoV1 | TClusterInfoV2;
|
76
77
|
export declare function isClusterInfoV2(info?: TClusterInfo): info is TClusterInfoV2;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"cluster.js","sourceRoot":"","sources":["../../../src/types/api/cluster.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"cluster.js","sourceRoot":"","sources":["../../../src/types/api/cluster.ts"],"names":[],"mappings":"AAoFA,MAAM,UAAU,eAAe,CAAC,IAAmB;IAC/C,OAAO,IAAI;QACP,CAAC,CAAC,SAAS,IAAI,IAAI,IAAI,OAAO,IAAI,CAAC,OAAO,KAAK,QAAQ,IAAI,IAAI,CAAC,OAAO,IAAI,CAAC;QAC5E,CAAC,CAAC,KAAK,CAAC;AAChB,CAAC"}
|
@@ -36,7 +36,7 @@ describe('getBackendFromRawNodeData', () => {
|
|
36
36
|
},
|
37
37
|
],
|
38
38
|
};
|
39
|
-
const result = 'https://viewer.ydb.ru:443/ydb-dev02-000.search.net:8765
|
39
|
+
const result = 'https://viewer.ydb.ru:443/ydb-dev02-000.search.net:8765';
|
40
40
|
expect(getBackendFromRawNodeData(node, balancer)).toBe(result);
|
41
41
|
});
|
42
42
|
});
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"prepareBackend.test.js","sourceRoot":"","sources":["../../../src/utils/__test__/prepareBackend.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,sBAAsB,EAAE,yBAAyB,EAAE,WAAW,EAAC,MAAM,mBAAmB,CAAC;AAEjG,QAAQ,CAAC,aAAa,EAAE,GAAG,EAAE;IACzB,EAAE,CAAC,yCAAyC,EAAE,GAAG,EAAE;QAC/C,MAAM,uBAAuB,GACzB,gGAAgG,CAAC;QACrG,MAAM,sBAAsB,GACxB,kGAAkG,CAAC;QAEvG,MAAM,cAAc,GAAG,uBAAuB,CAAC;QAE/C,MAAM,CAAC,WAAW,CAAC,uBAAuB,CAAC,CAAC,CAAC,IAAI,CAAC,sBAAsB,CAAC,CAAC;QAC1E,MAAM,CAAC,WAAW,CAAC,cAAc,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;IAC7D,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC;AACH,QAAQ,CAAC,wBAAwB,EAAE,GAAG,EAAE;IACpC,EAAE,CAAC,qDAAqD,EAAE,GAAG,EAAE;QAC3D,MAAM,Q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AC,CAAC;IAC7D,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC;AACH,QAAQ,CAAC,wBAAwB,EAAE,GAAG,EAAE;IACpC,EAAE,CAAC,qDAAqD,EAAE,GAAG,EAAE;QAC3D,MAAM,QAAQ,GAAG,8CAA8C,CAAC;QAChE,MAAM,QAAQ,GAAG,gCAAgC,CAAC;QAClD,MAAM,MAAM,GAAG,0DAA0D,CAAC;QAE1E,MAAM,CAAC,sBAAsB,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IACpE,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC;AACH,QAAQ,CAAC,2BAA2B,EAAE,GAAG,EAAE;IACvC,EAAE,CAAC,yDAAyD,EAAE,GAAG,EAAE;QAC/D,MAAM,QAAQ,GAAG,8CAA8C,CAAC;QAChE,MAAM,IAAI,GAAG;YACT,IAAI,EAAE,0BAA0B;YAChC,SAAS,EAAE;gBACP;oBACI,IAAI,EAAE,UAAU;oBAChB,OAAO,EAAE,OAAO;iBACnB;gBACD;oBACI,IAAI,EAAE,IAAI;oBACV,OAAO,EAAE,QAAQ;iBACpB;gBACD;oBACI,IAAI,EAAE,MAAM;oBACZ,OAAO,EAAE,OAAO;iBACnB;aACJ;SACJ,CAAC;QACF,MAAM,MAAM,GAAG,yDAAyD,CAAC;QAEzE,MAAM,CAAC,yBAAyB,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IACnE,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC"}
|
@@ -2,16 +2,16 @@ import { createDeveloperUILinkWithNodeId, createPDiskDeveloperUILink, createVDis
|
|
2
2
|
describe('Developer UI links generators', () => {
|
3
3
|
describe('createDeveloperUILinkWithNodeId', () => {
|
4
4
|
it('should create relative link with no host', () => {
|
5
|
-
expect(createDeveloperUILinkWithNodeId(1)).toBe('/node/1
|
5
|
+
expect(createDeveloperUILinkWithNodeId(1)).toBe('/node/1');
|
6
6
|
});
|
7
7
|
it('should create relative link with existing relative path with nodeId', () => {
|
8
|
-
expect(createDeveloperUILinkWithNodeId(1, '/node/3/')).toBe('/node/1
|
8
|
+
expect(createDeveloperUILinkWithNodeId(1, '/node/3/')).toBe('/node/1');
|
9
9
|
});
|
10
10
|
it('should create full link with host', () => {
|
11
|
-
expect(createDeveloperUILinkWithNodeId(1, 'http://ydb-vla-dev02-001.search.yandex.net:8765')).toBe('http://ydb-vla-dev02-001.search.yandex.net:8765/node/1
|
11
|
+
expect(createDeveloperUILinkWithNodeId(1, 'http://ydb-vla-dev02-001.search.yandex.net:8765')).toBe('http://ydb-vla-dev02-001.search.yandex.net:8765/node/1');
|
12
12
|
});
|
13
13
|
it('should create full link with host with existing node path with nodeId', () => {
|
14
|
-
expect(createDeveloperUILinkWithNodeId(1, 'http://ydb-vla-dev02-001.search.yandex.net:8765/node/3')).toBe('http://ydb-vla-dev02-001.search.yandex.net:8765/node/1
|
14
|
+
expect(createDeveloperUILinkWithNodeId(1, 'http://ydb-vla-dev02-001.search.yandex.net:8765/node/3')).toBe('http://ydb-vla-dev02-001.search.yandex.net:8765/node/1');
|
15
15
|
});
|
16
16
|
});
|
17
17
|
describe('createPDiskDeveloperUILink', () => {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"developerUI.test.js","sourceRoot":"","sources":["../../../../src/utils/developerUI/__test__/developerUI.test.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,+BAA+B,EAC/B,0BAA0B,EAC1B,0BAA0B,GAC7B,MAAM,gBAAgB,CAAC;AAExB,QAAQ,CAAC,+BAA+B,EAAE,GAAG,EAAE;IAC3C,QAAQ,CAAC,iCAAiC,EAAE,GAAG,EAAE;QAC7C,EAAE,CAAC,0CAA0C,EAAE,GAAG,EAAE;YAChD,MAAM,CAAC,+BAA+B,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,
|
1
|
+
{"version":3,"file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AC,4BAA4B,EAAE,GAAG,EAAE;QACxC,EAAE,CAAC,qDAAqD,EAAE,GAAG,EAAE;YAC3D,MAAM,CACF,0BAA0B,CAAC;gBACvB,MAAM,EAAE,CAAC;gBACT,OAAO,EAAE,CAAC;gBACV,WAAW,EAAE,CAAC;aACjB,CAAC,CACL,CAAC,IAAI,CAAC,gDAAgD,CAAC,CAAC;QAC7D,CAAC,CAAC,CAAC;IACP,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC"}
|
@@ -6,16 +6,16 @@ export const createDeveloperUILinkWithNodeId = (nodeId, host = backend) => {
|
|
6
6
|
// In case current backend is already relative node path ({host}/node/{nodeId})
|
7
7
|
// We replace existing nodeId path with new nodeId path
|
8
8
|
if (nodePathRegexp.test(String(host))) {
|
9
|
-
return String(host).replace(nodePathRegexp, `/node/${nodeId}
|
9
|
+
return String(host).replace(nodePathRegexp, `/node/${nodeId}`);
|
10
10
|
}
|
11
|
-
return `${host !== null && host !== void 0 ? host : ''}/node/${nodeId}
|
11
|
+
return `${host !== null && host !== void 0 ? host : ''}/node/${nodeId}`;
|
12
12
|
};
|
13
13
|
export const createPDiskDeveloperUILink = ({ nodeId, pDiskId, host }) => {
|
14
|
-
const pdiskPath = 'actors/pdisks/pdisk' + pad9(pDiskId);
|
14
|
+
const pdiskPath = '/actors/pdisks/pdisk' + pad9(pDiskId);
|
15
15
|
return createDeveloperUILinkWithNodeId(nodeId, host) + pdiskPath;
|
16
16
|
};
|
17
17
|
export const createVDiskDeveloperUILink = ({ nodeId, pDiskId, vDiskSlotId, host, }) => {
|
18
|
-
const vdiskPath = 'actors/vdisks/vdisk' + pad9(pDiskId) + '_' + pad9(vDiskSlotId);
|
18
|
+
const vdiskPath = '/actors/vdisks/vdisk' + pad9(pDiskId) + '_' + pad9(vDiskSlotId);
|
19
19
|
return createDeveloperUILinkWithNodeId(nodeId, host) + vdiskPath;
|
20
20
|
};
|
21
21
|
export function createTabletDeveloperUIHref(tabletId, tabletPage, searchParam = 'TabletID', host = backend) {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"developerUI.js","sourceRoot":"","sources":["../../../src/utils/developerUI/developerUI.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,EAAC,MAAM,aAAa,CAAC;AACpC,OAAO,EAAC,IAAI,EAAC,MAAM,UAAU,CAAC;AAE9B,gEAAgE;AAChE,MAAM,CAAC,MAAM,+BAA+B,GAAG,CAAC,MAAuB,EAAE,IAAI,GAAG,OAAO,EAAE,EAAE;IACvF,MAAM,cAAc,GAAG,kBAAkB,CAAC;IAE1C,+EAA+E;IAC/E,uDAAuD;IACvD,IAAI,cAAc,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC;QACpC,OAAO,MAAM,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,cAAc,EAAE,SAAS,MAAM,
|
1
|
+
{"version":3,"file":"developerUI.js","sourceRoot":"","sources":["../../../src/utils/developerUI/developerUI.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,EAAC,MAAM,aAAa,CAAC;AACpC,OAAO,EAAC,IAAI,EAAC,MAAM,UAAU,CAAC;AAE9B,gEAAgE;AAChE,MAAM,CAAC,MAAM,+BAA+B,GAAG,CAAC,MAAuB,EAAE,IAAI,GAAG,OAAO,EAAE,EAAE;IACvF,MAAM,cAAc,GAAG,kBAAkB,CAAC;IAE1C,+EAA+E;IAC/E,uDAAuD;IACvD,IAAI,cAAc,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC;QACpC,OAAO,MAAM,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,cAAc,EAAE,SAAS,MAAM,EAAE,CAAC,CAAC;IACnE,CAAC;IAED,OAAO,GAAG,IAAI,aAAJ,IAAI,cAAJ,IAAI,GAAI,EAAE,SAAS,MAAM,EAAE,CAAC;AAC1C,CAAC,CAAC;AAQF,MAAM,CAAC,MAAM,0BAA0B,GAA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AS,CAAC,CAAC;AAEtD,MAAM,CAAC,MAAM,cAAc,GAAgC;IACvD,KAAK,EAAE;QACH,2BAA2B;QAC3B,qCAAqC;QACrC,2BAA2B;QAC3B,wCAAwC;QACxC,wCAAwC;QACxC,oBAAoB;QACpB,wBAAwB;QACxB,KAAK;QACL,kBAAkB;QAClB,OAAO;KACV;IACD,IAAI,EAAE,CAAC,kBAAkB,CAAC;IAC1B,KAAK,EAAE;QACH,uBAAuB;QACvB,uBAAuB;QACvB,kBAAkB;QAClB,sBAAsB;QACtB,wCAAwC;QACxC,6BAA6B;QAC7B,eAAe;KAClB;IACD,MAAM,EAAE,EAAE;IACV,IAAI,EAAE,EAAE;IACR,KAAK,EAAE,EAAE;IACT,kBAAkB,EAAE,EAAE;IACtB,aAAa,EAAE,EAAE;IACjB,UAAU,EAAE,EAAE;IACd,WAAW,EAAE,CAAC,UAAU,EAAE,UAAU,EAAE,MAAM,EAAE,UAAU,CAAC;IACzD,UAAU,EAAE,EAAE;IACd,aAAa,EAAE,CAAC,WAAW,EAAE,WAAW,CAAC;CAC5C,CAAC"}
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../src/utils/monaco/yql/constants.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,WAAW,GAAG;IACvB,MAAM;IACN,OAAO;IACP,QAAQ;IACR,MAAM;IACN,OAAO;IACP,QAAQ;IACR,OAAO;IACP,QAAQ;IACR,OAAO;IACP,QAAQ;IACR,MAAM;IACN,MAAM;IACN,MAAM;IACN,MAAM;IACN,MAAM;IACN,MAAM;IACN,UAAU;IACV,WAAW;IACX,UAAU;IACV,MAAM;IACN,MAAM;IACN,OAAO;IACP,OAAO;IACP,QAAQ;IACR,QAAQ;IACR,YAAY;IACZ,aAAa;IACb,MAAM;IACN,WAAW;IACX,WAAW;IACX,cAAc;IACd,UAAU;CACb,CAAC;AAEF,MAAM,CAAC,MAAM,eAAe,GAAG;IAC3B,MAAM;IACN,UAAU;IACV,QA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xC,wCAAwC;QACxC,oBAAoB;QACpB,wBAAwB;QACxB,KAAK;QACL,kBAAkB;QAClB,OAAO;KACV;IACD,IAAI,EAAE,CAAC,kBAAkB,CAAC;IAC1B,KAAK,EAAE;QACH,uBAAuB;QACvB,uBAAuB;QACvB,kBAAkB;QAClB,sBAAsB;QACtB,wCAAwC;QACxC,6BAA6B;QAC7B,eAAe;KAClB;IACD,MAAM,EAAE,EAAE;IACV,IAAI,EAAE,EAAE;IACR,KAAK,EAAE,EAAE;IACT,kBAAkB,EAAE,EAAE;IACtB,aAAa,EAAE,EAAE;IACjB,UAAU,EAAE,EAAE;IACd,WAAW,EAAE,CAAC,UAAU,EAAE,UAAU,EAAE,MAAM,EAAE,UAAU,CAAC;IACzD,UAAU,EAAE,EAAE;IACd,aAAa,EAAE,CAAC,WAAW,EAAE,WAAW,CAAC;CAC5C,CAAC"}
|
@@ -17,7 +17,7 @@ export const getBackendFromRawNodeData = (node, balancer, useBalancerAsBackend)
|
|
17
17
|
const { Host, Endpoints, NodeId } = node;
|
18
18
|
if (useBalancerAsBackend && NodeId) {
|
19
19
|
const preparedBalancer = removeViewerPathname(balancer);
|
20
|
-
return `${preparedBalancer}/node/${NodeId}
|
20
|
+
return `${preparedBalancer}/node/${NodeId}`;
|
21
21
|
}
|
22
22
|
if (Host && Endpoints) {
|
23
23
|
const nodePort = (_a = Endpoints.find((endpoint) => endpoint.Name === 'http-mon')) === null || _a === void 0 ? void 0 : _a.Address;
|
@@ -27,7 +27,7 @@ export const getBackendFromRawNodeData = (node, balancer, useBalancerAsBackend)
|
|
27
27
|
const hostWithPort = Host + nodePort;
|
28
28
|
// Currently this func is used to get link to developerUI for specific node
|
29
29
|
// It's expected with / at the end (code in embedded version)
|
30
|
-
return getBackendFromNodeHost(hostWithPort, balancer)
|
30
|
+
return getBackendFromNodeHost(hostWithPort, balancer);
|
31
31
|
}
|
32
32
|
return null;
|
33
33
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"prepareBackend.js","sourceRoot":"","sources":["../../src/utils/prepareBackend.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,aAAa,EAAE,oBAAoB,EAAC,MAAM,iBAAiB,CAAC;AAEpE,MAAM,KAAK,GAAG,UAAU,CAAC;AAEzB,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,IAAa,EAAE,EAAE;IACzC,qCAAqC;IACrC,OAAO,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,UAAU,CAAC,KAAK,CAAC,EAAC,CAAC,CAAC,KAAK,IAAI,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC;AACxD,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,QAAgB,EAAE,QAAgB,EAAE,EAAE;IACzE,MAAM,YAAY,GAAG,WAAW,CAAC,QAAQ,CAAC,CAAC;IAC3C,MAAM,KAAK,GAAG,aAAa,CAAC,QAAQ,CAAC,CAAC,KAAK,CAAC;IAE5C,IAAI,KAAK,EAAE,CAAC;QACR,OAAO,KAAK,GAAG,KAAK,GAAG,GAAG,GAAG,YAAY,CAAC;IAC9C,CAAC;IAED,OAAO,KAAK,GAAG,YAAY,CAAC;AAChC,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,yBAAyB,GAAG,CACrC,IAAiB,EACjB,QAAgB,EAChB,oBAA8B,EAChC,EAAE;;IACA,MAAM,EAAC,IAAI,EAAE,SAAS,EAAE,MAAM,EAAC,GAAG,IAAI,CAAC;IAEvC,IAAI,oBAAoB,IAAI,MAAM,EAAE,CAAC;QACjC,MAAM,gBAAgB,GAAG,oBAAoB,CAAC,QAAQ,CAAC,CAAC;QACxD,OAAO,GAAG,gBAAgB,SAAS,MAAM,
|
1
|
+
{"version":3,"file":"prepareBackend.js","sourceRoot":"","sources":["../../src/utils/prepareBackend.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,aAAa,EAAE,oBAAoB,EAAC,MAAM,iBAAiB,CAAC;AAEpE,MAAM,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