Skip to content

Commit 7eb2266

Browse files
authored
plugin(acs): remove references/files for RHDH from ACS plugin (#3457)
Signed-off-by: Matt Knop <[email protected]>
1 parent f84ad73 commit 7eb2266

File tree

4 files changed

+56
-1386
lines changed

4 files changed

+56
-1386
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@backstage-community/plugin-acs': patch
3+
---
4+
5+
Removed all references to RHDH from README and files

workspaces/acs/plugins/acs/README.md

-34
Original file line numberDiff line numberDiff line change
@@ -83,40 +83,6 @@ acs:
8383
acsUrl: ${ACS_API_URL}
8484
```
8585
86-
## RHDH Dynamic Plugin Config
87-
88-
The ACS plugin is also available as a [Red Hat Developer Hub (RHDH)](https://github.com/redhat-developer/rhdh) dynamic plugin. The following should be able to run within the [RHDH local](https://github.com/redhat-developer/rhdh-local) repo.
89-
90-
Here's an example of how to configure the ACS plugin as a dynamic plugin in RHDH:
91-
92-
```yaml
93-
- package: '@backstage-community/[email protected]'
94-
disabled: false
95-
pluginConfig:
96-
dynamicPlugins:
97-
frontend:
98-
redhatinsights.backstage-plugin-acs:
99-
entityTabs:
100-
- path: /acs
101-
title: RHACS
102-
mountPoint: entity.page.acs
103-
mountPoints:
104-
- mountPoint: entity.page.acs/cards
105-
importName: EntityACSContent
106-
config:
107-
layout:
108-
gridColumnEnd:
109-
lg: 'span 12'
110-
md: 'span 12'
111-
xs: 'span 12'
112-
```
113-
114-
Each service component entity in the catalog will need to have an annotation added that references the deployment(s) in order to display vulnerability data for them. Here is an example:
115-
116-
```
117-
acs/deployment-name: "test-deployment-1,test-deployment-2,test-deployment-3"
118-
```
119-
12086
## Local Development
12187
12288
### Prerequisites

workspaces/acs/plugins/acs/package.json

+1-4
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@
2222
"test": "backstage-cli package test",
2323
"clean": "backstage-cli package clean",
2424
"prepack": "backstage-cli package prepack",
25-
"postpack": "backstage-cli package postpack",
26-
"export-dynamic": "janus-cli package export-dynamic-plugin"
25+
"postpack": "backstage-cli package postpack"
2726
},
2827
"dependencies": {
2928
"@apollo/client": "^3.12.5",
@@ -65,7 +64,6 @@
6564
"@backstage/dev-utils": "^1.1.6",
6665
"@backstage/frontend-test-utils": "^0.2.6",
6766
"@backstage/test-utils": "^1.7.4",
68-
"@janus-idp/cli": "^1.19.1",
6967
"@testing-library/jest-dom": "^6.0.0",
7068
"@testing-library/react": "^14.0.0",
7169
"@testing-library/user-event": "^14.0.0",
@@ -76,7 +74,6 @@
7674
"configSchema": "config.d.ts",
7775
"files": [
7876
"dist",
79-
"dist-scalprum",
8077
"config.d.ts"
8178
]
8279
}

0 commit comments

Comments
 (0)