Merge branch 'master' into feat/add-devtools-extension
This commit is contained in:
@@ -1,5 +1,46 @@
|
||||
# @backstage/plugin-api-docs
|
||||
|
||||
## 0.13.1-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/plugin-permission-react@0.4.38-next.0
|
||||
- @backstage/plugin-catalog-react@1.21.3-next.0
|
||||
- @backstage/core-plugin-api@1.11.2-next.0
|
||||
- @backstage/core-components@0.18.3-next.0
|
||||
- @backstage/catalog-model@1.7.6-next.0
|
||||
- @backstage/frontend-plugin-api@0.12.2-next.0
|
||||
- @backstage/core-compat-api@0.5.4-next.0
|
||||
- @backstage/plugin-catalog@1.31.5-next.0
|
||||
- @backstage/plugin-catalog-common@1.1.7-next.0
|
||||
|
||||
## 0.13.0
|
||||
|
||||
### Minor Changes
|
||||
|
||||
- b8a381e: Remove explicit dependency on `isomorphic-form-data`.
|
||||
|
||||
This explicit dependency was added to address [an issue](https://github.com/swagger-api/swagger-ui/issues/7436) in the
|
||||
dependency `swagger-ui-react`. That [issue has since been resolved](https://github.com/swagger-api/swagger-ui/issues/7436#issuecomment-889792304),
|
||||
and `isomorphic-form-data` no longer needs to be declared.
|
||||
|
||||
Additionally, this changeset updates the `swagger-ui-react` dependency to version `5.19.0` or higher, which includes
|
||||
[compatibility](https://github.com/swagger-api/swagger-ui?tab=readme-ov-file#compatibility) with the latest versions of
|
||||
the OpenAPI specification.
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/plugin-catalog-react@1.21.2
|
||||
- @backstage/core-components@0.18.2
|
||||
- @backstage/frontend-plugin-api@0.12.1
|
||||
- @backstage/core-compat-api@0.5.3
|
||||
- @backstage/plugin-catalog@1.31.4
|
||||
- @backstage/core-plugin-api@1.11.1
|
||||
- @backstage/plugin-catalog-common@1.1.6
|
||||
- @backstage/plugin-permission-react@0.4.37
|
||||
|
||||
## 0.13.0-next.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@backstage/plugin-api-docs",
|
||||
"version": "0.13.0-next.1",
|
||||
"version": "0.13.1-next.0",
|
||||
"description": "A Backstage plugin that helps represent API entities in the frontend",
|
||||
"backstage": {
|
||||
"role": "frontend-plugin",
|
||||
|
||||
@@ -1,5 +1,29 @@
|
||||
# @backstage/plugin-app-backend
|
||||
|
||||
## 0.5.8-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/plugin-auth-node@0.6.9-next.0
|
||||
- @backstage/config-loader@1.10.6-next.0
|
||||
- @backstage/config@1.3.6-next.0
|
||||
- @backstage/backend-plugin-api@1.4.5-next.0
|
||||
- @backstage/errors@1.2.7
|
||||
- @backstage/types@1.2.2
|
||||
- @backstage/plugin-app-node@0.1.39-next.0
|
||||
|
||||
## 0.5.7
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/config-loader@1.10.5
|
||||
- @backstage/config@1.3.5
|
||||
- @backstage/backend-plugin-api@1.4.4
|
||||
- @backstage/plugin-app-node@0.1.38
|
||||
- @backstage/plugin-auth-node@0.6.8
|
||||
|
||||
## 0.5.7-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@backstage/plugin-app-backend",
|
||||
"version": "0.5.7-next.0",
|
||||
"version": "0.5.8-next.0",
|
||||
"description": "A Backstage backend plugin that serves the Backstage frontend app",
|
||||
"backstage": {
|
||||
"role": "backend-plugin",
|
||||
|
||||
@@ -17,5 +17,5 @@
|
||||
import { TestDatabases } from '@backstage/backend-test-utils';
|
||||
|
||||
TestDatabases.setDefaults({
|
||||
ids: ['MYSQL_8', 'POSTGRES_17', 'POSTGRES_13', 'SQLITE_3'],
|
||||
ids: ['MYSQL_8', 'POSTGRES_18', 'POSTGRES_14', 'SQLITE_3'],
|
||||
});
|
||||
|
||||
@@ -1,5 +1,21 @@
|
||||
# @backstage/plugin-app-node
|
||||
|
||||
## 0.1.39-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/config-loader@1.10.6-next.0
|
||||
- @backstage/backend-plugin-api@1.4.5-next.0
|
||||
|
||||
## 0.1.38
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/config-loader@1.10.5
|
||||
- @backstage/backend-plugin-api@1.4.4
|
||||
|
||||
## 0.1.38-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@backstage/plugin-app-node",
|
||||
"version": "0.1.38-next.0",
|
||||
"version": "0.1.39-next.0",
|
||||
"description": "Node.js library for the app plugin",
|
||||
"backstage": {
|
||||
"role": "node-library",
|
||||
|
||||
@@ -1,5 +1,33 @@
|
||||
# @backstage/plugin-app-visualizer
|
||||
|
||||
## 0.1.25-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/core-plugin-api@1.11.2-next.0
|
||||
- @backstage/core-components@0.18.3-next.0
|
||||
- @backstage/frontend-plugin-api@0.12.2-next.0
|
||||
|
||||
## 0.1.24
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 4406144: Ensure that the text rendering has react keys for all elements
|
||||
- Updated dependencies
|
||||
- @backstage/core-components@0.18.2
|
||||
- @backstage/frontend-plugin-api@0.12.1
|
||||
- @backstage/core-plugin-api@1.11.1
|
||||
|
||||
## 0.1.24-next.2
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 4406144: Ensure that the text rendering has react keys for all elements
|
||||
- Updated dependencies
|
||||
- @backstage/core-components@0.18.2-next.3
|
||||
- @backstage/frontend-plugin-api@0.12.1-next.2
|
||||
|
||||
## 0.1.24-next.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@backstage/plugin-app-visualizer",
|
||||
"version": "0.1.24-next.1",
|
||||
"version": "0.1.25-next.0",
|
||||
"description": "Visualizes the Backstage app structure",
|
||||
"backstage": {
|
||||
"role": "frontend-plugin",
|
||||
|
||||
@@ -63,15 +63,15 @@ function nodeToText(
|
||||
.filter(e => options?.showDisabled || e.instance)
|
||||
.sort((a, b) => a.spec.id.localeCompare(b.spec.id));
|
||||
if (children.length === 0) {
|
||||
return mkDiv(`${key} []`, { indent: true });
|
||||
return mkDiv(`${key} []`, { key, indent: true });
|
||||
}
|
||||
return mkDiv(
|
||||
[
|
||||
mkDiv(`${key} [`),
|
||||
mkDiv(`${key} [`, { key: 'start' }),
|
||||
...children.map(e =>
|
||||
mkDiv(nodeToText(e, options), { indent: true }),
|
||||
mkDiv(nodeToText(e, options), { indent: true, key: e.spec.id }),
|
||||
),
|
||||
mkDiv(']'),
|
||||
mkDiv(']', { key: 'end' }),
|
||||
],
|
||||
{ key, indent: true },
|
||||
);
|
||||
|
||||
@@ -1,5 +1,32 @@
|
||||
# @backstage/plugin-app
|
||||
|
||||
## 0.3.2-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/plugin-permission-react@0.4.38-next.0
|
||||
- @backstage/core-plugin-api@1.11.2-next.0
|
||||
- @backstage/core-components@0.18.3-next.0
|
||||
- @backstage/frontend-plugin-api@0.12.2-next.0
|
||||
- @backstage/integration-react@1.2.12-next.0
|
||||
- @backstage/theme@0.7.0
|
||||
- @backstage/types@1.2.2
|
||||
- @backstage/version-bridge@1.0.11
|
||||
|
||||
## 0.3.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- ae1dad0: Fixed an issue that caused the `NotFound` page to not render correctly when a Page was mounted at `/`.
|
||||
- Updated dependencies
|
||||
- @backstage/core-components@0.18.2
|
||||
- @backstage/frontend-plugin-api@0.12.1
|
||||
- @backstage/theme@0.7.0
|
||||
- @backstage/core-plugin-api@1.11.1
|
||||
- @backstage/integration-react@1.2.11
|
||||
- @backstage/plugin-permission-react@0.4.37
|
||||
|
||||
## 0.3.1-next.2
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@backstage/plugin-app",
|
||||
"version": "0.3.1-next.2",
|
||||
"version": "0.3.2-next.0",
|
||||
"backstage": {
|
||||
"role": "frontend-plugin",
|
||||
"pluginId": "app",
|
||||
|
||||
+68
-13
@@ -16,6 +16,7 @@
|
||||
|
||||
import {
|
||||
ApiBlueprint,
|
||||
AppRootElementBlueprint,
|
||||
createExtensionInput,
|
||||
createFrontendModule,
|
||||
createSwappableComponent,
|
||||
@@ -24,7 +25,7 @@ import {
|
||||
} from '@backstage/frontend-plugin-api';
|
||||
import { DefaultSwappableComponentsApi } from './DefaultSwappableComponentsApi';
|
||||
import { render, screen } from '@testing-library/react';
|
||||
import { renderInTestApp } from '@backstage/frontend-test-utils';
|
||||
import { renderInTestApp, renderTestApp } from '@backstage/frontend-test-utils';
|
||||
|
||||
const { ref: testRefA } = createSwappableComponent({ id: 'test.a' });
|
||||
const { ref: testRefB1 } = createSwappableComponent({ id: 'test.b' });
|
||||
@@ -149,8 +150,17 @@ describe('DefaultSwappableComponentsApi', () => {
|
||||
id: 'test.mock',
|
||||
});
|
||||
|
||||
renderInTestApp(<MockComponent />, {
|
||||
extensions: [api],
|
||||
renderTestApp({
|
||||
extensions: [
|
||||
AppRootElementBlueprint.make({
|
||||
name: 'derp',
|
||||
params: define =>
|
||||
define({
|
||||
element: <MockComponent />,
|
||||
}),
|
||||
}),
|
||||
api,
|
||||
],
|
||||
});
|
||||
|
||||
await expect(
|
||||
@@ -164,8 +174,17 @@ describe('DefaultSwappableComponentsApi', () => {
|
||||
loader: () => () => <div>test.mock</div>,
|
||||
});
|
||||
|
||||
renderInTestApp(<MockComponent />, {
|
||||
extensions: [api],
|
||||
renderTestApp({
|
||||
extensions: [
|
||||
AppRootElementBlueprint.make({
|
||||
name: 'derp',
|
||||
params: define =>
|
||||
define({
|
||||
element: <MockComponent />,
|
||||
}),
|
||||
}),
|
||||
api,
|
||||
],
|
||||
});
|
||||
|
||||
await expect(
|
||||
@@ -179,8 +198,17 @@ describe('DefaultSwappableComponentsApi', () => {
|
||||
loader: async () => () => <div>test.mock</div>,
|
||||
});
|
||||
|
||||
renderInTestApp(<MockComponent />, {
|
||||
extensions: [api],
|
||||
renderTestApp({
|
||||
extensions: [
|
||||
AppRootElementBlueprint.make({
|
||||
name: 'derp',
|
||||
params: define =>
|
||||
define({
|
||||
element: <MockComponent />,
|
||||
}),
|
||||
}),
|
||||
api,
|
||||
],
|
||||
});
|
||||
|
||||
await expect(
|
||||
@@ -202,8 +230,17 @@ describe('DefaultSwappableComponentsApi', () => {
|
||||
}),
|
||||
});
|
||||
|
||||
renderInTestApp(<MockComponent />, {
|
||||
extensions: [api],
|
||||
renderTestApp({
|
||||
extensions: [
|
||||
AppRootElementBlueprint.make({
|
||||
name: 'derp',
|
||||
params: define =>
|
||||
define({
|
||||
element: <MockComponent />,
|
||||
}),
|
||||
}),
|
||||
api,
|
||||
],
|
||||
features: [
|
||||
createFrontendModule({
|
||||
pluginId: 'app',
|
||||
@@ -231,8 +268,17 @@ describe('DefaultSwappableComponentsApi', () => {
|
||||
}),
|
||||
});
|
||||
|
||||
renderInTestApp(<MockComponent />, {
|
||||
extensions: [api],
|
||||
renderTestApp({
|
||||
extensions: [
|
||||
AppRootElementBlueprint.make({
|
||||
name: 'derp',
|
||||
params: define =>
|
||||
define({
|
||||
element: <MockComponent />,
|
||||
}),
|
||||
}),
|
||||
api,
|
||||
],
|
||||
features: [
|
||||
createFrontendModule({
|
||||
pluginId: 'app',
|
||||
@@ -264,8 +310,17 @@ describe('DefaultSwappableComponentsApi', () => {
|
||||
}),
|
||||
});
|
||||
|
||||
renderInTestApp(<MockComponent external="test" />, {
|
||||
extensions: [api],
|
||||
renderTestApp({
|
||||
extensions: [
|
||||
AppRootElementBlueprint.make({
|
||||
name: 'derp',
|
||||
params: define =>
|
||||
define({
|
||||
element: <MockComponent external="test" />,
|
||||
}),
|
||||
}),
|
||||
api,
|
||||
],
|
||||
features: [
|
||||
createFrontendModule({
|
||||
pluginId: 'app',
|
||||
|
||||
@@ -36,12 +36,18 @@ export const AppRoutes = createExtension({
|
||||
factory({ inputs }) {
|
||||
const Routes = () => {
|
||||
const element = useRoutes([
|
||||
...inputs.routes.map(route => ({
|
||||
path: `${route
|
||||
.get(coreExtensionData.routePath)
|
||||
.replace(/\/$/, '')}/*`,
|
||||
element: route.get(coreExtensionData.reactElement),
|
||||
})),
|
||||
...inputs.routes.map(route => {
|
||||
const routePath = route.get(coreExtensionData.routePath);
|
||||
|
||||
return {
|
||||
path:
|
||||
routePath === '/'
|
||||
? routePath
|
||||
: `${routePath.replace(/\/$/, '')}/*`,
|
||||
|
||||
element: route.get(coreExtensionData.reactElement),
|
||||
};
|
||||
}),
|
||||
{
|
||||
path: '*',
|
||||
element: <NotFoundErrorPage />,
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { renderInTestApp } from '@backstage/frontend-test-utils';
|
||||
import { renderTestApp } from '@backstage/frontend-test-utils';
|
||||
import { act, useEffect } from 'react';
|
||||
import {
|
||||
AppRootElementBlueprint,
|
||||
@@ -29,7 +29,7 @@ async function withDialogApi<T>(
|
||||
callback: (dialogApi: DialogApi) => Promise<T>,
|
||||
) {
|
||||
const deferred = createDeferred<DialogApi>();
|
||||
await renderInTestApp(<div />, {
|
||||
await renderTestApp({
|
||||
extensions: [
|
||||
AppRootElementBlueprint.makeWithOverrides({
|
||||
name: 'derp',
|
||||
|
||||
@@ -1,5 +1,21 @@
|
||||
# @backstage/plugin-auth-backend-module-atlassian-provider
|
||||
|
||||
## 0.4.9-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/plugin-auth-node@0.6.9-next.0
|
||||
- @backstage/backend-plugin-api@1.4.5-next.0
|
||||
|
||||
## 0.4.8
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/backend-plugin-api@1.4.4
|
||||
- @backstage/plugin-auth-node@0.6.8
|
||||
|
||||
## 0.4.8-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@backstage/plugin-auth-backend-module-atlassian-provider",
|
||||
"version": "0.4.8-next.0",
|
||||
"version": "0.4.9-next.0",
|
||||
"description": "The atlassian-provider backend module for the auth plugin.",
|
||||
"backstage": {
|
||||
"role": "backend-plugin-module",
|
||||
|
||||
@@ -1,5 +1,21 @@
|
||||
# @backstage/plugin-auth-backend-module-auth0-provider
|
||||
|
||||
## 0.2.9-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/plugin-auth-node@0.6.9-next.0
|
||||
- @backstage/backend-plugin-api@1.4.5-next.0
|
||||
|
||||
## 0.2.8
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/backend-plugin-api@1.4.4
|
||||
- @backstage/plugin-auth-node@0.6.8
|
||||
|
||||
## 0.2.8-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@backstage/plugin-auth-backend-module-auth0-provider",
|
||||
"version": "0.2.8-next.0",
|
||||
"version": "0.2.9-next.0",
|
||||
"description": "The auth0-provider backend module for the auth plugin.",
|
||||
"backstage": {
|
||||
"role": "backend-plugin-module",
|
||||
|
||||
@@ -1,5 +1,24 @@
|
||||
# @backstage/plugin-auth-backend-module-aws-alb-provider
|
||||
|
||||
## 0.4.9-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/plugin-auth-backend@0.25.6-next.0
|
||||
- @backstage/plugin-auth-node@0.6.9-next.0
|
||||
- @backstage/backend-plugin-api@1.4.5-next.0
|
||||
- @backstage/errors@1.2.7
|
||||
|
||||
## 0.4.8
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/backend-plugin-api@1.4.4
|
||||
- @backstage/plugin-auth-backend@0.25.5
|
||||
- @backstage/plugin-auth-node@0.6.8
|
||||
|
||||
## 0.4.8-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@backstage/plugin-auth-backend-module-aws-alb-provider",
|
||||
"version": "0.4.8-next.0",
|
||||
"version": "0.4.9-next.0",
|
||||
"description": "The aws-alb provider module for the Backstage auth backend.",
|
||||
"backstage": {
|
||||
"role": "backend-plugin-module",
|
||||
|
||||
@@ -1,5 +1,23 @@
|
||||
# @backstage/plugin-auth-backend-module-azure-easyauth-provider
|
||||
|
||||
## 0.2.14-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/plugin-auth-node@0.6.9-next.0
|
||||
- @backstage/catalog-model@1.7.6-next.0
|
||||
- @backstage/backend-plugin-api@1.4.5-next.0
|
||||
- @backstage/errors@1.2.7
|
||||
|
||||
## 0.2.13
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/backend-plugin-api@1.4.4
|
||||
- @backstage/plugin-auth-node@0.6.8
|
||||
|
||||
## 0.2.13-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@backstage/plugin-auth-backend-module-azure-easyauth-provider",
|
||||
"version": "0.2.13-next.0",
|
||||
"version": "0.2.14-next.0",
|
||||
"description": "The azure-easyauth-provider backend module for the auth plugin.",
|
||||
"backstage": {
|
||||
"role": "backend-plugin-module",
|
||||
|
||||
@@ -1,5 +1,21 @@
|
||||
# @backstage/plugin-auth-backend-module-bitbucket-provider
|
||||
|
||||
## 0.3.9-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/plugin-auth-node@0.6.9-next.0
|
||||
- @backstage/backend-plugin-api@1.4.5-next.0
|
||||
|
||||
## 0.3.8
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/backend-plugin-api@1.4.4
|
||||
- @backstage/plugin-auth-node@0.6.8
|
||||
|
||||
## 0.3.8-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@backstage/plugin-auth-backend-module-bitbucket-provider",
|
||||
"version": "0.3.8-next.0",
|
||||
"version": "0.3.9-next.0",
|
||||
"description": "The bitbucket-provider backend module for the auth plugin.",
|
||||
"backstage": {
|
||||
"role": "backend-plugin-module",
|
||||
|
||||
@@ -1,5 +1,21 @@
|
||||
# @backstage/plugin-auth-backend-module-bitbucket-server-provider
|
||||
|
||||
## 0.2.9-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/plugin-auth-node@0.6.9-next.0
|
||||
- @backstage/backend-plugin-api@1.4.5-next.0
|
||||
|
||||
## 0.2.8
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/backend-plugin-api@1.4.4
|
||||
- @backstage/plugin-auth-node@0.6.8
|
||||
|
||||
## 0.2.8-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@backstage/plugin-auth-backend-module-bitbucket-server-provider",
|
||||
"version": "0.2.8-next.0",
|
||||
"version": "0.2.9-next.0",
|
||||
"description": "The bitbucket-server-provider backend module for the auth plugin.",
|
||||
"backstage": {
|
||||
"role": "backend-plugin-module",
|
||||
|
||||
@@ -1,5 +1,25 @@
|
||||
# @backstage/plugin-auth-backend-module-cloudflare-access-provider
|
||||
|
||||
## 0.4.9-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 05f60e1: Refactored constructor parameter properties to explicit property declarations for compatibility with TypeScript's `erasableSyntaxOnly` setting. This internal refactoring maintains all existing functionality while ensuring TypeScript compilation compatibility.
|
||||
- Updated dependencies
|
||||
- @backstage/plugin-auth-node@0.6.9-next.0
|
||||
- @backstage/config@1.3.6-next.0
|
||||
- @backstage/backend-plugin-api@1.4.5-next.0
|
||||
- @backstage/errors@1.2.7
|
||||
|
||||
## 0.4.8
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/config@1.3.5
|
||||
- @backstage/backend-plugin-api@1.4.4
|
||||
- @backstage/plugin-auth-node@0.6.8
|
||||
|
||||
## 0.4.8-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@backstage/plugin-auth-backend-module-cloudflare-access-provider",
|
||||
"version": "0.4.8-next.0",
|
||||
"version": "0.4.9-next.0",
|
||||
"description": "The cloudflare-access-provider backend module for the auth plugin.",
|
||||
"backstage": {
|
||||
"role": "backend-plugin-module",
|
||||
|
||||
@@ -66,14 +66,28 @@ export class AuthHelper {
|
||||
);
|
||||
}
|
||||
|
||||
private readonly teamName: string;
|
||||
private readonly serviceTokens: ServiceToken[];
|
||||
private readonly jwtHeaderName: string;
|
||||
private readonly authorizationCookieName: string;
|
||||
private readonly keySet: ReturnType<typeof createRemoteJWKSet>;
|
||||
private readonly cache?: CacheService;
|
||||
|
||||
private constructor(
|
||||
private readonly teamName: string,
|
||||
private readonly serviceTokens: ServiceToken[],
|
||||
private readonly jwtHeaderName: string,
|
||||
private readonly authorizationCookieName: string,
|
||||
private readonly keySet: ReturnType<typeof createRemoteJWKSet>,
|
||||
private readonly cache?: CacheService,
|
||||
) {}
|
||||
teamName: string,
|
||||
serviceTokens: ServiceToken[],
|
||||
jwtHeaderName: string,
|
||||
authorizationCookieName: string,
|
||||
keySet: ReturnType<typeof createRemoteJWKSet>,
|
||||
cache?: CacheService,
|
||||
) {
|
||||
this.teamName = teamName;
|
||||
this.serviceTokens = serviceTokens;
|
||||
this.jwtHeaderName = jwtHeaderName;
|
||||
this.authorizationCookieName = authorizationCookieName;
|
||||
this.keySet = keySet;
|
||||
this.cache = cache;
|
||||
}
|
||||
|
||||
async authenticate(req: express.Request): Promise<CloudflareAccessResult> {
|
||||
// JWTs generated by Access are available in a request header as
|
||||
|
||||
@@ -1,5 +1,23 @@
|
||||
# @backstage/plugin-auth-backend-module-gcp-iap-provider
|
||||
|
||||
## 0.4.9-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/plugin-auth-node@0.6.9-next.0
|
||||
- @backstage/backend-plugin-api@1.4.5-next.0
|
||||
- @backstage/errors@1.2.7
|
||||
- @backstage/types@1.2.2
|
||||
|
||||
## 0.4.8
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/backend-plugin-api@1.4.4
|
||||
- @backstage/plugin-auth-node@0.6.8
|
||||
|
||||
## 0.4.8-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@backstage/plugin-auth-backend-module-gcp-iap-provider",
|
||||
"version": "0.4.8-next.0",
|
||||
"version": "0.4.9-next.0",
|
||||
"description": "A GCP IAP auth provider module for the Backstage auth backend",
|
||||
"backstage": {
|
||||
"role": "backend-plugin-module",
|
||||
|
||||
@@ -1,5 +1,21 @@
|
||||
# @backstage/plugin-auth-backend-module-github-provider
|
||||
|
||||
## 0.3.9-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/plugin-auth-node@0.6.9-next.0
|
||||
- @backstage/backend-plugin-api@1.4.5-next.0
|
||||
|
||||
## 0.3.8
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/backend-plugin-api@1.4.4
|
||||
- @backstage/plugin-auth-node@0.6.8
|
||||
|
||||
## 0.3.8-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@backstage/plugin-auth-backend-module-github-provider",
|
||||
"version": "0.3.8-next.0",
|
||||
"version": "0.3.9-next.0",
|
||||
"description": "The github-provider backend module for the auth plugin.",
|
||||
"backstage": {
|
||||
"role": "backend-plugin-module",
|
||||
|
||||
@@ -1,5 +1,21 @@
|
||||
# @backstage/plugin-auth-backend-module-gitlab-provider
|
||||
|
||||
## 0.3.9-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/plugin-auth-node@0.6.9-next.0
|
||||
- @backstage/backend-plugin-api@1.4.5-next.0
|
||||
|
||||
## 0.3.8
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/backend-plugin-api@1.4.4
|
||||
- @backstage/plugin-auth-node@0.6.8
|
||||
|
||||
## 0.3.8-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@backstage/plugin-auth-backend-module-gitlab-provider",
|
||||
"version": "0.3.8-next.0",
|
||||
"version": "0.3.9-next.0",
|
||||
"description": "The gitlab-provider backend module for the auth plugin.",
|
||||
"backstage": {
|
||||
"role": "backend-plugin-module",
|
||||
|
||||
@@ -1,5 +1,21 @@
|
||||
# @backstage/plugin-auth-backend-module-google-provider
|
||||
|
||||
## 0.3.9-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/plugin-auth-node@0.6.9-next.0
|
||||
- @backstage/backend-plugin-api@1.4.5-next.0
|
||||
|
||||
## 0.3.8
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/backend-plugin-api@1.4.4
|
||||
- @backstage/plugin-auth-node@0.6.8
|
||||
|
||||
## 0.3.8-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@backstage/plugin-auth-backend-module-google-provider",
|
||||
"version": "0.3.8-next.0",
|
||||
"version": "0.3.9-next.0",
|
||||
"description": "A Google auth provider module for the Backstage auth backend",
|
||||
"backstage": {
|
||||
"role": "backend-plugin-module",
|
||||
|
||||
@@ -1,5 +1,23 @@
|
||||
# @backstage/plugin-auth-backend-module-guest-provider
|
||||
|
||||
## 0.2.14-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/plugin-auth-node@0.6.9-next.0
|
||||
- @backstage/catalog-model@1.7.6-next.0
|
||||
- @backstage/backend-plugin-api@1.4.5-next.0
|
||||
- @backstage/errors@1.2.7
|
||||
|
||||
## 0.2.13
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/backend-plugin-api@1.4.4
|
||||
- @backstage/plugin-auth-node@0.6.8
|
||||
|
||||
## 0.2.13-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@backstage/plugin-auth-backend-module-guest-provider",
|
||||
"version": "0.2.13-next.0",
|
||||
"version": "0.2.14-next.0",
|
||||
"description": "The guest-provider backend module for the auth plugin.",
|
||||
"backstage": {
|
||||
"role": "backend-plugin-module",
|
||||
|
||||
@@ -1,5 +1,21 @@
|
||||
# @backstage/plugin-auth-backend-module-microsoft-provider
|
||||
|
||||
## 0.3.9-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/plugin-auth-node@0.6.9-next.0
|
||||
- @backstage/backend-plugin-api@1.4.5-next.0
|
||||
|
||||
## 0.3.8
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/backend-plugin-api@1.4.4
|
||||
- @backstage/plugin-auth-node@0.6.8
|
||||
|
||||
## 0.3.8-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@backstage/plugin-auth-backend-module-microsoft-provider",
|
||||
"version": "0.3.8-next.0",
|
||||
"version": "0.3.9-next.0",
|
||||
"description": "The microsoft-provider backend module for the auth plugin.",
|
||||
"backstage": {
|
||||
"role": "backend-plugin-module",
|
||||
|
||||
@@ -1,5 +1,21 @@
|
||||
# @backstage/plugin-auth-backend-module-oauth2-provider
|
||||
|
||||
## 0.4.9-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/plugin-auth-node@0.6.9-next.0
|
||||
- @backstage/backend-plugin-api@1.4.5-next.0
|
||||
|
||||
## 0.4.8
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/backend-plugin-api@1.4.4
|
||||
- @backstage/plugin-auth-node@0.6.8
|
||||
|
||||
## 0.4.8-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@backstage/plugin-auth-backend-module-oauth2-provider",
|
||||
"version": "0.4.8-next.0",
|
||||
"version": "0.4.9-next.0",
|
||||
"description": "The oauth2-provider backend module for the auth plugin.",
|
||||
"backstage": {
|
||||
"role": "backend-plugin-module",
|
||||
|
||||
@@ -1,5 +1,22 @@
|
||||
# @backstage/plugin-auth-backend-module-oauth2-proxy-provider
|
||||
|
||||
## 0.2.14-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/plugin-auth-node@0.6.9-next.0
|
||||
- @backstage/backend-plugin-api@1.4.5-next.0
|
||||
- @backstage/errors@1.2.7
|
||||
|
||||
## 0.2.13
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/backend-plugin-api@1.4.4
|
||||
- @backstage/plugin-auth-node@0.6.8
|
||||
|
||||
## 0.2.13-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@backstage/plugin-auth-backend-module-oauth2-proxy-provider",
|
||||
"version": "0.2.13-next.0",
|
||||
"version": "0.2.14-next.0",
|
||||
"description": "The oauth2-proxy-provider backend module for the auth plugin.",
|
||||
"backstage": {
|
||||
"role": "backend-plugin-module",
|
||||
|
||||
@@ -1,5 +1,26 @@
|
||||
# @backstage/plugin-auth-backend-module-oidc-provider
|
||||
|
||||
## 0.4.9-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/plugin-auth-backend@0.25.6-next.0
|
||||
- @backstage/plugin-auth-node@0.6.9-next.0
|
||||
- @backstage/config@1.3.6-next.0
|
||||
- @backstage/backend-plugin-api@1.4.5-next.0
|
||||
- @backstage/types@1.2.2
|
||||
|
||||
## 0.4.8
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/config@1.3.5
|
||||
- @backstage/backend-plugin-api@1.4.4
|
||||
- @backstage/plugin-auth-backend@0.25.5
|
||||
- @backstage/plugin-auth-node@0.6.8
|
||||
|
||||
## 0.4.8-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@backstage/plugin-auth-backend-module-oidc-provider",
|
||||
"version": "0.4.8-next.0",
|
||||
"version": "0.4.9-next.0",
|
||||
"description": "The oidc-provider backend module for the auth plugin.",
|
||||
"backstage": {
|
||||
"role": "backend-plugin-module",
|
||||
|
||||
@@ -1,5 +1,21 @@
|
||||
# @backstage/plugin-auth-backend-module-okta-provider
|
||||
|
||||
## 0.2.9-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/plugin-auth-node@0.6.9-next.0
|
||||
- @backstage/backend-plugin-api@1.4.5-next.0
|
||||
|
||||
## 0.2.8
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/backend-plugin-api@1.4.4
|
||||
- @backstage/plugin-auth-node@0.6.8
|
||||
|
||||
## 0.2.8-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@backstage/plugin-auth-backend-module-okta-provider",
|
||||
"version": "0.2.8-next.0",
|
||||
"version": "0.2.9-next.0",
|
||||
"description": "The okta-provider backend module for the auth plugin.",
|
||||
"backstage": {
|
||||
"role": "backend-plugin-module",
|
||||
|
||||
@@ -1,5 +1,21 @@
|
||||
# @backstage/plugin-auth-backend-module-onelogin-provider
|
||||
|
||||
## 0.3.9-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/plugin-auth-node@0.6.9-next.0
|
||||
- @backstage/backend-plugin-api@1.4.5-next.0
|
||||
|
||||
## 0.3.8
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/backend-plugin-api@1.4.4
|
||||
- @backstage/plugin-auth-node@0.6.8
|
||||
|
||||
## 0.3.8-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@backstage/plugin-auth-backend-module-onelogin-provider",
|
||||
"version": "0.3.8-next.0",
|
||||
"version": "0.3.9-next.0",
|
||||
"description": "The onelogin-provider backend module for the auth plugin.",
|
||||
"backstage": {
|
||||
"role": "backend-plugin-module",
|
||||
|
||||
@@ -1,5 +1,23 @@
|
||||
# @backstage/plugin-auth-backend-module-openshift-provider
|
||||
|
||||
## 0.1.2-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/plugin-auth-node@0.6.9-next.0
|
||||
- @backstage/catalog-model@1.7.6-next.0
|
||||
- @backstage/backend-plugin-api@1.4.5-next.0
|
||||
- @backstage/types@1.2.2
|
||||
|
||||
## 0.1.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/backend-plugin-api@1.4.4
|
||||
- @backstage/plugin-auth-node@0.6.8
|
||||
|
||||
## 0.1.1-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@backstage/plugin-auth-backend-module-openshift-provider",
|
||||
"version": "0.1.1-next.0",
|
||||
"version": "0.1.2-next.0",
|
||||
"description": "The OpenShift backend module for the auth plugin.",
|
||||
"backstage": {
|
||||
"role": "backend-plugin-module",
|
||||
|
||||
@@ -1,5 +1,24 @@
|
||||
# @backstage/plugin-auth-backend-module-pinniped-provider
|
||||
|
||||
## 0.3.9-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/plugin-auth-node@0.6.9-next.0
|
||||
- @backstage/config@1.3.6-next.0
|
||||
- @backstage/backend-plugin-api@1.4.5-next.0
|
||||
- @backstage/types@1.2.2
|
||||
|
||||
## 0.3.8
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/config@1.3.5
|
||||
- @backstage/backend-plugin-api@1.4.4
|
||||
- @backstage/plugin-auth-node@0.6.8
|
||||
|
||||
## 0.3.8-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@backstage/plugin-auth-backend-module-pinniped-provider",
|
||||
"version": "0.3.8-next.0",
|
||||
"version": "0.3.9-next.0",
|
||||
"description": "The pinniped-provider backend module for the auth plugin.",
|
||||
"backstage": {
|
||||
"role": "backend-plugin-module",
|
||||
|
||||
@@ -1,5 +1,22 @@
|
||||
# @backstage/plugin-auth-backend-module-vmware-cloud-provider
|
||||
|
||||
## 0.5.9-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/plugin-auth-node@0.6.9-next.0
|
||||
- @backstage/catalog-model@1.7.6-next.0
|
||||
- @backstage/backend-plugin-api@1.4.5-next.0
|
||||
|
||||
## 0.5.8
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/backend-plugin-api@1.4.4
|
||||
- @backstage/plugin-auth-node@0.6.8
|
||||
|
||||
## 0.5.8-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@backstage/plugin-auth-backend-module-vmware-cloud-provider",
|
||||
"version": "0.5.8-next.0",
|
||||
"version": "0.5.9-next.0",
|
||||
"description": "The vmware-cloud-provider backend module for the auth plugin.",
|
||||
"backstage": {
|
||||
"role": "backend-plugin-module",
|
||||
|
||||
@@ -1,5 +1,29 @@
|
||||
# @backstage/plugin-auth-backend
|
||||
|
||||
## 0.25.6-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 05f60e1: Refactored constructor parameter properties to explicit property declarations for compatibility with TypeScript's `erasableSyntaxOnly` setting. This internal refactoring maintains all existing functionality while ensuring TypeScript compilation compatibility.
|
||||
- Updated dependencies
|
||||
- @backstage/plugin-auth-node@0.6.9-next.0
|
||||
- @backstage/config@1.3.6-next.0
|
||||
- @backstage/catalog-model@1.7.6-next.0
|
||||
- @backstage/backend-plugin-api@1.4.5-next.0
|
||||
- @backstage/errors@1.2.7
|
||||
- @backstage/types@1.2.2
|
||||
- @backstage/plugin-catalog-node@1.19.2-next.0
|
||||
|
||||
## 0.25.5
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/config@1.3.5
|
||||
- @backstage/backend-plugin-api@1.4.4
|
||||
- @backstage/plugin-auth-node@0.6.8
|
||||
- @backstage/plugin-catalog-node@1.19.1
|
||||
|
||||
## 0.25.5-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@backstage/plugin-auth-backend",
|
||||
"version": "0.25.5-next.0",
|
||||
"version": "0.25.6-next.0",
|
||||
"description": "A Backstage backend plugin that handles authentication",
|
||||
"backstage": {
|
||||
"role": "backend-plugin",
|
||||
|
||||
@@ -49,11 +49,15 @@ export class FirestoreKeyStore implements KeyStore {
|
||||
);
|
||||
}
|
||||
|
||||
private constructor(
|
||||
private readonly database: Firestore,
|
||||
private readonly path: string,
|
||||
private readonly timeout: number,
|
||||
) {}
|
||||
private readonly database: Firestore;
|
||||
private readonly path: string;
|
||||
private readonly timeout: number;
|
||||
|
||||
private constructor(database: Firestore, path: string, timeout: number) {
|
||||
this.database = database;
|
||||
this.path = path;
|
||||
this.timeout = timeout;
|
||||
}
|
||||
|
||||
static async verifyConnection(
|
||||
keyStore: FirestoreKeyStore,
|
||||
|
||||
@@ -70,15 +70,31 @@ export class CatalogAuthResolverContext implements AuthResolverContext {
|
||||
);
|
||||
}
|
||||
|
||||
public readonly logger: LoggerService;
|
||||
public readonly tokenIssuer: TokenIssuer;
|
||||
public readonly catalogIdentityClient: CatalogIdentityClient;
|
||||
private readonly catalog: CatalogService;
|
||||
private readonly auth: AuthService;
|
||||
private readonly userInfo: UserInfoDatabase;
|
||||
private readonly ownershipResolver?: AuthOwnershipResolver;
|
||||
|
||||
private constructor(
|
||||
public readonly logger: LoggerService,
|
||||
public readonly tokenIssuer: TokenIssuer,
|
||||
public readonly catalogIdentityClient: CatalogIdentityClient,
|
||||
private readonly catalog: CatalogService,
|
||||
private readonly auth: AuthService,
|
||||
private readonly userInfo: UserInfoDatabase,
|
||||
private readonly ownershipResolver?: AuthOwnershipResolver,
|
||||
) {}
|
||||
logger: LoggerService,
|
||||
tokenIssuer: TokenIssuer,
|
||||
catalogIdentityClient: CatalogIdentityClient,
|
||||
catalog: CatalogService,
|
||||
auth: AuthService,
|
||||
userInfo: UserInfoDatabase,
|
||||
ownershipResolver?: AuthOwnershipResolver,
|
||||
) {
|
||||
this.logger = logger;
|
||||
this.tokenIssuer = tokenIssuer;
|
||||
this.catalogIdentityClient = catalogIdentityClient;
|
||||
this.catalog = catalog;
|
||||
this.auth = auth;
|
||||
this.userInfo = userInfo;
|
||||
this.ownershipResolver = ownershipResolver;
|
||||
}
|
||||
|
||||
async issueToken(params: TokenParams) {
|
||||
const { sub, ent = [sub], ...additionalClaims } = params.claims;
|
||||
|
||||
@@ -28,14 +28,28 @@ import { OidcDatabase } from '../database/OidcDatabase';
|
||||
import { json } from 'express';
|
||||
|
||||
export class OidcRouter {
|
||||
private readonly oidc: OidcService;
|
||||
private readonly logger: LoggerService;
|
||||
private readonly auth: AuthService;
|
||||
private readonly appUrl: string;
|
||||
private readonly httpAuth: HttpAuthService;
|
||||
private readonly config: RootConfigService;
|
||||
|
||||
private constructor(
|
||||
private readonly oidc: OidcService,
|
||||
private readonly logger: LoggerService,
|
||||
private readonly auth: AuthService,
|
||||
private readonly appUrl: string,
|
||||
private readonly httpAuth: HttpAuthService,
|
||||
private readonly config: RootConfigService,
|
||||
) {}
|
||||
oidc: OidcService,
|
||||
logger: LoggerService,
|
||||
auth: AuthService,
|
||||
appUrl: string,
|
||||
httpAuth: HttpAuthService,
|
||||
config: RootConfigService,
|
||||
) {
|
||||
this.oidc = oidc;
|
||||
this.logger = logger;
|
||||
this.auth = auth;
|
||||
this.appUrl = appUrl;
|
||||
this.httpAuth = httpAuth;
|
||||
this.config = config;
|
||||
}
|
||||
|
||||
static create(options: {
|
||||
auth: AuthService;
|
||||
|
||||
@@ -28,14 +28,28 @@ import { DateTime } from 'luxon';
|
||||
import matcher from 'matcher';
|
||||
|
||||
export class OidcService {
|
||||
private readonly auth: AuthService;
|
||||
private readonly tokenIssuer: TokenIssuer;
|
||||
private readonly baseUrl: string;
|
||||
private readonly userInfo: UserInfoDatabase;
|
||||
private readonly oidc: OidcDatabase;
|
||||
private readonly config: RootConfigService;
|
||||
|
||||
private constructor(
|
||||
private readonly auth: AuthService,
|
||||
private readonly tokenIssuer: TokenIssuer,
|
||||
private readonly baseUrl: string,
|
||||
private readonly userInfo: UserInfoDatabase,
|
||||
private readonly oidc: OidcDatabase,
|
||||
private readonly config: RootConfigService,
|
||||
) {}
|
||||
auth: AuthService,
|
||||
tokenIssuer: TokenIssuer,
|
||||
baseUrl: string,
|
||||
userInfo: UserInfoDatabase,
|
||||
oidc: OidcDatabase,
|
||||
config: RootConfigService,
|
||||
) {
|
||||
this.auth = auth;
|
||||
this.tokenIssuer = tokenIssuer;
|
||||
this.baseUrl = baseUrl;
|
||||
this.userInfo = userInfo;
|
||||
this.oidc = oidc;
|
||||
this.config = config;
|
||||
}
|
||||
|
||||
static create(options: {
|
||||
auth: AuthService;
|
||||
|
||||
@@ -19,5 +19,5 @@ import { TestDatabases } from '@backstage/backend-test-utils';
|
||||
export {};
|
||||
|
||||
TestDatabases.setDefaults({
|
||||
ids: ['MYSQL_8', 'POSTGRES_17', 'POSTGRES_13', 'SQLITE_3'],
|
||||
ids: ['MYSQL_8', 'POSTGRES_18', 'POSTGRES_14', 'SQLITE_3'],
|
||||
});
|
||||
|
||||
@@ -1,5 +1,26 @@
|
||||
# @backstage/plugin-auth-node
|
||||
|
||||
## 0.6.9-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 05f60e1: Refactored constructor parameter properties to explicit property declarations for compatibility with TypeScript's `erasableSyntaxOnly` setting. This internal refactoring maintains all existing functionality while ensuring TypeScript compilation compatibility.
|
||||
- Updated dependencies
|
||||
- @backstage/config@1.3.6-next.0
|
||||
- @backstage/catalog-model@1.7.6-next.0
|
||||
- @backstage/backend-plugin-api@1.4.5-next.0
|
||||
- @backstage/catalog-client@1.12.1-next.0
|
||||
- @backstage/errors@1.2.7
|
||||
- @backstage/types@1.2.2
|
||||
|
||||
## 0.6.8
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/config@1.3.5
|
||||
- @backstage/backend-plugin-api@1.4.4
|
||||
|
||||
## 0.6.8-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@backstage/plugin-auth-node",
|
||||
"version": "0.6.8-next.0",
|
||||
"version": "0.6.9-next.0",
|
||||
"backstage": {
|
||||
"role": "node-library",
|
||||
"pluginId": "auth",
|
||||
|
||||
@@ -78,13 +78,22 @@ export class CookieScopeManager {
|
||||
);
|
||||
}
|
||||
|
||||
private readonly scopeTransform: (
|
||||
requested: Iterable<string>,
|
||||
granted: Iterable<string>,
|
||||
) => string;
|
||||
private readonly cookieManager?: OAuthCookieManager;
|
||||
|
||||
private constructor(
|
||||
private readonly scopeTransform: (
|
||||
scopeTransform: (
|
||||
requested: Iterable<string>,
|
||||
granted: Iterable<string>,
|
||||
) => string,
|
||||
private readonly cookieManager?: OAuthCookieManager,
|
||||
) {}
|
||||
cookieManager?: OAuthCookieManager,
|
||||
) {
|
||||
this.scopeTransform = scopeTransform;
|
||||
this.cookieManager = cookieManager;
|
||||
}
|
||||
|
||||
async start(
|
||||
req: express.Request,
|
||||
|
||||
@@ -1,5 +1,22 @@
|
||||
# @backstage/plugin-auth-react
|
||||
|
||||
## 0.1.21-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/core-plugin-api@1.11.2-next.0
|
||||
- @backstage/core-components@0.18.3-next.0
|
||||
- @backstage/errors@1.2.7
|
||||
|
||||
## 0.1.20
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/core-components@0.18.2
|
||||
- @backstage/core-plugin-api@1.11.1
|
||||
|
||||
## 0.1.20-next.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@backstage/plugin-auth-react",
|
||||
"version": "0.1.20-next.1",
|
||||
"version": "0.1.21-next.0",
|
||||
"description": "Web library for the auth plugin",
|
||||
"backstage": {
|
||||
"role": "web-library",
|
||||
|
||||
@@ -1,5 +1,25 @@
|
||||
# @backstage/plugin-auth
|
||||
|
||||
## 0.1.2-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 1609e79: Authentication content screen now uses application title.
|
||||
- Updated dependencies
|
||||
- @backstage/core-components@0.18.3-next.0
|
||||
- @backstage/frontend-plugin-api@0.12.2-next.0
|
||||
- @backstage/errors@1.2.7
|
||||
- @backstage/theme@0.7.0
|
||||
|
||||
## 0.1.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/core-components@0.18.2
|
||||
- @backstage/frontend-plugin-api@0.12.1
|
||||
- @backstage/theme@0.7.0
|
||||
|
||||
## 0.1.1-next.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@backstage/plugin-auth",
|
||||
"version": "0.1.1-next.1",
|
||||
"version": "0.1.2-next.0",
|
||||
"backstage": {
|
||||
"role": "frontend-plugin",
|
||||
"pluginId": "auth",
|
||||
|
||||
@@ -19,11 +19,11 @@ import {
|
||||
Box,
|
||||
Button,
|
||||
Card,
|
||||
CardContent,
|
||||
CardActions,
|
||||
Typography,
|
||||
makeStyles,
|
||||
CardContent,
|
||||
Divider,
|
||||
makeStyles,
|
||||
Typography,
|
||||
} from '@material-ui/core';
|
||||
import { Alert } from '@material-ui/lab';
|
||||
import CheckCircleIcon from '@material-ui/icons/CheckCircle';
|
||||
@@ -31,14 +31,15 @@ import CancelIcon from '@material-ui/icons/Cancel';
|
||||
import AppsIcon from '@material-ui/icons/Apps';
|
||||
import WarningIcon from '@material-ui/icons/Warning';
|
||||
import {
|
||||
Content,
|
||||
EmptyState,
|
||||
Header,
|
||||
Page,
|
||||
Content,
|
||||
Progress,
|
||||
EmptyState,
|
||||
ResponseErrorPanel,
|
||||
} from '@backstage/core-components';
|
||||
import { useConsentSession } from './useConsentSession';
|
||||
import { configApiRef, useApi } from '@backstage/frontend-plugin-api';
|
||||
|
||||
const useStyles = makeStyles(theme => ({
|
||||
authCard: {
|
||||
@@ -100,6 +101,8 @@ export const ConsentPage = () => {
|
||||
const classes = useStyles();
|
||||
const { sessionId } = useParams<{ sessionId: string }>();
|
||||
const { state, handleAction } = useConsentSession({ sessionId });
|
||||
const configApi = useApi(configApiRef);
|
||||
const appTitle = configApi.getOptionalString('app.title') ?? 'Backstage';
|
||||
|
||||
if (!sessionId) {
|
||||
return (
|
||||
@@ -158,8 +161,8 @@ export const ConsentPage = () => {
|
||||
</Typography>
|
||||
<Typography variant="body1" color="textSecondary" gutterBottom>
|
||||
{state.action === 'approve'
|
||||
? 'You have successfully authorized the application to access your Backstage account.'
|
||||
: 'You have denied the application access to your Backstage account.'}
|
||||
? `You have successfully authorized the application to access your ${appTitle} account.`
|
||||
: `You have denied the application access to your ${appTitle} account.`}
|
||||
</Typography>
|
||||
<Typography variant="body2" color="textSecondary">
|
||||
Redirecting to the application...
|
||||
@@ -184,7 +187,7 @@ export const ConsentPage = () => {
|
||||
<Box>
|
||||
<Typography className={classes.appName}>{appName}</Typography>
|
||||
<Typography variant="body2" color="textSecondary">
|
||||
wants to access your Backstage account
|
||||
wants to access your {appTitle} account
|
||||
</Typography>
|
||||
</Box>
|
||||
</Box>
|
||||
@@ -198,7 +201,7 @@ export const ConsentPage = () => {
|
||||
>
|
||||
<Typography variant="body2">
|
||||
<strong>Security Notice:</strong> By authorizing this application,
|
||||
you are granting it access to your Backstage account. The
|
||||
you are granting it access to your {appTitle} account. The
|
||||
application will receive an access token that allows it to act on
|
||||
your behalf.
|
||||
</Typography>
|
||||
|
||||
@@ -1,5 +1,21 @@
|
||||
# @backstage/plugin-bitbucket-cloud-common
|
||||
|
||||
## 0.3.4-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 05f60e1: Refactored constructor parameter properties to explicit property declarations for compatibility with TypeScript's `erasableSyntaxOnly` setting. This internal refactoring maintains all existing functionality while ensuring TypeScript compilation compatibility.
|
||||
- Updated dependencies
|
||||
- @backstage/integration@1.18.2-next.0
|
||||
|
||||
## 0.3.3
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 2aded73: Allow for passing a `pagelen` parameter to configure the `pagelength` property of the `BitbucketCloudEntityProvider` `searchCode` pagination to resolve [bug](https://jira.atlassian.com/browse/BCLOUD-23644) pertaining to duplicate results being returned.
|
||||
- Updated dependencies
|
||||
- @backstage/integration@1.18.1
|
||||
|
||||
## 0.3.3-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@backstage/plugin-bitbucket-cloud-common",
|
||||
"version": "0.3.3-next.0",
|
||||
"version": "0.3.4-next.0",
|
||||
"description": "Common functionalities for bitbucket-cloud plugins",
|
||||
"backstage": {
|
||||
"role": "common-library",
|
||||
|
||||
@@ -518,7 +518,7 @@ export class WithPagination<
|
||||
constructor(
|
||||
createUrl: (options: PaginationOptions) => URL,
|
||||
fetch: (url: URL) => Promise<TPage>,
|
||||
pagelen?: number | undefined,
|
||||
pagelen?: number,
|
||||
);
|
||||
// (undocumented)
|
||||
getPage(options?: PaginationOptions): Promise<TPage>;
|
||||
|
||||
@@ -27,11 +27,19 @@ export class WithPagination<
|
||||
TPage extends Models.Paginated<TResultItem>,
|
||||
TResultItem,
|
||||
> {
|
||||
private readonly createUrl: (options: PaginationOptions) => URL;
|
||||
private readonly fetch: (url: URL) => Promise<TPage>;
|
||||
private readonly pagelen?: number;
|
||||
|
||||
constructor(
|
||||
private readonly createUrl: (options: PaginationOptions) => URL,
|
||||
private readonly fetch: (url: URL) => Promise<TPage>,
|
||||
private readonly pagelen?: number,
|
||||
) {}
|
||||
createUrl: (options: PaginationOptions) => URL,
|
||||
fetch: (url: URL) => Promise<TPage>,
|
||||
pagelen?: number,
|
||||
) {
|
||||
this.createUrl = createUrl;
|
||||
this.fetch = fetch;
|
||||
this.pagelen = pagelen;
|
||||
}
|
||||
|
||||
getPage(options?: PaginationOptions): Promise<TPage> {
|
||||
const opts = { page: 1, pagelen: this.pagelen ?? 100, ...options };
|
||||
|
||||
@@ -1,5 +1,43 @@
|
||||
# @backstage/plugin-catalog-backend-module-aws
|
||||
|
||||
## 0.4.17-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 05f60e1: Refactored constructor parameter properties to explicit property declarations for compatibility with TypeScript's `erasableSyntaxOnly` setting. This internal refactoring maintains all existing functionality while ensuring TypeScript compilation compatibility.
|
||||
- Updated dependencies
|
||||
- @backstage/backend-defaults@0.13.1-next.0
|
||||
- @backstage/config@1.3.6-next.0
|
||||
- @backstage/catalog-model@1.7.6-next.0
|
||||
- @backstage/integration@1.18.2-next.0
|
||||
- @backstage/integration-aws-node@0.1.19-next.0
|
||||
- @backstage/backend-plugin-api@1.4.5-next.0
|
||||
- @backstage/errors@1.2.7
|
||||
- @backstage/plugin-catalog-common@1.1.7-next.0
|
||||
- @backstage/plugin-catalog-node@1.19.2-next.0
|
||||
- @backstage/plugin-kubernetes-common@0.9.8-next.0
|
||||
|
||||
## 0.4.16
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 99fcf98: Removed unused dependencies
|
||||
- Updated dependencies
|
||||
- @backstage/backend-defaults@0.13.0
|
||||
- @backstage/integration@1.18.1
|
||||
- @backstage/plugin-kubernetes-common@0.9.7
|
||||
- @backstage/config@1.3.5
|
||||
- @backstage/backend-plugin-api@1.4.4
|
||||
- @backstage/integration-aws-node@0.1.18
|
||||
- @backstage/plugin-catalog-common@1.1.6
|
||||
- @backstage/plugin-catalog-node@1.19.1
|
||||
|
||||
## 0.4.16-next.2
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 99fcf98: Removed unused dependencies
|
||||
|
||||
## 0.4.16-next.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,15 +1,3 @@
|
||||
# Knip report
|
||||
|
||||
## Unused dependencies (2)
|
||||
|
||||
| Name | Location | Severity |
|
||||
| :---------------------------- | :----------- | :------- |
|
||||
| @aws-sdk/credential-providers | plugins/catalog-backend-module-aws/package.json | error |
|
||||
| winston | plugins/catalog-backend-module-aws/package.json | error |
|
||||
|
||||
## Unused devDependencies (1)
|
||||
|
||||
| Name | Location | Severity |
|
||||
| :---- | :----------- | :------- |
|
||||
| luxon | plugins/catalog-backend-module-aws/package.json | error |
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@backstage/plugin-catalog-backend-module-aws",
|
||||
"version": "0.4.16-next.1",
|
||||
"version": "0.4.17-next.0",
|
||||
"description": "A Backstage catalog backend module that helps integrate towards AWS",
|
||||
"backstage": {
|
||||
"role": "backend-plugin-module",
|
||||
@@ -54,7 +54,6 @@
|
||||
"@aws-sdk/client-eks": "^3.350.0",
|
||||
"@aws-sdk/client-organizations": "^3.350.0",
|
||||
"@aws-sdk/client-s3": "^3.350.0",
|
||||
"@aws-sdk/credential-providers": "^3.350.0",
|
||||
"@aws-sdk/middleware-endpoint": "^3.347.0",
|
||||
"@aws-sdk/types": "^3.347.0",
|
||||
"@backstage/backend-defaults": "workspace:^",
|
||||
@@ -68,8 +67,7 @@
|
||||
"@backstage/plugin-catalog-node": "workspace:^",
|
||||
"@backstage/plugin-kubernetes-common": "workspace:^",
|
||||
"p-limit": "^3.0.2",
|
||||
"uuid": "^11.0.0",
|
||||
"winston": "^3.2.1"
|
||||
"uuid": "^11.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@aws-sdk/util-stream-node": "^3.350.0",
|
||||
@@ -77,7 +75,6 @@
|
||||
"@backstage/cli": "workspace:^",
|
||||
"aws-sdk-client-mock": "^4.0.0",
|
||||
"aws-sdk-client-mock-jest": "^4.0.0",
|
||||
"luxon": "^3.0.0",
|
||||
"yaml": "^2.0.0"
|
||||
},
|
||||
"configSchema": "config.d.ts"
|
||||
|
||||
@@ -105,13 +105,20 @@ export class AwsS3EntityProvider implements EntityProvider {
|
||||
});
|
||||
}
|
||||
|
||||
private readonly config: AwsS3Config;
|
||||
private readonly integration: AwsS3Integration;
|
||||
private readonly awsCredentialsManager: AwsCredentialsManager;
|
||||
|
||||
private constructor(
|
||||
private readonly config: AwsS3Config,
|
||||
private readonly integration: AwsS3Integration,
|
||||
private readonly awsCredentialsManager: AwsCredentialsManager,
|
||||
config: AwsS3Config,
|
||||
integration: AwsS3Integration,
|
||||
awsCredentialsManager: AwsCredentialsManager,
|
||||
logger: LoggerService,
|
||||
taskRunner: SchedulerServiceTaskRunner,
|
||||
) {
|
||||
this.config = config;
|
||||
this.integration = integration;
|
||||
this.awsCredentialsManager = awsCredentialsManager;
|
||||
this.logger = logger.child({
|
||||
target: this.getProviderName(),
|
||||
});
|
||||
|
||||
@@ -1,5 +1,36 @@
|
||||
# @backstage/plugin-catalog-backend-module-azure
|
||||
|
||||
## 0.3.11-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 05f60e1: Refactored constructor parameter properties to explicit property declarations for compatibility with TypeScript's `erasableSyntaxOnly` setting. This internal refactoring maintains all existing functionality while ensuring TypeScript compilation compatibility.
|
||||
- Updated dependencies
|
||||
- @backstage/config@1.3.6-next.0
|
||||
- @backstage/integration@1.18.2-next.0
|
||||
- @backstage/backend-plugin-api@1.4.5-next.0
|
||||
- @backstage/plugin-catalog-common@1.1.7-next.0
|
||||
- @backstage/plugin-catalog-node@1.19.2-next.0
|
||||
|
||||
## 0.3.10
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 84443f1: Adds config definitions for Azure Blob Storage.
|
||||
- 99fcf98: Removed unused dependencies
|
||||
- Updated dependencies
|
||||
- @backstage/integration@1.18.1
|
||||
- @backstage/config@1.3.5
|
||||
- @backstage/backend-plugin-api@1.4.4
|
||||
- @backstage/plugin-catalog-common@1.1.6
|
||||
- @backstage/plugin-catalog-node@1.19.1
|
||||
|
||||
## 0.3.10-next.2
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 99fcf98: Removed unused dependencies
|
||||
|
||||
## 0.3.10-next.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,8 +1,3 @@
|
||||
# Knip report
|
||||
|
||||
## Unused devDependencies (1)
|
||||
|
||||
| Name | Location | Severity |
|
||||
| :---- | :----------- | :------- |
|
||||
| luxon | plugins/catalog-backend-module-azure/package.json | error |
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@backstage/plugin-catalog-backend-module-azure",
|
||||
"version": "0.3.10-next.1",
|
||||
"version": "0.3.11-next.0",
|
||||
"description": "A Backstage catalog backend module that helps integrate towards Azure",
|
||||
"backstage": {
|
||||
"role": "backend-plugin-module",
|
||||
@@ -63,7 +63,6 @@
|
||||
"devDependencies": {
|
||||
"@backstage/backend-test-utils": "workspace:^",
|
||||
"@backstage/cli": "workspace:^",
|
||||
"luxon": "^3.0.0",
|
||||
"msw": "^1.0.0"
|
||||
},
|
||||
"configSchema": "config.d.ts"
|
||||
|
||||
+10
-3
@@ -105,13 +105,20 @@ export class AzureBlobStorageEntityProvider implements EntityProvider {
|
||||
);
|
||||
});
|
||||
}
|
||||
private readonly config: AzureBlobStorageConfig;
|
||||
private readonly integration: AzureBlobStorageIntergation;
|
||||
private readonly credentialsProvider: DefaultAzureCredentialsManager;
|
||||
|
||||
private constructor(
|
||||
private readonly config: AzureBlobStorageConfig,
|
||||
private readonly integration: AzureBlobStorageIntergation,
|
||||
private readonly credentialsProvider: DefaultAzureCredentialsManager,
|
||||
config: AzureBlobStorageConfig,
|
||||
integration: AzureBlobStorageIntergation,
|
||||
credentialsProvider: DefaultAzureCredentialsManager,
|
||||
logger: LoggerService,
|
||||
schedule: SchedulerServiceTaskRunner,
|
||||
) {
|
||||
this.config = config;
|
||||
this.integration = integration;
|
||||
this.credentialsProvider = credentialsProvider;
|
||||
this.logger = logger.child({ target: this.getProviderName() });
|
||||
this.scheduleFn = this.createScheduleFn(schedule);
|
||||
}
|
||||
|
||||
@@ -97,13 +97,20 @@ export class AzureDevOpsEntityProvider implements EntityProvider {
|
||||
});
|
||||
}
|
||||
|
||||
private readonly config: AzureDevOpsConfig;
|
||||
private readonly integration: AzureIntegration;
|
||||
private readonly credentialsProvider: AzureDevOpsCredentialsProvider;
|
||||
|
||||
private constructor(
|
||||
private readonly config: AzureDevOpsConfig,
|
||||
private readonly integration: AzureIntegration,
|
||||
private readonly credentialsProvider: AzureDevOpsCredentialsProvider,
|
||||
config: AzureDevOpsConfig,
|
||||
integration: AzureIntegration,
|
||||
credentialsProvider: AzureDevOpsCredentialsProvider,
|
||||
logger: LoggerService,
|
||||
taskRunner: SchedulerServiceTaskRunner,
|
||||
) {
|
||||
this.config = config;
|
||||
this.integration = integration;
|
||||
this.credentialsProvider = credentialsProvider;
|
||||
this.logger = logger.child({
|
||||
target: this.getProviderName(),
|
||||
});
|
||||
|
||||
@@ -1,5 +1,28 @@
|
||||
# @backstage/plugin-catalog-backend-module-backstage-openapi
|
||||
|
||||
## 0.5.8-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 05f60e1: Refactored constructor parameter properties to explicit property declarations for compatibility with TypeScript's `erasableSyntaxOnly` setting. This internal refactoring maintains all existing functionality while ensuring TypeScript compilation compatibility.
|
||||
- Updated dependencies
|
||||
- @backstage/config@1.3.6-next.0
|
||||
- @backstage/catalog-model@1.7.6-next.0
|
||||
- @backstage/backend-openapi-utils@0.6.3-next.0
|
||||
- @backstage/backend-plugin-api@1.4.5-next.0
|
||||
- @backstage/errors@1.2.7
|
||||
- @backstage/plugin-catalog-node@1.19.2-next.0
|
||||
|
||||
## 0.5.7
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/config@1.3.5
|
||||
- @backstage/backend-openapi-utils@0.6.2
|
||||
- @backstage/backend-plugin-api@1.4.4
|
||||
- @backstage/plugin-catalog-node@1.19.1
|
||||
|
||||
## 0.5.7-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@backstage/plugin-catalog-backend-module-backstage-openapi",
|
||||
"version": "0.5.7-next.0",
|
||||
"version": "0.5.8-next.0",
|
||||
"backstage": {
|
||||
"role": "backend-plugin-module",
|
||||
"pluginId": "catalog",
|
||||
|
||||
+12
-4
@@ -171,14 +171,22 @@ const formatDefinition = (
|
||||
export class InternalOpenApiDocumentationProvider implements EntityProvider {
|
||||
private connection?: EntityProviderConnection;
|
||||
private readonly scheduleFn: () => Promise<void>;
|
||||
public readonly config: Config;
|
||||
public readonly discovery: DiscoveryService;
|
||||
public readonly logger: LoggerService;
|
||||
public readonly auth: AuthService;
|
||||
|
||||
constructor(
|
||||
public readonly config: Config,
|
||||
public readonly discovery: DiscoveryService,
|
||||
public readonly logger: LoggerService,
|
||||
public readonly auth: AuthService,
|
||||
config: Config,
|
||||
discovery: DiscoveryService,
|
||||
logger: LoggerService,
|
||||
auth: AuthService,
|
||||
taskRunner: SchedulerServiceTaskRunner,
|
||||
) {
|
||||
this.config = config;
|
||||
this.discovery = discovery;
|
||||
this.logger = logger;
|
||||
this.auth = auth;
|
||||
this.scheduleFn = this.createScheduleFn(taskRunner);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,5 +1,40 @@
|
||||
# @backstage/plugin-catalog-backend-module-bitbucket-cloud
|
||||
|
||||
## 0.5.5-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/plugin-events-node@0.4.17-next.0
|
||||
- @backstage/plugin-bitbucket-cloud-common@0.3.4-next.0
|
||||
- @backstage/config@1.3.6-next.0
|
||||
- @backstage/catalog-model@1.7.6-next.0
|
||||
- @backstage/integration@1.18.2-next.0
|
||||
- @backstage/backend-plugin-api@1.4.5-next.0
|
||||
- @backstage/plugin-catalog-common@1.1.7-next.0
|
||||
- @backstage/plugin-catalog-node@1.19.2-next.0
|
||||
|
||||
## 0.5.4
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 2aded73: Allow for passing a `pagelen` parameter to configure the `pagelength` property of the `BitbucketCloudEntityProvider` `searchCode` pagination to resolve [bug](https://jira.atlassian.com/browse/BCLOUD-23644) pertaining to duplicate results being returned.
|
||||
- 99fcf98: Removed unused dependencies
|
||||
- Updated dependencies
|
||||
- @backstage/integration@1.18.1
|
||||
- @backstage/config@1.3.5
|
||||
- @backstage/plugin-bitbucket-cloud-common@0.3.3
|
||||
- @backstage/backend-plugin-api@1.4.4
|
||||
- @backstage/plugin-catalog-common@1.1.6
|
||||
- @backstage/plugin-catalog-node@1.19.1
|
||||
- @backstage/plugin-events-node@0.4.16
|
||||
|
||||
## 0.5.4-next.2
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 99fcf98: Removed unused dependencies
|
||||
|
||||
## 0.5.4-next.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,14 +1,3 @@
|
||||
# Knip report
|
||||
|
||||
## Unused dependencies (1)
|
||||
|
||||
| Name | Location | Severity |
|
||||
| :------------------------ | :----------- | :------- |
|
||||
| @backstage/catalog-client | plugins/catalog-backend-module-bitbucket-cloud/package.json | error |
|
||||
|
||||
## Unused devDependencies (1)
|
||||
|
||||
| Name | Location | Severity |
|
||||
| :---- | :----------- | :------- |
|
||||
| luxon | plugins/catalog-backend-module-bitbucket-cloud/package.json | error |
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@backstage/plugin-catalog-backend-module-bitbucket-cloud",
|
||||
"version": "0.5.4-next.1",
|
||||
"version": "0.5.5-next.0",
|
||||
"description": "A Backstage catalog backend module that helps integrate towards Bitbucket Cloud",
|
||||
"backstage": {
|
||||
"role": "backend-plugin-module",
|
||||
@@ -52,7 +52,6 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@backstage/backend-plugin-api": "workspace:^",
|
||||
"@backstage/catalog-client": "workspace:^",
|
||||
"@backstage/catalog-model": "workspace:^",
|
||||
"@backstage/config": "workspace:^",
|
||||
"@backstage/integration": "workspace:^",
|
||||
@@ -66,7 +65,6 @@
|
||||
"@backstage/backend-test-utils": "workspace:^",
|
||||
"@backstage/cli": "workspace:^",
|
||||
"@backstage/plugin-events-backend-test-utils": "workspace:^",
|
||||
"luxon": "^3.0.0",
|
||||
"msw": "^1.0.0"
|
||||
},
|
||||
"configSchema": "config.d.ts"
|
||||
|
||||
@@ -1,5 +1,38 @@
|
||||
# @backstage/plugin-catalog-backend-module-bitbucket-server
|
||||
|
||||
## 0.5.5-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/plugin-events-node@0.4.17-next.0
|
||||
- @backstage/config@1.3.6-next.0
|
||||
- @backstage/catalog-model@1.7.6-next.0
|
||||
- @backstage/integration@1.18.2-next.0
|
||||
- @backstage/backend-plugin-api@1.4.5-next.0
|
||||
- @backstage/errors@1.2.7
|
||||
- @backstage/plugin-catalog-common@1.1.7-next.0
|
||||
- @backstage/plugin-catalog-node@1.19.2-next.0
|
||||
|
||||
## 0.5.4
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 99fcf98: Removed unused dependencies
|
||||
- Updated dependencies
|
||||
- @backstage/integration@1.18.1
|
||||
- @backstage/config@1.3.5
|
||||
- @backstage/backend-plugin-api@1.4.4
|
||||
- @backstage/plugin-catalog-common@1.1.6
|
||||
- @backstage/plugin-catalog-node@1.19.1
|
||||
- @backstage/plugin-events-node@0.4.16
|
||||
|
||||
## 0.5.4-next.2
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 99fcf98: Removed unused dependencies
|
||||
|
||||
## 0.5.4-next.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,14 +1,3 @@
|
||||
# Knip report
|
||||
|
||||
## Unused dependencies (1)
|
||||
|
||||
| Name | Location | Severity |
|
||||
| :------------------------ | :----------- | :------- |
|
||||
| @backstage/catalog-client | plugins/catalog-backend-module-bitbucket-server/package.json | error |
|
||||
|
||||
## Unused devDependencies (1)
|
||||
|
||||
| Name | Location | Severity |
|
||||
| :---- | :----------- | :------- |
|
||||
| luxon | plugins/catalog-backend-module-bitbucket-server/package.json | error |
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@backstage/plugin-catalog-backend-module-bitbucket-server",
|
||||
"version": "0.5.4-next.1",
|
||||
"version": "0.5.5-next.0",
|
||||
"backstage": {
|
||||
"role": "backend-plugin-module",
|
||||
"pluginId": "catalog",
|
||||
@@ -47,7 +47,6 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@backstage/backend-plugin-api": "workspace:^",
|
||||
"@backstage/catalog-client": "workspace:^",
|
||||
"@backstage/catalog-model": "workspace:^",
|
||||
"@backstage/config": "workspace:^",
|
||||
"@backstage/errors": "workspace:^",
|
||||
@@ -61,7 +60,6 @@
|
||||
"@backstage/backend-test-utils": "workspace:^",
|
||||
"@backstage/cli": "workspace:^",
|
||||
"@backstage/plugin-events-backend-test-utils": "workspace:^",
|
||||
"luxon": "^3.0.0",
|
||||
"msw": "^1.0.0"
|
||||
},
|
||||
"configSchema": "config.d.ts"
|
||||
|
||||
@@ -1,5 +1,26 @@
|
||||
# @backstage/plugin-catalog-backend-module-gcp
|
||||
|
||||
## 0.3.14-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/config@1.3.6-next.0
|
||||
- @backstage/catalog-model@1.7.6-next.0
|
||||
- @backstage/backend-plugin-api@1.4.5-next.0
|
||||
- @backstage/plugin-catalog-node@1.19.2-next.0
|
||||
- @backstage/plugin-kubernetes-common@0.9.8-next.0
|
||||
|
||||
## 0.3.13
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/plugin-kubernetes-common@0.9.7
|
||||
- @backstage/config@1.3.5
|
||||
- @backstage/backend-plugin-api@1.4.4
|
||||
- @backstage/plugin-catalog-node@1.19.1
|
||||
|
||||
## 0.3.13-next.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@backstage/plugin-catalog-backend-module-gcp",
|
||||
"version": "0.3.13-next.1",
|
||||
"version": "0.3.14-next.0",
|
||||
"description": "A Backstage catalog backend module that helps integrate towards GCP",
|
||||
"backstage": {
|
||||
"role": "backend-plugin-module",
|
||||
|
||||
@@ -1,5 +1,35 @@
|
||||
# @backstage/plugin-catalog-backend-module-gerrit
|
||||
|
||||
## 0.3.8-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/config@1.3.6-next.0
|
||||
- @backstage/integration@1.18.2-next.0
|
||||
- @backstage/backend-plugin-api@1.4.5-next.0
|
||||
- @backstage/errors@1.2.7
|
||||
- @backstage/plugin-catalog-common@1.1.7-next.0
|
||||
- @backstage/plugin-catalog-node@1.19.2-next.0
|
||||
|
||||
## 0.3.7
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 99fcf98: Removed unused dependencies
|
||||
- Updated dependencies
|
||||
- @backstage/integration@1.18.1
|
||||
- @backstage/config@1.3.5
|
||||
- @backstage/backend-plugin-api@1.4.4
|
||||
- @backstage/plugin-catalog-common@1.1.6
|
||||
- @backstage/plugin-catalog-node@1.19.1
|
||||
|
||||
## 0.3.7-next.2
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 99fcf98: Removed unused dependencies
|
||||
|
||||
## 0.3.7-next.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,8 +1,3 @@
|
||||
# Knip report
|
||||
|
||||
## Unused devDependencies (1)
|
||||
|
||||
| Name | Location | Severity |
|
||||
| :---- | :----------- | :------- |
|
||||
| luxon | plugins/catalog-backend-module-gerrit/package.json | error |
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@backstage/plugin-catalog-backend-module-gerrit",
|
||||
"version": "0.3.7-next.1",
|
||||
"version": "0.3.8-next.0",
|
||||
"backstage": {
|
||||
"role": "backend-plugin-module",
|
||||
"pluginId": "catalog",
|
||||
@@ -61,7 +61,6 @@
|
||||
"@backstage/backend-test-utils": "workspace:^",
|
||||
"@backstage/cli": "workspace:^",
|
||||
"@types/fs-extra": "^11.0.0",
|
||||
"luxon": "^3.0.0",
|
||||
"msw": "^1.0.0"
|
||||
},
|
||||
"configSchema": "config.d.ts"
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user