Commit Graph

336 Commits

Author SHA1 Message Date
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
Patrik Oldsberg ee65c94555 backend-common: ignore rate limiting errors in UrlReader integration tests 2021-02-05 12:26:33 +01:00
github-actions[bot] 6794967d20 Version Packages 2021-02-04 13:02:30 +00:00
Fredrik Adelöw 66e5b222fe Merge branch 'master' into lintMod 2021-02-04 07:58:13 +01:00
Fredrik Adelöw dac74ddaca Merge pull request #4354 from backstage/freben/integration-timeout
backend-common: bump UrlReader integration test timeout
2021-02-03 21:23:05 +01:00
Debajyoti Halder bf0dc0bcf8 Merge branch 'master' of https://github.com/spotify/backstage into lintMod 2021-02-02 23:08:18 +05:30
Patrik Oldsberg 2f28f821a3 backend-common: use separate integration test keys in CI 2021-02-02 15:24:34 +01:00
Fredrik Adelöw be8fc669fb backend-common: bump UrlReader integration test timeout 2021-02-02 13:47:38 +01:00
Debajyoti Halder 39e7f4a81e Merge branch 'master' of https://github.com/spotify/backstage into lintMod 2021-02-02 17:02:33 +05:30
Andrew Thauer 2430ee7c2e feat(backend-common): support custom logger options 2021-02-02 06:12:55 -05:00
Himanshu Mishra 81f4b6330a backend: Gitlab URL Reader to throw error when apiBaseUrl is missing
And add more tests for all other URL Readers
2021-01-29 17:10:03 +01:00
Debajyoti Halder e0fb5dfccf Merge branch 'master' of https://github.com/spotify/backstage into lintMod 2021-01-29 16:34:22 +05:30
Debajyoti Halder 4dad818e01 Merge branch 'master' of https://github.com/spotify/backstage into lintMod 2021-01-29 14:05:27 +05:30
Debajyoti Halder 6106345e6d Update project with latest eslint rules 2021-01-29 11:55:12 +05:30
Patrik Oldsberg 51d5f79dce backend-common: new azure PAT for e2e test ._. 2021-01-29 00:04:28 +01:00