Commit Graph

7504 Commits

Author SHA1 Message Date
github-actions[bot] 3c8bb2854d Version Packages 2022-03-03 15:23:53 +00:00
Patrik Oldsberg 2ff1c457ca Merge pull request #9884 from Fs00/autoremove-containers
Autoremove containers launched by DockerContainerRunner
2022-03-03 14:28:04 +01:00
Fredrik Adelöw 28c5ef16a4 Merge pull request #9938 from backstage/freben/catalog-by-ref
🧹  catalog-client: getEntityByName -> getEntityByRef
2022-03-03 14:06:36 +01:00
Fredrik Adelöw 400261b68e Merge pull request #9940 from backstage/freben/catalog-types-move
move @types/json-schema to a dev dep
2022-03-03 12:41:07 +01:00
Fredrik Adelöw a52f69987a getEntityByName -> getEntityByRef
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-03-03 12:41:06 +01:00
Fredrik Adelöw debfcd9515 move @types/json-schema to a dev dep
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-03-03 11:50:46 +01:00
Fredrik Adelöw bb2ba5f10d remove deprecated catalog-client request/response types
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-03-03 10:02:14 +01:00
Fredrik Adelöw 36aa63022b deprecate EntityName, introduce CompoundEntityRef
deprecate getEntityName, introduce getCompoundEntityRef

Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-03-02 21:54:45 +01:00
Eric Peterson d5bd74ccc1 Merge pull request #9839 from backstage/search/as-streams 2022-03-02 18:33:31 +01:00
Patrik Oldsberg 6ed03eeacb Merge pull request #9782 from Bonial-International-GmbH/PJ_bitbucket_default-apiBaseUrl
feat(bitbucket): ensure apiBaseUrl, replace hardcoded cases
2022-03-02 17:35:12 +01:00
Eric Peterson 0547246b84 Clean up search-common/search-backend-node APIs, indicating beta.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2022-03-02 17:29:18 +01:00
Eric Peterson d0993bc6f1 Wire up app/create-app to use stream-based search implementations
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2022-03-02 17:29:18 +01:00
Eric Peterson 804c7906cf Update core search types to be stream-based
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2022-03-02 17:26:56 +01:00
Patrik Oldsberg fd3fed748d Merge pull request #9898 from RoadieHQ/export-url-reader
export FetchUrlReader
2022-03-02 16:55:23 +01:00
Patrik Oldsberg b32fcd3485 Merge pull request #9897 from backstage/rugvip/coredepr
core-app-api,cli: remove last couple of deprecations
2022-03-02 15:48:26 +01:00
Emma Indal bf4007da6b Merge pull request #9556 from RoadieHQ/auto-add-techdocs-core-plugin
Auto add techdocs core plugin
2022-03-02 15:42:58 +01:00
Patrik Oldsberg 8c3f30cb28 cli: remove deprecated index.html templating variables
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-03-02 14:58:35 +01:00
Patrik Oldsberg 5fba4c0304 config-loader: tweak a comment so that it does not show up in deprecation list
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-03-02 14:58:35 +01:00
Patrik Oldsberg dbf84eee55 core-app-api: removed deprecated GithubAuth.normalizeScopes
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-03-02 14:58:35 +01:00
Johan Haals 70fdad285e chore: remove comment
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-03-02 13:50:56 +01:00
Johan Haals f3cce3dcf7 core-app-api: Remove GithubSession and SamlSession types
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-03-02 13:50:18 +01:00
Brian Fletcher fb01d26fd7 adds api reports
Signed-off-by: Brian Fletcher <brian@roadie.io>
2022-03-02 12:29:16 +00:00
Brian Fletcher b838717e92 exort FetchUrlReader
Signed-off-by: Brian Fletcher <brian@roadie.io>
2022-03-02 12:03:22 +00:00
MT Lewis a54f8ffe70 Merge pull request #9878 from backstage/catalog-common-alpha
catalog-common: mark permission-related exports as alpha
2022-03-02 11:47:37 +00:00
Johan Haals 6fbaebb1f8 Merge pull request #9883 from backstage/jhaals/catalog-model-remove-deprecations
catalog-model: Remove deprecations
2022-03-02 11:29:10 +01:00
Johan Haals ac7b1161a6 catalog-model: Remove deprecations
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-03-02 09:20:32 +01:00
Johan Haals a9e7f28f12 Merge pull request #9888 from kuangp/refactor/redis
refactor(redis): require protocol in connection string
2022-03-02 09:20:11 +01:00
Patrik Oldsberg d9e9b23576 Merge pull request #9879 from backstage/rugvip/dompatch
cli: install both v16 and v17 of @hot-loader/react-dom
2022-03-02 09:05:59 +01:00
Phil Kuang 9a0510144f refactor(redis): require protocol in connection string
Signed-off-by: Phil Kuang <pkuang@factset.com>
2022-03-01 18:21:32 -05:00
Francesco Saltori 0df6077ab5 Autoremove containers launched by DockerContainerRunner
Signed-off-by: Francesco Saltori <francescosaltori@gmail.com>
2022-03-01 17:41:13 +01:00
Mike Lewis 617a132871 create-app: import catalogEntityCreatePermission from /alpha
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2022-03-01 14:39:09 +00:00
Patrik Oldsberg 46a19c599f cli: install both v16 and v17 of @hot-loader/react-dom
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-03-01 14:16:39 +01:00
Johan Haals bb2bb36651 core-plugin-api: Remove deprecated get method from StorageApi
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-03-01 10:50:23 +01:00
Patrik Oldsberg 2638cd044c Merge pull request #9669 from backstage/rugvip/starred
catalog-react: move DefaultStarredEntitiesApi to catalog plugin + fixes
2022-03-01 10:47:21 +01:00
Johan Haals 6fa174810f Merge pull request #9804 from backstage/jhaals/cleanup-auth
core-app-api: Remove deprecated auth ApiRefs
2022-03-01 09:39:34 +01:00
Jussi Hallila ff0a16fb1a Add techdocs-core plugin to techdocs builder automatically
Currently users need to modify their mkdocs files to container techdocs-core plugin manually when they want to expose techdocs in Backstage. To have a standardized set of extensions without the need to modify existing files (and possibly pollute alternative/additional mkdocs pipelines) this should be added automatically.

