Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: merge version v1, v2 folders #5701

Merged
merged 3 commits into from
Mar 18, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ import { useProxyValue } from '@/common/composables/proxy-state';
import { TAGS_OPTIONS, TAGS_PREFIX } from '@/common/modules/custom-table/custom-field-modal/config';
import ColumnItemForDynamicLayout from '@/common/modules/custom-table/custom-field-modal/modules/ColumnItemForDynamicLayout.vue';

import { convertAgentModeOptions } from '@/services/asset-inventory-v1/helpers/agent-mode-helper';
import { getServiceAccountTableSchema, updateCustomTableSchema } from '@/services/asset-inventory-v1/helpers/dynamic-ui-schema-generator';
import { convertAgentModeOptions } from '@/services/asset-inventory/helpers/agent-mode-helper';
import { getServiceAccountTableSchema, updateCustomTableSchema } from '@/services/asset-inventory/helpers/dynamic-ui-schema-generator';
import type {
GetSchemaParams,
ResourceType,
} from '@/services/asset-inventory-v1/helpers/dynamic-ui-schema-generator/type';
} from '@/services/asset-inventory/helpers/dynamic-ui-schema-generator/type';

const SelectCloudServiceTagColumns = () => import('@/common/modules/custom-table/custom-field-modal/modules/SelectCloudServiceTagColumns.vue');
const SelectTagColumns = () => import('@/common/modules/custom-table/custom-field-modal/modules/SelectTagColumns.vue');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { QueryHelper } from '@cloudforet/core-lib/query';
import { SEARCH_TAB } from '@/common/modules/navigations/top-bar/modules/top-bar-search/config';
import type { SearchTab } from '@/common/modules/navigations/top-bar/modules/top-bar-search/type';

import { ASSET_INVENTORY_ROUTE_V1 } from '@/services/asset-inventory-v1/routes/route-constant';
import { ASSET_INVENTORY_ROUTE } from '@/services/asset-inventory/routes/route-constant';
import { DASHBOARDS_ROUTE } from '@/services/dashboards/routes/route-constant';
import { PROJECT_ROUTE } from '@/services/project/routes/route-constant';

