Oliver Sand
3f048fbd25
Don't ensure directory exists if :memory: storage is used
...
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com >
2021-04-15 11:30:22 +02:00
Oliver Sand
0075578224
Use ensureDirSync
...
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com >
2021-04-15 10:55:55 +02:00
Oliver Sand
0c49f4461e
Ensure that the connection object is always initialized
...
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com >
2021-04-14 15:56:58 +02:00
Oliver Sand
4b6e31ece2
Also normalize the config override
...
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com >
2021-04-14 15:46:39 +02:00
Oliver Sand
2fc0c9b1c0
Make tests path separator independent and work on Windows
...
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com >
2021-04-14 15:41:40 +02:00
Oliver Sand
b42531cfed
Support configuration of file storage for SQLite databases
...
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com >
2021-04-13 17:48:21 +02:00
github-actions[bot]
51b6cf465d
Version Packages
2021-04-08 11:32:56 +00:00
Martina Iglesias Fernandez
c410cae0f2
Fix feedback
...
Signed-off-by: Martina Iglesias Fernandez <martina@roadie.io >
2021-04-07 12:08:02 +02:00
Martina Iglesias Fernandez
6a9b9d0f7c
Fix some comments
...
Signed-off-by: Martina Iglesias Fernandez <martina@roadie.io >
2021-04-07 11:27:41 +02:00
Martina Iglesias Fernandez
d5cb51331a
Only allow one googleGcs config object
...
Signed-off-by: Martina Iglesias Fernandez <martina@roadie.io >
2021-04-07 11:27:41 +02:00
Martina Iglesias Fernandez
e4cdec27e9
Fix comments on GoogleGcsUrlReader
...
Signed-off-by: Martina Iglesias Fernandez <martina@roadie.io >
2021-04-07 11:27:41 +02:00
Martina Iglesias Fernandez
9c4cedf268
Fix some comments
...
Signed-off-by: Martina Iglesias Fernandez <martina@roadie.io >
2021-04-07 11:27:41 +02:00
Martina Iglesias Fernandez
7abb50d59e
Add tests for GCSUrlReader
...
Signed-off-by: Martina Iglesias Fernandez <martina@roadie.io >
2021-04-07 11:27:40 +02:00
Martina Iglesias Fernandez
eafb4f9f34
Add GcsUrlReader
...
Signed-off-by: Martina Iglesias Fernandez <martina@roadie.io >
2021-04-07 11:27:40 +02:00
github-actions[bot]
8e00ab7e63
Version Packages
2021-03-31 12:21:12 +00:00
dependabot[bot]
66ed65899f
chore(deps-dev): bump supertest from 4.0.2 to 6.1.3
...
Bumps [supertest](https://github.com/visionmedia/supertest ) from 4.0.2 to 6.1.3.
- [Release notes](https://github.com/visionmedia/supertest/releases )
- [Commits](https://github.com/visionmedia/supertest/compare/v4.0.2...v6.1.3 )
Signed-off-by: dependabot[bot] <support@github.com >
2021-03-29 04:38:27 +00:00
Oliver Sand
37e3a69f51
Export ReadTreeResponseFile and SearchResponseFile
...
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com >
2021-03-26 09:41:40 +01:00
dependabot[bot]
d42f055d48
chore(deps): bump express-promise-router from 3.0.3 to 4.1.0
...
Bumps [express-promise-router](https://github.com/express-promise-router/express-promise-router ) from 3.0.3 to 4.1.0.
- [Release notes](https://github.com/express-promise-router/express-promise-router/releases )
- [Changelog](https://github.com/express-promise-router/express-promise-router/blob/trunk/CHANGELOG.md )
- [Commits](https://github.com/express-promise-router/express-promise-router/commits )
Signed-off-by: dependabot[bot] <support@github.com >
2021-03-23 04:26:33 +00:00
github-actions[bot]
718eea4f08
Version Packages
2021-03-18 12:31:44 +00:00
Fredrik Adelöw
fda249ff6f
fix review comments
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2021-03-11 14:31:21 +01:00
Fredrik Adelöw
8686eb38cf
Introduce the @backstage/errors package.
...
Encode thrown errors in the backend as a JSON payload using a facility in that package, and render helpful frontend displays of those errors.
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2021-03-11 14:31:21 +01:00
github-actions[bot]
0e120c5c66
Version Packages
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2021-03-11 13:45:44 +01:00
Himanshu Mishra
38a8734d89
Merge pull request #4744 from backstage/orkohunter/move-runDockerContainer
2021-03-09 10:47:26 +01:00
Himanshu Mishra
3f2a0efe01
backend-common: Use Record<string, string> for envVars in runDockerContainer
...
Signed-off-by: Himanshu Mishra <himanshu@orkohunter.net >
2021-03-08 14:00:17 +01:00
Himanshu Mishra
c0c26244db
1. Use plain Record instead of Map
...
2. Call fs.realpath inside the utility function
Signed-off-by: Himanshu Mishra <himanshu@orkohunter.net >
2021-03-08 12:44:11 +01:00
Fredrik Adelöw
8e15b19a30
Merge pull request #4827 from backstage/dependabot/npm_and_yarn/knex-0.95.1
...
chore(deps): bump knex from 0.21.18 to 0.95.1
2021-03-08 11:11:32 +01:00
dependabot[bot]
7616988312
chore(deps): bump knex from 0.21.18 to 0.95.1
...
Bumps [knex](https://github.com/knex/knex ) from 0.21.18 to 0.95.1.
- [Release notes](https://github.com/knex/knex/releases )
- [Changelog](https://github.com/knex/knex/blob/master/CHANGELOG.md )
- [Commits](https://github.com/knex/knex/commits )
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2021-03-08 10:26:45 +01:00
blam
1b644c4f05
chore: skipping these tests for now until we can come up with a better way to do these
...
Signed-off-by: blam <ben@blam.sh >
2021-03-08 10:15:17 +01:00
Himanshu Mishra
63b8914b82
backend-common: Make runDockerContainer more configurable
...
1. Add optional directories to mount
2. Add optional working directory to use
3. Add optional environment variables to set
Signed-off-by: Himanshu Mishra <himanshu@orkohunter.net >
2021-03-06 21:26:59 +01:00
Himanshu Mishra
e67d055dc2
backend-common: remove useless ts ignore
...
Signed-off-by: Himanshu Mishra <himanshu@orkohunter.net >
2021-03-06 21:26:59 +01:00
Himanshu Mishra
d79540d0b8
backend-common: Set workingdir to /input by default
...
Signed-off-by: Himanshu Mishra <himanshu@orkohunter.net >
2021-03-06 21:26:59 +01:00
Himanshu Mishra
e9b7db7b29
backend-common: Add runDockerContainer shared by Scaffolder and TechDocs
...
Signed-off-by: Himanshu Mishra <himanshu@orkohunter.net >
2021-03-06 21:26:59 +01:00
github-actions[bot]
ff2ab4fade
Version Packages
2021-03-04 13:11:10 +00:00
Adam Harvey
8adb48df4c
Change debug color to grey
2021-02-24 14:00:09 -05:00
Mijail Rondon
4978590888
feat(errorHandler): log client errors
2021-02-24 07:50:21 -05:00
github-actions[bot]
4188c2ccb4
Version Packages
2021-02-18 13:23:19 +00:00
Patrik Oldsberg
49299a1faf
Merge pull request #4541 from backstage/rugvip/gh-auth
...
integrations: switch to using x-access-token for github git auth
2021-02-15 21:16:02 +01:00
Patrik Oldsberg
fb28da2123
integrations: switch to using x-access-token for github git auth
2021-02-15 20:27:26 +01:00
Himanshu Mishra
f9478cdd87
chore: Use OS specific tmp dir to fix windows build
...
https://github.com/backstage/backstage/runs/1891759720?check_suite_focus=true
2021-02-14 19:29:59 +01:00
Fredrik Adelöw
40bc97ccfc
Merge pull request #4435 from backstage/freben/reader-search-continued
...
backend-common: implement UrlReader.search for the other providers too
2021-02-12 09:38:00 +01:00
Ben Lambert
c3b50cb7ba
Merge pull request #4462 from GoWind/fix-backend-request-logging
...
Fix: Pass registered Logger in ServiceBuilderImpl to requestLoggingHandler
2021-02-12 08:43:52 +01:00
github-actions[bot]
aa49ca2284
Version Packages
2021-02-11 10:15:47 +00:00
Fredrik Adelöw
491f3a0ecf
backend-common: implement UrlReader.search for the other providers too
2021-02-11 08:54:59 +01:00
Fredrik Adelöw
8ebcb85dab
Merge pull request #4420 from backstage/freben/gitlab-config
...
integration: update the gitlab config mandatory fields to match reality
2021-02-10 22:13:11 +01:00
Gowind
2e1f8941fe
Pass registered Logger in ServiceBuilderImpl to requestLoggingHandler
...
`requestLoggingHandler` takes an optional `logger` parameter that it can use
to log incoming requests. The `ServiceBuilderImpl` was not passing on this logger, if
set, to `requestLoggingHandler` middleware
2021-02-09 18:18:10 +01:00
Fredrik Adelöw
9ce20d3668
Merge pull request #4397 from backstage/freben/reader-search
...
backend-common: implement UrlReader.search that does glob matching
2021-02-09 13:01:33 +01:00
Fredrik Adelöw
5a51635197
backend-common: implement UrlReader.search that does glob matching
2021-02-09 12:16:12 +01:00
Patrik Oldsberg
82af0855bc
backend-common: use explicit content type in error response
2021-02-08 13:22:17 +01:00
Fredrik Adelöw
ffffea8e6d
integration: update the gitlab config mandatory fields to match reality
2021-02-08 12:08:20 +01:00
Fredrik Adelöw
965e200c61
backend-common: slight refactoring in support of future search impl
2021-02-08 11:06:14 +01:00