From e1e62157e9b467eed0c6ab446a9df597b46e3333 Mon Sep 17 00:00:00 2001 From: Frank Kong <50030060+Zaperex@users.noreply.github.com> Date: Tue, 4 Jun 2024 21:12:29 -0400 Subject: [PATCH] feat: add the scaffolder relation processor plugin (#1299) * feat: add the scaffolder relation processor plugin Signed-off-by: Frank Kong * chore: update default dynamic plugin config path Signed-off-by: Frank Kong * chore: update dynamic-plugins-info UI E2E test Signed-off-by: Frank Kong --------- Signed-off-by: Frank Kong --- dynamic-plugins.default.yaml | 2 ++ dynamic-plugins/imports/package.json | 3 ++- .../plugins/dynamic-plugins-info/dynamic-plugins-info.spec.ts | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/dynamic-plugins.default.yaml b/dynamic-plugins.default.yaml index c5f4c3f587..0be0c52e0f 100644 --- a/dynamic-plugins.default.yaml +++ b/dynamic-plugins.default.yaml @@ -864,3 +864,5 @@ plugins: maskIP: true # prevents IP addresses from being sent if true testMode: ${SEGMENT_TEST_MODE} # prevents data from being sent if true + - package: ./dynamic-plugins/dist/janus-idp-backstage-plugin-catalog-backend-module-scaffolder-relation-processor-dynamic + disabled: false diff --git a/dynamic-plugins/imports/package.json b/dynamic-plugins/imports/package.json index a3082bfabc..0db7c11f05 100644 --- a/dynamic-plugins/imports/package.json +++ b/dynamic-plugins/imports/package.json @@ -33,6 +33,7 @@ "@janus-idp/backstage-scaffolder-backend-module-quay": "1.4.6", "@janus-idp/backstage-scaffolder-backend-module-regex": "1.4.6", "@janus-idp/backstage-scaffolder-backend-module-servicenow": "1.4.7", - "@janus-idp/backstage-scaffolder-backend-module-sonarqube": "1.4.6" + "@janus-idp/backstage-scaffolder-backend-module-sonarqube": "1.4.6", + "@janus-idp/backstage-plugin-catalog-backend-module-scaffolder-relation-processor": "1.0.1" } } diff --git a/e2e-tests/playwright/e2e/plugins/dynamic-plugins-info/dynamic-plugins-info.spec.ts b/e2e-tests/playwright/e2e/plugins/dynamic-plugins-info/dynamic-plugins-info.spec.ts index 976c3cfe34..035e9e3328 100644 --- a/e2e-tests/playwright/e2e/plugins/dynamic-plugins-info/dynamic-plugins-info.spec.ts +++ b/e2e-tests/playwright/e2e/plugins/dynamic-plugins-info/dynamic-plugins-info.spec.ts @@ -23,7 +23,7 @@ test.describe('dynamic-plugins-info UI tests', () => { // what shows up in the list depends on how the instance is configured so // let's check for the main basic elements of the component to verify the // mount point is working as expected - await uiHelper.verifyText('Plugins (53)'); + await uiHelper.verifyText('Plugins (54)'); await uiHelper.verifyText('5 rows'); await uiHelper.verifyColumnHeading( ['Name', 'Version', 'Enabled', 'Preinstalled', 'Role'],