Skip to content

Commit

Permalink
chore: rename acr plugin directory references (redhat-developer#1711)
Browse files Browse the repository at this point in the history
* rename acr plugin directory references

Signed-off-by: Kashish Mittal <[email protected]>

* rename acr plugin paths to reflect the one in community-plugins

Signed-off-by: Kashish Mittal <[email protected]>

* update dynamic plugins info test

Signed-off-by: Kashish Mittal <[email protected]>

---------

Signed-off-by: Kashish Mittal <[email protected]>
  • Loading branch information
04kash authored Oct 1, 2024
1 parent 1598737 commit 619414b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion app-config.dynamic-plugins.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ dynamicPlugins:
if:
allOf:
- isGitlabAvailable
janus-idp.backstage-plugin-acr:
backstage-community.plugin-acr:
mountPoints:
- mountPoint: entity.page.image-registry/cards
importName: AcrPage
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ describe('DynamicPluginsTable', () => {
expect(nameCells[0].textContent).toBe(
'@janus-idp/backstage-plugin-3scale-backend-dynamic',
);
expect(nameCells[4].textContent).toBe(
expect(nameCells[3].textContent).toBe(
'@janus-idp/backstage-plugin-bulk-import',
);
expect(versionCells[0].textContent).toBe('');
Expand Down Expand Up @@ -87,7 +87,7 @@ describe('DynamicPluginsTable', () => {
expect(nameCells[0].textContent).toBe(
'@janus-idp/backstage-plugin-3scale-backend-dynamic',
);
expect(nameCells[4].textContent).toBe(
expect(nameCells[3].textContent).toBe(
'@janus-idp/backstage-plugin-bulk-import',
);
await act(() => findByText('Name').then(el => el.click()));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ export const InternalPluginsMap: Record<string, string> = {
'./dynamic-plugins/dist/janus-idp-backstage-plugin-quay',
'@janus-idp/backstage-plugin-nexus-repository-manager':
'./dynamic-plugins/dist/janus-idp-backstage-plugin-nexus-repository-manager',
'@janus-idp/backstage-plugin-acr':
'./dynamic-plugins/dist/janus-idp-backstage-plugin-acr',
'backstage-community-plugin-acr':
'./dynamic-plugins/dist/backstage-community-plugin-acr',
'@janus-idp/backstage-plugin-jfrog-artifactory':
'./dynamic-plugins/dist/janus-idp-backstage-plugin-jfrog-artifactory',
'pagerduty-backstage-plugin':
Expand Down

0 comments on commit 619414b

Please sign in to comment.