ydb-embedded-ui 6.21.0 → 6.23.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/components/AutoRefreshControl/i18n/index.d.ts +1 -1
- package/dist/components/DiskStateProgressBar/DiskStateProgressBar.d.ts +2 -1
- package/dist/components/DiskStateProgressBar/DiskStateProgressBar.js +2 -2
- package/dist/components/DiskStateProgressBar/DiskStateProgressBar.js.map +1 -1
- package/dist/components/DiskStateProgressBar/DiskStateProgressBar.scss +4 -0
- package/dist/components/GroupInfo/i18n/index.d.ts +1 -1
- package/dist/components/PDiskInfo/PDiskInfo.js +1 -3
- package/dist/components/PDiskInfo/PDiskInfo.js.map +1 -1
- package/dist/components/PDiskInfo/i18n/index.d.ts +1 -1
- package/dist/components/PDiskPopup/PDiskPopup.d.ts +2 -4
- package/dist/components/PDiskPopup/PDiskPopup.js +10 -5
- package/dist/components/PDiskPopup/PDiskPopup.js.map +1 -1
- package/dist/components/PaginatedTable/PaginatedTable.d.ts +2 -1
- package/dist/components/PaginatedTable/PaginatedTable.js +9 -7
- package/dist/components/PaginatedTable/PaginatedTable.js.map +1 -1
- package/dist/components/PaginatedTable/TableChunk.d.ts +2 -1
- package/dist/components/PaginatedTable/TableChunk.js +5 -2
- package/dist/components/PaginatedTable/TableChunk.js.map +1 -1
- package/dist/components/QueryResultTable/Cell/Cell.js +1 -4
- package/dist/components/QueryResultTable/Cell/Cell.js.map +1 -1
- package/dist/components/QueryResultTable/QueryResultTable.js +11 -16
- package/dist/components/QueryResultTable/QueryResultTable.js.map +1 -1
- package/dist/components/QueryResultTable/utils/getColumnWidth.d.ts +7 -0
- package/dist/components/QueryResultTable/utils/getColumnWidth.js +16 -0
- package/dist/components/QueryResultTable/utils/getColumnWidth.js.map +1 -0
- package/dist/components/QueryResultTable/utils/getColumnWidth.test.d.ts +1 -0
- package/dist/components/QueryResultTable/utils/getColumnWidth.test.js +32 -0
- package/dist/components/QueryResultTable/utils/getColumnWidth.test.js.map +1 -0
- package/dist/components/StorageGroupInfo/StorageGroupInfo.js +7 -7
- package/dist/components/StorageGroupInfo/StorageGroupInfo.js.map +1 -1
- package/dist/components/StorageGroupInfo/i18n/index.d.ts +1 -1
- package/dist/components/TableSkeleton/TableSkeleton.d.ts +2 -1
- package/dist/components/TableSkeleton/TableSkeleton.js +5 -1
- package/dist/components/TableSkeleton/TableSkeleton.js.map +1 -1
- package/dist/components/TableSkeleton/TableSkeleton.scss +7 -1
- package/dist/components/VDisk/VDisk.d.ts +2 -3
- package/dist/components/VDisk/VDisk.js +2 -2
- package/dist/components/VDisk/VDisk.js.map +1 -1
- package/dist/components/VDiskInfo/VDiskInfo.js +1 -3
- package/dist/components/VDiskInfo/VDiskInfo.js.map +1 -1
- package/dist/components/VDiskInfo/i18n/index.d.ts +1 -1
- package/dist/components/VDiskPopup/VDiskPopup.d.ts +1 -3
- package/dist/components/VDiskPopup/VDiskPopup.js +7 -2
- package/dist/components/VDiskPopup/VDiskPopup.js.map +1 -1
- package/dist/containers/App/App.scss +1 -1
- package/dist/containers/Cluster/Cluster.js +1 -1
- package/dist/containers/Cluster/Cluster.js.map +1 -1
- package/dist/containers/Cluster/Cluster.scss +2 -3
- package/dist/containers/Cluster/i18n/index.d.ts +1 -1
- package/dist/containers/Clusters/Clusters.js +3 -3
- package/dist/containers/Clusters/Clusters.js.map +1 -1
- package/dist/containers/Clusters/columns.js +2 -2
- package/dist/containers/Clusters/columns.js.map +1 -1
- package/dist/containers/Clusters/constants.d.ts +4 -4
- package/dist/containers/Clusters/constants.js +3 -3
- package/dist/containers/Clusters/constants.js.map +1 -1
- package/dist/containers/Header/breadcrumbs.js +2 -3
- package/dist/containers/Header/breadcrumbs.js.map +1 -1
- package/dist/containers/Node/Node.js +14 -4
- package/dist/containers/Node/Node.js.map +1 -1
- package/dist/containers/Node/NodePages.js +4 -5
- package/dist/containers/Node/NodePages.js.map +1 -1
- package/dist/containers/Nodes/Nodes.js +10 -11
- package/dist/containers/Nodes/Nodes.js.map +1 -1
- package/dist/containers/Nodes/PaginatedNodes.js +10 -11
- package/dist/containers/Nodes/PaginatedNodes.js.map +1 -1
- package/dist/containers/Nodes/{getNodesColumns.d.ts → columns/columns.d.ts} +3 -10
- package/dist/containers/Nodes/{getNodesColumns.js → columns/columns.js} +37 -39
- package/dist/containers/Nodes/columns/columns.js.map +1 -0
- package/dist/containers/Nodes/columns/constants.d.ts +41 -0
- package/dist/containers/Nodes/columns/constants.js +83 -0
- package/dist/containers/Nodes/columns/constants.js.map +1 -0
- package/dist/containers/Nodes/columns/hooks.d.ts +6 -0
- package/dist/containers/Nodes/columns/hooks.js +11 -0
- package/dist/containers/Nodes/columns/hooks.js.map +1 -0
- package/dist/containers/Nodes/columns/i18n/en.json +17 -0
- package/dist/containers/Nodes/columns/i18n/index.d.ts +2 -0
- package/dist/containers/Nodes/columns/i18n/index.js +5 -0
- package/dist/containers/Nodes/columns/i18n/index.js.map +1 -0
- package/dist/containers/Nodes/columns/types.d.ts +9 -0
- package/dist/containers/Nodes/columns/types.js +2 -0
- package/dist/containers/Nodes/columns/types.js.map +1 -0
- package/dist/containers/Nodes/getNodes.d.ts +3 -2
- package/dist/containers/Nodes/getNodes.js +6 -3
- package/dist/containers/Nodes/getNodes.js.map +1 -1
- package/dist/containers/PDiskPage/PDiskPage.js +12 -10
- package/dist/containers/PDiskPage/PDiskPage.js.map +1 -1
- package/dist/containers/PDiskPage/PDiskPage.scss +14 -14
- package/dist/containers/PDiskPage/i18n/en.json +1 -1
- package/dist/containers/PDiskPage/i18n/index.d.ts +1 -1
- package/dist/containers/ReduxTooltip/ReduxTooltip.js +7 -7
- package/dist/containers/ReduxTooltip/ReduxTooltip.js.map +1 -1
- package/dist/containers/Storage/Disks/Disks.d.ts +3 -3
- package/dist/containers/Storage/Disks/Disks.js +6 -7
- package/dist/containers/Storage/Disks/Disks.js.map +1 -1
- package/dist/containers/Storage/PDisk/PDisk.d.ts +5 -4
- package/dist/containers/Storage/PDisk/PDisk.js +3 -2
- package/dist/containers/Storage/PDisk/PDisk.js.map +1 -1
- package/dist/containers/Storage/PDisk/PDisk.scss +1 -1
- package/dist/containers/Storage/PaginatedStorage.d.ts +5 -6
- package/dist/containers/Storage/PaginatedStorage.js +9 -54
- package/dist/containers/Storage/PaginatedStorage.js.map +1 -1
- package/dist/containers/Storage/PaginatedStorageGroups.d.ts +3 -0
- package/dist/containers/Storage/PaginatedStorageGroups.js +84 -0
- package/dist/containers/Storage/PaginatedStorageGroups.js.map +1 -0
- package/dist/containers/Storage/PaginatedStorageNodes.d.ts +3 -0
- package/dist/containers/Storage/PaginatedStorageNodes.js +98 -0
- package/dist/containers/Storage/PaginatedStorageNodes.js.map +1 -0
- package/dist/containers/Storage/Storage.d.ts +4 -4
- package/dist/containers/Storage/Storage.js +46 -67
- package/dist/containers/Storage/Storage.js.map +1 -1
- package/dist/containers/Storage/Storage.scss +4 -0
- package/dist/containers/Storage/StorageControls/StorageControls.d.ts +6 -16
- package/dist/containers/Storage/StorageControls/StorageControls.js +18 -9
- package/dist/containers/Storage/StorageControls/StorageControls.js.map +1 -1
- package/dist/containers/Storage/StorageGroups/PaginatedStorageGroupsTable.d.ts +22 -0
- package/dist/containers/Storage/StorageGroups/{PaginatedStorageGroups.js → PaginatedStorageGroupsTable.js} +24 -8
- package/dist/containers/Storage/StorageGroups/PaginatedStorageGroupsTable.js.map +1 -0
- package/dist/containers/Storage/StorageGroups/StorageGroupsTable.d.ts +14 -0
- package/dist/containers/Storage/StorageGroups/{StorageGroups.js → StorageGroupsTable.js} +5 -6
- package/dist/containers/Storage/StorageGroups/StorageGroupsTable.js.map +1 -0
- package/dist/containers/Storage/StorageGroups/columns/columns.d.ts +4 -0
- package/dist/containers/Storage/StorageGroups/columns/{getStorageGroupsColumns.js → columns.js} +66 -89
- package/dist/containers/Storage/StorageGroups/columns/columns.js.map +1 -0
- package/dist/containers/Storage/StorageGroups/columns/constants.d.ts +54 -0
- package/dist/containers/Storage/StorageGroups/columns/constants.js +120 -0
- package/dist/containers/Storage/StorageGroups/columns/constants.js.map +1 -0
- package/dist/containers/Storage/StorageGroups/columns/hooks.d.ts +7 -3
- package/dist/containers/Storage/StorageGroups/columns/hooks.js +21 -16
- package/dist/containers/Storage/StorageGroups/columns/hooks.js.map +1 -1
- package/dist/containers/Storage/StorageGroups/columns/i18n/en.json +21 -0
- package/dist/containers/Storage/StorageGroups/columns/i18n/index.d.ts +2 -0
- package/dist/containers/Storage/StorageGroups/columns/i18n/index.js +5 -0
- package/dist/containers/Storage/StorageGroups/columns/i18n/index.js.map +1 -0
- package/dist/containers/Storage/StorageGroups/columns/types.d.ts +5 -7
- package/dist/containers/Storage/StorageGroups/getGroups.js +10 -6
- package/dist/containers/Storage/StorageGroups/getGroups.js.map +1 -1
- package/dist/containers/Storage/StorageNodes/PaginatedStorageNodesTable.d.ts +23 -0
- package/dist/containers/Storage/StorageNodes/{PaginatedStorageNodes.js → PaginatedStorageNodesTable.js} +24 -9
- package/dist/containers/Storage/StorageNodes/PaginatedStorageNodesTable.js.map +1 -0
- package/dist/containers/Storage/StorageNodes/StorageNodes.scss +1 -27
- package/dist/containers/Storage/StorageNodes/StorageNodesTable.d.ts +16 -0
- package/dist/containers/Storage/StorageNodes/{StorageNodes.js → StorageNodesTable.js} +9 -9
- package/dist/containers/Storage/StorageNodes/StorageNodesTable.js.map +1 -0
- package/dist/containers/Storage/StorageNodes/columns/StorageNodesColumns.scss +24 -0
- package/dist/containers/Storage/StorageNodes/columns/columns.d.ts +39 -0
- package/dist/containers/Storage/StorageNodes/{getStorageNodesColumns.js → columns/columns.js} +20 -31
- package/dist/containers/Storage/StorageNodes/columns/columns.js.map +1 -0
- package/dist/containers/Storage/StorageNodes/columns/constants.d.ts +34 -0
- package/dist/containers/Storage/StorageNodes/columns/constants.js +74 -0
- package/dist/containers/Storage/StorageNodes/columns/constants.js.map +1 -0
- package/dist/containers/Storage/StorageNodes/columns/hooks.d.ts +43 -0
- package/dist/containers/Storage/StorageNodes/columns/hooks.js +18 -0
- package/dist/containers/Storage/StorageNodes/columns/hooks.js.map +1 -0
- package/dist/containers/Storage/StorageNodes/columns/i18n/en.json +11 -0
- package/dist/containers/Storage/StorageNodes/columns/i18n/index.d.ts +2 -0
- package/dist/containers/Storage/StorageNodes/columns/i18n/index.js +5 -0
- package/dist/containers/Storage/StorageNodes/columns/i18n/index.js.map +1 -0
- package/dist/containers/Storage/StorageNodes/columns/types.d.ts +11 -0
- package/dist/containers/Storage/StorageNodes/columns/types.js +2 -0
- package/dist/containers/Storage/StorageNodes/columns/types.js.map +1 -0
- package/dist/containers/Storage/StorageNodes/getNodes.d.ts +2 -2
- package/dist/containers/Storage/StorageNodes/getNodes.js +13 -9
- package/dist/containers/Storage/StorageNodes/getNodes.js.map +1 -1
- package/dist/containers/Storage/StorageNodes/shared.js +1 -1
- package/dist/containers/Storage/StorageNodes/shared.js.map +1 -1
- package/dist/containers/Storage/StorageWrapper.d.ts +0 -2
- package/dist/containers/Storage/StorageWrapper.js.map +1 -1
- package/dist/containers/Storage/TableGroup/TableGroup.d.ts +12 -0
- package/dist/containers/Storage/TableGroup/TableGroup.js +21 -0
- package/dist/containers/Storage/TableGroup/TableGroup.js.map +1 -0
- package/dist/containers/Storage/TableGroup/TableGroup.scss +49 -0
- package/dist/containers/Storage/TableGroup/useExpandedTableGroups.d.ts +5 -0
- package/dist/containers/Storage/TableGroup/useExpandedTableGroups.js +28 -0
- package/dist/containers/Storage/TableGroup/useExpandedTableGroups.js.map +1 -0
- package/dist/containers/Storage/i18n/en.json +4 -1
- package/dist/containers/Storage/i18n/index.d.ts +1 -1
- package/dist/containers/Storage/i18n/index.js +1 -2
- package/dist/containers/Storage/i18n/index.js.map +1 -1
- package/dist/containers/Storage/shared.d.ts +2 -0
- package/dist/containers/Storage/shared.js +9 -0
- package/dist/containers/Storage/shared.js.map +1 -1
- package/dist/containers/Storage/useStorageQueryParams.d.ts +18 -0
- package/dist/containers/Storage/useStorageQueryParams.js +64 -0
- package/dist/containers/Storage/useStorageQueryParams.js.map +1 -0
- package/dist/containers/Storage/utils/index.d.ts +6 -2
- package/dist/containers/Storage/utils/index.js +17 -11
- package/dist/containers/Storage/utils/index.js.map +1 -1
- package/dist/containers/StorageGroupPage/StorageGroupPage.js +14 -57
- package/dist/containers/StorageGroupPage/StorageGroupPage.js.map +1 -1
- package/dist/containers/StorageGroupPage/StorageGroupPage.scss +14 -17
- package/dist/containers/StorageGroupPage/i18n/en.json +1 -2
- package/dist/containers/StorageGroupPage/i18n/index.d.ts +1 -1
- package/dist/containers/Tablets/i18n/index.d.ts +1 -1
- package/dist/containers/Tenant/Diagnostics/Describe/Describe.js +17 -3
- package/dist/containers/Tenant/Diagnostics/Describe/Describe.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/Diagnostics.js +1 -1
- package/dist/containers/Tenant/Diagnostics/Diagnostics.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/DiagnosticsPages.d.ts +6 -3
- package/dist/containers/Tenant/Diagnostics/DiagnosticsPages.js +4 -4
- package/dist/containers/Tenant/Diagnostics/DiagnosticsPages.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/HotKeys/HotKeys.js +10 -3
- package/dist/containers/Tenant/Diagnostics/HotKeys/HotKeys.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/Overview/Overview.js +2 -3
- package/dist/containers/Tenant/Diagnostics/Overview/Overview.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/Partitions/Partitions.js +4 -4
- package/dist/containers/Tenant/Diagnostics/Partitions/Partitions.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/Partitions/utils/index.d.ts +2 -2
- package/dist/containers/Tenant/Diagnostics/Partitions/utils/index.js +5 -5
- package/dist/containers/Tenant/Diagnostics/Partitions/utils/index.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByCpu.js +12 -5
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByCpu.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByLoad.js +12 -5
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByLoad.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TopNodesByMemory.js +13 -5
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TopNodesByMemory.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantOverview.js +8 -2
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantOverview.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopGroups.js +2 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopGroups.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/i18n/index.d.ts +1 -1
- package/dist/containers/Tenant/Diagnostics/TopQueries/RunningQueriesData.d.ts +5 -0
- package/dist/containers/Tenant/Diagnostics/TopQueries/RunningQueriesData.js +21 -0
- package/dist/containers/Tenant/Diagnostics/TopQueries/RunningQueriesData.js.map +1 -0
- package/dist/containers/Tenant/Diagnostics/TopQueries/TopQueries.d.ts +1 -3
- package/dist/containers/Tenant/Diagnostics/TopQueries/TopQueries.js +32 -37
- package/dist/containers/Tenant/Diagnostics/TopQueries/TopQueries.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/TopQueries/TopQueriesData.d.ts +6 -0
- package/dist/containers/Tenant/Diagnostics/TopQueries/TopQueriesData.js +33 -0
- package/dist/containers/Tenant/Diagnostics/TopQueries/TopQueriesData.js.map +1 -0
- package/dist/containers/Tenant/Diagnostics/TopQueries/getTopQueriesColumns.d.ts +2 -0
- package/dist/containers/Tenant/Diagnostics/TopQueries/getTopQueriesColumns.js +26 -0
- package/dist/containers/Tenant/Diagnostics/TopQueries/getTopQueriesColumns.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/TopQueries/i18n/en.json +7 -1
- package/dist/containers/Tenant/Diagnostics/TopQueries/i18n/index.d.ts +1 -1
- package/dist/containers/Tenant/Diagnostics/TopQueries/i18n/index.js +1 -2
- package/dist/containers/Tenant/Diagnostics/TopQueries/i18n/index.js.map +1 -1
- package/dist/containers/Tenant/ObjectSummary/ObjectSummary.js +71 -62
- package/dist/containers/Tenant/ObjectSummary/ObjectSummary.js.map +1 -1
- package/dist/containers/Tenant/ObjectSummary/ObjectSummary.scss +6 -7
- package/dist/containers/Tenant/ObjectSummary/ObjectTree.d.ts +6 -0
- package/dist/containers/Tenant/ObjectSummary/ObjectTree.js +25 -0
- package/dist/containers/Tenant/ObjectSummary/ObjectTree.js.map +1 -0
- package/dist/containers/Tenant/ObjectSummary/SchemaActions.d.ts +1 -0
- package/dist/containers/Tenant/ObjectSummary/SchemaActions.js +18 -0
- package/dist/containers/Tenant/ObjectSummary/SchemaActions.js.map +1 -0
- package/dist/containers/Tenant/ObjectSummary/__test__/transformPath.test.js +27 -3
- package/dist/containers/Tenant/ObjectSummary/__test__/transformPath.test.js.map +1 -1
- package/dist/containers/Tenant/ObjectSummary/i18n/en.json +21 -0
- package/dist/containers/Tenant/ObjectSummary/i18n/index.d.ts +2 -0
- package/dist/containers/Tenant/ObjectSummary/i18n/index.js +5 -0
- package/dist/containers/Tenant/ObjectSummary/i18n/index.js.map +1 -0
- package/dist/containers/Tenant/ObjectSummary/shared.d.ts +1 -0
- package/dist/containers/Tenant/ObjectSummary/shared.js +3 -0
- package/dist/containers/Tenant/ObjectSummary/shared.js.map +1 -0
- package/dist/containers/Tenant/ObjectSummary/transformPath.d.ts +2 -0
- package/dist/containers/Tenant/ObjectSummary/transformPath.js +10 -0
- package/dist/containers/Tenant/ObjectSummary/transformPath.js.map +1 -1
- package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.js +14 -12
- package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.js.map +1 -1
- package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.scss +8 -0
- package/dist/containers/Tenant/Query/ExecuteResult/i18n/en.json +3 -1
- package/dist/containers/Tenant/Query/ExecuteResult/i18n/index.d.ts +1 -1
- package/dist/containers/Tenant/Query/NewSQL/NewSQL.d.ts +1 -0
- package/dist/containers/Tenant/Query/NewSQL/NewSQL.js +135 -0
- package/dist/containers/Tenant/Query/NewSQL/NewSQL.js.map +1 -0
- package/dist/containers/Tenant/Query/NewSQL/i18n/en.json +32 -0
- package/dist/containers/Tenant/Query/NewSQL/i18n/index.d.ts +2 -0
- package/dist/containers/Tenant/Query/NewSQL/i18n/index.js +5 -0
- package/dist/containers/Tenant/Query/NewSQL/i18n/index.js.map +1 -0
- package/dist/containers/Tenant/Query/QueryEditorControls/QueryEditorControls.js +2 -1
- package/dist/containers/Tenant/Query/QueryEditorControls/QueryEditorControls.js.map +1 -1
- package/dist/containers/Tenant/Query/QueryEditorControls/QueryEditorControls.scss +1 -0
- package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettings.js +3 -1
- package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettings.js.map +1 -1
- package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettings.test.js +5 -10
- package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettings.test.js.map +1 -1
- package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettingsDescription.js +5 -3
- package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettingsDescription.js.map +1 -1
- package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettingsDescription.test.js +6 -10
- package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettingsDescription.test.js.map +1 -1
- package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsDialog.js +11 -2
- package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsDialog.js.map +1 -1
- package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsDialog.scss +1 -0
- package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsSelect.d.ts +1 -0
- package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsSelect.js +1 -1
- package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsSelect.js.map +1 -1
- package/dist/containers/Tenant/Query/QuerySettingsDialog/constants.d.ts +3 -0
- package/dist/containers/Tenant/Query/QuerySettingsDialog/constants.js +3 -0
- package/dist/containers/Tenant/Query/QuerySettingsDialog/constants.js.map +1 -1
- package/dist/containers/Tenant/Query/QuerySettingsDialog/i18n/en.json +3 -0
- package/dist/containers/Tenant/Query/QuerySettingsDialog/i18n/index.d.ts +1 -1
- package/dist/containers/Tenant/Query/QuerySettingsDialog/i18n/ru.json +3 -0
- package/dist/containers/Tenant/Schema/SchemaTree/SchemaTree.js +1 -1
- package/dist/containers/Tenant/Schema/SchemaTree/SchemaTree.js.map +1 -1
- package/dist/containers/Tenant/Schema/SchemaViewer/SchemaViewer.js +10 -2
- package/dist/containers/Tenant/Schema/SchemaViewer/SchemaViewer.js.map +1 -1
- package/dist/containers/Tenant/Schema/SchemaViewer/prepareData.d.ts +2 -1
- package/dist/containers/Tenant/Schema/SchemaViewer/prepareData.js.map +1 -1
- package/dist/containers/Tenant/Tenant.js +7 -3
- package/dist/containers/Tenant/Tenant.js.map +1 -1
- package/dist/containers/Tenant/utils/newSQLQueryActions.d.ts +27 -0
- package/dist/containers/Tenant/utils/newSQLQueryActions.js +35 -0
- package/dist/containers/Tenant/utils/newSQLQueryActions.js.map +1 -0
- package/dist/containers/Tenant/utils/newSQLQueryTemplates.d.ts +24 -0
- package/dist/containers/Tenant/utils/newSQLQueryTemplates.js +228 -0
- package/dist/containers/Tenant/utils/newSQLQueryTemplates.js.map +1 -0
- package/dist/containers/Tenant/utils/schema.js +1 -0
- package/dist/containers/Tenant/utils/schema.js.map +1 -1
- package/dist/containers/Tenant/utils/schemaActions.d.ts +1 -1
- package/dist/containers/Tenant/utils/schemaActions.js +8 -6
- package/dist/containers/Tenant/utils/schemaActions.js.map +1 -1
- package/dist/containers/Tenant/utils/{queryTemplates.js → schemaQueryTemplates.js} +1 -1
- package/dist/containers/Tenant/utils/schemaQueryTemplates.js.map +1 -0
- 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 -7
- package/dist/containers/UserSettings/settings.js.map +1 -1
- package/dist/containers/VDiskPage/VDiskPage.d.ts +0 -3
- package/dist/containers/VDiskPage/VDiskPage.js +9 -33
- package/dist/containers/VDiskPage/VDiskPage.js.map +1 -1
- package/dist/containers/VDiskPage/VDiskPage.scss +10 -19
- package/dist/containers/VDiskPage/i18n/en.json +1 -1
- package/dist/containers/VDiskPage/i18n/index.d.ts +1 -1
- package/dist/services/api.d.ts +16 -5
- package/dist/services/api.js +53 -14
- package/dist/services/api.js.map +1 -1
- package/dist/services/settings.d.ts +2 -2
- package/dist/services/settings.js +2 -3
- package/dist/services/settings.js.map +1 -1
- package/dist/store/configureStore.d.ts +2 -2
- package/dist/store/defaultStore.d.ts +1 -1
- package/dist/store/reducers/capabilities/capabilities.d.ts +8 -1
- package/dist/store/reducers/capabilities/capabilities.js +6 -1
- package/dist/store/reducers/capabilities/capabilities.js.map +1 -1
- package/dist/store/reducers/capabilities/hooks.d.ts +2 -0
- package/dist/store/reducers/capabilities/hooks.js +6 -0
- package/dist/store/reducers/capabilities/hooks.js.map +1 -1
- package/dist/store/reducers/executeQuery.js +3 -0
- package/dist/store/reducers/executeQuery.js.map +1 -1
- package/dist/store/reducers/executeTopQueries/executeTopQueries.d.ts +4 -0
- package/dist/store/reducers/executeTopQueries/executeTopQueries.js +27 -1
- package/dist/store/reducers/executeTopQueries/executeTopQueries.js.map +1 -1
- package/dist/store/reducers/index.d.ts +2 -2
- package/dist/store/reducers/nodes/nodes.d.ts +2 -2
- package/dist/store/reducers/nodes/nodes.js.map +1 -1
- package/dist/store/reducers/nodes/types.d.ts +3 -24
- package/dist/store/reducers/nodesList.d.ts +5 -5
- package/dist/store/reducers/nodesList.js +2 -2
- package/dist/store/reducers/nodesList.js.map +1 -1
- package/dist/store/reducers/overview/overview.js +5 -1
- package/dist/store/reducers/overview/overview.js.map +1 -1
- package/dist/store/reducers/pdisk/pdisk.js +29 -2
- package/dist/store/reducers/pdisk/pdisk.js.map +1 -1
- package/dist/store/reducers/pdisk/utils.js +1 -1
- package/dist/store/reducers/pdisk/utils.js.map +1 -1
- package/dist/store/reducers/storage/requestStorageData.d.ts +3 -3
- package/dist/store/reducers/storage/requestStorageData.js.map +1 -1
- package/dist/store/reducers/storage/selectors.d.ts +2 -3
- package/dist/store/reducers/storage/selectors.js +1 -27
- package/dist/store/reducers/storage/selectors.js.map +1 -1
- package/dist/store/reducers/storage/storage.d.ts +4 -4
- package/dist/store/reducers/storage/storage.js.map +1 -1
- package/dist/store/reducers/storage/types.d.ts +19 -10
- package/dist/store/reducers/storage/utils.js +27 -3
- package/dist/store/reducers/storage/utils.js.map +1 -1
- package/dist/store/reducers/tablet.js +5 -3
- package/dist/store/reducers/tablet.js.map +1 -1
- package/dist/store/reducers/tablets.d.ts +3 -3
- package/dist/store/reducers/tablets.js +4 -4
- package/dist/store/reducers/tablets.js.map +1 -1
- package/dist/store/reducers/tooltip.d.ts +1 -1
- package/dist/styles/mixins.scss +3 -3
- package/dist/types/api/capabilities.d.ts +1 -1
- package/dist/types/api/common.d.ts +1 -0
- package/dist/types/api/nodes.d.ts +34 -0
- package/dist/types/api/nodes.js.map +1 -1
- package/dist/types/api/query.d.ts +1 -0
- package/dist/types/api/storage.d.ts +29 -8
- package/dist/types/store/nodesList.d.ts +1 -1
- package/dist/types/store/query.d.ts +5 -8
- package/dist/utils/constants.d.ts +0 -8
- package/dist/utils/constants.js +0 -9
- package/dist/utils/constants.js.map +1 -1
- package/dist/utils/filters.d.ts +2 -1
- package/dist/utils/filters.js +1 -4
- package/dist/utils/filters.js.map +1 -1
- package/dist/utils/hooks/useChangedQuerySettings.d.ts +2 -2
- package/dist/utils/hooks/useChangedQuerySettings.js +2 -1
- package/dist/utils/hooks/useChangedQuerySettings.js.map +1 -1
- package/dist/utils/hooks/useLastQueryExecutionSettings.d.ts +15 -2
- package/dist/utils/hooks/useLastQueryExecutionSettings.js +8 -9
- package/dist/utils/hooks/useLastQueryExecutionSettings.js.map +1 -1
- package/dist/utils/hooks/useQueryExecutionSettings.d.ts +15 -2
- package/dist/utils/hooks/useQueryExecutionSettings.js +5 -7
- package/dist/utils/hooks/useQueryExecutionSettings.js.map +1 -1
- package/dist/utils/hooks/useSelectedColumns.d.ts +8 -0
- package/dist/utils/hooks/useSelectedColumns.js +40 -0
- package/dist/utils/hooks/useSelectedColumns.js.map +1 -0
- package/dist/utils/nodes.d.ts +5 -24
- package/dist/utils/nodes.js +20 -23
- package/dist/utils/nodes.js.map +1 -1
- package/dist/utils/query.d.ts +129 -0
- package/dist/utils/query.js +33 -1
- package/dist/utils/query.js.map +1 -1
- package/dist/utils/storage.d.ts +1 -1
- package/dist/utils/storage.js +2 -0
- package/dist/utils/storage.js.map +1 -1
- package/dist/utils/utils.js +2 -1
- package/dist/utils/utils.js.map +1 -1
- package/package.json +2 -1
- package/dist/containers/Clusters/useSelectedColumns.d.ts +0 -7
- package/dist/containers/Clusters/useSelectedColumns.js +0 -26
- package/dist/containers/Clusters/useSelectedColumns.js.map +0 -1
- package/dist/containers/Nodes/getNodesColumns.js.map +0 -1
- package/dist/containers/PDiskPage/PDiskGroups/PDiskGroups.d.ts +0 -6
- package/dist/containers/PDiskPage/PDiskGroups/PDiskGroups.js +0 -30
- package/dist/containers/PDiskPage/PDiskGroups/PDiskGroups.js.map +0 -1
- package/dist/containers/PDiskPage/PDiskGroups/utils.d.ts +0 -2
- package/dist/containers/PDiskPage/PDiskGroups/utils.js +0 -14
- package/dist/containers/PDiskPage/PDiskGroups/utils.js.map +0 -1
- package/dist/containers/Storage/StorageGroups/PaginatedStorageGroups.d.ts +0 -14
- package/dist/containers/Storage/StorageGroups/PaginatedStorageGroups.js.map +0 -1
- package/dist/containers/Storage/StorageGroups/StorageGroups.d.ts +0 -13
- package/dist/containers/Storage/StorageGroups/StorageGroups.js.map +0 -1
- package/dist/containers/Storage/StorageGroups/columns/getStorageGroupsColumns.d.ts +0 -21
- package/dist/containers/Storage/StorageGroups/columns/getStorageGroupsColumns.js.map +0 -1
- package/dist/containers/Storage/StorageNodes/PaginatedStorageNodes.d.ts +0 -17
- package/dist/containers/Storage/StorageNodes/PaginatedStorageNodes.js.map +0 -1
- package/dist/containers/Storage/StorageNodes/StorageNodes.d.ts +0 -19
- package/dist/containers/Storage/StorageNodes/StorageNodes.js.map +0 -1
- package/dist/containers/Storage/StorageNodes/getStorageNodesColumns.d.ts +0 -50
- package/dist/containers/Storage/StorageNodes/getStorageNodesColumns.js.map +0 -1
- package/dist/containers/Storage/UsageFilter/UsageFilter.d.ts +0 -14
- package/dist/containers/Storage/UsageFilter/UsageFilter.js +0 -39
- package/dist/containers/Storage/UsageFilter/UsageFilter.js.map +0 -1
- package/dist/containers/Storage/UsageFilter/UsageFilter.scss +0 -38
- package/dist/containers/Storage/UsageFilter/i18n/en.json +0 -5
- package/dist/containers/Storage/UsageFilter/i18n/index.d.ts +0 -2
- package/dist/containers/Storage/UsageFilter/i18n/index.js +0 -6
- package/dist/containers/Storage/UsageFilter/i18n/index.js.map +0 -1
- package/dist/containers/Storage/UsageFilter/i18n/ru.json +0 -5
- package/dist/containers/Storage/UsageFilter/index.d.ts +0 -1
- package/dist/containers/Storage/UsageFilter/index.js +0 -2
- package/dist/containers/Storage/UsageFilter/index.js.map +0 -1
- package/dist/containers/Storage/i18n/ru.json +0 -6
- package/dist/containers/Tenant/Diagnostics/TopQueries/i18n/ru.json +0 -4
- package/dist/containers/Tenant/utils/queryTemplates.js.map +0 -1
- package/dist/containers/VDiskPage/utils.d.ts +0 -2
- package/dist/containers/VDiskPage/utils.js +0 -7
- package/dist/containers/VDiskPage/utils.js.map +0 -1
- package/dist/store/reducers/describe.d.ts +0 -7
- package/dist/store/reducers/describe.js +0 -25
- package/dist/store/reducers/describe.js.map +0 -1
- package/dist/store/reducers/tenantOverview/topNodes/topNodes.d.ts +0 -4
- package/dist/store/reducers/tenantOverview/topNodes/topNodes.js +0 -27
- package/dist/store/reducers/tenantOverview/topNodes/topNodes.js.map +0 -1
- /package/dist/containers/Tenant/utils/{queryTemplates.d.ts → schemaQueryTemplates.d.ts} +0 -0
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../../src/containers/Tenant/utils/schema.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,YAAY,EAAE,SAAS,EAAC,MAAM,2BAA2B,CAAC;AAGlE,2EAA2E;AAC3E,+DAA+D;AAC/D,6DAA6D;AAE7D,MAAM,qBAAqB,GAA6D;IACpF,CAAC,YAAY,CAAC,8BAA8B,CAAC,EAAE,aAAa;IAC5D,CAAC,YAAY,CAAC,+BAA+B,CAAC,EAAE,aAAa;IAE7D,CAAC,YAAY,CAAC,sBAAsB,CAAC,EAAE,SAAS;IAChD,CAAC,YAAY,CAAC,iBAAiB,CAAC,EAAE,SAAS;CAC9C,CAAC;AAEF,MAAM,kBAAkB,GAA0D;IAC9E,CAAC,SAAS,CAAC,gBAAgB,CAAC,EAAE,SAAS;IAEvC,CAAC,SAAS,CAAC,kBAAkB,CAAC,EAAE,UAAU;IAC1C,CAAC,SAAS,CAAC,qBAAqB,CAAC,EAAE,UAAU;IAE7C,CAAC,SAAS,CAAC,YAAY,CAAC,EAAE,WAAW;IACrC,CAAC,SAAS,CAAC,oBAAoB,CAAC,EAAE,WAAW;IAE7C,CAAC,SAAS,CAAC,cAAc,CAAC,EAAE,OAAO;IAEnC,CAAC,SAAS,CAAC,mBAAmB,CAAC,EAAE,OAAO;IAExC,CAAC,SAAS,CAAC,oBAAoB,CAAC,EAAE,cAAc;IAEhD,CAAC,SAAS,CAAC,kBAAkB,CA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AAM,CAAC,MAAM,UAAU,GAAG,CAAC,IAAgB,EAAE,EAAE,CAAC,IAAI,KAAK,SAAS,CAAC,aAAa,CAAC"}
|
@@ -5,5 +5,5 @@ interface ActionsAdditionalEffects {
|
|
5
5
|
setActivePath: (path: string) => void;
|
6
6
|
showCreateDirectoryDialog?: (path: string) => void;
|
7
7
|
}
|
8
|
-
export declare const getActions: (dispatch: React.Dispatch<any>, additionalEffects: ActionsAdditionalEffects) => (path: string, type: NavigationTreeNodeType) => import("@gravity-ui/uikit").DropdownMenuItemMixed<any>[];
|
8
|
+
export declare const getActions: (dispatch: React.Dispatch<any>, additionalEffects: ActionsAdditionalEffects, rootPath?: string) => (path: string, type: NavigationTreeNodeType) => import("@gravity-ui/uikit").DropdownMenuItemMixed<any>[];
|
9
9
|
export {};
|
@@ -3,15 +3,16 @@ import { changeUserInput } from '../../../store/reducers/executeQuery';
|
|
3
3
|
import { TENANT_PAGES_IDS, TENANT_QUERY_TABS_ID } from '../../../store/reducers/tenant/constants';
|
4
4
|
import { setQueryTab, setTenantPage } from '../../../store/reducers/tenant/tenant';
|
5
5
|
import createToast from '../../../utils/createToast';
|
6
|
+
import { transformPath } from '../ObjectSummary/transformPath';
|
6
7
|
import i18n from '../i18n';
|
7
|
-
import { alterAsyncReplicationTemplate, alterTableTemplate, alterTopicTemplate, createAsyncReplicationTemplate, createColumnTableTemplate, createExternalTableTemplate, createTableTemplate, createTopicTemplate, createViewTemplate, dropAsyncReplicationTemplate, dropExternalTableTemplate, dropTopicTemplate, dropViewTemplate, selectQueryTemplate, upsertQueryTemplate, } from './
|
8
|
-
const bindActions = (path, dispatch, additionalEffects) => {
|
8
|
+
import { alterAsyncReplicationTemplate, alterTableTemplate, alterTopicTemplate, createAsyncReplicationTemplate, createColumnTableTemplate, createExternalTableTemplate, createTableTemplate, createTopicTemplate, createViewTemplate, dropAsyncReplicationTemplate, dropExternalTableTemplate, dropTopicTemplate, dropViewTemplate, selectQueryTemplate, upsertQueryTemplate, } from './schemaQueryTemplates';
|
9
|
+
const bindActions = ({ path, relativePath }, dispatch, additionalEffects) => {
|
9
10
|
const { setActivePath, updateQueryExecutionSettings, showCreateDirectoryDialog } = additionalEffects;
|
10
11
|
const inputQuery = (tmpl, mode) => () => {
|
11
12
|
if (mode) {
|
12
13
|
updateQueryExecutionSettings({ queryMode: mode });
|
13
14
|
}
|
14
|
-
dispatch(changeUserInput({ input: tmpl(
|
15
|
+
dispatch(changeUserInput({ input: tmpl(relativePath) }));
|
15
16
|
dispatch(setTenantPage(TENANT_PAGES_IDS.query));
|
16
17
|
dispatch(setQueryTab(TENANT_QUERY_TABS_ID.newQuery));
|
17
18
|
setActivePath(path);
|
@@ -40,7 +41,7 @@ const bindActions = (path, dispatch, additionalEffects) => {
|
|
40
41
|
dropView: inputQuery(dropViewTemplate, 'script'),
|
41
42
|
copyPath: () => {
|
42
43
|
try {
|
43
|
-
copy(
|
44
|
+
copy(relativePath);
|
44
45
|
createToast({
|
45
46
|
name: 'Copied',
|
46
47
|
title: i18n('actions.copied'),
|
@@ -57,8 +58,9 @@ const bindActions = (path, dispatch, additionalEffects) => {
|
|
57
58
|
},
|
58
59
|
};
|
59
60
|
};
|
60
|
-
export const getActions = (dispatch, additionalEffects) => (path, type) => {
|
61
|
-
const
|
61
|
+
export const getActions = (dispatch, additionalEffects, rootPath = '') => (path, type) => {
|
62
|
+
const relativePath = transformPath(path, rootPath);
|
63
|
+
const actions = bindActions({ path, relativePath }, dispatch, additionalEffects);
|
62
64
|
const copyItem = { text: i18n('actions.copyPath'), action: actions.copyPath };
|
63
65
|
const DIR_SET = [
|
64
66
|
[copyItem],
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"schemaActions.js","sourceRoot":"","sources":["../../../../src/containers/Tenant/utils/schemaActions.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,mBAAmB,CAAC;AAGrC,OAAO,EAAC,eAAe,EAAC,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAC,gBAAgB,EAAE,oBAAoB,EAAC,MAAM,0CAA0C,CAAC;AAChG,OAAO,EAAC,WAAW,EAAE,aAAa,EAAC,MAAM,uCAAuC,CAAC;AAEjF,OAAO,WAAW,MAAM,4BAA4B,CAAC;AACrD,OAAO,IAAI,MAAM,SAAS,CAAC;AAE3B,OAAO,EACH,6BAA6B,EAC7B,kBAAkB,EAClB,kBAAkB,EAClB,8BAA8B,EAC9B,yBAAyB,EACzB,2BAA2B,EAC3B,mBAAmB,EACnB,mBAAmB,EACnB,kBAAkB,EAClB,4BAA4B,EAC5B,yBAAyB,EACzB,iBAAiB,EACjB,gBAAgB,EAChB,mBAAmB,EACnB,mBAAmB,GACtB,MAAM,
|
1
|
+
{"version":3,"file":"schemaActions.js","sourceRoot":"","sources":["../../../../src/containers/Tenant/utils/schemaActions.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,mBAAmB,CAAC;AAGrC,OAAO,EAAC,eAAe,EAAC,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAC,gBAAgB,EAAE,oBAAoB,EAAC,MAAM,0CAA0C,CAAC;AAChG,OAAO,EAAC,WAAW,EAAE,aAAa,EAAC,MAAM,uCAAuC,CAAC;AAEjF,OAAO,WAAW,MAAM,4BAA4B,CAAC;AACrD,OAAO,EAAC,aAAa,EAAC,MAAM,gCAAgC,CAAC;AAC7D,OAAO,IAAI,MAAM,SAAS,CAAC;AAE3B,OAAO,EACH,6BAA6B,EAC7B,kBAAkB,EAClB,kBAAkB,EAClB,8BAA8B,EAC9B,yBAAyB,EACzB,2BAA2B,EAC3B,mBAAmB,EACnB,mBAAmB,EACnB,kBAAkB,EAClB,4BAA4B,EAC5B,yBAAyB,EACzB,iBAAiB,EACjB,gBAAgB,EAChB,mBAAmB,EACnB,mBAAmB,GACtB,MAAM,wBAAwB,CAAC;AAQhC,MAAM,WAAW,GAAG,CAChB,EAAC,IAAI,EAAE,YAAY,EAAuC,EAC1D,QAA6B,EAC7B,iBAA2C,EAC7C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;IAC3E,MAAM,iBAAiB,GAA+C;QAClE,iBAAiB,EAAE,qBAAqB;QAExC,QAAQ,EAAE,OAAO;QACjB,SAAS,EAAE,OAAO;QAElB,KAAK,EAAE,SAAS;QAChB,YAAY,EAAE,SAAS;QAEvB,WAAW,EAAE,SAAS;QACtB,KAAK,EAAE,SAAS;QAChB,MAAM,EAAE,SAAS;QAEjB,KAAK,EAAE,SAAS;QAEhB,cAAc,EAAE,kBAAkB;QAClC,oBAAoB,EAAE,wBAAwB;QAE9C,IAAI,EAAE,QAAQ;KACjB,CAAC;IAEF,OAAO,iBAAiB,CAAC,IAAI,CAAC,CAAC;AACnC,CAAC,CAAC"}
|
@@ -144,4 +144,4 @@ export const dropAsyncReplicationTemplate = (path) => {
|
|
144
144
|
export const alterAsyncReplicationTemplate = (path) => {
|
145
145
|
return `ALTER ASYNC REPLICATION \`${path}\` SET (STATE = "DONE", FAILOVER_MODE = "FORCE");`;
|
146
146
|
};
|
147
|
-
//# sourceMappingURL=
|
147
|
+
//# sourceMappingURL=schemaQueryTemplates.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"schemaQueryTemplates.js","sourceRoot":"","sources":["../../../../src/containers/Tenant/utils/schemaQueryTemplates.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,IAAY,EAAE,EAAE;IAChD,OAAO;iBACM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA6BnB,CAAC;AACH,CAAC,CAAC;AACF,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,IAAY,EAAE,EAAE;IACtD,OAAO;iBACM,IAAI;;;;;;;;sBAQC,CAAC;AACvB,CAAC,CAAC;AACF,MAAM,CAAC,MAAM,8BAA8B,GAAG,GAAG,EAAE;IAC/C,OAAO;;;;;;;;;;;GAWR,CAAC;AACJ,CAAC,CAAC;AACF,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,IAAY,EAAE,EAAE;IAC/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CAAC;AAEF,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,IAAY,EAAE,EAAE;IAC7C,OAAO,eAAe,IAAI,KAAK,CAAC;AACpC,CAAC,CAAC;AACF,MAAM,CAAC,MAAM,4BAA4B,GAAG,CAAC,IAAY,EAAE,EAAE;IACzD,OAAO,4BAA4B,IAAI,KAAK,CAAC;AACjD,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,6BAA6B,GAAG,CAAC,IAAY,EAAE,EAAE;IAC1D,OAAO,6BAA6B,IAAI,mDAAmD,CAAC;AAChG,CAAC,CAAC"}
|
@@ -20,8 +20,6 @@
|
|
20
20
|
"settings.language.option-english": "English",
|
21
21
|
"settings.binaryDataInPlainTextDisplay.title": "Display binary data in plain text",
|
22
22
|
"settings.invertedDisks.title": "Inverted disks space indicators",
|
23
|
-
"settings.useAdvancedStorage.title": "Use advanced storage",
|
24
|
-
"settings.useAdvancedStorage.description": "Display additional data in Storage table",
|
25
23
|
"settings.usePaginatedTables.title": "Use paginated tables",
|
26
24
|
"settings.usePaginatedTables.description": " Use table with data load on scroll for Nodes and Storage tabs. It will increase performance, but could work unstable",
|
27
25
|
"settings.showDomainDatabase.title": "Show domain database",
|
@@ -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.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 useAdvancedStorageSetting: SettingProps;
|
20
19
|
export declare const usePaginatedTables: SettingProps;
|
21
20
|
export declare const showDomainDatabase: SettingProps;
|
22
21
|
export declare const queryUseMultiSchemaSetting: 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,
|
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_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 useAdvancedStorageSetting = {
|
56
|
-
settingKey: USE_ADVANCED_STORAGE_KEY,
|
57
|
-
title: i18n('settings.useAdvancedStorage.title'),
|
58
|
-
description: i18n('settings.useAdvancedStorage.description'),
|
59
|
-
};
|
60
55
|
export const usePaginatedTables = {
|
61
56
|
settingKey: USE_PAGINATED_TABLES_KEY,
|
62
57
|
title: i18n('settings.usePaginatedTables.title'),
|
@@ -104,7 +99,7 @@ export const appearanceSection = {
|
|
104
99
|
export const experimentsSection = {
|
105
100
|
id: 'experimentsSection',
|
106
101
|
title: i18n('section.experiments'),
|
107
|
-
settings: [
|
102
|
+
settings: [usePaginatedTables, queryUseMultiSchemaSetting],
|
108
103
|
};
|
109
104
|
export const devSettingsSection = {
|
110
105
|
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,
|
1
|
+
{"version":3,"file":"settings.js","sourceRoot":"","sources":["../../../src/containers/UserSettings/settings.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAE,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BAAiB,CAAC;CAChC,CAAC;AACF,MAAM,CAAC,MAAM,eAAe,GAAiB;IACzC,EAAE,EAAE,iBAAiB;IACrB,KAAK,EAAE,IAAI,CAAC,kBAAkB,CAAC;IAC/B,IAAI,EAAE,EAAC,IAAI,EAAE,KAAK,EAAC;IACnB,QAAQ,EAAE,CAAC,kBAAkB,CAAC;CACjC,CAAC;AACF,MAAM,CAAC,MAAM,UAAU,GAAiB;IACpC,EAAE,EAAE,YAAY;IAChB,KAAK,EAAE,IAAI,CAAC,aAAa,CAAC;IAC1B,IAAI,EAAE,EAAC,IAAI,EAAE,cAAc,EAAC;IAC5B,QAAQ,EAAE,CAAC,kBAAkB,CAAC;CACjC,CAAC;AAEF,MAAM,CAAC,MAAM,SAAS,GAAiB;IACnC,EAAE,EAAE,WAAW;IACf,KAAK,EAAE,IAAI,CAAC,YAAY,CAAC;IACzB,IAAI,EAAE,EAAC,IAAI,EAAE,UAAU,EAAC;IACxB,QAAQ,EAAE,CAAC,oBAAoB,CAAC;CACnC,CAAC;AAEF,MAAM,UAAU,eAAe,CAAC,EAAC,iBAAiB,EAA+B;IAC7E,MAAM,WAAW,GAAG,iBAAiB;QACjC,CAAC,CAAC,eAAe;QACjB,CAAC,CAAC,eAAe,CAAC,eAAe,EAAE,CAAC,KAAK,EAAE,EAAE;YACvC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,kCAAkC,CAAC,CAAC;QACxE,CAAC,CAAC,CAAC;IAET,MAAM,QAAQ,GAA0B,CAAC,WAAW,EAAE,UAAU,EAAE,WAAW,EAAE,SAAS,CAAC,CAAC;IAE1F,OAAO,QAAQ,CAAC;AACpB,CAAC"}
|
@@ -10,29 +10,25 @@ import { EntityPageTitle } from '../../components/EntityPageTitle/EntityPageTitl
|
|
10
10
|
import { ResponseError } from '../../components/Errors/ResponseError';
|
11
11
|
import { InfoViewerSkeleton } from '../../components/InfoViewerSkeleton/InfoViewerSkeleton';
|
12
12
|
import { PageMetaWithAutorefresh } from '../../components/PageMeta/PageMeta';
|
13
|
-
import { ResizeableDataTable } from '../../components/ResizeableDataTable/ResizeableDataTable';
|
14
13
|
import { VDiskInfo } from '../../components/VDiskInfo/VDiskInfo';
|
15
14
|
import { api } from '../../store/reducers/api';
|
16
15
|
import { selectIsUserAllowedToMakeChanges } from '../../store/reducers/authentication/authentication';
|
17
|
-
import {
|
16
|
+
import { useDiskPagesAvailable } from '../../store/reducers/capabilities/hooks';
|
18
17
|
import { setHeaderBreadcrumbs } from '../../store/reducers/header/header';
|
19
|
-
import { storageApi } from '../../store/reducers/storage/storage';
|
20
18
|
import { vDiskApi } from '../../store/reducers/vdisk/vdisk';
|
21
19
|
import { valueIsDefined } from '../../utils';
|
22
20
|
import { cn } from '../../utils/cn';
|
23
|
-
import { DEFAULT_TABLE_SETTINGS } from '../../utils/constants';
|
24
21
|
import { stringifyVdiskId } from '../../utils/dataFormatters/dataFormatters';
|
25
22
|
import { getSeverityColor, getVDiskSlotBasedId } from '../../utils/disks/helpers';
|
26
23
|
import { useAutoRefreshInterval, useTypedDispatch, useTypedSelector } from '../../utils/hooks';
|
27
|
-
import {
|
28
|
-
import { useGetDiskStorageColumns } from '../Storage/StorageGroups/columns/hooks';
|
24
|
+
import { Storage } from '../Storage/Storage';
|
29
25
|
import { vDiskPageKeyset } from './i18n';
|
30
|
-
import { prepareVDiskGroupResponse } from './utils';
|
31
26
|
import './VDiskPage.scss';
|
32
27
|
const vDiskPageCn = cn('ydb-vdisk-page');
|
33
28
|
export function VDiskPage() {
|
34
29
|
const dispatch = useTypedDispatch();
|
35
30
|
const isUserAllowedToMakeChanges = useTypedSelector(selectIsUserAllowedToMakeChanges);
|
31
|
+
const newDiskApiAvailable = useDiskPagesAvailable();
|
36
32
|
const [{ nodeId, pDiskId, vDiskSlotId }] = useQueryParams({
|
37
33
|
nodeId: StringParam,
|
38
34
|
pDiskId: StringParam,
|
@@ -58,16 +54,14 @@ export function VDiskPage() {
|
|
58
54
|
valueIsDefined(VDisk);
|
59
55
|
const handleEvictVDisk = async (isRetry) => {
|
60
56
|
if (vDiskIdParamsDefined) {
|
61
|
-
return window.api
|
62
|
-
.evictVDisk({
|
57
|
+
return window.api[newDiskApiAvailable ? 'evictVDisk' : 'evictVDiskOld']({
|
63
58
|
groupId: GroupID,
|
64
59
|
groupGeneration: GroupGeneration,
|
65
60
|
failRealmIdx: Ring,
|
66
61
|
failDomainIdx: Domain,
|
67
62
|
vDiskIdx: VDisk,
|
68
63
|
force: isRetry,
|
69
|
-
})
|
70
|
-
.then((response) => {
|
64
|
+
}).then((response) => {
|
71
65
|
if ((response === null || response === void 0 ? void 0 : response.result) === false) {
|
72
66
|
const err = {
|
73
67
|
statusText: response.error,
|
@@ -113,9 +107,9 @@ export function VDiskPage() {
|
|
113
107
|
const renderInfo = () => {
|
114
108
|
return _jsx(VDiskInfo, { data: vDiskData, className: vDiskPageCn('info') });
|
115
109
|
};
|
116
|
-
const
|
117
|
-
if (valueIsDefined(GroupID)) {
|
118
|
-
return _jsx(
|
110
|
+
const renderStorageInfo = () => {
|
111
|
+
if (valueIsDefined(GroupID) && valueIsDefined(nodeId)) {
|
112
|
+
return (_jsxs(React.Fragment, { children: [_jsx("div", { className: vDiskPageCn('storage-title'), children: vDiskPageKeyset('storage') }), _jsx(Storage, { groupId: GroupID, nodeId: nodeId })] }));
|
119
113
|
}
|
120
114
|
return null;
|
121
115
|
};
|
@@ -123,26 +117,8 @@ export function VDiskPage() {
|
|
123
117
|
if (loading) {
|
124
118
|
return _jsx(InfoViewerSkeleton, { rows: 20 });
|
125
119
|
}
|
126
|
-
return (_jsxs(React.Fragment, { children: [error ? _jsx(ResponseError, { error: error }) : null, renderInfo(),
|
120
|
+
return (_jsxs(React.Fragment, { children: [error ? _jsx(ResponseError, { error: error }) : null, renderInfo(), renderStorageInfo()] }));
|
127
121
|
};
|
128
122
|
return (_jsxs("div", { className: vDiskPageCn(null), children: [renderHelmet(), renderPageMeta(), renderPageTitle(), renderControls(), renderContent()] }));
|
129
123
|
}
|
130
|
-
export function VDiskGroup({ groupId }) {
|
131
|
-
const capabilitiesLoaded = useCapabilitiesLoaded();
|
132
|
-
const groupsHandlerAvailable = useStorageGroupsHandlerAvailable();
|
133
|
-
const [autoRefreshInterval] = useAutoRefreshInterval();
|
134
|
-
const { currentData } = storageApi.useGetStorageGroupsInfoQuery({ groupId, shouldUseGroupsHandler: groupsHandlerAvailable }, {
|
135
|
-
pollingInterval: autoRefreshInterval,
|
136
|
-
skip: !capabilitiesLoaded,
|
137
|
-
});
|
138
|
-
const preparedGroups = React.useMemo(() => {
|
139
|
-
const group = prepareVDiskGroupResponse(currentData, groupId);
|
140
|
-
return group ? [group] : undefined;
|
141
|
-
}, [currentData, groupId]);
|
142
|
-
const vDiskStorageColumns = useGetDiskStorageColumns();
|
143
|
-
if (!preparedGroups) {
|
144
|
-
return null;
|
145
|
-
}
|
146
|
-
return (_jsxs(React.Fragment, { children: [_jsx("div", { className: vDiskPageCn('group-title'), children: vDiskPageKeyset('group') }), _jsx(ResizeableDataTable, { columnsWidthLSKey: STORAGE_GROUPS_COLUMNS_WIDTH_LS_KEY, data: preparedGroups, columns: vDiskStorageColumns, settings: DEFAULT_TABLE_SETTINGS })] }));
|
147
|
-
}
|
148
124
|
//# sourceMappingURL=VDiskPage.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"VDiskPage.js","sourceRoot":"","sources":["../../../src/containers/VDiskPage/VDiskPage.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,oBAAoB,EAAC,MAAM,mBAAmB,CAAC;AACvD,OAAO,EAAC,IAAI,EAAC,MAAM,mBAAmB,CAAC;AACvC,OAAO,EAAC,SAAS,EAAC,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAC,MAAM,EAAC,MAAM,oBAAoB,CAAC;AAC1C,OAAO,EAAC,WAAW,EAAE,cAAc,EAAC,MA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WAAW,CAAC,IAAI,CAAC,aAC5B,YAAY,EAAE,EACd,cAAc,EAAE,EAChB,eAAe,EAAE,EACjB,cAAc,EAAE,EAChB,aAAa,EAAE,IACd,CACT,CAAC;AACN,CAAC"}
|
@@ -3,21 +3,24 @@
|
|
3
3
|
.ydb-vdisk-page {
|
4
4
|
position: relative;
|
5
5
|
|
6
|
-
display: flex;
|
7
6
|
overflow: auto;
|
8
|
-
flex-direction: column;
|
9
|
-
gap: 20px;
|
10
7
|
|
11
8
|
height: 100%;
|
12
|
-
padding: 20px;
|
9
|
+
padding: 0 20px;
|
13
10
|
|
14
11
|
&__meta,
|
15
12
|
&__title,
|
16
13
|
&__controls,
|
17
14
|
&__info,
|
18
|
-
&
|
15
|
+
&__storage-title {
|
19
16
|
position: sticky;
|
20
17
|
left: 0;
|
18
|
+
|
19
|
+
margin-bottom: 20px;
|
20
|
+
}
|
21
|
+
|
22
|
+
&__meta {
|
23
|
+
margin-top: 20px;
|
21
24
|
}
|
22
25
|
|
23
26
|
&__controls {
|
@@ -26,20 +29,8 @@
|
|
26
29
|
gap: var(--g-spacing-2);
|
27
30
|
}
|
28
31
|
|
29
|
-
&
|
32
|
+
&__storage-title {
|
33
|
+
margin-bottom: 0;
|
30
34
|
@include header-1-typography();
|
31
35
|
}
|
32
|
-
|
33
|
-
&__group-disks {
|
34
|
-
display: flex;
|
35
|
-
flex-grow: 1;
|
36
|
-
flex-flow: row wrap;
|
37
|
-
gap: 10px;
|
38
|
-
|
39
|
-
margin-top: 20px;
|
40
|
-
}
|
41
|
-
|
42
|
-
&__group-disk {
|
43
|
-
width: 150px;
|
44
|
-
}
|
45
36
|
}
|
@@ -1 +1 @@
|
|
1
|
-
export declare const vDiskPageKeyset: (key: "
|
1
|
+
export declare const vDiskPageKeyset: (key: "storage" | "node" | "fqdn" | "pdisk" | "vdisk" | "evict-vdisk-button" | "force-evict-vdisk-button" | "evict-vdisk-dialog-header" | "evict-vdisk-dialog-text" | "evict-vdisk-not-allowed", params?: import("@gravity-ui/i18n").Params) => string;
|
package/dist/services/api.d.ts
CHANGED
@@ -1,6 +1,5 @@
|
|
1
1
|
import AxiosWrapper from '@gravity-ui/axios-wrapper';
|
2
2
|
import type { AxiosWrapperOptions } from '@gravity-ui/axios-wrapper';
|
3
|
-
import type { NodesApiRequestParams } from '../store/reducers/nodes/types';
|
4
3
|
import type { TMetaInfo } from '../types/api/acl';
|
5
4
|
import type { TQueryAutocomplete } from '../types/api/autocomplete';
|
6
5
|
import type { CapabilitiesResponse } from '../types/api/capabilities';
|
@@ -12,7 +11,7 @@ import type { JsonHotKeysResponse } from '../types/api/hotkeys';
|
|
12
11
|
import type { MetaBaseClusterInfo, MetaClusters } from '../types/api/meta';
|
13
12
|
import type { ModifyDiskResponse } from '../types/api/modifyDisk';
|
14
13
|
import type { TNetInfo } from '../types/api/netInfo';
|
15
|
-
import type { TNodesInfo } from '../types/api/nodes';
|
14
|
+
import type { NodesRequestParams, TNodesInfo } from '../types/api/nodes';
|
16
15
|
import type { TEvNodesInfo } from '../types/api/nodesList';
|
17
16
|
import type { EDecommitStatus, TEvPDiskStateResponse, TPDiskInfoResponse } from '../types/api/pdisk';
|
18
17
|
import type { Actions, ErrorResponse, QueryAPIResponse, Schemas, Stats, Timeout, TracingLevel } from '../types/api/query';
|
@@ -46,9 +45,9 @@ export declare class YdbEmbeddedAPI extends AxiosWrapper {
|
|
46
45
|
path: string;
|
47
46
|
database?: string;
|
48
47
|
}, { concurrentId, signal }?: AxiosOptions): Promise<TTenantInfo>;
|
49
|
-
getNodes({
|
50
|
-
getStorageInfo({ tenant, database, nodeId, groupId, pDiskId, ...params }: StorageRequestParams, { concurrentId, signal }?: AxiosOptions): Promise<TStorageInfo>;
|
51
|
-
getStorageGroups({ nodeId, pDiskId, groupId, fieldsRequired, ...params }: GroupsRequestParams, { concurrentId, signal }?: AxiosOptions): Promise<StorageGroupsResponse>;
|
48
|
+
getNodes({ type, tablets, database, tenant, fieldsRequired, filter, ...params }: NodesRequestParams, { concurrentId, signal }?: AxiosOptions): Promise<TNodesInfo>;
|
49
|
+
getStorageInfo({ tenant, database, nodeId, groupId, pDiskId, filter, ...params }: StorageRequestParams, { concurrentId, signal }?: AxiosOptions): Promise<TStorageInfo>;
|
50
|
+
getStorageGroups({ nodeId, pDiskId, groupId, fieldsRequired, filter, ...params }: GroupsRequestParams, { concurrentId, signal }?: AxiosOptions): Promise<StorageGroupsResponse>;
|
52
51
|
getNodeWhiteboardPDiskInfo({ nodeId, pDiskId }: {
|
53
52
|
nodeId: string | number;
|
54
53
|
pDiskId: string | number;
|
@@ -120,6 +119,7 @@ export declare class YdbEmbeddedAPI extends AxiosWrapper {
|
|
120
119
|
transaction_mode?: TransactionMode;
|
121
120
|
timeout?: Timeout;
|
122
121
|
query_id?: string;
|
122
|
+
limit_rows?: number;
|
123
123
|
}, { concurrentId, signal, withRetries }?: AxiosOptions): Promise<ErrorResponse | QueryAPIResponse<Action, Schema> | null>;
|
124
124
|
getHotKeys({ path, database, enableSampling }: {
|
125
125
|
path: string;
|
@@ -133,6 +133,13 @@ export declare class YdbEmbeddedAPI extends AxiosWrapper {
|
|
133
133
|
database: string;
|
134
134
|
maxLevel?: number;
|
135
135
|
}, { concurrentId, signal }?: AxiosOptions): Promise<HealthCheckAPIResponse>;
|
136
|
+
evictVDiskOld({ groupId, groupGeneration, failRealmIdx, failDomainIdx, vDiskIdx, }: {
|
137
|
+
groupId: string | number;
|
138
|
+
groupGeneration: string | number;
|
139
|
+
failRealmIdx: string | number;
|
140
|
+
failDomainIdx: string | number;
|
141
|
+
vDiskIdx: string | number;
|
142
|
+
}): Promise<any>;
|
136
143
|
evictVDisk({ groupId, groupGeneration, failRealmIdx, failDomainIdx, vDiskIdx, force, }: {
|
137
144
|
groupId: string | number;
|
138
145
|
groupGeneration: string | number;
|
@@ -141,6 +148,10 @@ export declare class YdbEmbeddedAPI extends AxiosWrapper {
|
|
141
148
|
vDiskIdx: string | number;
|
142
149
|
force?: boolean;
|
143
150
|
}): Promise<ModifyDiskResponse>;
|
151
|
+
restartPDiskOld({ nodeId, pDiskId }: {
|
152
|
+
nodeId: number | string;
|
153
|
+
pDiskId: number | string;
|
154
|
+
}): Promise<ModifyDiskResponse>;
|
144
155
|
restartPDisk({ nodeId, pDiskId, force, }: {
|
145
156
|
nodeId: number | string;
|
146
157
|
pDiskId: number | string;
|
package/dist/services/api.js
CHANGED
@@ -2,7 +2,7 @@ import AxiosWrapper from '@gravity-ui/axios-wrapper';
|
|
2
2
|
import axiosRetry from 'axios-retry';
|
3
3
|
import { backend as BACKEND, metaBackend as META_BACKEND } from '../store';
|
4
4
|
import { BINARY_DATA_IN_PLAIN_TEXT_DISPLAY, DEV_ENABLE_TRACING_FOR_ALL_REQUESTS, SECOND_IN_MS, } from '../utils/constants';
|
5
|
-
import {
|
5
|
+
import { createPDiskDeveloperUILink } from '../utils/developerUI/developerUI';
|
6
6
|
import { isAxiosError } from '../utils/response';
|
7
7
|
import { parseMetaCluster } from './parsers/parseMetaCluster';
|
8
8
|
import { parseMetaTenants } from './parsers/parseMetaTenants';
|
@@ -94,31 +94,35 @@ export class YdbEmbeddedAPI extends AxiosWrapper {
|
|
94
94
|
storage: true,
|
95
95
|
}, { concurrentId, requestConfig: { signal } });
|
96
96
|
}
|
97
|
-
getNodes({
|
98
|
-
const
|
97
|
+
getNodes({ type = 'any', tablets = false, database, tenant, fieldsRequired = 'all', filter, ...params }, { concurrentId, signal } = {}) {
|
98
|
+
const preparedFieldsRequired = Array.isArray(fieldsRequired)
|
99
|
+
? this.prepareArrayRequestParam(fieldsRequired)
|
100
|
+
: fieldsRequired;
|
99
101
|
return this.get(this.getPath('/viewer/json/nodes?enums=true'), {
|
100
|
-
with: visibleEntities,
|
101
102
|
type,
|
102
103
|
tablets,
|
103
|
-
|
104
|
-
|
104
|
+
// Do not send empty string
|
105
|
+
filter: filter || undefined,
|
105
106
|
// TODO: remove after remove tenant param
|
106
|
-
database:
|
107
|
-
tenant:
|
108
|
-
|
107
|
+
database: database || tenant,
|
108
|
+
tenant: tenant || database,
|
109
|
+
fields_required: preparedFieldsRequired,
|
110
|
+
...params,
|
109
111
|
}, { concurrentId, requestConfig: { signal } });
|
110
112
|
}
|
111
|
-
getStorageInfo({ tenant, database, nodeId, groupId, pDiskId, ...params }, { concurrentId, signal } = {}) {
|
113
|
+
getStorageInfo({ tenant, database, nodeId, groupId, pDiskId, filter, ...params }, { concurrentId, signal } = {}) {
|
112
114
|
return this.get(this.getPath(`/viewer/json/storage?enums=true`), {
|
113
115
|
database: database || tenant,
|
114
116
|
tenant: tenant || database,
|
115
117
|
node_id: nodeId,
|
116
118
|
group_id: groupId,
|
117
119
|
pdisk_id: pDiskId,
|
120
|
+
// Do not send empty string
|
121
|
+
filter: filter || undefined,
|
118
122
|
...params,
|
119
123
|
}, { concurrentId, requestConfig: { signal } });
|
120
124
|
}
|
121
|
-
getStorageGroups({ nodeId, pDiskId, groupId, fieldsRequired = 'all', ...params }, { concurrentId, signal } = {}) {
|
125
|
+
getStorageGroups({ nodeId, pDiskId, groupId, fieldsRequired = 'all', filter, ...params }, { concurrentId, signal } = {}) {
|
122
126
|
const preparedNodeId = Array.isArray(nodeId)
|
123
127
|
? this.prepareArrayRequestParam(nodeId)
|
124
128
|
: nodeId;
|
@@ -136,6 +140,8 @@ export class YdbEmbeddedAPI extends AxiosWrapper {
|
|
136
140
|
pdisk_id: preparedPDiskId,
|
137
141
|
group_id: preparedGroupId,
|
138
142
|
fields_required: preparedFieldsRequired,
|
143
|
+
// Do not send empty string
|
144
|
+
filter: filter || undefined,
|
139
145
|
...params,
|
140
146
|
}, { concurrentId, requestConfig: { signal } });
|
141
147
|
}
|
@@ -176,9 +182,9 @@ export class YdbEmbeddedAPI extends AxiosWrapper {
|
|
176
182
|
enums: true,
|
177
183
|
backup: false,
|
178
184
|
private: true,
|
179
|
-
partition_config:
|
180
|
-
partition_stats:
|
181
|
-
partitioning_info:
|
185
|
+
partition_config: false,
|
186
|
+
partition_stats: false,
|
187
|
+
partitioning_info: false,
|
182
188
|
subs: 1,
|
183
189
|
}, { concurrentId, requestConfig: { signal } });
|
184
190
|
}
|
@@ -329,6 +335,27 @@ export class YdbEmbeddedAPI extends AxiosWrapper {
|
|
329
335
|
getHealthcheckInfo({ database, maxLevel }, { concurrentId, signal } = {}) {
|
330
336
|
return this.get(this.getPath('/viewer/json/healthcheck?merge_records=true'), { database, tenant: database, max_level: maxLevel }, { concurrentId, requestConfig: { signal } });
|
331
337
|
}
|
338
|
+
evictVDiskOld({ groupId, groupGeneration, failRealmIdx, failDomainIdx, vDiskIdx, }) {
|
339
|
+
// BSC Id is constant for all ydb clusters
|
340
|
+
const BSC_TABLET_ID = '72057594037932033';
|
341
|
+
return this.post(this.getPath(`/tablets/app?TabletID=${BSC_TABLET_ID}&exec=1`), {
|
342
|
+
Command: {
|
343
|
+
ReassignGroupDisk: {
|
344
|
+
GroupId: groupId,
|
345
|
+
GroupGeneration: groupGeneration,
|
346
|
+
FailRealmIdx: failRealmIdx,
|
347
|
+
FailDomainIdx: failDomainIdx,
|
348
|
+
VDiskIdx: vDiskIdx,
|
349
|
+
},
|
350
|
+
},
|
351
|
+
}, {}, {
|
352
|
+
headers: {
|
353
|
+
// This handler requires exactly this string
|
354
|
+
// Automatic headers may not suit
|
355
|
+
Accept: 'application/json',
|
356
|
+
},
|
357
|
+
});
|
358
|
+
}
|
332
359
|
evictVDisk({ groupId, groupGeneration, failRealmIdx, failDomainIdx, vDiskIdx, force, }) {
|
333
360
|
return this.post(this.getPath('/vdisk/evict'), {}, {
|
334
361
|
group_id: groupId,
|
@@ -341,6 +368,18 @@ export class YdbEmbeddedAPI extends AxiosWrapper {
|
|
341
368
|
requestConfig: { 'axios-retry': { retries: 0 } },
|
342
369
|
});
|
343
370
|
}
|
371
|
+
restartPDiskOld({ nodeId, pDiskId }) {
|
372
|
+
const pDiskPath = createPDiskDeveloperUILink({
|
373
|
+
nodeId,
|
374
|
+
pDiskId,
|
375
|
+
host: this.getPath(''),
|
376
|
+
});
|
377
|
+
return this.post(pDiskPath, 'restartPDisk=', {}, {
|
378
|
+
headers: {
|
379
|
+
'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8',
|
380
|
+
},
|
381
|
+
});
|
382
|
+
}
|
344
383
|
restartPDisk({ nodeId, pDiskId, force, }) {
|
345
384
|
return this.post(this.getPath('/pdisk/restart'), {}, {
|
346
385
|
node_id: nodeId,
|