This PR adds a helper function to modify the mkdocs file to contain this plugin if it doesn't exist in the config file.

Co-authored-by: @emmaindal

Signed-off-by: Jussi Hallila <jussi@hallila.com>
2022-03-01 08:20:40 +01:00
Patrik Oldsberg 303063a655 catalog-react: added MockStarredEntitiesApi + usage
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-02-28 17:33:28 +01:00
Patrik Oldsberg c077b432b8 catalog-react: moved DefaultStarredEntitiesApi implementation to catalog plugin
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-02-28 13:52:46 +01:00
Johan Haals 96bc687026 Merge pull request #9785 from backstage/jhaals/core-app-api-cleanup
core-plugin-api: Require OAuth provider id
2022-02-28 11:46:01 +01:00
dependabot[bot] 64b430f80d chore(deps): bump react-text-truncate from 0.17.0 to 0.18.0
Bumps [react-text-truncate](https://github.com/ShinyChang/react-text-truncate) from 0.17.0 to 0.18.0.
- [Release notes](https://github.com/ShinyChang/react-text-truncate/releases)
- [Changelog](https://github.com/ShinyChang/React-Text-Truncate/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ShinyChang/react-text-truncate/commits)

---
updated-dependencies:
- dependency-name: react-text-truncate
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-28 04:11:12 +00:00
Eric Peterson 022891fe78 Merge pull request #9830 from jeremyguarini/fix_gcs_auth
Fix authentication with GCS for techdocs
2022-02-26 17:13:50 +01:00
Jeremy Guarini ac25a0f577 When using GCS for the techdocs storage and not setting the GOOGLE_APPLICATION_CREDENTIALS environment variable, authentication and accessing the bucket fails due to the project ID not being found.
Relevant log output

```
techdocs error from GCS client library: Unable to detect a Project Id in the current environment.
```

By adding the projectID when initializing the Storage client, this should fix the issue. This current approach expects the project_id to be in the json credentials, which it usually is.

Another option would be to re-add the app-config projectID value back and allow users to specify the projectID that way as well.

Signed-off-by: Jeremy Guarini <jguarini@paloaltonetworks.com>
2022-02-25 21:10:42 -08:00
Emma Indal b67a5a6af9 Merge pull request #9730 from backstage/emmaindal/techdocs-api-report 2022-02-25 17:23:04 +01:00
Patrick Jungermann 34af86517c feat(bitbucket): ensure apiBaseUrl, replace hardcoded cases
Ensure presence of apiBaseUrl for bitbucket
integrations for both cases Bitbucket Cloud and
Bitbucket Server by setting the default for
Bitbucket Server at the integration config, too.

Replace hardcoded uses of the default apiBaseUrl
with the use of the integration config's value.

Signed-off-by: Patrick Jungermann <Patrick.Jungermann@gmail.com>
2022-02-25 15:18:17 +01:00
Fredrik Adelöw b129681aba Merge pull request #9575 from jonathan-ash/sidebar-submenu-external-links
Added the ability for SidebarSubmenuItem to use external links via "to" property
2022-02-25 14:48:12 +01:00
Emma Indal b6d7475a6c delete unused import
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-02-25 14:34:24 +01:00
Emma Indal 8049538eb1 TechDocsIndexPage to fall back to DefaultTechDocsHome as LegacyTechDocsHome is deprecated
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-02-25 14:23:49 +01:00
Emma Indal d0c90c4f64 replace all TechDocsPage -> TechDocsReaderPage and TechDocsPageHeader -> TechDocsReaderPageHeader except in docs
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-02-25 14:21:11 +01:00
Johan Haals 0ce1d75871 core-plugin-api: Remove generic auth APIs
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-02-25 14:00:07 +01:00
Fredrik Adelöw 94004f3066 fixup
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-02-25 13:58:30 +01:00