Expand All @@ -15,7 +15,7 @@ export const topBarSearchReferenceRouter = (type: Exclude<SearchTab, 'service'>,
switch (type) {
case SEARCH_TAB.SERVICE_ACCOUNT:
return {
name: ASSET_INVENTORY_ROUTE_V1.SERVICE_ACCOUNT.DETAIL._NAME,
name: ASSET_INVENTORY_ROUTE.SERVICE_ACCOUNT.DETAIL._NAME,
params: { serviceAccountId: resourceId, workspaceId },
};
case SEARCH_TAB.PROJECT:
Expand All @@ -31,7 +31,7 @@ export const topBarSearchReferenceRouter = (type: Exclude<SearchTab, 'service'>,
case SEARCH_TAB.CLOUD_SERVICE:
if (!options.name || !options.group || !options.provider) throw new Error('provider and group are required for cloudService type');
return {
name: ASSET_INVENTORY_ROUTE_V1.CLOUD_SERVICE.DETAIL._NAME,
name: ASSET_INVENTORY_ROUTE.CLOUD_SERVICE.DETAIL._NAME,
params: {
name: options.name,
workspaceId,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ import type { FavoriteItem, FavoriteType } from '@/common/modules/favorites/favo
import { useGnbStore } from '@/common/modules/navigations/stores/gnb-store';
import TopBarSuggestionList from '@/common/modules/navigations/top-bar/modules/TopBarSuggestionList.vue';

import { ASSET_INVENTORY_ROUTE_V1 } from '@/services/asset-inventory-v1/routes/route-constant';
import { ASSET_INVENTORY_ROUTE } from '@/services/asset-inventory/routes/route-constant';
import { COST_EXPLORER_ROUTE } from '@/services/cost-explorer/routes/route-constant';
import { useDashboardQuery } from '@/services/dashboards/composables/use-dashboard-query';
import { DASHBOARDS_ROUTE } from '@/services/dashboards/routes/route-constant';
Expand Down Expand Up @@ -277,7 +277,7 @@ const handleSelect = (item: FavoriteMenuItem) => {
router.push(referenceRouter(itemName, { resource_type: 'identity.ProjectGroup' })).catch(() => {});
} else if (item.itemType === FAVORITE_TYPE.METRIC) {
router.push({
name: ASSET_INVENTORY_ROUTE_V1.METRIC_EXPLORER.DETAIL._NAME,
name: ASSET_INVENTORY_ROUTE.METRIC_EXPLORER.DETAIL._NAME,
params: {
metricId: item.name || '',
},
Expand All @@ -286,7 +286,7 @@ const handleSelect = (item: FavoriteMenuItem) => {
const metricId = storeState.metricExamples.find((example) => example.example_id === item.name)?.metric_id;
if (!metricId) return;
router.push({
name: ASSET_INVENTORY_ROUTE_V1.METRIC_EXPLORER.DETAIL.EXAMPLE._NAME,
name: ASSET_INVENTORY_ROUTE.METRIC_EXPLORER.DETAIL.EXAMPLE._NAME,
params: {
metricId,
metricExampleId: item.name || '',
Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/common/modules/tags/tags-panel/TagsPanel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import type { Tag } from '@/common/modules/tags/type';

import type {
CloudServiceTagTableItem,
} from '@/services/asset-inventory-v1/types/cloud-service-detail-tag-type';
} from '@/services/asset-inventory/types/cloud-service-detail-tag-type';

const props = withDefaults(defineProps<{
resourceKey: string;
Expand Down
8 changes: 4 additions & 4 deletions apps/web/src/common/modules/widgets/DailyUpdates.vue
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,8 @@ import WidgetLayout from '@/common/components/layouts/WidgetLayout.vue';
import ErrorHandler from '@/common/composables/error/errorHandler';
import { useGrantScopeGuard } from '@/common/composables/grant-scope-guard';

import { ASSET_INVENTORY_ROUTE_V1 } from '@/services/asset-inventory-v1/routes/route-constant';
import type { CloudServiceDetailPageUrlQuery } from '@/services/asset-inventory-v1/types/cloud-service-page-type';
import { ASSET_INVENTORY_ROUTE } from '@/services/asset-inventory/routes/route-constant';
import type { CloudServiceDetailPageUrlQuery } from '@/services/asset-inventory/types/cloud-service-page-type';


interface CloudServiceData {
Expand Down Expand Up @@ -269,7 +269,7 @@ export default {
createdCount: d.created_count,
deletedCount: d.deleted_count,
createdHref: {
name: ASSET_INVENTORY_ROUTE_V1.CLOUD_SERVICE.DETAIL._NAME,
name: ASSET_INVENTORY_ROUTE.CLOUD_SERVICE.DETAIL._NAME,
params: {
provider: d.provider,
group: d.cloud_service_group,
Expand All @@ -283,7 +283,7 @@ export default {
},
},
deletedHref: {
name: ASSET_INVENTORY_ROUTE_V1.CLOUD_SERVICE.DETAIL._NAME,
name: ASSET_INVENTORY_ROUTE.CLOUD_SERVICE.DETAIL._NAME,
params: {
provider: d.provider,
group: d.cloud_service_group,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ import {
} from '@/common/modules/widgets/_constants/data-table-constant';
import type { DataTableQueryFilter } from '@/common/modules/widgets/types/widget-model';

import { PROJECT_GROUP_LABEL_INFO } from '@/services/asset-inventory-v1/constants/asset-analysis-constant';
import { PROJECT_GROUP_LABEL_INFO } from '@/services/asset-inventory/constants/asset-analysis-constant';
import { GROUP_BY_ITEM_MAP } from '@/services/cost-explorer/constants/cost-explorer-constant';

const TAGS_DATA_KEY = 'tags';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ import { useWidgetGenerateStore } from '@/common/modules/widgets/_store/widget-g
import type { DataTableQueryFilterForDropdown } from '@/common/modules/widgets/types/widget-data-table-type';
import type { DataTableSourceType, DataTableQueryFilter } from '@/common/modules/widgets/types/widget-model';

import { PROJECT_GROUP_LABEL_INFO } from '@/services/asset-inventory-v1/constants/asset-analysis-constant';
import { PROJECT_GROUP_LABEL_INFO } from '@/services/asset-inventory/constants/asset-analysis-constant';
import { GROUP_BY } from '@/services/cost-explorer/constants/cost-explorer-constant';


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ import type { DataInfo } from '@/common/modules/widgets/types/widget-model';

import { gray, white } from '@/styles/colors';

import { SIZE_UNITS } from '@/services/asset-inventory-v1/constants/asset-analysis-constant';
import { SIZE_UNITS } from '@/services/asset-inventory/constants/asset-analysis-constant';
import { GRANULARITY } from '@/services/cost-explorer/constants/cost-explorer-constant';
import type { Granularity } from '@/services/cost-explorer/types/cost-explorer-query-type';
import { useDashboardDetailQuery } from '@/services/dashboards/composables/use-dashboard-detail-query';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ import type {
} from '@/common/modules/widgets/types/widget-display-type';
import type { FullDataLink, WidgetFrameProps } from '@/common/modules/widgets/types/widget-frame-type';

import { ADMIN_ASSET_INVENTORY_ROUTE_V1 } from '@/services/asset-inventory-v1/routes/admin/route-constant';
import { ASSET_INVENTORY_ROUTE_V1 } from '@/services/asset-inventory-v1/routes/route-constant';
import type { MetricFilter } from '@/services/asset-inventory-v1/types/asset-analysis-type';
import { ADMIN_ASSET_INVENTORY_ROUTE } from '@/services/asset-inventory/routes/admin/route-constant';
import { ASSET_INVENTORY_ROUTE } from '@/services/asset-inventory/routes/route-constant';
import type { MetricFilter } from '@/services/asset-inventory/types/asset-analysis-type';
import { UNIFIED_COST_KEY } from '@/services/cost-explorer/constants/cost-explorer-constant';
import { DYNAMIC_COST_QUERY_SET_PARAMS } from '@/services/cost-explorer/constants/managed-cost-analysis-query-sets';
import { ADMIN_COST_EXPLORER_ROUTE } from '@/services/cost-explorer/routes/admin/route-constant';
Expand Down Expand Up @@ -136,7 +136,7 @@ const getFullDataLocation = (
const _metricId = dataTable?.options?.[DATA_SOURCE_DOMAIN.ASSET]?.metric_id;
if (_metricId) {
return {
name: isAdminMode ? ADMIN_ASSET_INVENTORY_ROUTE_V1.METRIC_EXPLORER.DETAIL._NAME : ASSET_INVENTORY_ROUTE_V1.METRIC_EXPLORER.DETAIL._NAME,
name: isAdminMode ? ADMIN_ASSET_INVENTORY_ROUTE.METRIC_EXPLORER.DETAIL._NAME : ASSET_INVENTORY_ROUTE.METRIC_EXPLORER.DETAIL._NAME,
params: {
workspaceId: isAdminMode ? undefined : workspaceId,
metricId: _metricId,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { DATE_FIELD } from '@/common/modules/widgets/_constants/widget-constant'
import { NUMBER_FORMAT } from '@/common/modules/widgets/_constants/widget-field-constant';
import type { NumberFormatInfo } from '@/common/modules/widgets/_widget-fields/number-format/type';

import { SIZE_UNITS } from '@/services/asset-inventory-v1/constants/asset-analysis-constant';
import { SIZE_UNITS } from '@/services/asset-inventory/constants/asset-analysis-constant';


export const sortWidgetTableFields = (fields: string[]): string[] => {
Expand Down
4 changes: 2 additions & 2 deletions apps/web/src/common/pages/AlertPublicDetailPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ import { red } from '@/styles/colors';
import {
ALERT_SEVERITY_COLORS,
ALERT_SEVERITY_LABELS,
} from '@/services/alert-manager-v1/constants/alert-constant';
import { ALERT_MANAGER_ROUTE } from '@/services/alert-manager/routes/route-constant';
} from '@/services/alert-manager/v1/constants/alert-constant';
import { ALERT_MANAGER_ROUTE } from '@/services/alert-manager/v2/routes/route-constant';
import { AUTH_ROUTE } from '@/services/auth/routes/route-constant';

const router = useRouter();
Expand Down
10 changes: 5 additions & 5 deletions apps/web/src/lib/helper/router-recent-helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { MENU_INFO_MAP } from '@/lib/menu/menu-info';
import type { RecentType } from '@/common/modules/navigations/type';
import { RECENT_TYPE } from '@/common/modules/navigations/type';

import { ASSET_INVENTORY_ROUTE_V1 } from '@/services/asset-inventory-v1/routes/route-constant';
import { ASSET_INVENTORY_ROUTE } from '@/services/asset-inventory/routes/route-constant';
import { MANAGED_COST_QUERY_SET_ID_LIST } from '@/services/cost-explorer/constants/managed-cost-analysis-query-sets';
import { COST_EXPLORER_ROUTE } from '@/services/cost-explorer/routes/route-constant';
import { DASHBOARDS_ROUTE } from '@/services/dashboards/routes/route-constant';
Expand All @@ -31,7 +31,7 @@ export const getRecentConfig = (to: Route): RecentConfig | undefined => {
}

/* ClOUD SERVICE */
if (to.name === ASSET_INVENTORY_ROUTE_V1.CLOUD_SERVICE.DETAIL._NAME) {
if (to.name === ASSET_INVENTORY_ROUTE.CLOUD_SERVICE.DETAIL._NAME) {
const provider = to?.params?.provider;
const group = to?.params?.group;
const name = to?.params?.name;
Expand All @@ -40,7 +40,7 @@ export const getRecentConfig = (to: Route): RecentConfig | undefined => {
}

/* SECURITY */
if (to.name === ASSET_INVENTORY_ROUTE_V1.SECURITY.DETAIL._NAME) {
if (to.name === ASSET_INVENTORY_ROUTE.SECURITY.DETAIL._NAME) {
const provider = to?.params?.provider;
const group = to?.params?.group;
const name = to?.params?.name;
Expand All @@ -63,7 +63,7 @@ export const getRecentConfig = (to: Route): RecentConfig | undefined => {
return { itemType: RECENT_TYPE.PROJECT, workspaceId, itemId: projectId };
}

if (to.name === ASSET_INVENTORY_ROUTE_V1.SERVICE_ACCOUNT.DETAIL._NAME) {
if (to.name === ASSET_INVENTORY_ROUTE.SERVICE_ACCOUNT.DETAIL._NAME) {
const serviceAccountId = to?.params?.serviceAccountId;
const isTrustedAccount = serviceAccountId.startsWith('ta');
if (!serviceAccountId) return undefined;
Expand All @@ -80,7 +80,7 @@ export const getRecentConfig = (to: Route): RecentConfig | undefined => {
return { itemType: RECENT_TYPE.COST_ANALYSIS, workspaceId, itemId: costQuerySetId };
}

if (to.name === ASSET_INVENTORY_ROUTE_V1.METRIC_EXPLORER.DETAIL._NAME) {
if (to.name === ASSET_INVENTORY_ROUTE.METRIC_EXPLORER.DETAIL._NAME) {
const metricId = to?.params?.metricId;
if (!metricId) return undefined;
return { itemType: RECENT_TYPE.METRIC_EXPLORER, workspaceId, itemId: metricId };
Expand Down
2 changes: 2 additions & 0 deletions apps/web/src/lib/menu/menu-architecture.ts
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,8 @@ export const ADMIN_MENU_LIST_FOR_ALERT_MANAGER_V2: Menu[] = [
id: MENU_ID.ASSET_INVENTORY,
subMenuList: [
{ id: MENU_ID.CLOUD_SERVICE },
{ id: MENU_ID.SERVER },
{ id: MENU_ID.SECURITY },
{ id: MENU_ID.METRIC_EXPLORER },
{ id: MENU_ID.COLLECTOR },
{ id: MENU_ID.SERVICE_ACCOUNT },
Expand Down
20 changes: 10 additions & 10 deletions apps/web/src/lib/menu/menu-info.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ import type { MenuId, MenuInfo } from '@/lib/menu/config';
import { MENU_ID } from '@/lib/menu/config';

import { ADMIN_ADVANCED_ROUTE } from '@/services/advanced/routes/admin/route-constant';
import { ALERT_MANAGER_ROUTE_V1 } from '@/services/alert-manager-v1/routes/route-constant';
import { ALERT_MANAGER_ROUTE } from '@/services/alert-manager/routes/route-constant';
import { ASSET_INVENTORY_ROUTE_V1 } from '@/services/asset-inventory-v1/routes/route-constant';
import { ALERT_MANAGER_ROUTE_V1 } from '@/services/alert-manager/v1/routes/route-constant';
import { ALERT_MANAGER_ROUTE } from '@/services/alert-manager/v2/routes/route-constant';
import { ASSET_INVENTORY_ROUTE } from '@/services/asset-inventory/routes/route-constant';
import { ADMIN_COST_EXPLORER_ROUTE } from '@/services/cost-explorer/routes/admin/route-constant';
import { COST_EXPLORER_ROUTE } from '@/services/cost-explorer/routes/route-constant';
import { DASHBOARDS_ROUTE } from '@/services/dashboards/routes/route-constant';
Expand Down Expand Up @@ -39,43 +39,43 @@ export const MENU_INFO_MAP: Record<MenuId, MenuInfo> = Object.freeze({
},
[MENU_ID.ASSET_INVENTORY]: {
menuId: MENU_ID.ASSET_INVENTORY,
routeName: ASSET_INVENTORY_ROUTE_V1._NAME,
routeName: ASSET_INVENTORY_ROUTE._NAME,
translationId: 'MENU.ASSET_INVENTORY',
icon: 'ic_service_asset-inventory',
},
[MENU_ID.CLOUD_SERVICE]: {
menuId: MENU_ID.CLOUD_SERVICE,
routeName: ASSET_INVENTORY_ROUTE_V1.CLOUD_SERVICE._NAME,
routeName: ASSET_INVENTORY_ROUTE.CLOUD_SERVICE._NAME,
translationId: 'MENU.ASSET_INVENTORY_CLOUD_SERVICE',
icon: 'ic_service_cloud-service',
},
[MENU_ID.SERVER]: {
menuId: MENU_ID.SERVER,
routeName: ASSET_INVENTORY_ROUTE_V1.SERVER._NAME,
routeName: ASSET_INVENTORY_ROUTE.SERVER._NAME,
translationId: 'MENU.ASSET_INVENTORY_SERVER',
icon: 'ic_service_server',
},
[MENU_ID.SECURITY]: {
menuId: MENU_ID.SECURITY,
routeName: ASSET_INVENTORY_ROUTE_V1.SECURITY._NAME,
routeName: ASSET_INVENTORY_ROUTE.SECURITY._NAME,
translationId: 'MENU.ASSET_INVENTORY_SECURITY',
icon: 'ic_service_security',
},
[MENU_ID.METRIC_EXPLORER]: {
menuId: MENU_ID.METRIC_EXPLORER,
routeName: ASSET_INVENTORY_ROUTE_V1.METRIC_EXPLORER._NAME,
routeName: ASSET_INVENTORY_ROUTE.METRIC_EXPLORER._NAME,
translationId: 'MENU.ASSET_INVENTORY_METRIC_EXPLORER',
icon: 'ic_service_metric-explorer',
},
[MENU_ID.COLLECTOR]: {
menuId: MENU_ID.COLLECTOR,
routeName: ASSET_INVENTORY_ROUTE_V1.COLLECTOR._NAME,
routeName: ASSET_INVENTORY_ROUTE.COLLECTOR._NAME,
translationId: 'MENU.ASSET_INVENTORY_COLLECTOR',
icon: 'ic_service_collector',
},
[MENU_ID.SERVICE_ACCOUNT]: {
menuId: MENU_ID.SERVICE_ACCOUNT,
routeName: ASSET_INVENTORY_ROUTE_V1.SERVICE_ACCOUNT._NAME,
routeName: ASSET_INVENTORY_ROUTE.SERVICE_ACCOUNT._NAME,
translationId: 'MENU.ASSET_INVENTORY_SERVICE_ACCOUNT',
icon: 'ic_service_service-account',
},
Expand Down
16 changes: 8 additions & 8 deletions apps/web/src/lib/reference/referenceRouter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import { QueryHelper } from '@cloudforet/core-lib/query';

import type { Reference, ResourceType } from '@/lib/reference/type';

import { ADMIN_ASSET_INVENTORY_ROUTE_V1 } from '@/services/asset-inventory-v1/routes/admin/route-constant';
import { ASSET_INVENTORY_ROUTE_V1 } from '@/services/asset-inventory-v1/routes/route-constant';
import { ADMIN_ASSET_INVENTORY_ROUTE } from '@/services/asset-inventory/routes/admin/route-constant';
import { ASSET_INVENTORY_ROUTE } from '@/services/asset-inventory/routes/route-constant';
import { PROJECT_ROUTE } from '@/services/project/routes/route-constant';

interface LinkFormatter {
Expand Down Expand Up @@ -103,7 +103,7 @@ type RouterMap = Record<ResourceType, { name: string; formatter: LinkFormatter}>
const routerMap = (isAdminMode?: boolean): RouterMap => ({
'inventory.Server':
{
name: ASSET_INVENTORY_ROUTE_V1.SERVER._NAME,
name: ASSET_INVENTORY_ROUTE.SERVER._NAME,
formatter: serverLinkFormatter,
},
'identity.Project':
Expand All @@ -118,27 +118,27 @@ const routerMap = (isAdminMode?: boolean): RouterMap => ({
},
'inventory.Collector':
{
name: isAdminMode ? ADMIN_ASSET_INVENTORY_ROUTE_V1.COLLECTOR._NAME : ASSET_INVENTORY_ROUTE_V1.COLLECTOR._NAME,
name: isAdminMode ? ADMIN_ASSET_INVENTORY_ROUTE.COLLECTOR._NAME : ASSET_INVENTORY_ROUTE.COLLECTOR._NAME,
formatter: collectorLinkFormatter,
},
'identity.ServiceAccount':
{
name: isAdminMode ? ADMIN_ASSET_INVENTORY_ROUTE_V1.SERVICE_ACCOUNT.DETAIL._NAME : ASSET_INVENTORY_ROUTE_V1.SERVICE_ACCOUNT.DETAIL._NAME,
name: isAdminMode ? ADMIN_ASSET_INVENTORY_ROUTE.SERVICE_ACCOUNT.DETAIL._NAME : ASSET_INVENTORY_ROUTE.SERVICE_ACCOUNT.DETAIL._NAME,
formatter: serviceAccountLinkFormatter,
},
'identity.TrustedAccount':
{
name: isAdminMode ? ADMIN_ASSET_INVENTORY_ROUTE_V1.SERVICE_ACCOUNT.DETAIL._NAME : ASSET_INVENTORY_ROUTE_V1.SERVICE_ACCOUNT.DETAIL._NAME,
name: isAdminMode ? ADMIN_ASSET_INVENTORY_ROUTE.SERVICE_ACCOUNT.DETAIL._NAME : ASSET_INVENTORY_ROUTE.SERVICE_ACCOUNT.DETAIL._NAME,
formatter: serviceAccountLinkFormatter,
},
'inventory.CloudService':
{
name: isAdminMode ? ADMIN_ASSET_INVENTORY_ROUTE_V1.CLOUD_SERVICE.SEARCH._NAME : ASSET_INVENTORY_ROUTE_V1.CLOUD_SERVICE.SEARCH._NAME,
name: isAdminMode ? ADMIN_ASSET_INVENTORY_ROUTE.CLOUD_SERVICE.SEARCH._NAME : ASSET_INVENTORY_ROUTE.CLOUD_SERVICE.SEARCH._NAME,
formatter: cloudServiceLinkFormatter,
},
'inventory.CloudServiceType':
{
name: isAdminMode ? ADMIN_ASSET_INVENTORY_ROUTE_V1.CLOUD_SERVICE.TYPE_SEARCH._NAME : ASSET_INVENTORY_ROUTE_V1.CLOUD_SERVICE.TYPE_SEARCH._NAME,
name: isAdminMode ? ADMIN_ASSET_INVENTORY_ROUTE.CLOUD_SERVICE.TYPE_SEARCH._NAME : ASSET_INVENTORY_ROUTE.CLOUD_SERVICE.TYPE_SEARCH._NAME,
formatter: cloudServiceTypeLinkFormatter,
},
});
Expand Down
Loading
Loading