Commit Graph

748 Commits

Author SHA1 Message Date
Stefan Ålund 947c752468 Add Welcome msgs to catalog (#1306)
* Add Welcome msgs to catalog

* Fix importing of greetings

* Fix broken test
2020-06-17 09:54:52 +02:00
blam d5f5e83fe7 chore(scaffolder): Updating the boilerplate for the scaffolder backend 2020-06-16 15:03:21 +02:00
blam 1e5e270bb7 chore(scaffolder): reset the template-info for now so tests will still pass on PR 2020-06-16 14:48:46 +02:00
blam 45ce4b133a chore(scaffolder): load from file source instead 2020-06-16 14:47:15 +02:00
blam 4615718167 feat(catalog): added the ability to load mock data into the catalog from the scaffolder too 2020-06-16 14:40:43 +02:00
Fredrik Adelöw 7d8c50bdac Remove remaining occurrences of v1beta1 2020-06-16 13:28:10 +02:00
Fredrik Adelöw e01fae0a28 use alpha versioning in the catalog instead 2020-06-16 13:00:31 +02:00
Patrik Oldsberg adf6ea4a87 Merge pull request #1307 from spotify/alund/rm-home
Remove old Home plugin
2020-06-16 11:43:35 +02:00
Ivan Shmidt ae1cef1d52 Merge pull request #1238 from spotify/shmidt-i/backend-hmr-2
Backend HMR
2020-06-16 11:40:46 +02:00
Stefan Ålund e1ea85cd93 Clean up Register plugin (#1291)
* Clean up Register plugin

* Fix test

* Update RegisterComponentPage.tsx
2020-06-16 09:53:44 +02:00
Ivan Shmidt 9fe15e6726 feat: point all backend to src 2020-06-15 22:34:53 +02:00
Stefan Ålund 492876f260 Remove old Home plugin 2020-06-15 22:11:45 +02:00
Ivan Shmidt b705cfb8ed Merge branch 'master' of github.com:spotify/backstage into shmidt-i/backend-hmr-2 2020-06-15 21:25:37 +02:00
Fredrik Adelöw e21f3e5850 Merge pull request #1304 from spotify/freben/entity-per-file
chore(catalog-backend): split apart example components and register in loop
2020-06-15 16:54:39 +02:00
Fredrik Adelöw a064515684 chore(catalog-backend): split apart example components and register in loop 2020-06-15 16:49:37 +02:00
Niklas Ek 83043c870c Merge pull request #1264 from chanwit/add-err-msg-list-cluster
gitops-plugin: add meaningful error message for the cluster listing page
2020-06-15 16:48:56 +02:00
Ivan Shmidt 0c27fc1a7b Merge branch 'master' of github.com:spotify/backstage into shmidt-i/backend-hmr-2 2020-06-15 15:46:23 +02:00
blam f3245c4f8f chore(catalog/msw): resetting package.json 2020-06-15 14:57:53 +02:00
blam fe3ec5d3c6 Merge branch 'master' of github.com:spotify/backstage into blam/msw
* 'master' of github.com:spotify/backstage: (63 commits)
  packages/cli: add lint rule to avoid cross-package src imports
  fix(catalog-backend): make location delete work again
  Add Other component category (#1292)
  packages/core-api: add initial definition of IdentityApi
  additional sqli protection
  build(deps): bump eslint from 7.1.0 to 7.2.0 (#1285)
  return 204 when there's no response data
  build(deps-dev): bump @types/codemirror from 0.0.95 to 0.0.96 (#1284)
  build(deps-dev): bump @types/morgan from 1.9.0 to 1.9.1 (#1287)
  build(deps): bump chalk from 4.0.0 to 4.1.0 (#1286)
  catalog: suffix entiy kind typeswith Entity
  feat(catalog): new kind LocationRef
  packages/cli: assume browser build if esm output is included
  packages/backend-common: import winston as namespace
  plugins/catalog-backend: typecheck migration files
  plugins/catalog-backend: move migrations to JS with type annotations
  packages/cli: fix jest module mapper to only match entire module name
  github/workflows: use env app config to set e2e test port
  packages/cli: use app.baseUrl to configure dev server
  packages/config-loader: more docs!
  ...
2020-06-15 14:53:24 +02:00
Fredrik Adelöw 8f82336198 fix(catalog-backend): make location delete work again 2020-06-15 13:25:57 +02:00
Stefan Ålund 1855bf381b Add Other component category (#1292) 2020-06-15 12:58:20 +02:00
Fredrik Adelöw 8bab0e4b18 Merge pull request #1269 from spotify/freben/search-gone-wild
feat(catalog-backend): support wildcard matching on entities
2020-06-15 12:06:50 +02:00
Fredrik Adelöw 559a6e4a50 additional sqli protection 2020-06-15 12:01:14 +02:00
Fredrik Adelöw 92774dc9f6 return 204 when there's no response data 2020-06-15 11:34:46 +02:00
Patrik Oldsberg 7b888f5bfc Merge pull request #1280 from spotify/rugvip/migrate-js
plugins/catalog-backend: move migrations to JS with type annotations
2020-06-15 11:08:57 +02:00
Patrik Oldsberg ca43ea61cf Merge pull request #1281 from spotify/rugvip/winston
packages/backend-common: import winston as namespace
2020-06-15 10:38:34 +02:00
dependabot-preview[bot] 6ff1a1f547 build(deps-dev): bump @types/codemirror from 0.0.95 to 0.0.96 (#1284)
Bumps [@types/codemirror](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/codemirror) from 0.0.95 to 0.0.96.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/codemirror)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-15 10:36:07 +02:00
Fredrik Adelöw 1b2d70a70d catalog: suffix entiy kind typeswith Entity 2020-06-15 09:25:28 +02:00
Fredrik Adelöw 319012e0f9 feat(catalog): new kind LocationRef 2020-06-15 09:10:11 +02:00
Patrik Oldsberg 3bdcc175d9 packages/backend-common: import winston as namespace 2020-06-14 13:44:32 +02:00
Patrik Oldsberg 7fac58f23d plugins/catalog-backend: typecheck migration files 2020-06-14 13:21:06 +02:00
Patrik Oldsberg e840d9c20a plugins/catalog-backend: move migrations to JS with type annotations 2020-06-14 13:13:59 +02:00
Patrik Oldsberg dbc29358ed v0.1.1-alpha.8 2020-06-12 22:09:21 +02:00
ewnd9 a6b775540f chore(lighthouse): toggle private in package.json 2020-06-12 19:42:58 +03:00
Fredrik Adelöw 9d28108cb8 Merge pull request #1271 from spotify/freben-patch-2
docs(catalog-backend): update readme to be more accurate and helpful
2020-06-12 16:46:32 +02:00
Fredrik Adelöw b902e63dd8 Update README.md 2020-06-12 16:21:11 +02:00
Fredrik Adelöw da6f33a13f chore(backend): make the sentry handling work better 2020-06-12 15:36:19 +02:00
Fredrik Adelöw 51b780b061 feat(catalog-backend): support wildcard matching on entities 2020-06-12 15:16:16 +02:00
Raghunandan Balachandran 8da3774f79 Merge pull request #1266 from spotify/mob/config-env
Auth Backend: read env config
2020-06-12 14:53:14 +02:00
Raghunandan 2c6b8659d3 review fixes 2020-06-12 14:40:06 +02:00
Raghunandan 33a96003c2 fail gracefully if sentry token is missing in localhost 2020-06-12 14:28:18 +02:00
Fredrik Adelöw 66fef7f2e4 chore(catalog-backend): use code instead of db to implement similarity rule 2020-06-12 13:41:05 +02:00
Raghunandan 5f13a53c6a Making auth backend work based on config. Config is yet to be read from the YAML and passed in. Localhost development will fail gracefully if AUTH config env vars are not set 2020-06-12 12:06:46 +02:00
Fredrik Adelöw 7de5e10408 feat(catalog-backend): reject almost-same-name entities 2020-06-12 12:04:56 +02:00
Chanwit Kaewkasi 4074aff376 gitops-plugin: add meaningful error message for the cluster listing page 2020-06-12 14:19:29 +07:00
Ben Lambert b25f44ec31 Merge branch 'master' into blam/react-router 2020-06-12 01:52:55 +02:00
blam 55cc1584e1 chore(catalog/swr): Removing superfluous import for useEffect 2020-06-12 00:53:05 +02:00
blam 5ae13652fe feat(catalog/swr): simplify the code significantly. now we are talking. this library is the nutz 2020-06-12 00:34:11 +02:00
blam 1a581d4d26 feat(catalog/swr): Added a nice stale-while-revalidate pattern for fetching data 2020-06-12 00:29:42 +02:00
blam 6af18f7e27 feat(catalog/msw): fixed merge conflicts and fixed some comments 2020-06-11 23:23:52 +02:00