Commit Graph

4778 Commits

Author SHA1 Message Date
Patrik Oldsberg a4a96e424a backend-common: restore informative error message for database check
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-06-15 17:51:34 +02:00
Patrik Oldsberg 05c98f1f79 Merge branch 'master' into add-support-for-plugin-specific-db 2021-06-15 17:49:50 +02:00
Patrik Oldsberg 8fce615902 Merge pull request #4996 from backstage/dependabot/npm_and_yarn/rollup-plugin-dts-3.0.1
chore(deps): bump rollup-plugin-dts from 2.0.1 to 3.0.1
2021-06-15 17:29:34 +02:00
Patrik Oldsberg fd9a86b7ad cli: sort package.json deps
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-06-15 15:33:05 +02:00
Fredrik Adelöw c5204c01ba Merge pull request #6032 from backstage/freben/backend-dev
Make `yarn dev` for backend plugins respect the `PLUGIN_PORT` env var
2021-06-15 15:12:17 +02:00
Dominik Henneke a46ae7c0c7 Merge pull request #6036 from SDA-SE/feat/button-link
Use the Backstage `Link` component in the `Button`
2021-06-15 15:03:01 +02:00
dependabot[bot] 955c7683b9 chore(deps): bump rollup from 2.33.3 to 2.44.0
Bumps [rollup](https://github.com/rollup/rollup) from 2.33.3 to 2.44.0.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.33.3...v2.44.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-15 13:45:53 +02:00
dependabot[bot] 3609656b53 chore(deps): bump rollup-plugin-dts from 2.0.1 to 3.0.1
Bumps [rollup-plugin-dts](https://github.com/Swatinem/rollup-plugin-dts) from 2.0.1 to 3.0.1.
- [Release notes](https://github.com/Swatinem/rollup-plugin-dts/releases)
- [Changelog](https://github.com/Swatinem/rollup-plugin-dts/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Swatinem/rollup-plugin-dts/compare/v2.0.1...v3.0.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-15 13:45:53 +02:00
Patrik Oldsberg dd99f8e380 Merge pull request #6043 from backstage/rugvip/dbfail
backend-common: clarify DB connection error
2021-06-15 12:30:56 +02:00
Patrik Oldsberg e5cdf0560f backend-common: clarify DB connection error
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-06-15 11:56:08 +02:00
Johan Haals a0f2f63374 Merge pull request #5901 from backstage/jhaals/legacy-catalog
Catalog: Make the new processing engine the default
2021-06-15 11:40:53 +02:00
Patrik Oldsberg e2261dbec1 Merge pull request #5987 from dortegau/add-ds_store-to-scaffolded-app-gitignore
#5986 Adding .DS_Store to Scaffolded Backstage app .gitignore file
2021-06-15 11:27:16 +02:00
Dominik Henneke 740503d88f Copy the changes to the core-components packages
Signed-off-by: Dominik Henneke <dominik.henneke@sda-se.com>
2021-06-15 11:10:12 +02:00
Johan Haals 9c3840b1ba create-app: Enable new catalog processing engine
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-06-15 09:17:10 +02:00
Dominik Henneke d4644f5920 Use the Backstage Link component in the Button
Signed-off-by: Dominik Henneke <dominik.henneke@sda-se.com>
2021-06-14 17:33:55 +02:00
Johan Haals f68632411b catalog: Reuse builder for next/legacy catalog
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-06-14 16:10:18 +02:00
Fredrik Adelöw 3108ff7bfd Make yarn dev for backends respect the PLUGIN_PORT env var
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-06-14 14:46:19 +02:00
Patrik Oldsberg d40993c2f9 Merge pull request #6019 from backstage/rugvip/loadafix
config-loader: bump typescript-json-schema and remove workaround + catalog-model cleanup
2021-06-14 13:36:18 +02:00
Fredrik Adelöw ab3d4e92eb Merge pull request #5949 from backstage/dependabot/npm_and_yarn/http-proxy-middleware-2.0.0
chore(deps): bump http-proxy-middleware from 0.19.2 to 2.0.0
2021-06-14 10:30:28 +02:00
Fredrik Adelöw c28f20cb0e Merge pull request #5720 from GunnerStraiker1/supportButton-title
Add Title prop in SupportButton
2021-06-14 10:30:16 +02:00
Patrik Oldsberg 1d2ed78449 catalog-model: remove unused dependency
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-06-13 20:59:06 +02:00
Patrik Oldsberg f004937398 config-loader: bump typescript-json-schema and remove TS 4.3 workaround
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-06-13 20:59:05 +02:00
Patrik Oldsberg 94fa652dbc Merge pull request #5992 from backstage/rugvip/mods
codemods: fixes for test and execution on Windows
2021-06-11 11:23:07 +02:00
Patrik Oldsberg 59752e1037 codemods: fix execution of jscodeshift on windows
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-06-10 19:35:49 +02:00
Patrik Oldsberg aa204e01e9 codemods,workflows: fix codemods tests on windows
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-06-10 19:31:14 +02:00
Fredrik Adelöw d2c31b132e Add Title prop in SupportButton
Co-authored-by: Victor Perera <v-vperera@expediagroup.com>
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-06-10 19:00:38 +02:00
Patrik Oldsberg 8ed49a306c create-app: fix release version to 0.3.25
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-06-10 14:32:46 +02:00
github-actions[bot] 4a93128245 Version Packages 2021-06-10 12:18:06 +00:00
Eric Peterson ed351ec8cf Merge pull request #5960 from backstage/iameap/search-alpha-release-pt2
Search Alpha Release (Create-App Part)
2021-06-10 14:13:14 +02:00
Minn Soe f1a9108c53 refactor: add defaultNameOverride and reorganize
Signed-off-by: Minn Soe <contributions@minn.io>
2021-06-10 11:14:40 +01:00
Minn Soe 214efffe3a refactor: move database connector interface
Signed-off-by: Minn Soe <contributions@minn.io>
2021-06-10 11:14:40 +01:00
Minn Soe dc75c78cd7 refactor: split up database manager private methods
Signed-off-by: Minn Soe <contributions@minn.io>
2021-06-10 11:14:40 +01:00
Minn Soe 5a3ce34072 refactor: migrate from deprecated database manager
Changes:
- Swaps out `SingleConnectionDatabaseManager` to `DatabaseManager`
  across the repo.
- Updates `backend-test-utils` to generate test plugin names prefixed
  with db to satisfy plugin naming constraint, e.g. 0 becomes db0.

Signed-off-by: Minn Soe <contributions@minn.io>
2021-06-10 11:14:40 +01:00
Minn Soe 2976f3bae3 refactor: rename and deprecate database manager
Changes:
- Deprecates SingleConnectionManager and aliases to DatabaseManager.
- Simplifies database config typing in `config.d.ts`.
- Drops implementation specific assert in SingleConnectionManager test.
- Move database prefix reference and drop static property for default value.

Signed-off-by: Minn Soe <contributions@minn.io>
2021-06-10 11:14:40 +01:00
Minn Soe ef1d705b76 fix: make plugin database getDatabaseName private
Signed-off-by: Minn Soe <contributions@minn.io>
2021-06-10 11:14:40 +01:00
Minn Soe a9c4f0531f fix: sqlite3 memory typo and drop leading asterisk doc
Signed-off-by: Minn Soe <contributions@minn.io>
2021-06-10 11:14:40 +01:00
Minn Soe 2ff816060d fix: ensure underlying connector promise passed up
Signed-off-by: Minn Soe <contributions@minn.io>
2021-06-10 11:14:40 +01:00
Minn Soe 4e0fdcb968 test: add coverage for existing manager behaviour
Signed-off-by: Minn Soe <contributions@minn.io>
2021-06-10 11:14:40 +01:00
Minn Soe 630b75798a fix: return type of ensureDatabaseExists and run api-report
Signed-off-by: Minn Soe <contributions@minn.io>
2021-06-10 11:14:40 +01:00
Minn Soe 772dbdb511 feat: add database manager with per plugin config
This commit introduces:
- a new backwards compatible database manager which allows the end-user
  to set global and per plugin database configuration.
- an early iteration of a database connector interface.
- provides helper functions for each of the database connectors to
  meet the new interface.

Signed-off-by: Minn Soe <contributions@minn.io>
2021-06-10 11:14:40 +01:00
Patrik Oldsberg 399abf9670 Merge pull request #5878 from backstage/rugvip/codemods
Introduce @backstage/codemods package, with an initial transform for migrating core-* imports
2021-06-10 11:53:44 +02:00
Patrik Oldsberg 23a4c278fb Merge pull request #5985 from backstage/rugvip/appfix
core: a couple for forwards compatibility fixes for core-*
2021-06-10 10:44:03 +02:00
Oliver Sand 429f9c0bf1 Merge pull request #5957 from SDA-SE/feat/scaffolder-source
Show link to template source on template card
2021-06-10 10:19:02 +02:00
Eric Peterson e84f6aac87 Update @backstage/create-app to include the latest improvements in @backstage/search*
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-06-10 10:11:32 +02:00
Patrik Oldsberg dd5f5979eb core-app-api: update api-report
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-06-10 10:02:57 +02:00
Fredrik Adelöw 2828aa7c37 Merge pull request #5911 from bradrisse/helmet-header-app-title
Feat: Pull the app.title from config and replace " | Backstage"
2021-06-10 08:54:06 +02:00
Daniel Ortega cc8e0b7478 #5986 Adding .DS_Store to Scaffolded Backstage app .gitignore file
Signed-off-by: Daniel Ortega <dortega@idealista.com>
2021-06-10 00:50:17 +02:00
Patrik Oldsberg b65bb44eee core: further improve forwards compatibility with core-* through route ref re-use
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-06-09 23:32:43 +02:00
Patrik Oldsberg d8c8f17be8 core-plugin-api: allow unknown plugin outputs for backwards compatibility
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-06-09 23:32:42 +02:00
Patrik Oldsberg 8208e3543a core-app-api: fix for createApp requiring all icons to be provided
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-06-09 22:24:29 +02:00