Skip to content

Commit

Permalink
fix(scalprum): make module optional with PluginRoot fallback
Browse files Browse the repository at this point in the history
Signed-off-by: Tomas Coufal <tcoufal@redhat.com>
  • Loading branch information
tumido committed Nov 6, 2023
1 parent 6a97d70 commit cc57002
Show file tree
Hide file tree
Showing 39 changed files with 63 additions and 188 deletions.
32 changes: 0 additions & 32 deletions app-config.example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@ dynamicPlugins:
backstage.plugin-azure-devops:
mountPoints:
- mountPoint: entity.page.ci/cards
module: AzureDevopsPlugin
importName: EntityAzurePipelinesContent
config:
layout:
Expand All @@ -114,7 +113,6 @@ dynamicPlugins:
allOf:
- isAzureDevOpsAvailable
- mountPoint: entity.page.pull-requests/cards
module: AzureDevopsPlugin
importName: EntityAzurePullRequestsContent
config:
layout:
Expand All @@ -125,7 +123,6 @@ dynamicPlugins:
backstage.plugin-dynatrace:
mountPoints:
- mountPoint: entity.page.monitoring/cards
module: DynatracePlugin
importName: DynatraceTab
config:
layout:
Expand All @@ -136,7 +133,6 @@ dynamicPlugins:
backstage.plugin-github-actions:
mountPoints:
- mountPoint: entity.page.ci/cards
module: GithubActionsPlugin
importName: EntityGithubActionsContent
config:
layout:
Expand All @@ -147,7 +143,6 @@ dynamicPlugins:
backstage.plugin-github-issues:
mountPoints:
- mountPoint: entity.page.issues/cards
module: GithubIssuesPlugin
importName: GithubIssuesCard
config:
layout:
Expand All @@ -158,7 +153,6 @@ dynamicPlugins:
backstage.plugin-jenkins:
mountPoints:
- mountPoint: entity.page.ci/cards
module: JenkinsPlugin
importName: EntityJenkinsContent
config:
layout:
Expand All @@ -169,7 +163,6 @@ dynamicPlugins:
backstage.plugin-kubernetes:
mountPoints:
- mountPoint: entity.page.kubernetes/cards
module: KubernetesPlugin
importName: EntityKubernetesContent
config:
layout:
Expand All @@ -181,14 +174,12 @@ dynamicPlugins:
backstage.plugin-lighthouse:
dynamicRoutes:
- path: /lighthouse
module: LighthousePlugin
importName: LighthousePage
menuItem:
icon: Assessment
text: Lighthouse
mountPoints:
- mountPoint: entity.page.overview/cards
module: LighthousePlugin
importName: EntityLastLighthouseAuditCard
config:
layout:
Expand All @@ -199,7 +190,6 @@ dynamicPlugins:
backstage.plugin-pagerduty:
mountPoints:
- mountPoint: entity.page.overview/cards
module: PagerdutyPlugin
importName: EntityPagerDutyCard
config:
layout:
Expand All @@ -210,7 +200,6 @@ dynamicPlugins:
backstage.plugin-sonarqube:
mountPoints:
- mountPoint: entity.page.overview/cards
module: SonarQubePlugin
importName: EntitySonarQubeCard
config:
layout:
Expand All @@ -222,7 +211,6 @@ dynamicPlugins:
immobiliarelabs.backstage-plugin-gitlab:
mountPoints:
- mountPoint: entity.page.overview/cards
module: GitlabPlugin
importName: EntityGitlabMergeRequestStatsCard
config:
layout:
Expand All @@ -232,7 +220,6 @@ dynamicPlugins:
allOf:
- isGitlabAvailable
- mountPoint: entity.page.ci/cards
module: GitlabPlugin
importName: EntityGitlabPipelinesTable
config:
layout:
Expand All @@ -241,7 +228,6 @@ dynamicPlugins:
allOf:
- isGitlabAvailable
- mountPoint: entity.page.issues/cards
module: GitlabPlugin
importName: EntityGitlabIssuesTable
config:
layout:
Expand All @@ -250,7 +236,6 @@ dynamicPlugins:
allOf:
- isGitlabAvailable
- mountPoint: entity.page.pull-requests/cards
module: GitlabPlugin
importName: EntityGitlabMergeRequestsTable
config:
layout:
Expand All @@ -261,7 +246,6 @@ dynamicPlugins:
janus-idp.backstage-plugin-jfrog-artifactory:
mountPoints:
- mountPoint: entity.page.image-registry/cards
module: JfrogArtifactoryPlugin
importName: JfrogArtifactoryPage
config:
layout:
Expand All @@ -272,7 +256,6 @@ dynamicPlugins:
janus-idp.backstage-plugin-nexus-repository-manager:
mountPoints:
- mountPoint: entity.page.image-registry/cards
module: NexusRepositoryManagerPlugin
importName: NexusRepositoryManagerPage
config:
layout:
Expand All @@ -283,17 +266,14 @@ dynamicPlugins:
janus-idp.backstage-plugin-ocm:
dynamicRoutes:
- path: /ocm
module: OcmPlugin
importName: OcmPage
menuItem:
icon: Storage
text: Clusters
mountPoints:
- mountPoint: entity.page.overview/context
module: OcmPlugin
importName: ClusterContextProvider
- mountPoint: entity.page.overview/cards
module: OcmPlugin
importName: ClusterAvailableResourceCard
config:
layout:
Expand All @@ -305,7 +285,6 @@ dynamicPlugins:
- isType: kubernetes-cluster
- mountPoint: entity.page.overview/cards
importName: ClusterInfoCard
module: OcmPlugin
config:
if:
allOf:
Expand All @@ -314,7 +293,6 @@ dynamicPlugins:
janus-idp.backstage-plugin-quay:
mountPoints:
- mountPoint: entity.page.image-registry/cards
module: QuayPlugin
importName: QuayPage
config:
layout:
Expand All @@ -325,7 +303,6 @@ dynamicPlugins:
janus-idp.backstage-plugin-tekton:
mountPoints:
- mountPoint: entity.page.ci/cards
module: TektonPlugin
importName: TektonCI
config:
layout:
Expand All @@ -336,7 +313,6 @@ dynamicPlugins:
janus-idp.backstage-plugin-topology:
mountPoints:
- mountPoint: entity.page.topology/cards
module: TopologyPlugin
importName: TopologyPage
config:
layout:
Expand All @@ -348,7 +324,6 @@ dynamicPlugins:
roadiehq.backstage-plugin-argo-cd:
mountPoints:
- mountPoint: entity.page.overview/cards
module: ArgocdPlugin
importName: EntityArgoCDOverviewCard
config:
layout:
Expand All @@ -357,7 +332,6 @@ dynamicPlugins:
allOf:
- isArgocdAvailable
- mountPoint: entity.page.cd/cards
module: ArgocdPlugin
importName: EntityArgoCDHistoryCard
config:
layout:
Expand All @@ -368,7 +342,6 @@ dynamicPlugins:
roadiehq.backstage-plugin-datadog:
mountPoints:
- mountPoint: entity.page.monitoring/cards
module: DatadogPlugin
importName: EntityDatadogContent
config:
layout:
Expand All @@ -379,7 +352,6 @@ dynamicPlugins:
roadiehq.backstage-plugin-github-insights:
mountPoints:
- mountPoint: entity.page.overview/cards
module: GithubInsightsPlugin
importName: EntityGithubInsightsComplianceCard
config:
layout:
Expand All @@ -391,7 +363,6 @@ dynamicPlugins:
roadiehq.backstage-plugin-github-pull-requests:
mountPoints:
- mountPoint: entity.page.overview/cards
module: GithubPullRequestsPlugin
importName: EntityGithubPullRequestsOverviewCard
config:
layout:
Expand All @@ -401,7 +372,6 @@ dynamicPlugins:
allOf:
- isGithubPullRequestsAvailable
- mountPoint: entity.page.pull-requests/cards
module: GithubPullRequestsPlugin
importName: EntityGithubPullRequestsContent
config:
layout:
Expand All @@ -412,7 +382,6 @@ dynamicPlugins:
roadiehq.backstage-plugin-jira:
mountPoints:
- mountPoint: entity.page.issues/cards
module: JiraPlugin
importName: EntityJiraOverviewCard
config:
layout:
Expand All @@ -423,7 +392,6 @@ dynamicPlugins:
roadiehq.backstage-plugin-security-insights:
mountPoints:
- mountPoint: entity.page.overview/cards
module: SecurityInsightsPlugin
importName: EntityDependabotAlertsCard
config:
layout:
Expand Down
Loading

0 comments on commit cc57002

Please sign in to comment.