Merge branch 'backstage:master' into ownership-card-adjustments
This commit is contained in:
@@ -1,5 +1,19 @@
|
||||
# @backstage/plugin-adr-backend
|
||||
|
||||
## 0.2.3-next.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/backend-common@0.16.0-next.1
|
||||
- @backstage/catalog-client@1.1.2-next.0
|
||||
- @backstage/catalog-model@1.1.3-next.0
|
||||
- @backstage/config@1.0.4-next.0
|
||||
- @backstage/errors@1.1.3-next.0
|
||||
- @backstage/integration@1.4.0-next.0
|
||||
- @backstage/plugin-adr-common@0.2.3-next.0
|
||||
- @backstage/plugin-search-common@1.1.1-next.0
|
||||
|
||||
## 0.2.3-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@backstage/plugin-adr-backend",
|
||||
"version": "0.2.3-next.0",
|
||||
"version": "0.2.3-next.1",
|
||||
"main": "src/index.ts",
|
||||
"types": "src/index.ts",
|
||||
"license": "Apache-2.0",
|
||||
|
||||
@@ -1,5 +1,20 @@
|
||||
# @backstage/plugin-adr
|
||||
|
||||
## 0.2.3-next.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/core-components@0.12.0-next.1
|
||||
- @backstage/catalog-model@1.1.3-next.0
|
||||
- @backstage/core-plugin-api@1.1.0-next.0
|
||||
- @backstage/integration-react@1.1.6-next.1
|
||||
- @backstage/theme@0.2.16
|
||||
- @backstage/plugin-adr-common@0.2.3-next.0
|
||||
- @backstage/plugin-catalog-react@1.2.1-next.1
|
||||
- @backstage/plugin-search-common@1.1.1-next.0
|
||||
- @backstage/plugin-search-react@1.2.1-next.1
|
||||
|
||||
## 0.2.3-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@backstage/plugin-adr",
|
||||
"version": "0.2.3-next.0",
|
||||
"version": "0.2.3-next.1",
|
||||
"main": "src/index.ts",
|
||||
"types": "src/index.ts",
|
||||
"license": "Apache-2.0",
|
||||
|
||||
@@ -1,5 +1,13 @@
|
||||
# @backstage/plugin-airbrake-backend
|
||||
|
||||
## 0.2.11-next.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/backend-common@0.16.0-next.1
|
||||
- @backstage/config@1.0.4-next.0
|
||||
|
||||
## 0.2.11-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@backstage/plugin-airbrake-backend",
|
||||
"version": "0.2.11-next.0",
|
||||
"version": "0.2.11-next.1",
|
||||
"main": "src/index.ts",
|
||||
"types": "src/index.ts",
|
||||
"license": "Apache-2.0",
|
||||
|
||||
@@ -1,5 +1,18 @@
|
||||
# @backstage/plugin-airbrake
|
||||
|
||||
## 0.3.11-next.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/core-components@0.12.0-next.1
|
||||
- @backstage/catalog-model@1.1.3-next.0
|
||||
- @backstage/core-plugin-api@1.1.0-next.0
|
||||
- @backstage/dev-utils@1.0.8-next.1
|
||||
- @backstage/test-utils@1.2.2-next.0
|
||||
- @backstage/theme@0.2.16
|
||||
- @backstage/plugin-catalog-react@1.2.1-next.1
|
||||
|
||||
## 0.3.11-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@backstage/plugin-airbrake",
|
||||
"version": "0.3.11-next.0",
|
||||
"version": "0.3.11-next.1",
|
||||
"main": "src/index.ts",
|
||||
"types": "src/index.ts",
|
||||
"license": "Apache-2.0",
|
||||
|
||||
@@ -1,5 +1,16 @@
|
||||
# @backstage/plugin-allure
|
||||
|
||||
## 0.1.27-next.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/core-components@0.12.0-next.1
|
||||
- @backstage/catalog-model@1.1.3-next.0
|
||||
- @backstage/core-plugin-api@1.1.0-next.0
|
||||
- @backstage/theme@0.2.16
|
||||
- @backstage/plugin-catalog-react@1.2.1-next.1
|
||||
|
||||
## 0.1.27-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@backstage/plugin-allure",
|
||||
"description": "A Backstage plugin that integrates with Allure",
|
||||
"version": "0.1.27-next.0",
|
||||
"version": "0.1.27-next.1",
|
||||
"main": "src/index.ts",
|
||||
"types": "src/index.ts",
|
||||
"license": "Apache-2.0",
|
||||
|
||||
@@ -1,5 +1,15 @@
|
||||
# @backstage/plugin-analytics-module-ga
|
||||
|
||||
## 0.1.22-next.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/core-components@0.12.0-next.1
|
||||
- @backstage/config@1.0.4-next.0
|
||||
- @backstage/core-plugin-api@1.1.0-next.0
|
||||
- @backstage/theme@0.2.16
|
||||
|
||||
## 0.1.22-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@backstage/plugin-analytics-module-ga",
|
||||
"version": "0.1.22-next.0",
|
||||
"version": "0.1.22-next.1",
|
||||
"main": "src/index.ts",
|
||||
"types": "src/index.ts",
|
||||
"license": "Apache-2.0",
|
||||
|
||||
@@ -1,5 +1,13 @@
|
||||
# @backstage/plugin-apache-airflow
|
||||
|
||||
## 0.2.4-next.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/core-components@0.12.0-next.1
|
||||
- @backstage/core-plugin-api@1.1.0-next.0
|
||||
|
||||
## 0.2.4-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@backstage/plugin-apache-airflow",
|
||||
"version": "0.2.4-next.0",
|
||||
"version": "0.2.4-next.1",
|
||||
"main": "src/index.ts",
|
||||
"types": "src/index.ts",
|
||||
"license": "Apache-2.0",
|
||||
|
||||
@@ -1,5 +1,17 @@
|
||||
# @backstage/plugin-api-docs
|
||||
|
||||
## 0.8.11-next.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/core-components@0.12.0-next.1
|
||||
- @backstage/catalog-model@1.1.3-next.0
|
||||
- @backstage/core-plugin-api@1.1.0-next.0
|
||||
- @backstage/theme@0.2.16
|
||||
- @backstage/plugin-catalog@1.6.1-next.1
|
||||
- @backstage/plugin-catalog-react@1.2.1-next.1
|
||||
|
||||
## 0.8.11-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@backstage/plugin-api-docs",
|
||||
"description": "A Backstage plugin that helps represent API entities in the frontend",
|
||||
"version": "0.8.11-next.0",
|
||||
"version": "0.8.11-next.1",
|
||||
"main": "src/index.ts",
|
||||
"types": "src/index.ts",
|
||||
"license": "Apache-2.0",
|
||||
|
||||
@@ -1,5 +1,14 @@
|
||||
# @backstage/plugin-apollo-explorer
|
||||
|
||||
## 0.1.4-next.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/core-components@0.12.0-next.1
|
||||
- @backstage/core-plugin-api@1.1.0-next.0
|
||||
- @backstage/theme@0.2.16
|
||||
|
||||
## 0.1.4-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@backstage/plugin-apollo-explorer",
|
||||
"version": "0.1.4-next.0",
|
||||
"version": "0.1.4-next.1",
|
||||
"main": "src/index.ts",
|
||||
"types": "src/index.ts",
|
||||
"license": "Apache-2.0",
|
||||
|
||||
@@ -1,5 +1,16 @@
|
||||
# @backstage/plugin-app-backend
|
||||
|
||||
## 0.3.38-next.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/backend-common@0.16.0-next.1
|
||||
- @backstage/backend-plugin-api@0.1.4-next.1
|
||||
- @backstage/config@1.0.4-next.0
|
||||
- @backstage/config-loader@1.1.6-next.0
|
||||
- @backstage/types@1.0.1-next.0
|
||||
|
||||
## 0.3.38-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@backstage/plugin-app-backend",
|
||||
"description": "A Backstage backend plugin that serves the Backstage frontend app",
|
||||
"version": "0.3.38-next.0",
|
||||
"version": "0.3.38-next.1",
|
||||
"main": "src/index.ts",
|
||||
"types": "src/index.ts",
|
||||
"license": "Apache-2.0",
|
||||
|
||||
@@ -1,5 +1,20 @@
|
||||
# @backstage/plugin-auth-backend
|
||||
|
||||
## 0.17.1-next.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 0d6837ca4e: Fix wrong GitHub callback URL documentation
|
||||
- abaed9770e: Improve logging
|
||||
- Updated dependencies
|
||||
- @backstage/backend-common@0.16.0-next.1
|
||||
- @backstage/plugin-auth-node@0.2.7-next.1
|
||||
- @backstage/catalog-client@1.1.2-next.0
|
||||
- @backstage/catalog-model@1.1.3-next.0
|
||||
- @backstage/config@1.0.4-next.0
|
||||
- @backstage/errors@1.1.3-next.0
|
||||
- @backstage/types@1.0.1-next.0
|
||||
|
||||
## 0.17.1-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -34,8 +34,8 @@ Follow this link, [Create new OAuth App](https://github.com/settings/application
|
||||
1. Set Application Name to `backstage-dev` or something along those lines.
|
||||
1. You can set the Homepage URL to whatever you want to.
|
||||
1. The Authorization Callback URL should match the redirect URI set in Backstage.
|
||||
1. Set this to `http://localhost:7007/api/auth/github` for local development.
|
||||
1. Set this to `http://{APP_FQDN}:{APP_BACKEND_PORT}/api/auth/github` for non-local deployments.
|
||||
1. Set this to `http://localhost:7007/api/auth/github/handler/frame` for local development.
|
||||
1. Set this to `http://{APP_FQDN}:{APP_BACKEND_PORT}/api/auth/github/handler/frame` for non-local deployments.
|
||||
|
||||
```bash
|
||||
export AUTH_GITHUB_CLIENT_ID=x
|
||||
|
||||
@@ -669,6 +669,8 @@ export const readState: (stateString: string) => OAuthState;
|
||||
|
||||
// @public (undocumented)
|
||||
export interface RouterOptions {
|
||||
// (undocumented)
|
||||
catalogApi?: CatalogApi;
|
||||
// (undocumented)
|
||||
config: Config;
|
||||
// (undocumented)
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@backstage/plugin-auth-backend",
|
||||
"description": "A Backstage backend plugin that handles authentication",
|
||||
"version": "0.17.1-next.0",
|
||||
"version": "0.17.1-next.1",
|
||||
"main": "src/index.ts",
|
||||
"types": "src/index.ts",
|
||||
"license": "Apache-2.0",
|
||||
@@ -60,7 +60,7 @@
|
||||
"morgan": "^1.10.0",
|
||||
"node-cache": "^5.1.2",
|
||||
"node-fetch": "^2.6.7",
|
||||
"openid-client": "^5.1.3",
|
||||
"openid-client": "^5.2.1",
|
||||
"passport": "^0.6.0",
|
||||
"passport-auth0": "^1.4.3",
|
||||
"passport-bitbucket-oauth2": "^0.1.2",
|
||||
|
||||
@@ -28,7 +28,7 @@ import {
|
||||
TokenManager,
|
||||
} from '@backstage/backend-common';
|
||||
import { assertError, NotFoundError } from '@backstage/errors';
|
||||
import { CatalogClient } from '@backstage/catalog-client';
|
||||
import { CatalogApi, CatalogClient } from '@backstage/catalog-client';
|
||||
import { Config } from '@backstage/config';
|
||||
import { createOidcRouter, TokenFactory, KeyStores } from '../identity';
|
||||
import session from 'express-session';
|
||||
@@ -48,6 +48,7 @@ export interface RouterOptions {
|
||||
tokenManager: TokenManager;
|
||||
tokenFactoryAlgorithm?: string;
|
||||
providerFactories?: ProviderFactories;
|
||||
catalogApi?: CatalogApi;
|
||||
}
|
||||
|
||||
/** @public */
|
||||
@@ -62,6 +63,7 @@ export async function createRouter(
|
||||
tokenManager,
|
||||
tokenFactoryAlgorithm,
|
||||
providerFactories,
|
||||
catalogApi,
|
||||
} = options;
|
||||
const router = Router();
|
||||
|
||||
@@ -78,7 +80,6 @@ export async function createRouter(
|
||||
logger: logger.child({ component: 'token-factory' }),
|
||||
algorithm: tokenFactoryAlgorithm,
|
||||
});
|
||||
const catalogApi = new CatalogClient({ discoveryApi: discovery });
|
||||
|
||||
const secret = config.getOptionalString('auth.session.secret');
|
||||
if (secret) {
|
||||
@@ -114,7 +115,7 @@ export async function createRouter(
|
||||
allProviderFactories,
|
||||
)) {
|
||||
if (configuredProviders.includes(providerId)) {
|
||||
logger.info(`Configuring provider, ${providerId}`);
|
||||
logger.info(`Configuring auth provider: ${providerId}`);
|
||||
try {
|
||||
const provider = providerFactory({
|
||||
providerId,
|
||||
@@ -127,7 +128,8 @@ export async function createRouter(
|
||||
logger,
|
||||
resolverContext: CatalogAuthResolverContext.create({
|
||||
logger,
|
||||
catalogApi,
|
||||
catalogApi:
|
||||
catalogApi ?? new CatalogClient({ discoveryApi: discovery }),
|
||||
tokenIssuer,
|
||||
tokenManager,
|
||||
}),
|
||||
|
||||
@@ -1,5 +1,14 @@
|
||||
# @backstage/plugin-auth-node
|
||||
|
||||
## 0.2.7-next.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/backend-common@0.16.0-next.1
|
||||
- @backstage/config@1.0.4-next.0
|
||||
- @backstage/errors@1.1.3-next.0
|
||||
|
||||
## 0.2.7-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@backstage/plugin-auth-node",
|
||||
"version": "0.2.7-next.0",
|
||||
"version": "0.2.7-next.1",
|
||||
"main": "src/index.ts",
|
||||
"types": "src/index.ts",
|
||||
"license": "Apache-2.0",
|
||||
|
||||
@@ -1,5 +1,14 @@
|
||||
# @backstage/plugin-azure-devops-backend
|
||||
|
||||
## 0.3.17-next.2
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/backend-common@0.16.0-next.1
|
||||
- @backstage/config@1.0.4-next.0
|
||||
- @backstage/plugin-azure-devops-common@0.3.0
|
||||
|
||||
## 0.3.17-next.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@backstage/plugin-azure-devops-backend",
|
||||
"version": "0.3.17-next.1",
|
||||
"version": "0.3.17-next.2",
|
||||
"main": "src/index.ts",
|
||||
"types": "src/index.ts",
|
||||
"license": "Apache-2.0",
|
||||
|
||||
@@ -1,5 +1,18 @@
|
||||
# @backstage/plugin-azure-devops
|
||||
|
||||
## 0.2.2-next.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/core-components@0.12.0-next.1
|
||||
- @backstage/catalog-model@1.1.3-next.0
|
||||
- @backstage/core-plugin-api@1.1.0-next.0
|
||||
- @backstage/errors@1.1.3-next.0
|
||||
- @backstage/theme@0.2.16
|
||||
- @backstage/plugin-azure-devops-common@0.3.0
|
||||
- @backstage/plugin-catalog-react@1.2.1-next.1
|
||||
|
||||
## 0.2.2-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@backstage/plugin-azure-devops",
|
||||
"version": "0.2.2-next.0",
|
||||
"version": "0.2.2-next.1",
|
||||
"main": "src/index.ts",
|
||||
"types": "src/index.ts",
|
||||
"license": "Apache-2.0",
|
||||
|
||||
@@ -1,5 +1,14 @@
|
||||
# @backstage/plugin-azure-sites-backend
|
||||
|
||||
## 0.1.0-next.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/backend-common@0.16.0-next.1
|
||||
- @backstage/config@1.0.4-next.0
|
||||
- @backstage/plugin-azure-sites-common@0.1.0-next.0
|
||||
|
||||
## 0.1.0-next.0
|
||||
|
||||
### Minor Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@backstage/plugin-azure-sites-backend",
|
||||
"version": "0.1.0-next.0",
|
||||
"version": "0.1.0-next.1",
|
||||
"main": "src/index.ts",
|
||||
"types": "src/index.ts",
|
||||
"license": "Apache-2.0",
|
||||
|
||||
@@ -1,5 +1,17 @@
|
||||
# @backstage/plugin-azure-sites
|
||||
|
||||
## 0.1.0-next.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/core-components@0.12.0-next.1
|
||||
- @backstage/catalog-model@1.1.3-next.0
|
||||
- @backstage/core-plugin-api@1.1.0-next.0
|
||||
- @backstage/theme@0.2.16
|
||||
- @backstage/plugin-azure-sites-common@0.1.0-next.0
|
||||
- @backstage/plugin-catalog-react@1.2.1-next.1
|
||||
|
||||
## 0.1.0-next.0
|
||||
|
||||
### Minor Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@backstage/plugin-azure-sites",
|
||||
"version": "0.1.0-next.0",
|
||||
"version": "0.1.0-next.1",
|
||||
"main": "src/index.ts",
|
||||
"types": "src/index.ts",
|
||||
"license": "Apache-2.0",
|
||||
|
||||
@@ -1,5 +1,16 @@
|
||||
# @backstage/plugin-badges-backend
|
||||
|
||||
## 0.1.32-next.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/backend-common@0.16.0-next.1
|
||||
- @backstage/catalog-client@1.1.2-next.0
|
||||
- @backstage/catalog-model@1.1.3-next.0
|
||||
- @backstage/config@1.0.4-next.0
|
||||
- @backstage/errors@1.1.3-next.0
|
||||
|
||||
## 0.1.32-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@backstage/plugin-badges-backend",
|
||||
"description": "A Backstage backend plugin that generates README badges for your entities",
|
||||
"version": "0.1.32-next.0",
|
||||
"version": "0.1.32-next.1",
|
||||
"main": "src/index.ts",
|
||||
"types": "src/index.ts",
|
||||
"license": "Apache-2.0",
|
||||
|
||||
@@ -1,5 +1,17 @@
|
||||
# @backstage/plugin-badges
|
||||
|
||||
## 0.2.35-next.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/core-components@0.12.0-next.1
|
||||
- @backstage/catalog-model@1.1.3-next.0
|
||||
- @backstage/core-plugin-api@1.1.0-next.0
|
||||
- @backstage/errors@1.1.3-next.0
|
||||
- @backstage/theme@0.2.16
|
||||
- @backstage/plugin-catalog-react@1.2.1-next.1
|
||||
|
||||
## 0.2.35-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@backstage/plugin-badges",
|
||||
"description": "A Backstage plugin that generates README badges for your entities",
|
||||
"version": "0.2.35-next.0",
|
||||
"version": "0.2.35-next.1",
|
||||
"main": "src/index.ts",
|
||||
"types": "src/index.ts",
|
||||
"license": "Apache-2.0",
|
||||
|
||||
@@ -1,5 +1,16 @@
|
||||
# @backstage/plugin-bazaar-backend
|
||||
|
||||
## 0.2.1-next.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/backend-common@0.16.0-next.1
|
||||
- @backstage/backend-test-utils@0.1.30-next.1
|
||||
- @backstage/plugin-auth-node@0.2.7-next.1
|
||||
- @backstage/config@1.0.4-next.0
|
||||
- @backstage/errors@1.1.3-next.0
|
||||
|
||||
## 0.2.1-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@backstage/plugin-bazaar-backend",
|
||||
"version": "0.2.1-next.0",
|
||||
"version": "0.2.1-next.1",
|
||||
"main": "src/index.ts",
|
||||
"types": "src/index.ts",
|
||||
"license": "Apache-2.0",
|
||||
|
||||
@@ -1,5 +1,19 @@
|
||||
# @backstage/plugin-bazaar
|
||||
|
||||
## 0.2.0-next.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/cli@0.21.0-next.1
|
||||
- @backstage/core-components@0.12.0-next.1
|
||||
- @backstage/catalog-client@1.1.2-next.0
|
||||
- @backstage/catalog-model@1.1.3-next.0
|
||||
- @backstage/core-plugin-api@1.1.0-next.0
|
||||
- @backstage/errors@1.1.3-next.0
|
||||
- @backstage/plugin-catalog@1.6.1-next.1
|
||||
- @backstage/plugin-catalog-react@1.2.1-next.1
|
||||
|
||||
## 0.2.0-next.0
|
||||
|
||||
### Minor Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@backstage/plugin-bazaar",
|
||||
"version": "0.2.0-next.0",
|
||||
"version": "0.2.0-next.1",
|
||||
"main": "src/index.ts",
|
||||
"types": "src/index.ts",
|
||||
"license": "Apache-2.0",
|
||||
|
||||
@@ -1,5 +1,16 @@
|
||||
# @backstage/plugin-bitrise
|
||||
|
||||
## 0.1.38-next.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/core-components@0.12.0-next.1
|
||||
- @backstage/catalog-model@1.1.3-next.0
|
||||
- @backstage/core-plugin-api@1.1.0-next.0
|
||||
- @backstage/theme@0.2.16
|
||||
- @backstage/plugin-catalog-react@1.2.1-next.1
|
||||
|
||||
## 0.1.38-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@backstage/plugin-bitrise",
|
||||
"description": "A Backstage plugin that integrates towards Bitrise",
|
||||
"version": "0.1.38-next.0",
|
||||
"version": "0.1.38-next.1",
|
||||
"main": "src/index.ts",
|
||||
"types": "src/index.ts",
|
||||
"license": "Apache-2.0",
|
||||
|
||||
@@ -1,5 +1,21 @@
|
||||
# @backstage/plugin-catalog-backend-module-aws
|
||||
|
||||
## 0.1.11-next.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/backend-common@0.16.0-next.1
|
||||
- @backstage/backend-plugin-api@0.1.4-next.1
|
||||
- @backstage/backend-tasks@0.3.7-next.1
|
||||
- @backstage/plugin-catalog-backend@1.5.1-next.1
|
||||
- @backstage/plugin-catalog-node@1.2.1-next.1
|
||||
- @backstage/catalog-model@1.1.3-next.0
|
||||
- @backstage/config@1.0.4-next.0
|
||||
- @backstage/errors@1.1.3-next.0
|
||||
- @backstage/integration@1.4.0-next.0
|
||||
- @backstage/types@1.0.1-next.0
|
||||
|
||||
## 0.1.11-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@backstage/plugin-catalog-backend-module-aws",
|
||||
"description": "A Backstage catalog backend module that helps integrate towards AWS",
|
||||
"version": "0.1.11-next.0",
|
||||
"version": "0.1.11-next.1",
|
||||
"main": "src/index.ts",
|
||||
"types": "src/index.ts",
|
||||
"license": "Apache-2.0",
|
||||
|
||||
@@ -1,5 +1,21 @@
|
||||
# @backstage/plugin-catalog-backend-module-azure
|
||||
|
||||
## 0.1.9-next.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/backend-common@0.16.0-next.1
|
||||
- @backstage/backend-plugin-api@0.1.4-next.1
|
||||
- @backstage/backend-tasks@0.3.7-next.1
|
||||
- @backstage/plugin-catalog-backend@1.5.1-next.1
|
||||
- @backstage/plugin-catalog-node@1.2.1-next.1
|
||||
- @backstage/catalog-model@1.1.3-next.0
|
||||
- @backstage/config@1.0.4-next.0
|
||||
- @backstage/errors@1.1.3-next.0
|
||||
- @backstage/integration@1.4.0-next.0
|
||||
- @backstage/types@1.0.1-next.0
|
||||
|
||||
## 0.1.9-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@backstage/plugin-catalog-backend-module-azure",
|
||||
"description": "A Backstage catalog backend module that helps integrate towards Azure",
|
||||
"version": "0.1.9-next.0",
|
||||
"version": "0.1.9-next.1",
|
||||
"main": "src/index.ts",
|
||||
"types": "src/index.ts",
|
||||
"license": "Apache-2.0",
|
||||
|
||||
@@ -1,5 +1,18 @@
|
||||
# @backstage/plugin-catalog-backend-module-bitbucket-cloud
|
||||
|
||||
## 0.1.5-next.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/backend-plugin-api@0.1.4-next.1
|
||||
- @backstage/backend-tasks@0.3.7-next.1
|
||||
- @backstage/plugin-catalog-backend@1.5.1-next.1
|
||||
- @backstage/plugin-catalog-node@1.2.1-next.1
|
||||
- @backstage/config@1.0.4-next.0
|
||||
- @backstage/integration@1.4.0-next.0
|
||||
- @backstage/plugin-bitbucket-cloud-common@0.2.1-next.0
|
||||
|
||||
## 0.1.5-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@backstage/plugin-catalog-backend-module-bitbucket-cloud",
|
||||
"description": "A Backstage catalog backend module that helps integrate towards Bitbucket Cloud",
|
||||
"version": "0.1.5-next.0",
|
||||
"version": "0.1.5-next.1",
|
||||
"main": "src/index.ts",
|
||||
"types": "src/index.ts",
|
||||
"license": "Apache-2.0",
|
||||
|
||||
@@ -1,5 +1,20 @@
|
||||
# @backstage/plugin-catalog-backend-module-bitbucket-server
|
||||
|
||||
## 0.1.3-next.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/backend-common@0.16.0-next.1
|
||||
- @backstage/backend-plugin-api@0.1.4-next.1
|
||||
- @backstage/backend-tasks@0.3.7-next.1
|
||||
- @backstage/plugin-catalog-backend@1.5.1-next.1
|
||||
- @backstage/plugin-catalog-node@1.2.1-next.1
|
||||
- @backstage/catalog-model@1.1.3-next.0
|
||||
- @backstage/config@1.0.4-next.0
|
||||
- @backstage/errors@1.1.3-next.0
|
||||
- @backstage/integration@1.4.0-next.0
|
||||
|
||||
## 0.1.3-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@backstage/plugin-catalog-backend-module-bitbucket-server",
|
||||
"version": "0.1.3-next.0",
|
||||
"version": "0.1.3-next.1",
|
||||
"main": "src/index.ts",
|
||||
"types": "src/index.ts",
|
||||
"license": "Apache-2.0",
|
||||
|
||||
@@ -1,5 +1,19 @@
|
||||
# @backstage/plugin-catalog-backend-module-bitbucket
|
||||
|
||||
## 0.2.5-next.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/backend-common@0.16.0-next.1
|
||||
- @backstage/plugin-catalog-backend@1.5.1-next.1
|
||||
- @backstage/catalog-model@1.1.3-next.0
|
||||
- @backstage/config@1.0.4-next.0
|
||||
- @backstage/errors@1.1.3-next.0
|
||||
- @backstage/integration@1.4.0-next.0
|
||||
- @backstage/types@1.0.1-next.0
|
||||
- @backstage/plugin-bitbucket-cloud-common@0.2.1-next.0
|
||||
|
||||
## 0.2.5-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@backstage/plugin-catalog-backend-module-bitbucket",
|
||||
"description": "A Backstage catalog backend module that helps integrate towards Bitbucket",
|
||||
"version": "0.2.5-next.0",
|
||||
"version": "0.2.5-next.1",
|
||||
"deprecated": true,
|
||||
"main": "src/index.ts",
|
||||
"types": "src/index.ts",
|
||||
|
||||
@@ -1,5 +1,20 @@
|
||||
# @backstage/plugin-catalog-backend-module-gerrit
|
||||
|
||||
## 0.1.6-next.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/backend-common@0.16.0-next.1
|
||||
- @backstage/backend-plugin-api@0.1.4-next.1
|
||||
- @backstage/backend-tasks@0.3.7-next.1
|
||||
- @backstage/plugin-catalog-backend@1.5.1-next.1
|
||||
- @backstage/plugin-catalog-node@1.2.1-next.1
|
||||
- @backstage/catalog-model@1.1.3-next.0
|
||||
- @backstage/config@1.0.4-next.0
|
||||
- @backstage/errors@1.1.3-next.0
|
||||
- @backstage/integration@1.4.0-next.0
|
||||
|
||||
## 0.1.6-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@backstage/plugin-catalog-backend-module-gerrit",
|
||||
"version": "0.1.6-next.0",
|
||||
"version": "0.1.6-next.1",
|
||||
"main": "src/index.ts",
|
||||
"types": "src/index.ts",
|
||||
"license": "Apache-2.0",
|
||||
|
||||
@@ -1,5 +1,22 @@
|
||||
# @backstage/plugin-catalog-backend-module-github
|
||||
|
||||
## 0.2.0-next.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/backend-common@0.16.0-next.1
|
||||
- @backstage/backend-plugin-api@0.1.4-next.1
|
||||
- @backstage/backend-tasks@0.3.7-next.1
|
||||
- @backstage/plugin-catalog-backend@1.5.1-next.1
|
||||
- @backstage/plugin-catalog-node@1.2.1-next.1
|
||||
- @backstage/catalog-client@1.1.2-next.0
|
||||
- @backstage/catalog-model@1.1.3-next.0
|
||||
- @backstage/config@1.0.4-next.0
|
||||
- @backstage/errors@1.1.3-next.0
|
||||
- @backstage/integration@1.4.0-next.0
|
||||
- @backstage/types@1.0.1-next.0
|
||||
|
||||
## 0.2.0-next.0
|
||||
|
||||
### Minor Changes
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@backstage/plugin-catalog-backend-module-github",
|
||||
"description": "A Backstage catalog backend module that helps integrate towards GitHub",
|
||||
"version": "0.2.0-next.0",
|
||||
"version": "0.2.0-next.1",
|
||||
"main": "src/index.ts",
|
||||
"types": "src/index.ts",
|
||||
"license": "Apache-2.0",
|
||||
|
||||
@@ -25,6 +25,11 @@ import {
|
||||
getOrganizationRepositories,
|
||||
QueryResponse,
|
||||
} from './github';
|
||||
import fetch from 'node-fetch';
|
||||
|
||||
// Workaround for Node.js 18, where native fetch is available, but not yet picked up by msw
|
||||
// TODO(Rugvip): remove once https://github.com/mswjs/msw/issues/1388 is resolved
|
||||
(global as any).fetch = fetch;
|
||||
|
||||
describe('github', () => {
|
||||
const server = setupServer();
|
||||
|
||||
@@ -1,5 +1,21 @@
|
||||
# @backstage/plugin-catalog-backend-module-gitlab
|
||||
|
||||
## 0.1.9-next.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/backend-common@0.16.0-next.1
|
||||
- @backstage/backend-plugin-api@0.1.4-next.1
|
||||
- @backstage/backend-tasks@0.3.7-next.1
|
||||
- @backstage/plugin-catalog-backend@1.5.1-next.1
|
||||
- @backstage/plugin-catalog-node@1.2.1-next.1
|
||||
- @backstage/catalog-model@1.1.3-next.0
|
||||
- @backstage/config@1.0.4-next.0
|
||||
- @backstage/errors@1.1.3-next.0
|
||||
- @backstage/integration@1.4.0-next.0
|
||||
- @backstage/types@1.0.1-next.0
|
||||
|
||||
## 0.1.9-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@backstage/plugin-catalog-backend-module-gitlab",
|
||||
"description": "A Backstage catalog backend module that helps integrate towards GitLab",
|
||||
"version": "0.1.9-next.0",
|
||||
"version": "0.1.9-next.1",
|
||||
"main": "src/index.ts",
|
||||
"types": "src/index.ts",
|
||||
"license": "Apache-2.0",
|
||||
|
||||
@@ -1,5 +1,17 @@
|
||||
# @backstage/plugin-catalog-backend-module-ldap
|
||||
|
||||
## 0.5.5-next.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/backend-tasks@0.3.7-next.1
|
||||
- @backstage/plugin-catalog-backend@1.5.1-next.1
|
||||
- @backstage/catalog-model@1.1.3-next.0
|
||||
- @backstage/config@1.0.4-next.0
|
||||
- @backstage/errors@1.1.3-next.0
|
||||
- @backstage/types@1.0.1-next.0
|
||||
|
||||
## 0.5.5-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@backstage/plugin-catalog-backend-module-ldap",
|
||||
"description": "A Backstage catalog backend module that helps integrate towards LDAP",
|
||||
"version": "0.5.5-next.0",
|
||||
"version": "0.5.5-next.1",
|
||||
"main": "src/index.ts",
|
||||
"types": "src/index.ts",
|
||||
"license": "Apache-2.0",
|
||||
|
||||
@@ -1,5 +1,17 @@
|
||||
# @backstage/plugin-catalog-backend-module-msgraph
|
||||
|
||||
## 0.4.4-next.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/backend-plugin-api@0.1.4-next.1
|
||||
- @backstage/backend-tasks@0.3.7-next.1
|
||||
- @backstage/plugin-catalog-backend@1.5.1-next.1
|
||||
- @backstage/plugin-catalog-node@1.2.1-next.1
|
||||
- @backstage/catalog-model@1.1.3-next.0
|
||||
- @backstage/config@1.0.4-next.0
|
||||
|
||||
## 0.4.4-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@backstage/plugin-catalog-backend-module-msgraph",
|
||||
"description": "A Backstage catalog backend module that helps integrate towards Microsoft Graph",
|
||||
"version": "0.4.4-next.0",
|
||||
"version": "0.4.4-next.1",
|
||||
"main": "src/index.ts",
|
||||
"types": "src/index.ts",
|
||||
"license": "Apache-2.0",
|
||||
|
||||
@@ -1,5 +1,18 @@
|
||||
# @backstage/plugin-catalog-backend-module-openapi
|
||||
|
||||
## 0.1.4-next.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/backend-common@0.16.0-next.1
|
||||
- @backstage/plugin-catalog-backend@1.5.1-next.1
|
||||
- @backstage/plugin-catalog-node@1.2.1-next.1
|
||||
- @backstage/catalog-model@1.1.3-next.0
|
||||
- @backstage/config@1.0.4-next.0
|
||||
- @backstage/integration@1.4.0-next.0
|
||||
- @backstage/types@1.0.1-next.0
|
||||
|
||||
## 0.1.4-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@backstage/plugin-catalog-backend-module-openapi",
|
||||
"description": "A Backstage catalog backend module that helps with OpenAPI specifications",
|
||||
"version": "0.1.4-next.0",
|
||||
"version": "0.1.4-next.1",
|
||||
"main": "src/index.ts",
|
||||
"types": "src/index.ts",
|
||||
"license": "Apache-2.0",
|
||||
|
||||
@@ -1,5 +1,25 @@
|
||||
# @backstage/plugin-catalog-backend
|
||||
|
||||
## 1.5.1-next.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/backend-common@0.16.0-next.1
|
||||
- @backstage/backend-plugin-api@0.1.4-next.1
|
||||
- @backstage/plugin-catalog-node@1.2.1-next.1
|
||||
- @backstage/plugin-permission-node@0.7.1-next.1
|
||||
- @backstage/catalog-client@1.1.2-next.0
|
||||
- @backstage/catalog-model@1.1.3-next.0
|
||||
- @backstage/config@1.0.4-next.0
|
||||
- @backstage/errors@1.1.3-next.0
|
||||
- @backstage/integration@1.4.0-next.0
|
||||
- @backstage/types@1.0.1-next.0
|
||||
- @backstage/plugin-catalog-common@1.0.8-next.0
|
||||
- @backstage/plugin-permission-common@0.7.1-next.0
|
||||
- @backstage/plugin-scaffolder-common@1.2.2-next.0
|
||||
- @backstage/plugin-search-common@1.1.1-next.0
|
||||
|
||||
## 1.5.1-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
Vendored
+1
-1
@@ -25,7 +25,7 @@ export interface Config {
|
||||
* An undefined list of matchers means match all, an empty list of
|
||||
* matchers means match none.
|
||||
*
|
||||
* This is commonly used to put in what amounts to a whitelist of kinds
|
||||
* This is commonly used to put in what amounts to an allowlist of kinds
|
||||
* that regular users of Backstage are permitted to register locations
|
||||
* for. This can be used to stop them from registering yaml files
|
||||
* describing for example a Group entity called "admin" that they make
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@backstage/plugin-catalog-backend",
|
||||
"description": "The Backstage backend plugin that provides the Backstage catalog",
|
||||
"version": "1.5.1-next.0",
|
||||
"version": "1.5.1-next.1",
|
||||
"main": "src/index.ts",
|
||||
"types": "src/index.ts",
|
||||
"license": "Apache-2.0",
|
||||
|
||||
@@ -1,5 +1,13 @@
|
||||
# @internal/plugin-catalog-customized
|
||||
|
||||
## 0.0.4-next.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/plugin-catalog@1.6.1-next.1
|
||||
- @backstage/plugin-catalog-react@1.2.1-next.1
|
||||
|
||||
## 0.0.4-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@internal/plugin-catalog-customized",
|
||||
"description": "The internal Backstage Customizable plugin for browsing the Backstage catalog",
|
||||
"version": "0.0.4-next.0",
|
||||
"version": "0.0.4-next.1",
|
||||
"main": "src/index.ts",
|
||||
"types": "src/index.ts",
|
||||
"license": "Apache-2.0",
|
||||
|
||||
@@ -1,5 +1,26 @@
|
||||
# @backstage/plugin-catalog-graph
|
||||
|
||||
## 0.2.23-next.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- da0bf25d1a: Preserve graph options and increment `maxDepth` by 1.
|
||||
|
||||
The change will preserve options used at the `CatalogGraphCard`
|
||||
(displayed at the entity page) and additionally, increments the
|
||||
`maxDepth` option by 1 to increase the scope slightly compared to
|
||||
the graph already seen by the users.
|
||||
|
||||
The default for `maxDepth` at `CatalogGraphCard` is 1.
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/core-components@0.12.0-next.1
|
||||
- @backstage/catalog-client@1.1.2-next.0
|
||||
- @backstage/catalog-model@1.1.3-next.0
|
||||
- @backstage/core-plugin-api@1.1.0-next.0
|
||||
- @backstage/theme@0.2.16
|
||||
- @backstage/plugin-catalog-react@1.2.1-next.1
|
||||
|
||||
## 0.2.23-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@backstage/plugin-catalog-graph",
|
||||
"version": "0.2.23-next.0",
|
||||
"version": "0.2.23-next.1",
|
||||
"main": "src/index.ts",
|
||||
"types": "src/index.ts",
|
||||
"license": "Apache-2.0",
|
||||
|
||||
@@ -116,7 +116,31 @@ describe('<CatalogGraphCard/>', () => {
|
||||
expect(button).toBeInTheDocument();
|
||||
expect(button.closest('a')).toHaveAttribute(
|
||||
'href',
|
||||
'/catalog-graph?rootEntityRefs%5B%5D=b%3Ad%2Fc',
|
||||
'/catalog-graph?rootEntityRefs%5B%5D=b%3Ad%2Fc&maxDepth=2&unidirectional=true&mergeRelations=true&direction=LR',
|
||||
);
|
||||
});
|
||||
|
||||
test('renders link to standalone viewer with custom config', async () => {
|
||||
const { findByText, getByText } = await renderInTestApp(
|
||||
<ApiProvider apis={apis}>
|
||||
<EntityProvider entity={entity}>
|
||||
<CatalogGraphCard maxDepth={2} mergeRelations={false} />
|
||||
</EntityProvider>
|
||||
</ApiProvider>,
|
||||
{
|
||||
mountedRoutes: {
|
||||
'/entity/{kind}/{namespace}/{name}': entityRouteRef,
|
||||
'/catalog-graph': catalogGraphRouteRef,
|
||||
},
|
||||
},
|
||||
);
|
||||
|
||||
expect(await findByText('b:d/c')).toBeInTheDocument();
|
||||
const button = getByText('View graph');
|
||||
expect(button).toBeInTheDocument();
|
||||
expect(button.closest('a')).toHaveAttribute(
|
||||
'href',
|
||||
'/catalog-graph?rootEntityRefs%5B%5D=b%3Ad%2Fc&maxDepth=3&unidirectional=true&mergeRelations=false&direction=LR',
|
||||
);
|
||||
});
|
||||
|
||||
|
||||
@@ -106,7 +106,15 @@ export const CatalogGraphCard = (props: {
|
||||
);
|
||||
|
||||
const catalogGraphParams = qs.stringify(
|
||||
{ rootEntityRefs: [stringifyEntityRef(entity)] },
|
||||
{
|
||||
rootEntityRefs: [stringifyEntityRef(entity)],
|
||||
maxDepth: maxDepth + 1,
|
||||
unidirectional,
|
||||
mergeRelations,
|
||||
kinds,
|
||||
relations,
|
||||
direction,
|
||||
},
|
||||
{ arrayFormat: 'brackets', addQueryPrefix: true },
|
||||
);
|
||||
const catalogGraphUrl = `${catalogGraphRoute()}${catalogGraphParams}`;
|
||||
|
||||
@@ -1,5 +1,21 @@
|
||||
# @backstage/plugin-catalog-import
|
||||
|
||||
## 0.9.1-next.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/core-components@0.12.0-next.1
|
||||
- @backstage/catalog-client@1.1.2-next.0
|
||||
- @backstage/catalog-model@1.1.3-next.0
|
||||
- @backstage/config@1.0.4-next.0
|
||||
- @backstage/core-plugin-api@1.1.0-next.0
|
||||
- @backstage/errors@1.1.3-next.0
|
||||
- @backstage/integration@1.4.0-next.0
|
||||
- @backstage/integration-react@1.1.6-next.1
|
||||
- @backstage/plugin-catalog-common@1.0.8-next.0
|
||||
- @backstage/plugin-catalog-react@1.2.1-next.1
|
||||
|
||||
## 0.9.1-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@backstage/plugin-catalog-import",
|
||||
"description": "A Backstage plugin the helps you import entities into your catalog",
|
||||
"version": "0.9.1-next.0",
|
||||
"version": "0.9.1-next.1",
|
||||
"main": "src/index.ts",
|
||||
"types": "src/index.ts",
|
||||
"license": "Apache-2.0",
|
||||
|
||||
@@ -1,5 +1,17 @@
|
||||
# @backstage/plugin-catalog-node
|
||||
|
||||
## 1.2.1-next.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/backend-plugin-api@0.1.4-next.1
|
||||
- @backstage/catalog-client@1.1.2-next.0
|
||||
- @backstage/catalog-model@1.1.3-next.0
|
||||
- @backstage/errors@1.1.3-next.0
|
||||
- @backstage/types@1.0.1-next.0
|
||||
- @backstage/plugin-catalog-common@1.0.8-next.0
|
||||
|
||||
## 1.2.1-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@backstage/plugin-catalog-node",
|
||||
"description": "The plugin-catalog-node module for @backstage/plugin-catalog-backend",
|
||||
"version": "1.2.1-next.0",
|
||||
"version": "1.2.1-next.1",
|
||||
"main": "src/index.ts",
|
||||
"types": "src/index.ts",
|
||||
"license": "Apache-2.0",
|
||||
|
||||
@@ -1,5 +1,23 @@
|
||||
# @backstage/plugin-catalog-react
|
||||
|
||||
## 1.2.1-next.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/core-components@0.12.0-next.1
|
||||
- @backstage/catalog-client@1.1.2-next.0
|
||||
- @backstage/catalog-model@1.1.3-next.0
|
||||
- @backstage/core-plugin-api@1.1.0-next.0
|
||||
- @backstage/errors@1.1.3-next.0
|
||||
- @backstage/integration@1.4.0-next.0
|
||||
- @backstage/theme@0.2.16
|
||||
- @backstage/types@1.0.1-next.0
|
||||
- @backstage/version-bridge@1.0.1
|
||||
- @backstage/plugin-catalog-common@1.0.8-next.0
|
||||
- @backstage/plugin-permission-common@0.7.1-next.0
|
||||
- @backstage/plugin-permission-react@0.4.7-next.0
|
||||
|
||||
## 1.2.1-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@backstage/plugin-catalog-react",
|
||||
"description": "A frontend library that helps other Backstage plugins interact with the catalog",
|
||||
"version": "1.2.1-next.0",
|
||||
"version": "1.2.1-next.1",
|
||||
"main": "src/index.ts",
|
||||
"types": "src/index.ts",
|
||||
"license": "Apache-2.0",
|
||||
|
||||
@@ -1,5 +1,23 @@
|
||||
# @backstage/plugin-catalog
|
||||
|
||||
## 1.6.1-next.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/core-components@0.12.0-next.1
|
||||
- @backstage/catalog-client@1.1.2-next.0
|
||||
- @backstage/catalog-model@1.1.3-next.0
|
||||
- @backstage/core-plugin-api@1.1.0-next.0
|
||||
- @backstage/errors@1.1.3-next.0
|
||||
- @backstage/integration-react@1.1.6-next.1
|
||||
- @backstage/theme@0.2.16
|
||||
- @backstage/types@1.0.1-next.0
|
||||
- @backstage/plugin-catalog-common@1.0.8-next.0
|
||||
- @backstage/plugin-catalog-react@1.2.1-next.1
|
||||
- @backstage/plugin-search-common@1.1.1-next.0
|
||||
- @backstage/plugin-search-react@1.2.1-next.1
|
||||
|
||||
## 1.6.1-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@backstage/plugin-catalog",
|
||||
"description": "The Backstage plugin for browsing the Backstage catalog",
|
||||
"version": "1.6.1-next.0",
|
||||
"version": "1.6.1-next.1",
|
||||
"main": "src/index.ts",
|
||||
"types": "src/index.ts",
|
||||
"license": "Apache-2.0",
|
||||
|
||||
@@ -1,5 +1,14 @@
|
||||
# @backstage/plugin-cicd-statistics-module-gitlab
|
||||
|
||||
## 0.1.7-next.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/catalog-model@1.1.3-next.0
|
||||
- @backstage/core-plugin-api@1.1.0-next.0
|
||||
- @backstage/plugin-cicd-statistics@0.1.13-next.1
|
||||
|
||||
## 0.1.7-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@backstage/plugin-cicd-statistics-module-gitlab",
|
||||
"description": "CI/CD Statistics plugin module; Gitlab CICD",
|
||||
"version": "0.1.7-next.0",
|
||||
"version": "0.1.7-next.1",
|
||||
"main": "src/index.ts",
|
||||
"types": "src/index.ts",
|
||||
"license": "Apache-2.0",
|
||||
|
||||
@@ -1,5 +1,14 @@
|
||||
# @backstage/plugin-cicd-statistics
|
||||
|
||||
## 0.1.13-next.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/catalog-model@1.1.3-next.0
|
||||
- @backstage/core-plugin-api@1.1.0-next.0
|
||||
- @backstage/plugin-catalog-react@1.2.1-next.1
|
||||
|
||||
## 0.1.13-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@backstage/plugin-cicd-statistics",
|
||||
"description": "A frontend plugin visualizing CI/CD pipeline statistics (build time)",
|
||||
"version": "0.1.13-next.0",
|
||||
"version": "0.1.13-next.1",
|
||||
"main": "src/index.ts",
|
||||
"types": "src/index.ts",
|
||||
"license": "Apache-2.0",
|
||||
|
||||
@@ -1,5 +1,16 @@
|
||||
# @backstage/plugin-circleci
|
||||
|
||||
## 0.3.11-next.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/core-components@0.12.0-next.1
|
||||
- @backstage/catalog-model@1.1.3-next.0
|
||||
- @backstage/core-plugin-api@1.1.0-next.0
|
||||
- @backstage/theme@0.2.16
|
||||
- @backstage/plugin-catalog-react@1.2.1-next.1
|
||||
|
||||
## 0.3.11-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@backstage/plugin-circleci",
|
||||
"description": "A Backstage plugin that integrates towards Circle CI",
|
||||
"version": "0.3.11-next.0",
|
||||
"version": "0.3.11-next.1",
|
||||
"main": "src/index.ts",
|
||||
"types": "src/index.ts",
|
||||
"license": "Apache-2.0",
|
||||
|
||||
@@ -1,5 +1,16 @@
|
||||
# @backstage/plugin-cloudbuild
|
||||
|
||||
## 0.3.11-next.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/core-components@0.12.0-next.1
|
||||
- @backstage/catalog-model@1.1.3-next.0
|
||||
- @backstage/core-plugin-api@1.1.0-next.0
|
||||
- @backstage/theme@0.2.16
|
||||
- @backstage/plugin-catalog-react@1.2.1-next.1
|
||||
|
||||
## 0.3.11-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@backstage/plugin-cloudbuild",
|
||||
"description": "A Backstage plugin that integrates towards Google Cloud Build",
|
||||
"version": "0.3.11-next.0",
|
||||
"version": "0.3.11-next.1",
|
||||
"main": "src/index.ts",
|
||||
"types": "src/index.ts",
|
||||
"license": "Apache-2.0",
|
||||
|
||||
@@ -1,5 +1,16 @@
|
||||
# @backstage/plugin-code-climate
|
||||
|
||||
## 0.1.11-next.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/core-components@0.12.0-next.1
|
||||
- @backstage/catalog-model@1.1.3-next.0
|
||||
- @backstage/core-plugin-api@1.1.0-next.0
|
||||
- @backstage/theme@0.2.16
|
||||
- @backstage/plugin-catalog-react@1.2.1-next.1
|
||||
|
||||
## 0.1.11-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@backstage/plugin-code-climate",
|
||||
"version": "0.1.11-next.0",
|
||||
"version": "0.1.11-next.1",
|
||||
"main": "src/index.ts",
|
||||
"types": "src/index.ts",
|
||||
"license": "Apache-2.0",
|
||||
|
||||
@@ -1,5 +1,18 @@
|
||||
# @backstage/plugin-code-coverage-backend
|
||||
|
||||
## 0.2.4-next.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- fcab2579a0: Adds installation instructions
|
||||
- Updated dependencies
|
||||
- @backstage/backend-common@0.16.0-next.1
|
||||
- @backstage/catalog-client@1.1.2-next.0
|
||||
- @backstage/catalog-model@1.1.3-next.0
|
||||
- @backstage/config@1.0.4-next.0
|
||||
- @backstage/errors@1.1.3-next.0
|
||||
- @backstage/integration@1.4.0-next.0
|
||||
|
||||
## 0.2.4-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -2,6 +2,68 @@
|
||||
|
||||
This is the backend part of the `code-coverage` plugin. It takes care of processing various coverage formats and standardizing them into a single json format, used by the frontend.
|
||||
|
||||
## Installation
|
||||
|
||||
`yarn workspace backend add @backstage/plugin-code-coverage-backend`
|
||||
|
||||
First create a `codecoverage.ts` file here: `packages/backend/src/plugins`. Now add the following as its content:
|
||||
|
||||
```diff
|
||||
diff --git a/packages/backend/src/plugins/codecoverage.ts b/packages/backend/src/plugins/codecoverage.ts
|
||||
--- /dev/null
|
||||
+++ b/packages/backend/src/plugins/codecoverage.ts
|
||||
@@ -0,0 +1,15 @@
|
||||
+import { createRouter } from '@backstage/plugin-code-coverage-backend';
|
||||
+import { Router } from 'express';
|
||||
+import { PluginEnvironment } from '../types';
|
||||
+
|
||||
+export default async function createPlugin(
|
||||
+ env: PluginEnvironment,
|
||||
+): Promise<Router> {
|
||||
+ return await createRouter({
|
||||
+ config: env.config,
|
||||
+ discovery: env.discovery,
|
||||
+ database: env.database,
|
||||
+ urlReader: env.reader,
|
||||
+ logger: env.logger,
|
||||
+ });
|
||||
+}
|
||||
|
||||
```
|
||||
|
||||
Finally we need to load the plugin in `packages/backend/src/index.ts`, make the following edits:
|
||||
|
||||
```diff
|
||||
diff --git a/packages/backend/src/index.ts b/packages/backend/src/index.ts
|
||||
--- a/packages/backend/src/index.ts
|
||||
+++ b/packages/backend/src/index.ts
|
||||
@@ -28,6 +28,7 @@ import scaffolder from './plugins/scaffolder';
|
||||
import proxy from './plugins/proxy';
|
||||
import techdocs from './plugins/techdocs';
|
||||
import search from './plugins/search';
|
||||
+import codeCoverage from './plugins/codecoverage';
|
||||
import { PluginEnvironment } from './types';
|
||||
import { ServerPermissionClient } from '@backstage/plugin-permission-node';
|
||||
import { DefaultIdentityClient } from '@backstage/plugin-auth-node';
|
||||
@@ -85,6 +86,9 @@ async function main() {
|
||||
const techdocsEnv = useHotMemoize(module, () => createEnv('techdocs'));
|
||||
const searchEnv = useHotMemoize(module, () => createEnv('search'));
|
||||
const appEnv = useHotMemoize(module, () => createEnv('app'));
|
||||
+ const codeCoverageEnv = useHotMemoize(module, () =>
|
||||
+ createEnv('code-coverage'),
|
||||
+ );
|
||||
|
||||
const apiRouter = Router();
|
||||
apiRouter.use('/catalog', await catalog(catalogEnv));
|
||||
@@ -93,6 +97,7 @@ async function main() {
|
||||
apiRouter.use('/techdocs', await techdocs(techdocsEnv));
|
||||
apiRouter.use('/proxy', await proxy(proxyEnv));
|
||||
apiRouter.use('/search', await search(searchEnv));
|
||||
+ apiRouter.use('/code-coverage', await codeCoverage(codeCoverageEnv));
|
||||
|
||||
apiRouter.use(notFoundHandler());
|
||||
```
|
||||
|
||||
## Configuring your entity
|
||||
|
||||
In order to use this plugin, you must set the `backstage.io/code-coverage` annotation.
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@backstage/plugin-code-coverage-backend",
|
||||
"description": "A Backstage backend plugin that helps you keep track of your code coverage",
|
||||
"version": "0.2.4-next.0",
|
||||
"version": "0.2.4-next.1",
|
||||
"main": "src/index.ts",
|
||||
"types": "src/index.ts",
|
||||
"license": "Apache-2.0",
|
||||
|
||||
@@ -1,5 +1,19 @@
|
||||
# @backstage/plugin-code-coverage
|
||||
|
||||
## 0.2.4-next.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- fcab2579a0: Adds installation instructions
|
||||
- Updated dependencies
|
||||
- @backstage/core-components@0.12.0-next.1
|
||||
- @backstage/catalog-model@1.1.3-next.0
|
||||
- @backstage/config@1.0.4-next.0
|
||||
- @backstage/core-plugin-api@1.1.0-next.0
|
||||
- @backstage/errors@1.1.3-next.0
|
||||
- @backstage/theme@0.2.16
|
||||
- @backstage/plugin-catalog-react@1.2.1-next.1
|
||||
|
||||
## 0.2.4-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -2,6 +2,31 @@
|
||||
|
||||
This is the frontend part of the code-coverage plugin. It displays code coverage summaries for your entities.
|
||||
|
||||
## Installation
|
||||
|
||||
`yarn workspace app add @backstage/plugin-code-coverage`
|
||||
|
||||
Finally you need to import and render the code coverage entity, in `packages/app/src/components/catalog/EntityPage.tsx` add the following:
|
||||
|
||||
```diff
|
||||
@@ -70,6 +70,7 @@ import {
|
||||
|
||||
import { TechDocsAddons } from '@backstage/plugin-techdocs-react';
|
||||
import { ReportIssue } from '@backstage/plugin-techdocs-module-addons-contrib';
|
||||
+import { EntityCodeCoverageContent } from '@backstage/plugin-code-coverage';
|
||||
|
||||
@@ -226,6 +227,10 @@ const defaultEntityPage = (
|
||||
<EntityLayout.Route path="/docs" title="Docs">
|
||||
{techdocsContent}
|
||||
</EntityLayout.Route>
|
||||
+
|
||||
+ <EntityLayout.Route path="/code-coverage" title="Code Coverage">
|
||||
+ <EntityCodeCoverageContent />
|
||||
+ </EntityLayout.Route>
|
||||
</EntityLayout>
|
||||
);
|
||||
```
|
||||
|
||||
## Configuring your entity
|
||||
|
||||
In order to use this plugin, you must set the `backstage.io/code-coverage` annotation on entities for which coverage ingestion has been enabled.
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user