Skip to content
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ const config: Config.InitialOptions = {
'@shell/(.*)': '<rootDir>/node_modules/@rancher/shell/$1',
'@components/(.*)':
'<rootDir>/node_modules/@rancher/components/dist/@rancher/components.common.js',
'@benchmark-compliance/(.*)': '<rootDir>/pkg/benchmark-compliance/$1',
'@sbombastic-image-vulnerability-scanner/(.*)': '<rootDir>/pkg/sbombastic-image-vulnerability-scanner/$1',
'@network/(.*)': '<rootDir>/pkg/network/$1',
'@runtime-process-profile/(.*)': '<rootDir>/pkg/runtime-process-profile/$1',
Expand Down
1 change: 0 additions & 1 deletion pkg/benchmark-compliance/babel.config.js

This file was deleted.

18 changes: 0 additions & 18 deletions pkg/benchmark-compliance/index.ts

This file was deleted.

Empty file.
26 changes: 0 additions & 26 deletions pkg/benchmark-compliance/package.json

This file was deleted.

31 changes: 0 additions & 31 deletions pkg/benchmark-compliance/pages/overview.vue

This file was deleted.

35 changes: 0 additions & 35 deletions pkg/benchmark-compliance/product.ts

This file was deleted.

12 changes: 0 additions & 12 deletions pkg/benchmark-compliance/routes/benchmark-routes.ts

This file was deleted.

54 changes: 0 additions & 54 deletions pkg/benchmark-compliance/tsconfig.json

This file was deleted.

37 changes: 0 additions & 37 deletions pkg/benchmark-compliance/vue.config.js

This file was deleted.

1 change: 0 additions & 1 deletion pkg/network/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
"@components/*": [
"@rancher/components/*"
],
"@benchmark-compliance/*": ["./*"],
"@tests/*": ["./tests/*"]
}
},
Expand Down
1 change: 0 additions & 1 deletion pkg/runtime-process-profile/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
"@components/*": [
"@rancher/components/*"
],
"@benchmark-compliance/*": ["./*"],
"@tests/*": ["./tests/*"]
}
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<div v-if="registryStatus.scan_name" class="registry-status-record">
<RouterLink class="scan-name" :to="`/c/${this.$route.params.cluster}/${ this.PRODUCT_NAME }/${ this.PAGE.REGISTRIES }/${ registryStatus.namespace }/${ registryStatus.scan_name }`">{{ registryStatus.scan_name }}</RouterLink>
<div class="registry-name">{{ registryStatus.registry_name }}</div>
<div v-if="registryStatus.registry_name" class="registry-status-record">
<RouterLink class="registry-name" :to="`/c/${this.$route.params.cluster}/${ this.PRODUCT_NAME }/${ this.PAGE.REGISTRIES }/${ registryStatus.namespace }/${ registryStatus.registry_name }`">{{ registryStatus.registry_name }}</RouterLink>
<div class="uri">{{ registryStatus.uri }}</div>
<div class="prev-status"><RegisterStatusBadge :status="registryStatus.prev_status"/></div>
<div class="arrow"></div>
<div class="curr-status"><RegisterStatusBadge :status="registryStatus.curr_status"/></div>
Expand Down Expand Up @@ -60,7 +60,7 @@
padding: 4px 0px;
align-items: center;
align-self: stretch;
.scan-name {
.registry-name {
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 1;
Expand All @@ -74,19 +74,21 @@
font-weight: 400;
line-height: 21px;
}
.registry-name {
.uri {
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 1;
flex: 10;
overflow: hidden;
color: #141419;
text-overflow: ellipsis;
word-break: break-all;
font-family: Lato;
font-size: 14px;
font-style: normal;
font-weight: 400;
line-height: 21px;
margin-right: 8px;
}
.prev-status {
flex: 5;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,6 @@ export function init($plugin: IPlugin, store: any) {
inStore: "cluster",
});

virtualType({
labelKey: 'imageScanner.registries.title',
name: PAGE.REGISTRIES,
namespaced: false,
route: {
name: `c-cluster-${PRODUCT_NAME}-${PAGE.REGISTRIES}`,
params: {
product: PRODUCT_NAME
},
meta: { pkg: PRODUCT_NAME, product: PRODUCT_NAME }
}
});

virtualType({
labelKey: 'imageScanner.images.title',
name: PAGE.IMAGE_OVERVIEW,
Expand Down Expand Up @@ -70,6 +57,6 @@ export function init($plugin: IPlugin, store: any) {
PAGE.VULNERABILITY_OVERVIEW,
]);

basicType([PAGE.REGISTRIES, RESOURCE.REGISTRY], 'Advanced');
basicType([RESOURCE.REGISTRY], 'Advanced');

}
Loading