Separate changesets

Signed-off-by: Joon Park <joonp@spotify.com>
This commit is contained in:
Joon Park
2021-12-09 17:19:15 +00:00
parent 366ca3ebfb
commit 2f8a9b665f
4 changed files with 12 additions and 10 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/backend-common': minor
---
Generate backend-to-backend secret for dev mode
-8
View File
@@ -1,8 +0,0 @@
---
'@backstage/backend-common': minor
'example-app': patch
'example-backend': patch
'@backstage/plugin-permission-node': patch
---
Integrate permission framework into example app
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-permission-node': patch
---
Add ServerPermissionClient to check for backend-to-backend tokens
@@ -153,7 +153,7 @@ describe('ServerTokenManager', () => {
});
describe('default', () => {
describe('NOVE_ENV === production', () => {
describe('NODE_ENV === production', () => {
it('should throw if backend auth configuration is missing', () => {
expect(() =>
ServerTokenManager.default({ config: emptyConfig, logger }),
@@ -187,7 +187,7 @@ describe('ServerTokenManager', () => {
});
});
describe('NOVE_ENV === development', () => {
describe('NODE_ENV === development', () => {
const generateSyncSpy = jest.spyOn(JWK, 'generateSync');
beforeEach(() => {