Fredrik Adelöw
c4a258f5e4
use jest.setTimeout consistently
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2023-03-28 12:30:49 +02:00
Patrik Oldsberg
dcc79493bf
app-backend: migrate to use exports
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2023-02-21 14:28:21 +01:00
Patrik Oldsberg
0ff03319be
backend-plugin-api: switch createBackendPlugin id -> pluginId
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2023-02-06 17:49:57 +01:00
Patrik Oldsberg
d9fe3f68be
app-backend: avoid installing real services that break tests
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2023-01-14 13:00:40 +01:00
Patrik Oldsberg
01a318f75d
updates to use new option factory callback pattern
...
Co-authored-by: Fredrik Adelöw <freben@gmail.com >
Co-authored-by: blam <ben@blam.sh >
Co-authored-by: Johan Haals <johan.haals@gmail.com >
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2023-01-12 18:32:02 +01:00
blam
8c19b84088
chore: fix other tests
...
Signed-off-by: blam <ben@blam.sh >
2023-01-11 15:20:35 +01:00
Patrik Oldsberg
e512a50e5c
Merge pull request #15462 from backstage/mob/root-http-router
...
backend-next: introduce new root http router service
2023-01-04 14:34:40 +01:00
Patrik Oldsberg
8e06f3cf00
backend-plugin-api: moved loggerToWinstonLogger to backend-common
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2023-01-04 10:34:34 +01:00
Patrik Oldsberg
eaa705f754
backend-test-utils: roll back default factories change
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2023-01-04 10:27:21 +01:00
Patrik Oldsberg
a3ec2f32ea
backend-test-utils: include all core services in test backend
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2023-01-04 10:24:52 +01:00
Patrik Oldsberg
b4ffa3bd91
app-backend: avoid warning about missing app contents in development
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-12-29 12:56:55 +01:00
Fredrik Adelöw
2d33cd4dc0
favor afterEach for mock-fs
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2022-12-20 15:09:41 +01:00
Patrik Oldsberg
a46a0887a3
refactor all the things to use coreServices
...
Co-authored-by: Johan Haals <johan.haals@gmail.com >
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-12-02 14:48:15 +01:00
Patrik Oldsberg
fff524b44d
app-backend: make "app" the default app package
...
Co-authored-by: Fredrik Adelöw <freben@gmail.com >
Co-authored-by: Johan Haals <johan.haals@gmail.com >
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-09-26 16:49:55 +02:00
Patrik Oldsberg
571ff04b0c
app-backend: initial port to new backend system
...
Co-authored-by: Fredrik Adelöw <freben@gmail.com >
Co-authored-by: Johan Haals <johan.haals@gmail.com >
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-09-26 16:22:38 +02:00
Fredrik Adelöw
eec0b15d3b
app-backend
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2022-08-19 11:51:55 +02:00
Daniel Dias Branco Arthaud
04eedfc4bf
fix(app-backend): Allow it to skip migrations
...
Signed-off-by: Daniel Dias Branco Arthaud <arthaud@gmail.com >
2022-08-18 10:55:20 -03:00
Fredrik Adelöw
ab7cd7d70e
Do some groundwork for supporting the better-sqlite3 driver
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2022-03-08 10:13:03 +01:00
Fredrik Adelöw
aa9030d313
Merge pull request #8681 from backstage/rugvip/assetcache
...
app-backend: store static assets across deployments and improve caching
2022-01-17 16:26:17 +01:00
Patrik Oldsberg
8aebc7b0db
app-backend: clarify relation between database and staticFallbackHandler
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-01-13 20:00:12 +01:00
Patrik Oldsberg
ccd9bcb86e
app-backend: some refactoring, renaming, and docs
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-01-13 20:00:12 +01:00
Patrik Oldsberg
729b188045
app-backend: update router to use static assets store and new cache headers
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-01-13 20:00:12 +01:00
Patrik Oldsberg
7261b76935
app-backend: added static assets middleware + header constants
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-01-13 20:00:12 +01:00
Patrik Oldsberg
3a7911ece8
app-backend: added test for asset lookup
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-01-13 20:00:11 +01:00
Patrik Oldsberg
54ecf37c15
app-backend: added utility to find assets to store
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-01-13 20:00:11 +01:00
Patrik Oldsberg
a9dcace703
app-backend: add StaticAssetsStore
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-01-13 20:00:11 +01:00
Colton Padden
a505347140
enable withDeprecatedKeys in schema process for backend-common and app-backend
...
Signed-off-by: Colton Padden <colton.padden@fastmail.com >
2022-01-05 14:17:11 -05:00
Patrik Oldsberg
9d9cfc1b8a
app-backend: disallow all iframe embedding of the app
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2021-12-29 11:45:20 +01:00
Fredrik Adelöw
56f182dde2
Remove all internal usage of the Json types
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2021-10-22 16:11:35 +02:00
Patrik Oldsberg
8142a8ecb2
packages,plugins: add package documentation
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2021-09-14 18:47:53 +02:00
Fredrik Adelöw
923491eece
run prettier formatting
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2021-08-09 11:54:38 +02:00
Fredrik Adelöw
a88073c29a
Update copyright headers
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2021-06-18 20:26:42 +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
Fredrik Adelöw
3f21e46725
fix types in tests
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2021-03-23 09:07:35 +01:00
Dominik Henneke
bded5a3237
Update comments
...
Signed-off-by: Dominik Henneke <dominik.henneke@sda-se.com >
2021-03-09 09:56:01 +01:00
Dominik Henneke
e6fa667639
Update type and changeset
...
Signed-off-by: Dominik Henneke <dominik.henneke@sda-se.com >
2021-03-08 11:37:35 +01:00
Dominik Henneke
173ed924b7
Include max-age=0
...
Signed-off-by: Dominik Henneke <dominik.henneke@sda-se.com >
2021-03-05 16:02:23 +01:00
Dominik Henneke
393b623aef
Add a Cache-Control: no-store header to the index.html response to instruct the browser to not cache the pages
...
Signed-off-by: Dominik Henneke <dominik.henneke@sda-se.com >
2021-03-05 14:40:51 +01:00
Patrik Oldsberg
1c06cb3126
app-backend: clarify schema serialization troubleshooting steps
2021-02-19 12:58:41 +01:00
Patrik Oldsberg
f807a21dd3
app-backend: add disableConfigInjection option, which disables config injection
2021-02-09 13:38:58 +01:00
Patrik Oldsberg
9c1e0de3e6
app-backend: more docs for options
2021-02-09 13:38:33 +01:00
Patrik Oldsberg
9f2b9c2020
app-backend: re-throw config loading errors with instructions for how to fix
2021-01-29 16:59:19 +01:00
Adam Harvey
d40eddac9d
Refactor visibility typo
2020-11-29 00:22:10 -05:00
Oliver Sand
ff1301d28f
Warn if app-backend can't start-up because missing dir
2020-11-25 17:28:07 +01:00
Patrik Oldsberg
e2fc08cb15
app-backend: fix tests
2020-11-18 11:31:18 +01:00
Patrik Oldsberg
c18769cc00
config-loader: visibilities -> visiblity
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
Navaneeth Suresh
bbeaff9daf
Add a lint rule to avoid using __dirname
2020-10-09 15:03:29 +05:30
blam
dcb30638d3
chore(catalog/gql): fixing typescript
2020-09-18 02:44:23 +02:00
blam
2083d75f71
Merge branch 'mob/union-types' of github.com:spotify/backstage into mob/union-types
...
* 'mob/union-types' of github.com:spotify/backstage: (34 commits)
fix(yarn): fixup yarn.lock
docs(catalog/grqphql): updating docs
chore(gql/catalog): fixing some code review comments
chore(gql/catalog): fixing dependencies
chore: reverting code
feat(gql/catalog): to remove the duplication in the schema thanks to the limitations on implements, let's create the schema using javascript
feat(gql/catalog): working on making the schema nice
feat(gql/catalog): Reduce the amount of duplication a little for unions
chore(catalog/gql): fixing csp for playground
chore(catalog/gql): move the catalog schema out of src
chore(gql/catalog): updating the return types from the catalog api
chore(gql/catalog): removing the mock data scripts for catalog-graph l
chore(gql/catalog): actually read
chore(gql/catalog): fixing bundling of graphql asse
chore(gql/catalog): removing the mock-data stuff
feat(gql/catalog): implement the label resolver
feat(gql/catalog): Fixing some of the query issues
chore(gql/catalog): making the client alittle more readabke
chore(gql/catalog): Added some more metadata fields to the catalog entities
feat(gql/catlaog): Tidying up the resolver for the annotations
...
2020-09-17 14:22:58 +02:00