Skip to content

Commit b18e2e5

Browse files
chore: replace some janus references with RHDH (#2115)
Signed-off-by: Christoph Jerolimov <jerolimov+git@redhat.com>
1 parent 19c6fe3 commit b18e2e5

File tree

16 files changed

+35
-35
lines changed

16 files changed

+35
-35
lines changed

workspaces/bulk-import/plugins/bulk-import-backend/scripts/openapi.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22
#
3-
# Copyright 2024 The Janus IDP Authors
3+
# Copyright Red Hat, Inc.
44
#
55
# Licensed under the Apache License, Version 2.0 (the "License");
66
# you may not use this file except in compliance with the License.

workspaces/bulk-import/plugins/bulk-import-backend/src/schema/openapi.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Copyright 2024 The Janus IDP Authors
2+
# Copyright Red Hat, Inc.
33
#
44
# Licensed under the Apache License, Version 2.0 (the "License");
55
# you may not use this file except in compliance with the License.

workspaces/bulk-import/plugins/bulk-import-backend/src/service/handlers/import/bulkImports.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ async function resolveReposDefaultBranches(
265265
}>[] = [];
266266
for (const loc of allLocations) {
267267
// loc has the following format: https://github.com/<org>/<repo>/blob/<default-branch>/catalog-info.yaml
268-
// but it can have a more convoluted format like 'https://github.com/janus-idp/backstage-plugins/blob/main/plugins/scaffolder-annotator-action/examples/templates/01-scaffolder-template.yaml'
268+
// but it can have a more convoluted format like 'https://github.com/redhat-developer/rhdh-plugins/blob/main/plugins/scaffolder-annotator-action/examples/templates/01-scaffolder-template.yaml'
269269
// if registered manually from the 'Register existing component' feature in Backstage.
270270
if (!loc.endsWith(catalogFilename)) {
271271
logger.debug(

workspaces/bulk-import/plugins/bulk-import/src/utils/repository-utils.test.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -82,13 +82,13 @@ describe('Repository utils', () => {
8282
});
8383

8484
it('should parse key-value pairs correctly with semicolons', () => {
85-
const prKeyValuePairInput = `argocd/app-name: 'guestbook'; github.com/project-slug: janus-idp/backstage-showcase; backstage.io/createdAt: '5/12/2021, 07:03:18 AM'; quay.io/repository-slug: janus-idp/backstage-showcase; backstage.io/kubernetes-id: test-backstage`;
85+
const prKeyValuePairInput = `argocd/app-name: 'guestbook'; github.com/project-slug: redhat-developer/rhdh; backstage.io/createdAt: '5/12/2021, 07:03:18 AM'; quay.io/repository-slug: redhat-developer/rhdh; backstage.io/kubernetes-id: test-backstage`;
8686

8787
const expectedOutput = {
8888
'argocd/app-name': 'guestbook',
89-
'github.com/project-slug': 'janus-idp/backstage-showcase',
89+
'github.com/project-slug': 'redhat-developer/rhdh',
9090
'backstage.io/createdAt': '5/12/2021, 07:03:18 AM',
91-
'quay.io/repository-slug': 'janus-idp/backstage-showcase',
91+
'quay.io/repository-slug': 'redhat-developer/rhdh',
9292
'backstage.io/kubernetes-id': 'test-backstage',
9393
};
9494

@@ -112,11 +112,11 @@ describe('Repository utils', () => {
112112
});
113113

114114
it('should handle extra whitespace around key-value pairs', () => {
115-
const prKeyValuePairInput = ` argocd/app-name : 'guestbook' ; github.com/project-slug : janus-idp/backstage-showcase ; backstage.io/createdAt : '5/12/2021, 07:03:18 AM' `;
115+
const prKeyValuePairInput = ` argocd/app-name : 'guestbook' ; github.com/project-slug : redhat-developer/rhdh ; backstage.io/createdAt : '5/12/2021, 07:03:18 AM' `;
116116

117117
const expectedOutput = {
118118
'argocd/app-name': 'guestbook',
119-
'github.com/project-slug': 'janus-idp/backstage-showcase',
119+
'github.com/project-slug': 'redhat-developer/rhdh',
120120
'backstage.io/createdAt': '5/12/2021, 07:03:18 AM',
121121
};
122122

workspaces/extensions/examples/packages/backstage-community-plugin-topology.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ metadata:
77
links:
88
- url: https://red.ht/rhdh
99
title: Homepage
10-
- url: https://github.com/janus-idp/backstage-plugins/issues
10+
- url: https://github.com/backstage/community-plugins/issues
1111
title: Bugs
1212
- title: Source Code
1313
url: https://github.com/redhat-developer/rhdh/tree/main/dynamic-plugins/wrappers/backstage-community-plugin-topology

workspaces/extensions/plugins/catalog-backend-module-extensions/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,4 +136,4 @@ This module provides different process used to ingest the `plugin` and `pluginLi
136136
- **ExtensionsPluginProcessors** - Ingests `Plugin` entity into the catalog.
137137
- **ExtensionsCollectionProcessors** - Ingests `PluginList` entity into the catalog.
138138
- **LocalPluginInstallStatusProcessor** - Add and Update `entity.spec.installStatus` based on the packages installed in backstage workspaces.
139-
- **DynamicPluginInstallStatusProcessor** - Add and Update `entity.spec.installStatus` based on the dynamic plugin installed in RHDH. This processor will work only when you have [scalprum-backend](https://github.com/janus-idp/backstage-showcase/tree/main/plugins/scalprum-backend) installed in your backstage instance.
139+
- **DynamicPluginInstallStatusProcessor** - Add and Update `entity.spec.installStatus` based on the dynamic plugin installed in RHDH. This processor will work only when you have [scalprum-backend](https://github.com/redhat-developer/rhdh/tree/main/plugins/scalprum-backend) installed in your backstage instance.

workspaces/homepage/docs/cards/markdown.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ dynamicPlugins:
3030
3131
* [Website](https://developers.redhat.com/rhdh/overview)
3232
* [Documentation](https://docs.redhat.com/en/documentation/red_hat_developer_hub/)
33-
* [GitHub Showcase](https://github.com/janus-idp/backstage-showcase)
34-
* [GitHub Plugins](https://github.com/janus-idp/backstage-plugins)
33+
* [GitHub RHDH](https://github.com/redhat-developer/rhdh)
34+
* [GitHub RHDH Plugins](https://github.com/redhat-developer/rhdh-plugins)
3535
- mountPoint: home.page/cards
3636
importName: Markdown
3737
config:
@@ -49,8 +49,8 @@ dynamicPlugins:
4949
5050
* [Website](https://developers.redhat.com/rhdh/overview)
5151
* [Documentation](https://docs.redhat.com/en/documentation/red_hat_developer_hub/)
52-
* [GitHub Showcase](https://github.com/janus-idp/backstage-showcase)
53-
* [GitHub Plugins](https://github.com/janus-idp/backstage-plugins)
52+
* [GitHub RHDH](https://github.com/redhat-developer/rhdh)
53+
* [GitHub RHDH Plugins](https://github.com/redhat-developer/rhdh-plugins)
5454
```
5555
5656
## Available props

workspaces/lightspeed/plugins/lightspeed/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ Follow the below steps -
153153

154154
`yarn build`
155155

156-
`npx @janus-idp/cli@latest package package-dynamic-plugins --export-to <path-to>/rhdh/dynamic-plugins-root`
156+
`npx @red-hat-developer-hub/cli plugin export --dynamic-plugins-root <path-to>/rhdh/dynamic-plugins-root`
157157

158158
- Add the extension point inside the `app-config.yaml` or `app-config.local.yaml` file.
159159

workspaces/orchestrator/plugins/orchestrator-form-widgets/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const app = createApp({
2121

2222
### Dynamic (for RHDH production)
2323

24-
For RHDH production deployments, it is expected that the plugin is exported as a dynamic plugin using Janus CLI a loaded among the other dynamic frontend plugins.
24+
For RHDH production deployments, it is expected that the plugin is exported as a dynamic plugin using RHDH CLI a loaded among the other dynamic frontend plugins.
2525
No explicit configuration is needed.
2626

2727
## `http-workflow-dev-server` - HTTP server for dynamic widgets development

workspaces/redhat-resource-optimization/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"lint": "backstage-cli repo lint --since origin/main",
2525
"lint:all": "backstage-cli repo lint",
2626
"prettier:check": "prettier --check .",
27-
"prettier:all": "prettier --write .",
27+
"prettier:fix": "prettier --write .",
2828
"new": "backstage-cli new --scope @red-hat-developer-hub",
2929
"postinstall": "cd ../../ && yarn install"
3030
},

0 commit comments

Comments
 (0)