diff --git a/dynamic-plugins.default.yaml b/dynamic-plugins.default.yaml index 01a9cbd5c6..395cbd131e 100644 --- a/dynamic-plugins.default.yaml +++ b/dynamic-plugins.default.yaml @@ -1133,3 +1133,39 @@ plugins: config: path: marketplace title: Catalog + + # Group: Orchestrator + - package: "@redhat/backstage-plugin-orchestrator@1.5.1" + disabled: true + integrity: sha512-7VOe+XGTUzrdO/av0DNHbydOjB3Lo+XdCs6fj3JVODLP7Ypd3GXHf/nssYxG5ZYC9F1t9MNeguE2bZOB6ckqTA== + pluginConfig: + dynamicPlugins: + frontend: + red-hat-developer-hub.backstage-plugin-orchestrator: + appIcons: + - importName: OrchestratorIcon + module: OrchestratorPlugin + name: orchestratorIcon + dynamicRoutes: + - importName: OrchestratorPage + menuItem: + icon: orchestratorIcon + text: Orchestrator + module: OrchestratorPlugin + path: /orchestrator + + - package: "@redhat/backstage-plugin-orchestrator-backend-dynamic@1.5.1" + disabled: true + integrity: sha512-VIenFStdq9QvvmgmEMG8O7b2wqIebvEcqNeJ9SWZ8jen9t+efTK6D3Rde74LQ1no1QaHLx8RoxNCOuTUEF8O/g== + pluginConfig: + orchestrator: + dataIndexService: + url: http://sonataflow-platform-data-index-service + + - package: "@redhat/backstage-plugin-scaffolder-backend-module-orchestrator-dynamic@1.5.1" + disabled: true + integrity: sha512-bnVQjVsUZ470Vgm2kd5Lo/bVa2fF0q4GufBDc/8oTQsnP3zZJQqKFvFElBTCjY76RqkECydlvZ1UFybSzvockQ== + pluginConfig: + orchestrator: + dataIndexService: + url: http://sonataflow-platform-data-index-service diff --git a/dynamic-plugins/_utils/src/wrappers.test.ts b/dynamic-plugins/_utils/src/wrappers.test.ts index 2411a81103..fd2ae2e218 100644 --- a/dynamic-plugins/_utils/src/wrappers.test.ts +++ b/dynamic-plugins/_utils/src/wrappers.test.ts @@ -119,7 +119,7 @@ function validateDynamicPluginsConfig( const isExternalPlugin = externalDynamicPlugins?.some( (externalDynamicPlugin) => externalDynamicPlugin.package === plugin.package, - ); + ) || !plugin.package.startsWith("./"); if (!isExternalPlugin) { // We want the third index ['.', 'dynamic-plugins', 'dist', 'backstage-plugin-scaffolder-backend-module-github-dynamic'] packageNames.push(plugin.package.split("/")[3]);