-
Task
-
Resolution: Done
-
Blocker
-
None
-
5
-
False
-
-
False
-
RHIDP-4169 - Plugins should be able to know on which Backstage they are running on.
-
-
As a plugin owner/author, I would like to be able to know if my plugin is running on RHDH or vanilla Backstage for analytics purpose.
As a plugin owner/author, I would like to be able to know which Backstage I'm running on (e.g. OSS, RHDH, RHTAP, others**), so I can display more information if needed. For example, the Tekton plugin should display the security vulnerabilities only if it's on RHTAP but not RHDH and OSS.
**Partners such as Deloitte and IBM will also need to use this feature as well for their respective offerings.
- add a new configuration key called `developerHub->flavor` to the RHDH configuration file https://github.com/janus-idp/backstage-showcase/blob/main/app-config.yaml
- the value should be `rhdh`
- add the configuration to our schema https://github.com/janus-idp/backstage-showcase/blob/main/packages/app/config.d.ts#L3
- provide example code how to query that configuration in our plugins developer documentation
- is incorporated by
-
RHIDP-4579 [DOC] Release notes for Red Hat Developer Hub 1.4
- Closed
1.
|
[DOC] SME Review | Closed | Gerry Forde | ||
2.
|
[DOC] QE Review | Closed | Unassigned | ||
3.
|
[DOC] Peer Review | Closed | Gerry Forde |