Commit Graph

5032 Commits

Author SHA1 Message Date
blam 6109f32b78 chore: fixing up api-docs exporting
Signed-off-by: blam <ben@blam.sh>
2021-06-15 12:09:26 +02:00
blam 128279fc4f feat: finishing up some other use cases and re-writing some logic with some more tests
Signed-off-by: blam <ben@blam.sh>
2021-06-15 12:09:26 +02:00
blam c92f5dedee feat: reworking the api in favour of with and without for wrapping component
Signed-off-by: blam <ben@blam.sh>
2021-06-15 12:09:26 +02:00
blam 9eb3729706 chore: fixing api-docs generation
Co-authored-by: Johan Haals <johan.haals@gmail.com>

Signed-off-by: blam <ben@blam.sh>
2021-06-15 12:09:26 +02:00
blam 31e067d346 chore: actually use the right packages - went and messed up a bit
Signed-off-by: blam <ben@blam.sh>
2021-06-15 12:09:26 +02:00
blam 359a118902 chore: reworking some thigns
Signed-off-by: blam <ben@blam.sh>
2021-06-15 12:09:26 +02:00
blam 969c6750af feat: writing some tests and have a nicer api now
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
Co-authored-by: Fredrik Adelöw <freben@users.noreply.github.com>
Co-authored-by: Johan Haals <johan.haals@gmail.com>

Signed-off-by: blam <ben@blam.sh>
2021-06-15 12:09:25 +02:00
blam 78ccf9ea98 feat: replace implementations of children introspection with our new thing
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
Co-authored-by: Fredrik Adelöw <freben@users.noreply.github.com>
Co-authored-by: Johan Haals <johan.haals@gmail.com>

Signed-off-by: blam <ben@blam.sh>
2021-06-15 12:09:25 +02:00
blam d7f0b0bed6 chore: working through beginning API
Signed-off-by: blam <ben@blam.sh>
2021-06-15 12:09:25 +02:00
blam 794af0de8e feat: more work with the nice API
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
Co-authored-by: Fredrik Adelöw <freben@users.noreply.github.com>
Co-authored-by: Johan Haals <johan.haals@gmail.com>

Signed-off-by: blam <ben@blam.sh>
2021-06-15 12:09:25 +02:00
blam 765632fac7 feat: introduce collection of feature flags and make FlatRoutes treat feature flags as first class citizens
Co-authored-by: Johan Haals <johan.haals@gmail.com>
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
Co-authored-by: Fredrik Adelöw <freben@users.noreply.github.com>

Signed-off-by: blam <ben@blam.sh>
2021-06-15 12:09:25 +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
Philipp Hugenroth 2b5c00f762 Add UnhandledErrorForwarder forwarding errors to ErrorApi
Signed-off-by: Philipp Hugenroth <philipph@spotify.com>
2021-06-11 14:12:36 +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
Phil Kuang 22a60518ca feat(GithubMultiOrgReaderProcessor): implement processor to handle multi-org ingestion
Signed-off-by: Phil Kuang <pkuang@factset.com>
2021-06-10 13:02:50 -04: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