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

add dynamic wrapper for nexus-repository-manager plugin #1738

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Our current list of plugins within the showcase app include:
- [Dynatrace plugin](https://github.com/backstage/community-plugins/tree/main/workspaces/dynatrace/plugins/dynatrace)
- [Gitlab Scaffolder actions](https://github.com/backstage/backstage/tree/master/plugins/scaffolder-backend-module-gitlab)
- [Utils Scaffolder actions](https://github.com/RoadieHQ/roadie-backstage-plugins/tree/main/plugins/scaffolder-actions/scaffolder-backend-module-utils)
- [Nexus Repository Manager plugin](https://github.com/janus-idp/backstage-plugins/tree/main/plugins/nexus-repository-manager)
- [Nexus Repository Manager plugin](https://github.com/backstage/community-plugins/tree/main/workspaces/nexus-repository-manager/plugins/nexus-repository-manager)
- [AAP Backend plugin](https://github.com/janus-idp/backstage-plugins/tree/main/plugins/aap-backend)

## Getting Started
Expand Down
2 changes: 1 addition & 1 deletion app-config.dynamic-plugins.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ dynamicPlugins:
if:
anyOf:
- isJfrogArtifactoryAvailable
janus-idp.backstage-plugin-nexus-repository-manager:
backstage-community.plugin-nexus-repository-manager:
mountPoints:
- mountPoint: entity.page.image-registry/cards
importName: NexusRepositoryManagerPage
Expand Down
4 changes: 2 additions & 2 deletions dynamic-plugins.default.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -780,12 +780,12 @@ plugins:
anyOf:
- isQuayAvailable

- package: ./dynamic-plugins/dist/janus-idp-backstage-plugin-nexus-repository-manager
- package: ./dynamic-plugins/dist/backstage-community-plugin-nexus-repository-manager
disabled: true
pluginConfig:
dynamicPlugins:
frontend:
janus-idp.backstage-plugin-nexus-repository-manager:
backstage-community.plugin-nexus-repository-manager:
mountPoints:
- mountPoint: entity.page.image-registry/cards
importName: NexusRepositoryManagerPage
Expand Down
1 change: 0 additions & 1 deletion dynamic-plugins/imports/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
"@janus-idp/backstage-plugin-analytics-provider-segment": "1.7.2",
"@janus-idp/backstage-plugin-jfrog-artifactory": "1.7.5",
"@janus-idp/backstage-plugin-keycloak-backend": "1.13.2",
"@janus-idp/backstage-plugin-nexus-repository-manager": "1.9.5",
"@janus-idp/backstage-plugin-ocm": "4.4.4",
"@janus-idp/backstage-plugin-ocm-backend": "4.4.2",
"@janus-idp/backstage-plugin-quay": "1.11.7",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
{
"name": "backstage-community-plugin-nexus-repository-manager",
"version": "1.10.1",
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
"publishConfig": {
"access": "public",
"main": "dist/index.cjs.js",
"types": "dist/index.d.ts"
},
"backstage": {
"role": "frontend-plugin",
"supported-versions": "1.29.2",
"pluginId": "nexus-repository-manager",
"pluginPackages": [
"backstage-community-plugin-nexus-repository-manager"
]
},
"sideEffects": false,
"scripts": {
"build": "backstage-cli package build",
"lint": "backstage-cli package lint",
"test": "backstage-cli package test --passWithNoTests --coverage",
"clean": "backstage-cli package clean",
"export-dynamic": "janus-cli package export-dynamic-plugin --in-place"
},
"dependencies": {
"@backstage-community/plugin-nexus-repository-manager": "1.10.1"
},
"devDependencies": {
"@backstage/cli": "0.26.11",
"@janus-idp/cli": "1.14.0"
},
"files": [
"dist",
"dist-scalprum"
],
"scalprum": {
"name": "backstage-community.plugin-nexus-repository-manager",
"exposedModules": {
"PluginRoot": "./src/index.ts"
}
},
"repository": {
"type": "git",
"url": "https://github.com/janus-idp/backstage-showcase",
"directory": "dynamic-plugins/wrappers/backstage-community-plugin-nexus-repository-manager"
},
"maintainers": [
"@janus-idp/maintainers-showcase"
],
"author": "Red Hat",
"homepage": "https://red.ht/rhdh",
"bugs": "https://issues.redhat.com/browse/RHIDP",
"keywords": [
"support:tech-preview",
"lifecycle:active"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from '@backstage-community/plugin-nexus-repository-manager';
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ export const InternalPluginsMap: Record<string, string> = {
'./dynamic-plugins/dist/janus-idp-backstage-plugin-tekton',
'@janus-idp/backstage-plugin-quay':
'./dynamic-plugins/dist/janus-idp-backstage-plugin-quay',
'@janus-idp/backstage-plugin-nexus-repository-manager':
'./dynamic-plugins/dist/janus-idp-backstage-plugin-nexus-repository-manager',
'backstage-community-plugin-nexus-repository-manager':
'./dynamic-plugins/dist/backstage-community-plugin-nexus-repository-manager',
'backstage-community-plugin-acr':
'./dynamic-plugins/dist/backstage-community-plugin-acr',
'@janus-idp/backstage-plugin-jfrog-artifactory':
Expand Down
33 changes: 33 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3276,6 +3276,22 @@
"@types/react" "^16.13.1 || ^17.0.0 || ^18.0.0"
react-use "^17.2.4"

"@backstage-community/[email protected]":
version "1.10.1"
resolved "https://registry.yarnpkg.com/@backstage-community/plugin-nexus-repository-manager/-/plugin-nexus-repository-manager-1.10.1.tgz#48229125b4451fb04705124dded6f1abbb48062e"
integrity sha512-h8K0d6GmZc+5sS5tIdkPmihGmby0khHZMjoEZWC+p0eCGZKzHfIxyP+nyXOwBLEkUAvGNG3MYIdDEWGxhtaHhg==
dependencies:
"@backstage/catalog-model" "^1.5.0"
"@backstage/core-components" "^0.14.9"
"@backstage/core-plugin-api" "^1.9.3"
"@backstage/plugin-catalog-react" "^1.12.2"
"@backstage/theme" "^0.5.6"
"@janus-idp/shared-react" "2.11.0"
"@material-ui/core" "^4.9.13"
"@material-ui/icons" "^4.11.3"
"@material-ui/lab" "^4.0.0-alpha.45"
react-use "^17.4.0"

"@backstage-community/[email protected]", "@backstage-community/plugin-redhat-argocd-common@^1.0.5":
version "1.0.5"
resolved "https://registry.yarnpkg.com/@backstage-community/plugin-redhat-argocd-common/-/plugin-redhat-argocd-common-1.0.5.tgz#13f2f32236a6a4e810e67a14635aadb553948a3d"
Expand Down Expand Up @@ -9123,6 +9139,23 @@
mathjs "^11.11.2"
react-use "^17.5.0"

"@janus-idp/[email protected]":
version "2.11.0"
resolved "https://registry.yarnpkg.com/@janus-idp/shared-react/-/shared-react-2.11.0.tgz#026f02eb951a5591bff089aaf14fae6b9bc2d89f"
integrity sha512-A4SU1E9u/9eP83KiIh5RFV0EeuQIBUFinfjJev63FVEi23JbV549EbSXAolGENNj1V2VCr037n78j6eLBbQYEA==
dependencies:
"@backstage/catalog-model" "1.5.0"
"@backstage/core-plugin-api" "^1.9.3"
"@backstage/plugin-kubernetes-common" "0.8.0"
"@backstage/plugin-kubernetes-react" "0.4.0"
"@kubernetes/client-node" "^0.20.0"
classnames "^2.3.2"
date-fns "^2.30.0"
file-saver "^2.0.5"
lodash "^4.17.21"
mathjs "^11.11.2"
react-use "^17.5.0"

"@jest-mock/express@^2.0.1":
version "2.0.2"
resolved "https://registry.yarnpkg.com/@jest-mock/express/-/express-2.0.2.tgz#e4f61c30b45e517c14b35ea5d67d89a7e52908f7"
Expand Down
Loading