Commit Graph

7011 Commits

Author SHA1 Message Date
Fredrik Adelöw f8cb1a976d fix: unbreak search after merging catalog client change 2020-11-18 20:09:38 +01:00
Fredrik Adelöw 717e43de14 catalog-client: change entities interface, add fields support (#3296) 2020-11-18 19:58:36 +01:00
Patrik Oldsberg 16bb5a0c8e Merge pull request #3264 from backstage/rugvip/confs
config-loader: add configuration schema support
2020-11-18 19:18:25 +01:00
Patrik Oldsberg d41a0f8b70 Merge pull request #2766 from backstage/dependabot/npm_and_yarn/testing-library/cypress-7.0.1
chore(deps-dev): bump @testing-library/cypress from 6.0.1 to 7.0.1
2020-11-18 18:06:30 +01:00
Ryan Vazquez 35375f8a11 Merge pull request #3322 from backstage/ryanv/fix-tooltip-text-overflow
fix(cost-insights-plugin): fix tooltip title for very long period separated titles
2020-11-18 12:01:04 -05:00
Patrik Oldsberg c7d6fefe9c cli: add config schema for frontend listening config + fix usage 2020-11-18 11:32:16 +01:00
Patrik Oldsberg 80bf8c7f4f cli: rename config:validate to config:check 2020-11-18 11:31:20 +01:00
Patrik Oldsberg 0b97a89f55 address config schema review comments 2020-11-18 11:31:19 +01:00
Patrik Oldsberg 39591369ba config-loader: add tests for schema compile and skip adding backend visibility paths 2020-11-18 11:31:19 +01:00
Patrik Oldsberg eda9f91515 config-loader: added test for config schema load 2020-11-18 11:31:19 +01:00
Patrik Oldsberg 7211624328 config-loader: added tests for schema collection 2020-11-18 11:31:19 +01:00
Patrik Oldsberg 5357723ea4 config-loader: fix .d.ts schema path handling on Windows 2020-11-18 11:31:18 +01:00
Patrik Oldsberg 9621ef3a96 techdocs: add storageUrl to config schema
Co-authored-by: Sebastian Qvarfordt <s.qvarfordt@gmail.com>
2020-11-18 11:31:18 +01:00
Patrik Oldsberg 90fb5c81d0 cli: update diff to handle package with configSchema files 2020-11-18 11:31:18 +01:00
Patrik Oldsberg e2fc08cb15 app-backend: fix tests 2020-11-18 11:31:18 +01:00
Patrik Oldsberg 82043bfe8b docs: add docs for configuration schema 2020-11-18 11:31:17 +01:00
Patrik Oldsberg 9f6f39ce5f backend-common: integration configs aren't required 2020-11-18 11:31:17 +01:00
Patrik Oldsberg 12f601f830 config-loader: fix types dependencies 2020-11-18 11:31:17 +01:00
Patrik Oldsberg 1722cb53c2 changesets: added config schema changesets 2020-11-18 11:31:17 +01:00
Patrik Oldsberg acb2f2c32e github/workflows: validate config in CI 2020-11-18 11:31:16 +01:00
Patrik Oldsberg 13c999c513 cli: added config:validate 2020-11-18 11:31:16 +01:00
Patrik Oldsberg b8eba8219e config-loader: enable validation of required props in d.ts definitions + fix issues 2020-11-18 11:31:16 +01:00
Patrik Oldsberg feb9905a37 plugins: add config schema needed by frontend plugins 2020-11-18 11:31:15 +01:00
Patrik Oldsberg f6ed7d5d0d config-loader: normalize data paths to ensure consistent behavior 2020-11-18 11:31:15 +01:00
Patrik Oldsberg cb1634e818 cli: added config schema 2020-11-18 11:31:15 +01:00
Patrik Oldsberg 8782781f16 core: ported config schema to d.t.s 2020-11-18 11:31:15 +01:00
Patrik Oldsberg 567ce7804a backend-common: port config schema to d.ts and fill out 2020-11-18 11:31:14 +01:00
Patrik Oldsberg 06205426d8 config-loader: add support for defining config schema using .d.ts files 2020-11-18 11:31:14 +01:00
Patrik Oldsberg 28a49c2ffa config-loader: make visibility schema keyword work for all types 2020-11-18 11:31:14 +01:00
Patrik Oldsberg d02d79e392 config-loader,cli: better presentation of config schema validation errors 2020-11-18 11:31:14 +01:00
Patrik Oldsberg eb9e293fce config-loader: skip schema collection from packages that don't export package.json 2020-11-18 11:31:13 +01:00
Patrik Oldsberg b6e59e6368 cli: refactor and fix config:print to properly filter secrets 2020-11-18 11:31:13 +01:00
Patrik Oldsberg 49ab961b8b config-loader: add support for transforming values during schema processing 2020-11-18 11:31:13 +01:00
Patrik Oldsberg 051e0fd17e config-loader: hasApp -> hasFrontend 2020-11-18 11:31:13 +01:00
Patrik Oldsberg c18769cc00 config-loader: visibilities -> visiblity 2020-11-18 11:31:12 +01:00
Patrik Oldsberg eff7b6e3ba cli: remove debug print 2020-11-18 11:31:12 +01:00
Patrik Oldsberg 7f95e40fbb app-backend,cli: add support for injecting full config based on serialized schema 2020-11-18 11:31:12 +01:00
Patrik Oldsberg 2e4de99338 config-loader: switch to ajv v6 2020-11-18 11:31:12 +01:00
Patrik Oldsberg e43aa0dc60 cli: write serialized config schema to app output 2020-11-18 11:31:11 +01:00
Patrik Oldsberg 3849e24112 config-loader: add support for serializing and deserializing schema 2020-11-18 11:31:11 +01:00
Patrik Oldsberg 564f438edd cli: load config schema and use to filter config + add --frontend flag to print 2020-11-18 11:31:11 +01:00
Patrik Oldsberg 7298f8b265 config-loader: remove support for conditionally reading secrets 2020-11-18 11:31:10 +01:00
Patrik Oldsberg f4af5d1dce config-loader: consider all deps when discovering schema and parallelize processing 2020-11-18 11:31:10 +01:00
Patrik Oldsberg 4ccba1aa96 config-loader: remove debugging output in schema lib 2020-11-18 11:31:10 +01:00
Patrik Oldsberg a533c15b09 config-loader: document schema lib 2020-11-18 11:31:09 +01:00
Patrik Oldsberg b652ebc4e7 config-loader: add visibility filtering tests + fix filtering logic 2020-11-18 11:31:09 +01:00
Patrik Oldsberg 8c65cec932 config-loader: split up config schema implementation and move into separate lib 2020-11-18 11:31:09 +01:00
Patrik Oldsberg 4795278039 config-loader: add config filtering by visibility 2020-11-18 11:31:08 +01:00
Patrik Oldsberg 6fec95079a config-loader: initial incomplete config schema implementation 2020-11-18 11:31:08 +01:00
Patrik Oldsberg ddb5a38f77 backend-common,core,auth-backend: added initial config schemas 2020-11-18 11:31:08 +01:00