ydb-embedded-ui 6.37.1 → 7.0.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/components/BasicNodeViewer/BasicNodeViewer.scss +2 -2
- package/dist/components/DeveloperUILinkButton/DeveloperUILinkButton.scss +2 -2
- package/dist/components/DiskStateProgressBar/DiskStateProgressBar.scss +2 -2
- package/dist/components/EmptyState/EmptyState.scss +4 -4
- package/dist/components/EntityPageTitle/EntityPageTitle.scss +2 -2
- package/dist/components/EntityStatus/EntityStatus.scss +4 -4
- package/dist/components/ErrorBoundary/ErrorBoundary.scss +3 -3
- package/dist/components/FullNodeViewer/FullNodeViewer.scss +2 -2
- package/dist/components/Fullscreen/Fullscreen.js +1 -1
- package/dist/components/Fullscreen/Fullscreen.js.map +1 -1
- package/dist/components/Fullscreen/Fullscreen.scss +8 -1
- package/dist/components/MemoryViewer/MemoryViewer.js +8 -7
- package/dist/components/MemoryViewer/MemoryViewer.js.map +1 -1
- package/dist/components/MemoryViewer/MemoryViewer.scss +0 -2
- package/dist/components/MemoryViewer/utils.d.ts +3 -1
- package/dist/components/MemoryViewer/utils.js +15 -13
- package/dist/components/MemoryViewer/utils.js.map +1 -1
- package/dist/components/MetricChart/getChartData.js +1 -1
- package/dist/components/MetricChart/getChartData.js.map +1 -1
- package/dist/components/PageMeta/PageMeta.scss +2 -2
- package/dist/components/PaginatedTable/PaginatedTable.scss +4 -4
- package/dist/components/PoolUsage/PoolUsage.scss +2 -2
- package/dist/components/ProgressViewer/ProgressViewer.scss +2 -2
- package/dist/components/QueryResultTable/QueryResultTable.js +4 -3
- package/dist/components/QueryResultTable/QueryResultTable.js.map +1 -1
- package/dist/components/QueryResultTable/QueryResultTable.scss +2 -2
- package/dist/components/TableWithControlsLayout/TableWithControlsLayout.scss +4 -4
- package/dist/components/User/User.scss +2 -2
- package/dist/components/YDBDefinitionList/YDBDefinitionList.scss +3 -3
- package/dist/components/nodesColumns/columns.js +1 -0
- package/dist/components/nodesColumns/columns.js.map +1 -1
- package/dist/components/nodesColumns/i18n/index.d.ts +1 -1
- package/dist/containers/App/App.scss +7 -6
- package/dist/containers/AsideNavigation/AsideNavigation.js +11 -2
- package/dist/containers/AsideNavigation/AsideNavigation.js.map +1 -1
- package/dist/containers/Authentication/Authentication.scss +2 -2
- package/dist/containers/Cluster/Cluster.scss +4 -4
- package/dist/containers/Cluster/ClusterDashboard/ClusterDashboard.scss +2 -2
- package/dist/containers/Cluster/ClusterInfo/ClusterInfo.scss +2 -2
- package/dist/containers/Cluster/ClusterInfo/components/NodesState/NodesState.scss +2 -2
- package/dist/containers/Clusters/constants.d.ts +1 -1
- package/dist/containers/Header/Header.scss +0 -2
- package/dist/containers/Heatmap/Heatmap.scss +3 -3
- package/dist/containers/Node/Node.scss +4 -4
- package/dist/containers/Node/NodeStructure/NodeStructure.scss +3 -3
- package/dist/containers/Nodes/Nodes.d.ts +2 -1
- package/dist/containers/Nodes/Nodes.js +12 -11
- package/dist/containers/Nodes/Nodes.js.map +1 -1
- package/dist/containers/Nodes/Nodes.scss +2 -2
- package/dist/containers/Nodes/NodesControls/NodesControls.d.ts +2 -1
- package/dist/containers/Nodes/NodesControls/NodesControls.js +7 -4
- package/dist/containers/Nodes/NodesControls/NodesControls.js.map +1 -1
- package/dist/containers/Nodes/NodesTable.d.ts +3 -2
- package/dist/containers/Nodes/NodesTable.js +12 -2
- package/dist/containers/Nodes/NodesTable.js.map +1 -1
- package/dist/containers/Nodes/PeerRoleFilter/PeerRoleFilter.d.ts +7 -0
- package/dist/containers/Nodes/PeerRoleFilter/PeerRoleFilter.js +9 -0
- package/dist/containers/Nodes/PeerRoleFilter/PeerRoleFilter.js.map +1 -0
- package/dist/containers/Nodes/PeerRoleFilter/utils.d.ts +4 -0
- package/dist/containers/Nodes/PeerRoleFilter/utils.js +20 -0
- package/dist/containers/Nodes/PeerRoleFilter/utils.js.map +1 -0
- package/dist/containers/Nodes/columns/columns.js +4 -4
- package/dist/containers/Nodes/columns/columns.js.map +1 -1
- package/dist/containers/Nodes/columns/constants.js +3 -6
- package/dist/containers/Nodes/columns/constants.js.map +1 -1
- package/dist/containers/Nodes/getNodes.js +3 -2
- package/dist/containers/Nodes/getNodes.js.map +1 -1
- package/dist/containers/Nodes/i18n/en.json +6 -1
- package/dist/containers/Nodes/i18n/index.d.ts +1 -1
- package/dist/containers/Nodes/useNodesPageQueryParams.d.ts +3 -1
- package/dist/containers/Nodes/useNodesPageQueryParams.js +8 -0
- package/dist/containers/Nodes/useNodesPageQueryParams.js.map +1 -1
- package/dist/containers/PDiskPage/PDiskPage.js +2 -2
- package/dist/containers/PDiskPage/PDiskPage.js.map +1 -1
- package/dist/containers/PDiskPage/PDiskPage.scss +2 -2
- package/dist/containers/ReduxTooltip/ReduxTooltip.scss +2 -2
- package/dist/containers/Storage/Storage.scss +2 -2
- package/dist/containers/Storage/StorageGroups/columns/constants.js +0 -5
- package/dist/containers/Storage/StorageGroups/columns/constants.js.map +1 -1
- package/dist/containers/Storage/StorageNodes/columns/columns.js +6 -6
- package/dist/containers/Storage/StorageNodes/columns/columns.js.map +1 -1
- package/dist/containers/Storage/StorageNodes/columns/constants.js +2 -3
- package/dist/containers/Storage/StorageNodes/columns/constants.js.map +1 -1
- package/dist/containers/Storage/StorageNodes/getNodes.js +1 -1
- package/dist/containers/Storage/StorageNodes/getNodes.js.map +1 -1
- package/dist/containers/StorageGroupPage/StorageGroupPage.scss +2 -2
- package/dist/containers/Tablet/Tablet.scss +2 -2
- package/dist/containers/Tablet/components/TabletInfo/TabletInfo.scss +2 -2
- package/dist/containers/Tablet/components/TabletStorageInfo/TabletStorageInfo.scss +4 -4
- package/dist/containers/Tablets/i18n/index.d.ts +1 -1
- package/dist/containers/Tenant/Acl/Acl.scss +3 -3
- package/dist/containers/Tenant/Diagnostics/Consumers/Consumers.scss +6 -6
- package/dist/containers/Tenant/Diagnostics/Consumers/TopicStats/ConsumersTopicStats.scss +2 -2
- package/dist/containers/Tenant/Diagnostics/Describe/Describe.scss +2 -2
- package/dist/containers/Tenant/Diagnostics/Diagnostics.scss +2 -2
- package/dist/containers/Tenant/Diagnostics/HotKeys/HotKeys.scss +0 -2
- package/dist/containers/Tenant/Diagnostics/Network/Network.scss +6 -6
- package/dist/containers/Tenant/Diagnostics/Network/NetworkWrapper.js +1 -1
- package/dist/containers/Tenant/Diagnostics/Network/NetworkWrapper.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/Overview/AsyncReplicationPaths/AsyncReplicationPaths.scss +2 -2
- package/dist/containers/Tenant/Diagnostics/Overview/TableInfo/TableInfo.scss +2 -2
- package/dist/containers/Tenant/Diagnostics/Overview/TopicStats/TopicStats.scss +2 -2
- package/dist/containers/Tenant/Diagnostics/Partitions/Partitions.scss +6 -6
- package/dist/containers/Tenant/Diagnostics/TenantOverview/Healthcheck/Healthcheck.scss +2 -2
- package/dist/containers/Tenant/Diagnostics/TenantOverview/Healthcheck/IssuesViewer/IssueTree.scss +2 -2
- package/dist/containers/Tenant/Diagnostics/TenantOverview/MetricsCards/MetricCard/MetricCard.scss +2 -2
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantOverview.scss +2 -2
- package/dist/containers/Tenant/Diagnostics/TenantOverview/i18n/index.d.ts +1 -1
- package/dist/containers/Tenant/Diagnostics/TopQueries/TopQueries.scss +3 -3
- package/dist/containers/Tenant/Diagnostics/TopQueries/getTopQueriesColumns.js +1 -0
- package/dist/containers/Tenant/Diagnostics/TopQueries/getTopQueriesColumns.js.map +1 -1
- package/dist/containers/Tenant/ObjectGeneral/ObjectGeneral.scss +0 -2
- package/dist/containers/Tenant/ObjectSummary/ObjectSummary.scss +3 -3
- package/dist/containers/Tenant/Query/CancelQueryButton/CancelQueryButton.scss +2 -2
- package/dist/containers/Tenant/Query/Preview/Preview.js +11 -5
- package/dist/containers/Tenant/Query/Preview/Preview.js.map +1 -1
- package/dist/containers/Tenant/Query/Preview/Preview.scss +4 -3
- package/dist/containers/Tenant/Query/QueriesHistory/QueriesHistory.scss +3 -3
- package/dist/containers/Tenant/Query/Query.scss +2 -2
- package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.scss +2 -2
- package/dist/containers/Tenant/Query/QueryResult/components/QueryJSONViewer/QueryJSONViewer.scss +2 -2
- package/dist/containers/Tenant/Query/QueryResult/components/ResultSetsViewer/ResultSetsViewer.scss +2 -2
- package/dist/containers/Tenant/Query/QueryResult/components/SimplifiedPlan/SimplifiedPlan.scss +4 -4
- package/dist/containers/Tenant/Query/SavedQueries/SavedQueries.scss +3 -3
- package/dist/containers/Tenant/Query/i18n/en.json +1 -0
- package/dist/containers/Tenant/Query/i18n/index.d.ts +1 -1
- package/dist/containers/Tenant/Schema/SchemaViewer/SchemaViewer.scss +3 -3
- package/dist/containers/Tenant/Tenant.scss +3 -3
- package/dist/containers/Tenants/Tenants.scss +2 -2
- package/dist/containers/VDiskPage/VDiskPage.js +1 -1
- package/dist/containers/VDiskPage/VDiskPage.js.map +1 -1
- package/dist/containers/VDiskPage/VDiskPage.scss +2 -2
- package/dist/containers/Versions/GroupedNodesTree/GroupedNodesTree.d.ts +2 -2
- package/dist/containers/Versions/GroupedNodesTree/GroupedNodesTree.js.map +1 -1
- package/dist/containers/Versions/GroupedNodesTree/GroupedNodesTree.scss +2 -5
- package/dist/containers/Versions/NodesTable/NodesTable.d.ts +2 -2
- package/dist/containers/Versions/NodesTable/NodesTable.js +16 -85
- package/dist/containers/Versions/NodesTable/NodesTable.js.map +1 -1
- package/dist/containers/Versions/Versions.scss +0 -2
- package/dist/containers/Versions/groupNodes.d.ts +4 -4
- package/dist/containers/Versions/groupNodes.js.map +1 -1
- package/dist/containers/Versions/types.d.ts +2 -2
- package/dist/lib.d.ts +1 -1
- package/dist/lib.js +1 -1
- package/dist/lib.js.map +1 -1
- package/dist/services/api/auth.d.ts +8 -0
- package/dist/services/api/auth.js +10 -0
- package/dist/services/api/auth.js.map +1 -0
- package/dist/services/api/base.d.ts +13 -0
- package/dist/services/api/base.js +57 -0
- package/dist/services/api/base.js.map +1 -0
- package/dist/services/api/index.d.ts +31 -0
- package/dist/services/api/index.js +32 -0
- package/dist/services/api/index.js.map +1 -0
- package/dist/services/api/meta.d.ts +12 -0
- package/dist/services/api/meta.js +30 -0
- package/dist/services/api/meta.js.map +1 -0
- package/dist/services/api/operation.d.ts +8 -0
- package/dist/services/api/operation.js +22 -0
- package/dist/services/api/operation.js.map +1 -0
- package/dist/services/api/pdisk.d.ts +25 -0
- package/dist/services/api/pdisk.js +43 -0
- package/dist/services/api/pdisk.js.map +1 -0
- package/dist/services/api/scheme.d.ts +11 -0
- package/dist/services/api/scheme.js +12 -0
- package/dist/services/api/scheme.js.map +1 -0
- package/dist/services/api/storage.d.ts +6 -0
- package/dist/services/api/storage.js +28 -0
- package/dist/services/api/storage.js.map +1 -0
- package/dist/services/api/tablets.d.ts +21 -0
- package/dist/services/api/tablets.js +44 -0
- package/dist/services/api/tablets.js.map +1 -0
- package/dist/services/api/trace.d.ts +7 -0
- package/dist/services/api/trace.js +33 -0
- package/dist/services/api/trace.js.map +1 -0
- package/dist/services/api/vdisk.d.ts +12 -0
- package/dist/services/api/vdisk.js +16 -0
- package/dist/services/api/vdisk.js.map +1 -0
- package/dist/services/api/viewer.d.ts +129 -0
- package/dist/services/api/viewer.js +251 -0
- package/dist/services/api/viewer.js.map +1 -0
- package/dist/store/reducers/authentication/authentication.js +3 -3
- package/dist/store/reducers/authentication/authentication.js.map +1 -1
- package/dist/store/reducers/cancelQuery.js +1 -1
- package/dist/store/reducers/cancelQuery.js.map +1 -1
- package/dist/store/reducers/capabilities/capabilities.js +1 -1
- package/dist/store/reducers/capabilities/capabilities.js.map +1 -1
- package/dist/store/reducers/capabilities/hooks.js +1 -1
- package/dist/store/reducers/cluster/cluster.js +8 -3
- package/dist/store/reducers/cluster/cluster.js.map +1 -1
- package/dist/store/reducers/clusters/clusters.js +7 -2
- package/dist/store/reducers/clusters/clusters.js.map +1 -1
- package/dist/store/reducers/executeTopQueries/executeTopQueries.js +2 -2
- package/dist/store/reducers/executeTopQueries/executeTopQueries.js.map +1 -1
- package/dist/store/reducers/healthcheckInfo/healthcheckInfo.js +1 -1
- package/dist/store/reducers/healthcheckInfo/healthcheckInfo.js.map +1 -1
- package/dist/store/reducers/heatmap.js +2 -2
- package/dist/store/reducers/heatmap.js.map +1 -1
- package/dist/store/reducers/hotKeys/hotKeys.js +2 -2
- package/dist/store/reducers/hotKeys/hotKeys.js.map +1 -1
- package/dist/store/reducers/network/network.js +1 -1
- package/dist/store/reducers/network/network.js.map +1 -1
- package/dist/store/reducers/node/node.js +2 -2
- package/dist/store/reducers/node/node.js.map +1 -1
- package/dist/store/reducers/nodes/nodes.js +1 -1
- package/dist/store/reducers/nodes/nodes.js.map +1 -1
- package/dist/store/reducers/nodes/types.d.ts +2 -1
- package/dist/store/reducers/nodesList.js +1 -1
- package/dist/store/reducers/nodesList.js.map +1 -1
- package/dist/store/reducers/operations.js +3 -3
- package/dist/store/reducers/operations.js.map +1 -1
- package/dist/store/reducers/overview/overview.js +2 -2
- package/dist/store/reducers/overview/overview.js.map +1 -1
- package/dist/store/reducers/partitions/partitions.js +2 -2
- package/dist/store/reducers/partitions/partitions.js.map +1 -1
- package/dist/store/reducers/pdisk/pdisk.js +3 -3
- package/dist/store/reducers/pdisk/pdisk.js.map +1 -1
- package/dist/store/reducers/planToSvg.js +1 -1
- package/dist/store/reducers/planToSvg.js.map +1 -1
- package/dist/store/reducers/preview.d.ts +1 -0
- package/dist/store/reducers/preview.js +2 -2
- package/dist/store/reducers/preview.js.map +1 -1
- package/dist/store/reducers/query/query.js +1 -1
- package/dist/store/reducers/query/query.js.map +1 -1
- package/dist/store/reducers/schema/schema.js +2 -2
- package/dist/store/reducers/schema/schema.js.map +1 -1
- package/dist/store/reducers/schemaAcl/schemaAcl.js +1 -1
- package/dist/store/reducers/schemaAcl/schemaAcl.js.map +1 -1
- package/dist/store/reducers/shardsWorkload/shardsWorkload.js +1 -1
- package/dist/store/reducers/shardsWorkload/shardsWorkload.js.map +1 -1
- package/dist/store/reducers/storage/requestStorageData.d.ts +1 -1
- package/dist/store/reducers/storage/requestStorageData.js +2 -2
- package/dist/store/reducers/storage/requestStorageData.js.map +1 -1
- package/dist/store/reducers/storage/storage.js +1 -1
- package/dist/store/reducers/storage/storage.js.map +1 -1
- package/dist/store/reducers/tablet.js +10 -8
- package/dist/store/reducers/tablet.js.map +1 -1
- package/dist/store/reducers/tablets.js +1 -1
- package/dist/store/reducers/tablets.js.map +1 -1
- package/dist/store/reducers/tenant/tenant.js +2 -2
- package/dist/store/reducers/tenant/tenant.js.map +1 -1
- package/dist/store/reducers/tenantOverview/executeTopTables/executeTopTables.js +1 -1
- package/dist/store/reducers/tenantOverview/executeTopTables/executeTopTables.js.map +1 -1
- package/dist/store/reducers/tenantOverview/topShards/tenantOverviewTopShards.js +1 -1
- package/dist/store/reducers/tenantOverview/topShards/tenantOverviewTopShards.js.map +1 -1
- package/dist/store/reducers/tenants/tenants.js +3 -1
- package/dist/store/reducers/tenants/tenants.js.map +1 -1
- package/dist/store/reducers/tooltip.d.ts +1 -1
- package/dist/store/reducers/topic.js +1 -1
- package/dist/store/reducers/topic.js.map +1 -1
- package/dist/store/reducers/trace.js +1 -1
- package/dist/store/reducers/trace.js.map +1 -1
- package/dist/store/reducers/vdisk/vdisk.js +3 -3
- package/dist/store/reducers/vdisk/vdisk.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 +2 -1
- package/dist/styles/themes.scss +8 -8
- package/dist/types/api/nodes.d.ts +4 -1
- package/dist/types/api/nodes.js.map +1 -1
- package/dist/utils/hooks/useLastQueryExecutionSettings.d.ts +2 -2
- package/dist/utils/hooks/useQueryExecutionSettings.d.ts +1 -1
- package/dist/utils/monaco/yql/generateSuggestions.js +6 -2
- package/dist/utils/monaco/yql/generateSuggestions.js.map +1 -1
- package/dist/utils/query.d.ts +3 -3
- package/dist/utils/query.js +2 -2
- package/dist/utils/query.js.map +1 -1
- package/dist/utils/versions/getVersionsColors.d.ts +1 -1
- package/dist/utils/versions/getVersionsColors.js +3 -2
- package/dist/utils/versions/getVersionsColors.js.map +1 -1
- package/package.json +2 -2
- package/dist/services/api.d.ts +0 -219
- package/dist/services/api.js +0 -522
- package/dist/services/api.js.map +0 -1
@@ -3,13 +3,10 @@ export const NODES_TABLE_SELECTED_COLUMNS_LS_KEY = 'nodesTableSelectedColumns';
|
|
3
3
|
export const DEFAULT_NODES_COLUMNS = [
|
4
4
|
'NodeId',
|
5
5
|
'Host',
|
6
|
-
'DC',
|
7
|
-
'Rack',
|
8
|
-
'Version',
|
9
6
|
'Uptime',
|
10
|
-
'
|
11
|
-
'
|
12
|
-
'
|
7
|
+
'CPU',
|
8
|
+
'RAM',
|
9
|
+
'Version',
|
13
10
|
'Tablets',
|
14
11
|
];
|
15
12
|
export const REQUIRED_NODES_COLUMNS = ['NodeId'];
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../src/containers/Nodes/columns/constants.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,yBAAyB,EAAC,MAAM,4CAA4C,CAAC;AAIrF,MAAM,CAAC,MAAM,mCAAmC,GAAG,2BAA2B,CAAC;AAE/E,MAAM,CAAC,MAAM,qBAAqB,GAAoB;IAClD,QAAQ;IACR,MAAM;IACN,
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../src/containers/Nodes/columns/constants.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,yBAAyB,EAAC,MAAM,4CAA4C,CAAC;AAIrF,MAAM,CAAC,MAAM,mCAAmC,GAAG,2BAA2B,CAAC;AAE/E,MAAM,CAAC,MAAM,qBAAqB,GAAoB;IAClD,QAAQ;IACR,MAAM;IACN,QAAQ;IACR,KAAK;IACL,KAAK;IACL,SAAS;IACT,SAAS;CACZ,CAAC;AAEF,MAAM,CAAC,MAAM,sBAAsB,GAAoB,CAAC,QAAQ,CAAC,CAAC;AAElE,MAAM,CAAC,MAAM,yBAAyB,GAAG;IACrC,aAAa;IACb,MAAM;IACN,IAAI;IACJ,MAAM;IACN,UAAU;IACV,SAAS;IACT,QAAQ;CAC4B,CAAC;AAEzC,SAAS,oBAAoB,CACzB,aAAkC,EAClC,sBAAgC;IAEhC,IAAI,CAAC,sBAAsB,EAAE,CAAC;QAC1B,OAAO,aAAa,CAAC,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,KAAK,aAAa,CAAC,CAAC;IACpE,CAAC;IAED,OAAO,aAAa,CAAC;AACzB,CAAC;AAED,MAAM,UAAU,sBAAsB,CAClC,aAAkC,EAClC,sBAAgC;IAEhC,OAAO,oBAAoB,CAAC,aAAa,EAAE,sBAAsB,CAAC,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE;QAC7E,OAAO;YACH,KAAK,EAAE,KAAK;YACZ,OAAO,EAAE,yBAAyB,CAAC,KAAK,CAAC;SAC5C,CAAC;IACN,CAAC,CAAC,CAAC;AACP,CAAC;AAED,MAAM,UAAU,sBAAsB,CAClC,YAAqB,EACrB,aAAkC,EAClC,sBAAgC;IAEhC,MAAM,eAAe,GAAG,oBAAoB,CAAC,aAAa,EAAE,sBAAsB,CAAC,CAAC;IAEpF,OAAO,eAAe,CAAC,IAAI,CAAC,CAAC,YAAY,EAAE,EAAE,CAAC,YAAY,KAAK,YAAY,CAAC,CAAC;AACjF,CAAC"}
|
@@ -6,11 +6,11 @@ import { getRequiredDataFields } from '../../utils/tableUtils/getRequiredDataFie
|
|
6
6
|
export const getNodes = async (params) => {
|
7
7
|
const { type = 'any', storage = false, tablets = true, limit, offset, sortParams, filters, columnsIds, } = params;
|
8
8
|
const { sortOrder, columnId } = sortParams !== null && sortParams !== void 0 ? sortParams : {};
|
9
|
-
const { path, database, searchValue, problemFilter, uptimeFilter, filterGroup, filterGroupBy } = filters !== null && filters !== void 0 ? filters : {};
|
9
|
+
const { path, database, searchValue, problemFilter, uptimeFilter, peerRoleFilter, filterGroup, filterGroupBy, } = filters !== null && filters !== void 0 ? filters : {};
|
10
10
|
const sortField = getNodesColumnSortField(columnId);
|
11
11
|
const sort = sortField ? prepareSortValue(sortField, sortOrder) : undefined;
|
12
12
|
const dataFieldsRequired = getRequiredDataFields(columnsIds, NODES_COLUMNS_TO_DATA_FIELDS);
|
13
|
-
const response = await window.api.getNodes({
|
13
|
+
const response = await window.api.viewer.getNodes({
|
14
14
|
type,
|
15
15
|
storage,
|
16
16
|
tablets,
|
@@ -22,6 +22,7 @@ export const getNodes = async (params) => {
|
|
22
22
|
filter: searchValue,
|
23
23
|
problems_only: getProblemParamValue(problemFilter),
|
24
24
|
uptime: getUptimeParamValue(uptimeFilter),
|
25
|
+
filter_peer_role: peerRoleFilter,
|
25
26
|
filter_group: filterGroup,
|
26
27
|
filter_group_by: filterGroupBy,
|
27
28
|
fieldsRequired: dataFieldsRequired,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"getNodes.js","sourceRoot":"","sources":["../../../src/containers/Nodes/getNodes.ts"],"names":[],"mappings":"AACA,OAAO,EACH,4BAA4B,EAC5B,uBAAuB,GAC1B,MAAM,yCAAyC,CAAC;AAEjD,OAAO,EAAC,gBAAgB,EAAC,MAAM,kCAAkC,CAAC;AAElE,OAAO,EAAC,gBAAgB,EAAC,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAC,oBAAoB,EAAE,mBAAmB,EAAC,MAAM,mBAAmB,CAAC;AAC5E,OAAO,EAAC,qBAAqB,EAAC,MAAM,8CAA8C,CAAC;AAEnF,MAAM,CAAC,MAAM,QAAQ,GAIjB,KAAK,EAAE,MAAM,EAAE,EAAE;IACjB,MAAM,EACF,IAAI,GAAG,KAAK,EACZ,OAAO,GAAG,KAAK,EACf,OAAO,GAAG,IAAI,EACd,KAAK,EACL,MAAM,EACN,UAAU,EACV,OAAO,EACP,UAAU,GACb,GAAG,MAAM,CAAC;IAEX,MAAM,EAAC,SAAS,EAAE,Q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,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,QAAQ,CAAC;QAC9C,IAAI;QACJ,OAAO;QACP,OAAO;QACP,KAAK;QACL,MAAM;QACN,IAAI;QACJ,IAAI;QACJ,QAAQ;QACR,MAAM,EAAE,WAAW;QACnB,aAAa,EAAE,oBAAoB,CAAC,aAAa,CAAC;QAClD,MAAM,EAAE,mBAAmB,CAAC,YAAY,CAAC;QACzC,gBAAgB,EAAE,cAAc;QAChC,YAAY,EAAE,WAAW;QACzB,eAAe,EAAE,aAAa;QAC9B,cAAc,EAAE,kBAAkB;KACrC,CAAC,CAAC;IACH,MAAM,gBAAgB,GAAG,gBAAgB,CAAC,QAAQ,CAAC,CAAC;IAEpD,OAAO;QACH,IAAI,EAAE,gBAAgB,CAAC,KAAK,IAAI,EAAE;QAClC,KAAK,EAAE,gBAAgB,CAAC,UAAU,IAAI,CAAC;QACvC,KAAK,EAAE,gBAAgB,CAAC,UAAU,IAAI,CAAC;KAC1C,CAAC;AACN,CAAC,CAAC"}
|
@@ -3,5 +3,10 @@
|
|
3
3
|
"empty.default": "No such nodes",
|
4
4
|
"no-nodes-groups": "No nodes groups",
|
5
5
|
"controls_search-placeholder": "Host name",
|
6
|
-
"controls_group-by-placeholder": "Group by:"
|
6
|
+
"controls_group-by-placeholder": "Group by:",
|
7
|
+
"controls_peer-role-label": "Peer role:",
|
8
|
+
"database": "database",
|
9
|
+
"static": "static",
|
10
|
+
"other": "other",
|
11
|
+
"any": "any"
|
7
12
|
}
|
@@ -1,2 +1,2 @@
|
|
1
|
-
declare const _default: (key: "nodes" | "empty.default" | "no-nodes-groups" | "controls_search-placeholder" | "controls_group-by-placeholder", params?: import("@gravity-ui/i18n").Params) => string;
|
1
|
+
declare const _default: (key: "nodes" | "static" | "any" | "database" | "other" | "empty.default" | "no-nodes-groups" | "controls_search-placeholder" | "controls_group-by-placeholder" | "controls_peer-role-label", params?: import("@gravity-ui/i18n").Params) => string;
|
2
2
|
export default _default;
|
@@ -1,10 +1,12 @@
|
|
1
|
-
import type { NodesGroupByField } from '../../types/api/nodes';
|
1
|
+
import type { NodesGroupByField, NodesPeerRole } from '../../types/api/nodes';
|
2
2
|
import type { NodesUptimeFilterValues } from '../../utils/nodes';
|
3
3
|
export declare function useNodesPageQueryParams(groupByParams: NodesGroupByField[] | undefined): {
|
4
4
|
uptimeFilter: NodesUptimeFilterValues;
|
5
5
|
searchValue: string;
|
6
|
+
peerRoleFilter: NodesPeerRole | undefined;
|
6
7
|
groupByParam: NodesGroupByField | undefined;
|
7
8
|
handleSearchQueryChange: (value: string) => void;
|
8
9
|
handleUptimeFilterChange: (value: NodesUptimeFilterValues) => void;
|
10
|
+
handlePeerRoleFilterChange: (value: NodesPeerRole) => void;
|
9
11
|
handleGroupByParamChange: (value: string) => void;
|
10
12
|
};
|
@@ -1,16 +1,19 @@
|
|
1
1
|
import { StringParam, useQueryParams } from 'use-query-params';
|
2
2
|
import { useViewerNodesHandlerHasGroupingBySystemState } from '../../store/reducers/capabilities/hooks';
|
3
3
|
import { nodesUptimeFilterValuesSchema } from '../../utils/nodes';
|
4
|
+
import { parseNodesPeerRoleFilter } from './PeerRoleFilter/utils';
|
4
5
|
import { parseNodesGroupByParam } from './columns/constants';
|
5
6
|
export function useNodesPageQueryParams(groupByParams) {
|
6
7
|
var _a;
|
7
8
|
const [queryParams, setQueryParams] = useQueryParams({
|
8
9
|
uptimeFilter: StringParam,
|
10
|
+
peerRole: StringParam,
|
9
11
|
search: StringParam,
|
10
12
|
nodesGroupBy: StringParam,
|
11
13
|
});
|
12
14
|
const uptimeFilter = nodesUptimeFilterValuesSchema.parse(queryParams.uptimeFilter);
|
13
15
|
const searchValue = (_a = queryParams.search) !== null && _a !== void 0 ? _a : '';
|
16
|
+
const peerRoleFilter = parseNodesPeerRoleFilter(queryParams.peerRole);
|
14
17
|
const systemStateGroupingAvailable = useViewerNodesHandlerHasGroupingBySystemState();
|
15
18
|
const groupByParam = parseNodesGroupByParam(queryParams.nodesGroupBy, groupByParams !== null && groupByParams !== void 0 ? groupByParams : [], systemStateGroupingAvailable);
|
16
19
|
const handleSearchQueryChange = (value) => {
|
@@ -19,15 +22,20 @@ export function useNodesPageQueryParams(groupByParams) {
|
|
19
22
|
const handleUptimeFilterChange = (value) => {
|
20
23
|
setQueryParams({ uptimeFilter: value }, 'replaceIn');
|
21
24
|
};
|
25
|
+
const handlePeerRoleFilterChange = (value) => {
|
26
|
+
setQueryParams({ peerRole: value }, 'replaceIn');
|
27
|
+
};
|
22
28
|
const handleGroupByParamChange = (value) => {
|
23
29
|
setQueryParams({ nodesGroupBy: value }, 'replaceIn');
|
24
30
|
};
|
25
31
|
return {
|
26
32
|
uptimeFilter,
|
27
33
|
searchValue,
|
34
|
+
peerRoleFilter,
|
28
35
|
groupByParam,
|
29
36
|
handleSearchQueryChange,
|
30
37
|
handleUptimeFilterChange,
|
38
|
+
handlePeerRoleFilterChange,
|
31
39
|
handleGroupByParamChange,
|
32
40
|
};
|
33
41
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"useNodesPageQueryParams.js","sourceRoot":"","sources":["../../../src/containers/Nodes/useNodesPageQueryParams.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,WAAW,EAAE,cAAc,EAAC,MAAM,kBAAkB,CAAC;AAE7D,OAAO,EAAC,6CAA6C,EAAC,MAAM,yCAAyC,CAAC;AAGtG,OAAO,EAAC,6BAA6B,EAAC,MAAM,mBAAmB,CAAC;AAEhE,OAAO,EAAC,sBAAsB,EAAC,MAAM,qBAAqB,CAAC;AAE3D,MAAM,UAAU,uBAAuB,CAAC,aAA8C;;IAClF,MAAM,CAAC,WAAW,EAAE,cAAc,CAAC,GAAG,cAAc,CAAC;QACjD,YAAY,EAAE,WAAW;QACzB,MAAM,EAAE,WAAW;QACnB,YAAY,EAAE,WAAW;KAC5B,CAAC,CAAC;IAEH,MAAM,YAAY,GAAG,6BAA6B,CAAC,KAAK,CAAC,WAAW,CAAC,YAAY,CAAC,CAAC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M,wBAAwB,GAAG,CAAC,KAA8B,EAAE,EAAE;QAChE,cAAc,CAAC,EAAC,YAAY,EAAE,KAAK,EAAC,EAAE,WAAW,CAAC,CAAC;IACvD,CAAC,CAAC;IACF,MAAM,0BAA0B,GAAG,CAAC,KAAoB,EAAE,EAAE;QACxD,cAAc,CAAC,EAAC,QAAQ,EAAE,KAAK,EAAC,EAAE,WAAW,CAAC,CAAC;IACnD,CAAC,CAAC;IACF,MAAM,wBAAwB,GAAG,CAAC,KAAa,EAAE,EAAE;QAC/C,cAAc,CAAC,EAAC,YAAY,EAAE,KAAK,EAAC,EAAE,WAAW,CAAC,CAAC;IACvD,CAAC,CAAC;IAEF,OAAO;QACH,YAAY;QACZ,WAAW;QACX,cAAc;QACd,YAAY;QAEZ,uBAAuB;QACvB,wBAAwB;QACxB,0BAA0B;QAC1B,wBAAwB;KAC3B,CAAC;AACN,CAAC"}
|
@@ -74,7 +74,7 @@ export function PDiskPage() {
|
|
74
74
|
const { NodeHost, NodeId, NodeType, NodeDC, Severity, DecommitStatus } = pDiskData || {};
|
75
75
|
const handleRestart = async (isRetry) => {
|
76
76
|
if (pDiskParamsDefined) {
|
77
|
-
const response = await window.api[newDiskApiAvailable ? 'restartPDisk' : 'restartPDiskOld']({ nodeId, pDiskId, force: isRetry });
|
77
|
+
const response = await window.api.pdisk[newDiskApiAvailable ? 'restartPDisk' : 'restartPDiskOld']({ nodeId, pDiskId, force: isRetry });
|
78
78
|
if ((response === null || response === void 0 ? void 0 : response.result) === false) {
|
79
79
|
const err = {
|
80
80
|
statusText: response.error,
|
@@ -86,7 +86,7 @@ export function PDiskPage() {
|
|
86
86
|
};
|
87
87
|
const handleDecommissionChange = async (newDecommissionStatus, isRetry) => {
|
88
88
|
if (pDiskParamsDefined) {
|
89
|
-
const response = await window.api.changePDiskStatus({
|
89
|
+
const response = await window.api.pdisk.changePDiskStatus({
|
90
90
|
nodeId,
|
91
91
|
pDiskId,
|
92
92
|
force: isRetry,
|
@@ -1 +1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IAAI,CAAC;QAChB,CAAC;QACD,OAAO,KAAC,aAAa,IAAC,KAAK,EAAE,cAAc,CAAC,KAAK,GAAI,CAAC;IAC1D,CAAC,CAAC;IAEF,OAAO,CACH,eAAK,SAAS,EAAE,WAAW,CAAC,IAAI,CAAC,EAAE,GAAG,EAAE,YAAY,aAC/C,YAAY,EAAE,EACd,cAAc,EAAE,EAChB,eAAe,EAAE,EACjB,cAAc,EAAE,EAChB,WAAW,EAAE,EACb,UAAU,EAAE,EACZ,UAAU,EAAE,EACZ,iBAAiB,EAAE,IAClB,CACT,CAAC;AACN,CAAC"}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
@
|
1
|
+
@use '../../styles/mixins.scss';
|
2
2
|
|
3
3
|
.popup2 {
|
4
4
|
max-width: 300px;
|
@@ -22,7 +22,7 @@
|
|
22
22
|
padding: 20px 20px 20px 0;
|
23
23
|
|
24
24
|
&__inspector {
|
25
|
-
@include json-tree-styles();
|
25
|
+
@include mixins.json-tree-styles();
|
26
26
|
|
27
27
|
:not(.json-inspector__leaf_expanded).json-inspector__leaf_composite:before {
|
28
28
|
content: '';
|
@@ -23,13 +23,8 @@ export const STORAGE_GROUPS_COLUMNS_IDS = {
|
|
23
23
|
export const DEFAULT_STORAGE_GROUPS_COLUMNS = [
|
24
24
|
'GroupId',
|
25
25
|
'PoolName',
|
26
|
-
'MediaType',
|
27
26
|
'Erasure',
|
28
27
|
'Used',
|
29
|
-
'Limit',
|
30
|
-
'Usage',
|
31
|
-
'Read',
|
32
|
-
'Write',
|
33
28
|
'VDisks',
|
34
29
|
];
|
35
30
|
export const REQUIRED_STORAGE_GROUPS_COLUMNS = ['GroupId'];
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../src/containers/Storage/StorageGroups/columns/constants.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AAStB,OAAO,IAAI,MAAM,QAAQ,CAAC;AAE1B,MAAM,CAAC,MAAM,mCAAmC,GAAG,2BAA2B,CAAC;AAC/E,MAAM,CAAC,MAAM,sCAAsC,GAAG,8BAA8B,CAAC;AAErF,MAAM,CAAC,MAAM,0BAA0B,GAAG;IACtC,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,UAAU;IACpB,SAAS,EAAE,WAAW;IACtB,OAAO,EAAE,SAAS;IAClB,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,OAAO;IACd,KAAK,EAAE,OAAO;IACd,cAAc,EAAE,gBAAgB;IAChC,SAAS,EAAE,WAAW;IACtB,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,OAAO;IACd,OAAO,EAAE,SAAS;IAClB,eAAe,EAAE,iBAAiB;IAClC,MAAM,EAAE,QAAQ;IAChB,YAAY,EAAE,cAAc;IAC5B,QAAQ,EAAE,UAAU;CACd,CAAC;AAIX,MAAM,CAAC,MAAM,8BAA8B,GAA4B;IACnE,SAAS;IACT,UAAU;IACV,
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../src/containers/Storage/StorageGroups/columns/constants.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AAStB,OAAO,IAAI,MAAM,QAAQ,CAAC;AAE1B,MAAM,CAAC,MAAM,mCAAmC,GAAG,2BAA2B,CAAC;AAC/E,MAAM,CAAC,MAAM,sCAAsC,GAAG,8BAA8B,CAAC;AAErF,MAAM,CAAC,MAAM,0BAA0B,GAAG;IACtC,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,UAAU;IACpB,SAAS,EAAE,WAAW;IACtB,OAAO,EAAE,SAAS;IAClB,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,OAAO;IACd,KAAK,EAAE,OAAO;IACd,cAAc,EAAE,gBAAgB;IAChC,SAAS,EAAE,WAAW;IACtB,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,OAAO;IACd,OAAO,EAAE,SAAS;IACl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AAU;IACpB,SAAS,EAAE,WAAW;IACtB,OAAO,EAAE,SAAS;IAClB,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,OAAO;IACd,KAAK,EAAE,OAAO;IACd,cAAc,EAAE,gBAAgB;IAChC,SAAS,EAAE,SAAS;IACpB,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,OAAO;IACd,OAAO,EAAE,SAAS;IAClB,eAAe,EAAE,iBAAiB;IAClC,MAAM,EAAE,SAAS;IACjB,YAAY,EAAE,SAAS;IACvB,QAAQ,EAAE,UAAU;CACvB,CAAC;AAEF,MAAM,UAAU,+BAA+B,CAAC,QAAiB;IAC7D,OAAO,qCAAqC,CAAC,QAAiC,CAAC,CAAC;AACpF,CAAC;AAED,MAAM,UAAU,6BAA6B,CAAC,QAAgB;IAC1D,OAAO,OAAO,CAAC,+BAA+B,CAAC,QAAQ,CAAC,CAAC,CAAC;AAC9D,CAAC"}
|
@@ -29,17 +29,17 @@ export const getStorageNodesColumns = ({ database, additionalNodesProps, viewCon
|
|
29
29
|
const getNodeRef = additionalNodesProps === null || additionalNodesProps === void 0 ? void 0 : additionalNodesProps.getNodeRef;
|
30
30
|
const columns = [
|
31
31
|
getNodeIdColumn(),
|
32
|
-
getNodeNameColumn(),
|
33
32
|
getHostColumn({ getNodeRef, database }),
|
33
|
+
getNodeNameColumn(),
|
34
34
|
getDataCenterColumn(),
|
35
35
|
getRackColumn(),
|
36
|
-
|
37
|
-
getMemoryColumn(),
|
38
|
-
getRAMColumn(),
|
39
|
-
getPoolsColumn(),
|
36
|
+
getUptimeColumn(),
|
40
37
|
getCpuColumn(),
|
38
|
+
getPoolsColumn(),
|
39
|
+
getRAMColumn(),
|
40
|
+
getMemoryColumn(),
|
41
41
|
getDiskSpaceUsageColumn(),
|
42
|
-
|
42
|
+
getVersionColumn(),
|
43
43
|
getMissingDisksColumn(),
|
44
44
|
getPDisksColumn({ viewContext }),
|
45
45
|
];
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"columns.js","sourceRoot":"","sources":["../../../../../src/containers/Storage/StorageNodes/columns/columns.tsx"],"names":[],"mappings":";AAAA,OAAO,SAAS,MAAM,8BAA8B,CAAC;AAErD,OAAO,EACH,YAAY,EACZ,mBAAmB,EACnB,uBAAuB,EACvB,aAAa,EACb,eAAe,EACf,qBAAqB,EACrB,eAAe,EACf,iBAAiB,EACjB,cAAc,EACd,YAAY,EACZ,aAAa,EACb,eAAe,EACf,gBAAgB,GACnB,MAAM,6CAA6C,CAAC;AACrD,OAAO,EACH,iBAAiB,EACjB,oBAAoB,EACpB,qBAAqB,GACxB,MAAM,+CAA+C,CAAC;AAEvD,OAAO,EAAC,EAAE,EAAC,MAAM,sBAAsB,CAAC;AACxC,OAAO,EAAC,KAAK,EAAC,MAAM,mBAAmB,CAAC;AAIxC,OAAO,4BAA4B,CAAC;AAEpC,MAAM,CAAC,GAAG,EAAE,CAAC,2BAA2B,CAAC,CAAC;AAE1C,MAAM,eAAe,GAAG,CAAC,EAAC,WAAW,EAA+B,EAAsB,EAAE;IACxF,OAAO;QACH,IAAI,EAAE,iBAAiB,CAAC,MAAM;QAC9B,MAAM,EAAE,oBAAoB,CAAC,MAAM;QACnC,SAAS,EAAE,CAAC,CAAC,eAAe,CAAC;QAC7B,MAAM,EAAE,CAAC,EAAC,GAAG,EAAC,EAAE,EAAE;;YACd,OAAO,CACH,cAAK,SAAS,EAAE,CAAC,CAAC,gBAAgB,CAAC,YAC9B,MAAA,GAAG,CAAC,MAAM,0CAAE,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE;;oBACvB,MAAM,MAAM,GAAG,MAAA,GAAG,CAAC,MAAM,0CAAE,MAAM,CAC7B,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,OAAO,KAAK,KAAK,CAAC,OAAO,CAC7C,CAAC;oBAEF,OAAO,CACH,cAAK,SAAS,EAAE,CAAC,CAAC,aAAa,CAAC,YAC5B,KAAC,KAAK,IAAC,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,WAAW,EAAE,WAAW,GAAI,IAD7B,KAAK,CAAC,OAAO,CAE9C,CACT,CAAC;gBACN,CAAC,CAAC,GACA,CACT,CAAC;QACN,CAAC;QACD,KAAK,EAAE,SAAS,CAAC,MAAM;QACvB,QAAQ,EAAE,KAAK;QACf,KAAK,EAAE,GAAG;QACV,UAAU,EAAE,KAAK;KACpB,CAAC;AACN,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,EACnC,QAAQ,EACR,oBAAoB,EACpB,WAAW,GACgB,EAAwB,EAAE;IACrD,MAAM,UAAU,GAAG,oBAAoB,aAApB,oBAAoB,uBAApB,oBAAoB,CAAE,UAAU,CAAC;IAEpD,MAAM,OAAO,GAAG;QACZ,eAAe,EAAuB;QACtC,
|
1
|
+
{"version":3,"file":"columns.js","sourceRoot":"","sources":["../../../../../src/containers/Storage/StorageNodes/columns/columns.tsx"],"names":[],"mappings":";AAAA,OAAO,SAAS,MAAM,8BAA8B,CAAC;AAErD,OAAO,EACH,YAAY,EACZ,mBAAmB,EACnB,uBAAuB,EACvB,aAAa,EACb,eAAe,EACf,qBAAqB,EACrB,eAAe,EACf,iBAAiB,EACjB,cAAc,EACd,YAAY,EACZ,aAAa,EACb,eAAe,EACf,gBAAgB,GACnB,MAAM,6CAA6C,CAAC;AACrD,OAAO,EACH,iBAAiB,EACjB,oBAAoB,EACpB,qBAAqB,GACxB,MAAM,+CAA+C,CAAC;AAEvD,OAAO,EAAC,EAAE,EAAC,MAAM,sBAAsB,CAAC;AACxC,OAAO,EAAC,KAAK,EAAC,MAAM,mBAAmB,CAAC;AAIxC,OAAO,4BAA4B,CAAC;AAEpC,MAAM,CAAC,GAAG,EAAE,CAAC,2BAA2B,CAAC,CAAC;AAE1C,MAAM,eAAe,GAAG,CAAC,EAAC,WAAW,EAA+B,EAAsB,EAAE;IACxF,OAAO;QACH,IAAI,EAAE,iBAAiB,CAAC,MAAM;QAC9B,M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,eAAe,EAAuB;QACtC,uBAAuB,EAAuB;QAC9C,gBAAgB,EAAuB;QACvC,qBAAqB,EAAuB;QAC5C,eAAe,CAAC,EAAC,WAAW,EAAC,CAAC;KACjC,CAAC;IAEF,MAAM,eAAe,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;QAC7C,GAAG,MAAM;QACT,QAAQ,EAAE,qBAAqB,CAAC,MAAM,CAAC,IAAI,CAAC;KAC/C,CAAC,CAAC,CAAC;IAEJ,OAAO,eAAe,CAAC;AAC3B,CAAC,CAAC"}
|
@@ -5,10 +5,9 @@ export const STORAGE_NODES_SELECTED_COLUMNS_LS_KEY = 'storageNodesSelectedColumn
|
|
5
5
|
export const DEFAULT_STORAGE_NODES_COLUMNS = [
|
6
6
|
'NodeId',
|
7
7
|
'Host',
|
8
|
-
'DC',
|
9
|
-
'Rack',
|
10
|
-
'Pools',
|
11
8
|
'Uptime',
|
9
|
+
'CPU',
|
10
|
+
'RAM',
|
12
11
|
'PDisks',
|
13
12
|
];
|
14
13
|
export const REQUIRED_STORAGE_NODES_COLUMNS = ['NodeId'];
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../src/containers/Storage/StorageNodes/columns/constants.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AAGtB,OAAO,EAAC,yBAAyB,EAAC,MAAM,+CAA+C,CAAC;AAGxF,MAAM,CAAC,MAAM,kCAAkC,GAAG,0BAA0B,CAAC;AAC7E,MAAM,CAAC,MAAM,qCAAqC,GAAG,6BAA6B,CAAC;AAEnF,MAAM,CAAC,MAAM,6BAA6B,GAAoB;IAC1D,QAAQ;IACR,MAAM;IACN,
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../src/containers/Storage/StorageNodes/columns/constants.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AAGtB,OAAO,EAAC,yBAAyB,EAAC,MAAM,+CAA+C,CAAC;AAGxF,MAAM,CAAC,MAAM,kCAAkC,GAAG,0BAA0B,CAAC;AAC7E,MAAM,CAAC,MAAM,qCAAqC,GAAG,6BAA6B,CAAC;AAEnF,MAAM,CAAC,MAAM,6BAA6B,GAAoB;IAC1D,QAAQ;IACR,MAAM;IACN,QAAQ;IACR,KAAK;IACL,KAAK;IACL,QAAQ;CACX,CAAC;AACF,MAAM,CAAC,MAAM,8BAA8B,GAAoB,CAAC,QAAQ,CAAC,CAAC;AAE1E,MAAM,6BAA6B,GAAG;IAClC,MAAM;IACN,IAAI;IACJ,MAAM;IACN,SAAS;IACT,QAAQ;IACR,SAAS;IACT,gBAAgB;CACoB,CAAC;AAEzC,MAAM,CAAC,MAAM,8BAA8B,GAAmB,6BAA6B,CAAC,GAAG,CAC3F,CAAC,KAAK,EAAE,EAAE;IACN,OAAO;QACH,KAAK,EAAE,KAAK;QACZ,OAAO,EAAE,yBAAyB,CAAC,KAAK,CAAC;KAC5C,CAAC;AACN,CAAC,CACJ,CAAC;AAEF,MAAM,CAAC,MAAM,8BAA8B,GAAG,CAAC;KAC1C,MAAM,CAAgC,CAAC,KAAK,EAAE,EAAE,CAAC,6BAA6B,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;KAC/F,KAAK,CAAC,SAAS,CAAC,CAAC"}
|
@@ -10,7 +10,7 @@ export const getStorageNodes = async (params) => {
|
|
10
10
|
const sortField = getNodesColumnSortField(columnId);
|
11
11
|
const sort = sortField ? prepareSortValue(sortField, sortOrder) : undefined;
|
12
12
|
const dataFieldsRequired = getRequiredDataFields(columnsIds, NODES_COLUMNS_TO_DATA_FIELDS);
|
13
|
-
const response = await window.api.getNodes({
|
13
|
+
const response = await window.api.viewer.getNodes({
|
14
14
|
type,
|
15
15
|
storage,
|
16
16
|
limit,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"getNodes.js","sourceRoot":"","sources":["../../../../src/containers/Storage/StorageNodes/getNodes.ts"],"names":[],"mappings":"AACA,OAAO,EACH,4BAA4B,EAC5B,uBAAuB,GAC1B,MAAM,4CAA4C,CAAC;AAKpD,OAAO,EAAC,2BAA2B,EAAC,MAAM,uCAAuC,CAAC;AAElF,OAAO,EAAC,gBAAgB,EAAC,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAC,mBAAmB,EAAC,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAC,qBAAqB,EAAC,MAAM,iDAAiD,CAAC;AAEtF,MAAM,CAAC,MAAM,eAAe,GAIxB,KAAK,EAAE,MAAM,EAAE,EAAE;IACjB,MAAM,EACF,IAAI,GAAG,QAAQ,EACf,OAAO,GAAG,IAAI,EACd,KAAK,EACL,MAAM,EACN,UAAU,EACV,OAAO,EACP,UAAU,GACb,GAAG,MAAM,CAAC;IACX,MAAM,EACF,WAAW,EACX,iBAAiB,EACjB,eAAe,EACf,QAAQ,EACR,MAAM,EACN,OAAO,EACP,WAAW,EACX,aAAa,GAChB,GAAG,OAAO,aAAP,OAAO,cAAP,OAAO,GAAI,EAAE,CAAC;IAClB,MAAM,EAAC,SAAS,EAAE,QAAQ,EAAC,GAAG,UAAU,aAAV,UAAU,cAAV,UAAU,GAAI,EAAE,CAAC;IAE/C,MAAM,SAAS,GAAG,uBAAuB,CAAC,QAAQ,CAAC,CAAC;IACpD,MAAM,IAAI,GAAG,SAAS,CAAC,CAAC,CAAC,gBAAgB,CAAC,SAAS,EAAE,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;IAE5E,MAAM,kBAAkB,GAAG,qBAAqB,CAAC,UAAU,EAAE,4BAA4B,CAAC,CAAC;IAE3F,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,GAAG,CAAC,QAAQ,CAAC;
|
1
|
+
{"version":3,"file":"getNodes.js","sourceRoot":"","sources":["../../../../src/containers/Storage/StorageNodes/getNodes.ts"],"names":[],"mappings":"AACA,OAAO,EACH,4BAA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O,EAAE,MAAM;QACf,QAAQ,EAAE,OAAO;QACjB,YAAY,EAAE,WAAW;QACzB,eAAe,EAAE,aAAa;QAC9B,cAAc,EAAE,kBAAkB;KACrC,CAAC,CAAC;IACH,MAAM,gBAAgB,GAAG,2BAA2B,CAAC,QAAQ,CAAC,CAAC;IAC/D,OAAO;QACH,IAAI,EAAE,gBAAgB,CAAC,KAAK,IAAI,EAAE;QAClC,KAAK,EAAE,gBAAgB,CAAC,KAAK,IAAI,CAAC;QAClC,KAAK,EAAE,gBAAgB,CAAC,KAAK,IAAI,CAAC;KACrC,CAAC;AACN,CAAC,CAAC"}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
@
|
1
|
+
@use '../../styles/mixins.scss';
|
2
2
|
|
3
3
|
.ydb-storage-group-page {
|
4
4
|
position: relative;
|
@@ -28,7 +28,7 @@
|
|
28
28
|
|
29
29
|
&__storage-title {
|
30
30
|
margin-bottom: 0;
|
31
|
-
@include header-1-typography();
|
31
|
+
@include mixins.header-1-typography();
|
32
32
|
}
|
33
33
|
|
34
34
|
&__info {
|
@@ -1,4 +1,4 @@
|
|
1
|
-
@
|
1
|
+
@use '../../../../styles/mixins.scss';
|
2
2
|
|
3
3
|
.ydb-tablet-info {
|
4
4
|
&__link {
|
@@ -7,6 +7,6 @@
|
|
7
7
|
|
8
8
|
&__section-title {
|
9
9
|
margin: var(--g-spacing-1) 0 var(--g-spacing-3);
|
10
|
-
@include text-subheader-2();
|
10
|
+
@include mixins.text-subheader-2();
|
11
11
|
}
|
12
12
|
}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
@
|
1
|
+
@use '../../../../styles/mixins.scss';
|
2
2
|
|
3
3
|
.ydb-tablet-storage-info {
|
4
4
|
$block: &;
|
@@ -8,7 +8,7 @@
|
|
8
8
|
border-collapse: collapse;
|
9
9
|
tr {
|
10
10
|
&:hover {
|
11
|
-
background-color: var(--g-color-base-
|
11
|
+
background-color: var(--g-color-base-simple-hover-solid) !important;
|
12
12
|
}
|
13
13
|
}
|
14
14
|
tr:nth-of-type(2n + 1) {
|
@@ -21,12 +21,12 @@
|
|
21
21
|
text-align: left;
|
22
22
|
|
23
23
|
background-color: var(--g-color-base-background);
|
24
|
-
@include text-subheader-2();
|
24
|
+
@include mixins.text-subheader-2();
|
25
25
|
}
|
26
26
|
:is(#{$block}__table-cell) {
|
27
27
|
height: 40px;
|
28
28
|
padding: 0;
|
29
|
-
@include text-body-2();
|
29
|
+
@include mixins.text-body-2();
|
30
30
|
}
|
31
31
|
}
|
32
32
|
|
@@ -1,2 +1,2 @@
|
|
1
|
-
declare const _default: (key: "
|
1
|
+
declare const _default: (key: "Uptime" | "State" | "Tablet" | "Type" | "Generation" | "Node ID" | "Node FQDN" | "noTabletsData" | "dialog.kill-header" | "dialog.kill-text" | "controls.kill-not-allowed", params?: import("@gravity-ui/i18n").Params) => string;
|
2
2
|
export default _default;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
@
|
1
|
+
@use '../../../styles/mixins.scss';
|
2
2
|
|
3
3
|
.ydb-acl {
|
4
4
|
width: 100%;
|
@@ -19,9 +19,9 @@
|
|
19
19
|
margin: var(--g-spacing-3) 0 var(--g-spacing-5);
|
20
20
|
|
21
21
|
font-weight: 600;
|
22
|
-
@include text-subheader-2();
|
22
|
+
@include mixins.text-subheader-2();
|
23
23
|
}
|
24
24
|
&__group-label {
|
25
|
-
@include text-subheader-2();
|
25
|
+
@include mixins.text-subheader-2();
|
26
26
|
}
|
27
27
|
}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
@
|
1
|
+
@use '../../../../styles/mixins.scss';
|
2
2
|
|
3
3
|
.ydb-diagnostics-consumers {
|
4
4
|
overflow: auto;
|
@@ -6,19 +6,19 @@
|
|
6
6
|
|
7
7
|
height: 100%;
|
8
8
|
|
9
|
-
@include flex-container();
|
9
|
+
@include mixins.flex-container();
|
10
10
|
|
11
11
|
&__controls {
|
12
|
-
@include controls();
|
12
|
+
@include mixins.controls();
|
13
13
|
}
|
14
14
|
|
15
15
|
&__search {
|
16
|
-
@include search();
|
16
|
+
@include mixins.search();
|
17
17
|
}
|
18
18
|
|
19
19
|
&__table-wrapper {
|
20
20
|
overflow: auto;
|
21
|
-
@include flex-container();
|
21
|
+
@include mixins.flex-container();
|
22
22
|
}
|
23
23
|
|
24
24
|
&__table-content {
|
@@ -28,6 +28,6 @@
|
|
28
28
|
}
|
29
29
|
|
30
30
|
&__table {
|
31
|
-
@include freeze-nth-column(1);
|
31
|
+
@include mixins.freeze-nth-column(1);
|
32
32
|
}
|
33
33
|
}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
@
|
1
|
+
@use '../../../../styles/mixins.scss';
|
2
2
|
|
3
3
|
.ydb-describe {
|
4
4
|
&__message-container {
|
@@ -16,7 +16,7 @@
|
|
16
16
|
}
|
17
17
|
|
18
18
|
&__tree {
|
19
|
-
@include json-tree-styles();
|
19
|
+
@include mixins.json-tree-styles();
|
20
20
|
}
|
21
21
|
|
22
22
|
&__copy {
|
@@ -1,4 +1,4 @@
|
|
1
|
-
@
|
1
|
+
@use '../../../styles/mixins.scss';
|
2
2
|
|
3
3
|
.kv-tenant-diagnostics {
|
4
4
|
display: flex;
|
@@ -18,7 +18,7 @@
|
|
18
18
|
justify-content: space-between;
|
19
19
|
align-items: center;
|
20
20
|
|
21
|
-
@include tabs-wrapper-styles();
|
21
|
+
@include mixins.tabs-wrapper-styles();
|
22
22
|
& .g-tabs_direction_horizontal {
|
23
23
|
box-shadow: unset;
|
24
24
|
}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
@
|
1
|
+
@use '../../../../styles/mixins.scss';
|
2
2
|
|
3
3
|
.network {
|
4
4
|
display: flex;
|
@@ -10,7 +10,7 @@
|
|
10
10
|
max-width: 1305px;
|
11
11
|
height: 100%;
|
12
12
|
|
13
|
-
@include body-2-typography();
|
13
|
+
@include mixins.body-2-typography();
|
14
14
|
|
15
15
|
&__nodes-row {
|
16
16
|
display: flex;
|
@@ -24,7 +24,7 @@
|
|
24
24
|
|
25
25
|
&__inner {
|
26
26
|
overflow: auto;
|
27
|
-
@include flex-container();
|
27
|
+
@include mixins.flex-container();
|
28
28
|
}
|
29
29
|
|
30
30
|
&__right {
|
@@ -77,7 +77,7 @@
|
|
77
77
|
color: var(--g-color-text-secondary);
|
78
78
|
border-bottom: 1px solid var(--g-color-base-generic-accent);
|
79
79
|
|
80
|
-
@include body-2-typography();
|
80
|
+
@include mixins.body-2-typography();
|
81
81
|
}
|
82
82
|
|
83
83
|
&__link {
|
@@ -91,7 +91,7 @@
|
|
91
91
|
|
92
92
|
font-weight: 500;
|
93
93
|
|
94
|
-
@include body-1-typography();
|
94
|
+
@include mixins.body-1-typography();
|
95
95
|
}
|
96
96
|
|
97
97
|
&__checkbox-wrapper {
|
@@ -116,7 +116,7 @@
|
|
116
116
|
&__controls-wrapper {
|
117
117
|
display: flex;
|
118
118
|
flex-direction: row;
|
119
|
-
@include flex-container();
|
119
|
+
@include mixins.flex-container();
|
120
120
|
}
|
121
121
|
|
122
122
|
&__select {
|
@@ -14,7 +14,7 @@ export function NetworkWrapper({ database, path, parentRef, additionalNodesProps
|
|
14
14
|
const shouldUseNetworkNodesTable = viewerNodesHasNetworkStats && networkTableEnabled;
|
15
15
|
const renderContent = () => {
|
16
16
|
if (shouldUseNetworkNodesTable) {
|
17
|
-
return (_jsx(Nodes, { path: path, database: database, parentRef: parentRef, additionalNodesProps: additionalNodesProps, columns: getNetworkTableNodesColumns({
|
17
|
+
return (_jsx(Nodes, { path: path, database: database, parentRef: parentRef, withPeerRoleFilter: true, additionalNodesProps: additionalNodesProps, columns: getNetworkTableNodesColumns({
|
18
18
|
database: database,
|
19
19
|
getNodeRef: additionalNodesProps === null || additionalNodesProps === void 0 ? void 0 : additionalNodesProps.getNodeRef,
|
20
20
|
}), defaultColumnsIds: NETWORK_DEFAULT_NODES_COLUMNS, requiredColumnsIds: NETWORK_REQUIRED_NODES_COLUMNS, selectedColumnsKey: NETWORK_NODES_TABLE_SELECTED_COLUMNS_KEY, groupByParams: NETWORK_NODES_GROUP_BY_PARAMS }));
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"NetworkWrapper.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Diagnostics/Network/NetworkWrapper.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,aAAa,EAAC,MAAM,oDAAoD,CAAC;AACjF,OAAO,EACH,qBAAqB,EACrB,oCAAoC,GACvC,MAAM,+CAA+C,CAAC;AACvD,OAAO,EAAC,wBAAwB,EAAC,MAAM,6BAA6B,CAAC;AACrE,OAAO,EAAC,UAAU,EAAC,MAAM,yBAAyB,CAAC;AAEnD,OAAO,EAAC,KAAK,EAAC,MAAM,sBAAsB,CAAC;AAE3C,OAAO,EAAC,OAAO,EAAC,MAAM,WAAW,CAAC;AAClC,OAAO,EAAC,2BAA2B,EAAC,MAAM,wBAAwB,CAAC;AACnE,OAAO,EACH,6BAA6B,EAC7B,6BAA6B,EAC7B,wCAAwC,EACxC,8BAA8B,GACjC,MAAM,0BAA0B,CAAC;AAOlC,MAAM,UAAU,cAAc,CAAC,EAC3B,QAAQ,EACR,IAAI,EACJ,SAAS,EACT,oBAAoB,GACF;IAClB,MAAM,kBAAkB,GAAG,qBAAqB,EAAE,CAAC;IACnD,MAAM,0BAA0B,GAAG,oCAAoC,EAAE,CAAC;IAC1E,MAAM,CAAC,mBAAmB,CAAC,GAAG,UAAU,CAAC,wBAAwB,CAAC,CAAC;IAEnE,MAAM,0BAA0B,GAAG,0BAA0B,IAAI,mBAAmB,CAAC;IAErF,MAAM,aAAa,GAAG,GAAG,EAAE;QACvB,IAAI,0BAA0B,EAAE,CAAC;YAC7B,OAAO,CACH,KAAC,KAAK,IACF,IAAI,EAAE,IAAI,EACV,QAAQ,EAAE,QAAQ,EAClB,SAAS,EAAE,SAAS,EACpB,oBAAoB,EAAE,oBAAoB,EAC1C,OAAO,EAAE,2BAA2B,CAAC;oBACjC,QAAQ,EAAE,QAAQ;oBAClB,UAAU,EAAE,oBAAoB,aAApB,oBAAoB,uBAApB,oBAAoB,CAAE,UAAU;iBAC/C,CAAC,EACF,iBAAiB,EAAE,6BAA6B,EAChD,kBAAkB,EAAE,8BAA8B,EAClD,kBAAkB,EAAE,wCAAwC,EAC5D,aAAa,EAAE,6BAA6B,GAC9C,CACL,CAAC;QACN,CAAC;QAED,OAAO,KAAC,OAAO,IAAC,UAAU,EAAE,QAAQ,GAAI,CAAC;IAC7C,CAAC,CAAC;IAEF,OAAO,KAAC,aAAa,IAAC,OAAO,EAAE,CAAC,kBAAkB,YAAG,aAAa,EAAE,GAAiB,CAAC;AAC1F,CAAC"}
|
1
|
+
{"version":3,"file":"NetworkWrapper.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Diagnostics/Network/NetworkWrapper.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,aAAa,EAAC,MAAM,oDAAoD,CAAC;AACjF,OAAO,EACH,qBAAqB,EACrB,oCAAoC,GACvC,MAAM,+CAA+C,CAAC;AACvD,OAAO,EAAC,wBAAwB,EAAC,MAAM,6BAA6B,CAAC;AACrE,OAAO,EAAC,UAAU,EAAC,MAAM,yBAAyB,CAAC;AAEnD,OAAO,EAAC,KAAK,EAAC,MAAM,sBAAsB,CAAC;AAE3C,OAAO,EAAC,OAAO,EAAC,MAAM,WAAW,CAAC;AAClC,OAAO,EAAC,2BAA2B,EAAC,MAAM,wBAAwB,CAAC;AACnE,OAAO,EACH,6BAA6B,EAC7B,6BAA6B,EAC7B,wCAAwC,EACxC,8BAA8B,GACjC,MAAM,0BAA0B,CAAC;AAOlC,MAAM,UAAU,cAAc,CAAC,EAC3B,QAAQ,EACR,IAAI,EACJ,SAAS,EACT,oBAAoB,GACF;IAClB,MAAM,kBAAkB,GAAG,qBAAqB,EAAE,CAAC;IACnD,MAAM,0BAA0B,GAAG,oCAAoC,EAAE,CAAC;IAC1E,MAAM,CAAC,mBAAmB,CAAC,GAAG,UAAU,CAAC,wBAAwB,CAAC,CAAC;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