Commit Graph

519 Commits

Author SHA1 Message Date
Patrik Oldsberg 3c47bc4e23 plugins/auth-backend: refactor to allow non-oauth providers 2020-06-02 13:38:42 +02:00
Patrik Oldsberg cd180f6928 plugins: remove mock-idp-backend 2020-06-02 12:47:30 +02:00
Patrik Oldsberg 397e670a2e plugins/auth-backend: add script for starting up saml test idp 2020-06-02 12:47:29 +02:00
Patrik Oldsberg 3573c74fca plugins/mock-idp-backend: add saml-idp + test command 2020-06-02 12:47:29 +02:00
Patrik Oldsberg 922c028846 plugins/mock-idp-backend: generate some dev certs 2020-06-02 12:47:29 +02:00
Patrik Oldsberg 1010f4d6b1 plugins: added initial mock-idp-backend 2020-06-02 12:47:28 +02:00
Fredrik Adelöw bd7b9023aa Merge pull request #1101 from spotify/freben/location-fetch-store
Move addLocation to new HigherOrderOperations
2020-06-02 10:59:21 +02:00
Fredrik Adelöw 8d0e750bc2 Address comments and add tests 2020-06-02 10:49:23 +02:00
Marcus Eide 5567c5e2e5 Merge pull request #1074 from spotify/eide/github-auth
Add github auth
2020-06-02 10:45:00 +02:00
Fredrik Adelöw f7ef6d4921 Move addLocation to new HigherOrderOperations 2020-06-02 09:41:36 +02:00
Fredrik Adelöw 5094dc75a5 Add ability to specify locationId on addOrUpdateEntity 2020-06-01 21:38:45 +02:00
Patrik Oldsberg f9e4e557f8 packages/cli: enable TS isolatedModules 2020-06-01 16:09:11 +02:00
Patrik Oldsberg 9f50e7c1b4 packages,plugins: fix lint issues 2020-06-01 16:09:10 +02:00
Patrik Oldsberg 2fedc2320f Merge pull request #1092 from spotify/rugvip/verify-types
scripts: add check-type-dependencies to make sure @type dependencies are listed correctly
2020-06-01 15:33:28 +02:00
Patrik Oldsberg d45a753f22 Merge pull request #1057 from spotify/rugvip/appwrapp
packages/test-utils: do app wrapping with actual app + remove wrapInThemedTestApp
2020-06-01 15:18:44 +02:00
Raghunandan Balachandran 69a22a8f1b Merge pull request #1061 from spotify/freben/add-delete
Add routes for add/delete entity to the catalog
2020-06-01 15:07:09 +02:00
Fredrik Adelöw a90e6ab44f Update plugins/catalog-backend/src/catalog/DatabaseEntitiesCatalog.test.ts
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
2020-06-01 14:52:31 +02:00
Raghunandan Balachandran 664ff10e02 Merge pull request #1082 from spotify/google-auth-tests
Auth tests: PassportStrategyHelper
2020-06-01 14:32:35 +02:00
Raghunandan c2877e0a1a Add PassportStrategyHelper tests. Move util fns to OAuthProvider class. 2020-06-01 14:26:04 +02:00
Patrik Oldsberg e32f5a49ff packages/test-utils: do app wrapping with actual app + remove wrapInThemedTestApp 2020-06-01 13:43:51 +02:00
Patrik Oldsberg c6abe12e45 packages,plugins: fix incorrect type dependencies 2020-06-01 12:27:29 +02:00
Marcus Eide 86930c9dd2 Support providers without refresh tokens 2020-06-01 12:11:13 +02:00
Marcus Eide 438bdba2cf Use StaticAuthSessionManager for Github 2020-06-01 12:07:58 +02:00
Fredrik Adelöw 0f41ac4bf7 Add the MockedMemberFunctions helper 2020-06-01 09:45:00 +02:00
Patrik Oldsberg 5e87a349b0 Merge pull request #1046 from spotify/rugvip/config
packages/core-api: add ConfigApi + implementation and createApp option
2020-05-31 19:02:41 +02:00
Fredrik Adelöw 9ccf617b82 Add routes for add/delete entity to the catalog 2020-05-30 20:34:33 +02:00
Raghunandan 43d13afba5 Add catalog-model dep 2020-05-30 13:57:26 +02:00
Patrik Oldsberg a115bd6331 packages/app: add mock config loader and use in welcome plugin 2020-05-29 16:36:23 +02:00
Marcus Eide 7a665c3c2b Add github as an auth provider to the backend 2020-05-29 15:16:10 +02:00
Nikita Nek Dudnik 77136363b6 Merge branch 'master' of github.com:spotify/backstage into ndudnik/use-catalog-backend 2020-05-29 10:54:16 +02:00
Nikita Nek Dudnik df4dcd8640 fix: merge errors 2020-05-29 10:37:23 +02:00
Nikita Nek Dudnik f71c9df9b7 Merge remote-tracking branch 'upstream/master' into ndudnik/use-catalog-backend 2020-05-29 10:13:18 +02:00
Nikita Nek Dudnik d90913b028 fix: split catalog api into types and implementation 2020-05-29 10:08:55 +02:00
Ivan Shmidt 4d0c519553 Merge branch 'master' of github.com:spotify/backstage into shmidt-i/location-update-results 2020-05-29 10:06:01 +02:00
Raghunandan Balachandran 2112095487 Merge pull request #1062 from spotify/refactor-google-providder
Auth Backend: Refactor google provider
2020-05-29 09:55:58 +02:00
Raghunandan 95c92a52aa unbreak the test runner 2020-05-29 09:21:25 +02:00
Fredrik Adelöw e9ba121b8d Merge pull request #1053 from spotify/freben/names
Make metadata and name mandatory
2020-05-29 09:13:18 +02:00
Raghunandan d16dfdc55b move refresh token response to provider 2020-05-29 09:09:48 +02:00
Fredrik Adelöw 273f009297 Merge pull request #1047 from spotify/freben/catalog-model
Move the model into a plugin-catalog-model for sharing outside the backend
2020-05-29 07:02:12 +02:00
Raghunandan c35c9d8023 remove unused packages 2020-05-28 21:55:39 +02:00
Raghunandan e607ecfb3d remove tests. all routes for google auth working 2020-05-28 21:31:09 +02:00
Fredrik Adelöw 60e1ad28aa Make metadata and name mandatory 2020-05-28 21:03:53 +02:00
Fredrik Adelöw dad0b8390c Update plugins/catalog-backend/src/ingestion/source/index.ts
Co-authored-by: Ivan Shmidt <bahoc47@gmail.com>
2020-05-28 20:54:02 +02:00
Fredrik Adelöw 709e3381d8 Address comments 2020-05-28 20:50:46 +02:00
Patrik Oldsberg 6a6a901a2b preparations for isolated TS modules 2020-05-28 18:37:13 +02:00
Fredrik Adelöw 1d6324a92d Move the model into a plugin-catalog-model for sharing outside the backend 2020-05-28 16:07:31 +02:00
Ivan Shmidt 02aea7b8ff Merge branch 'freben/catalog-model' of github.com:spotify/backstage into shmidt-i/location-update-results 2020-05-28 16:06:33 +02:00
Fredrik Adelöw add55f64a8 Create the packages/catalog-model package 2020-05-28 16:05:56 +02:00
Nikita Nek Dudnik 4e9d5a10c4 feature: add real get entity by name 2020-05-28 16:04:52 +02:00
Ivan Shmidt b716214752 Merge branch 'master' of github.com:spotify/backstage into shmidt-i/location-update-results 2020-05-28 15:56:38 +02:00