Commit Graph

568 Commits

Author SHA1 Message Date
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
github-actions[bot] bf5090e59d Version Packages 2021-10-21 13:28:13 +00:00
Patrik Oldsberg de48939447 Merge pull request #7461 from backstage/rugvip/errors
[PRFC] errors: add isError, assertError and ErrorLike type
2021-10-20 13:07:49 +02:00
Crevil be59619212 Detect GitHub rate limits in GithubUrlReader
Currently there is no way of knowing whether a 403 error from the
GithubUrlReader is due to bad credentials or GitHub rate limits.

This change appends the text " (rate limit exceeded)" to the thrown error to
help operators understand that this is the case.

Signed-off-by: Crevil <bjoern.soerensen@gmail.com>
2021-10-19 15:34:39 +02:00
Patrik Oldsberg 36e67d2f24 more strict error type checking in most packages and backend plugins
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-10-17 15:09:05 +02:00
Patrik Oldsberg f25b8459cd update tests to be runnable from the project root
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-10-10 20:00:42 +02:00
github-actions[bot] 97420439e1 Version Packages 2021-10-07 12:17:39 +00:00
Fredrik Adelöw cac4afb95f Merge pull request #7463 from Sarabadu/feat/accept-glob-pattern
[WIP]Add Glob pattern to Cors config
2021-10-07 11:19:46 +02:00
Johan Haals b234c8c791 Merge pull request #7478 from backstage/jhaals/trimtrim
Replace slash stripping regexp with trimEnd
2021-10-07 09:56:40 +02:00
Johan Haals a31afc5b62 Replace slash stripping regexp with trimEnd
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-10-06 16:42:03 +02:00
Juan Pablo Garcia Ripa a745ae2757 better name function
Signed-off-by: Juan Pablo Garcia Ripa <sarabadu@gmail.com>
2021-10-06 15:49:56 +02:00
Juan Pablo Garcia Ripa 8ebec84865 add test for undefined values
Signed-off-by: Juan Pablo Garcia Ripa <sarabadu@gmail.com>
2021-10-06 15:44:34 +02:00
Gustaf Lundh 8f969d5a56 Correct error message typo
Signed-off-by: Gustaf Lundh <gustaflh@axis.com>
2021-10-06 15:32:32 +02:00
Juan Pablo Garcia Ripa d7055285de add changeset
Signed-off-by: Juan Pablo Garcia Ripa <sarabadu@gmail.com>
2021-10-06 14:01:07 +02:00
Juan Pablo Garcia Ripa 10ef0ffbd7 remove micromatch dependency
Signed-off-by: Juan Pablo Garcia Ripa <sarabadu@gmail.com>
2021-10-06 12:36:43 +02:00
Juan Pablo Garcia Ripa 0dcdf5a006 use minimatch pattern match to validate origin
Signed-off-by: Juan Pablo Garcia Ripa <sarabadu@gmail.com>
2021-10-06 12:27:57 +02:00
Juan Pablo Garcia Ripa 42f91cf01e add glob option to cors origin config
Signed-off-by: Juan Pablo Garcia Ripa <sarabadu@gmail.com>
2021-10-06 00:00:26 +02:00
github-actions[bot] f67e8ddcec Version Packages 2021-09-30 11:43:05 +00:00
Patrik Oldsberg 8bb3c0a578 backend-common: enable subscriptions for sub configs
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-09-25 13:48:54 +02:00
Oliver Sand 0c8a59e293 Fix filtering with globs in bitbucket reader
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-09-23 16:09:32 +02:00
github-actions[bot] 6e5b1bda9d Version Packages 2021-09-23 10:01:17 +00:00
Patrik Oldsberg 2f9065d8fd packages,plugins: bump mock-fs to 5.1.0
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-09-17 23:14:20 +02:00
Tim Hansen febddedcb2 security: bump lodash to 4.17.21
Signed-off-by: Tim Hansen <timbonicus@gmail.com>
2021-09-16 16:06:56 -06:00
Fredrik Adelöw f1923cbb42 some more master build fixes
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-09-16 14:36:48 +02:00
github-actions[bot] fff5c48429 Version Packages 2021-09-16 11:41:51 +00:00
Fredrik Adelöw 44b87836d8 fix windows master build
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-09-16 11:56:58 +02:00
Fredrik Adelöw 02058d69a1 Merge pull request #6882 from splunk/seant-splunk/awsS3_readTree_processor
Add readTree() to AwsS3UrlReader, ReadableArrayResponse type, and AwsS3ReadTreeProcessor
2021-09-16 10:11:15 +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
Sean Tan ff2ac13682 Merge branch 'master' of github.com:backstage/backstage into seant-splunk/awsS3_readTree_processor
Signed-off-by: Sean Tan <seant@splunk.com>
2021-09-13 13:20:00 -07:00
Ben Lambert 43503ee9ce Merge pull request #7134 from backstage/rugvip/azure
integrations,backend-common: Fix azure URL parsing and readTree/search
2021-09-10 13:53:35 +02:00
Johan Haals b78d4b03bd Merge pull request #7106 from goober/feature/upgrade-git-url-parse
chore(deps) bump git-url-parse from 11.4.4 to 11.6.0
2021-09-10 13:25:17 +02:00
Patrik Oldsberg 8cfeb5fe08 backend-common: fix azure readTree subpath handling
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-09-10 12:08:08 +02:00
github-actions[bot] 866ec85375 Version Packages 2021-09-09 14:47:05 +00:00
Patrik Oldsberg f2ed25804b backend-common: keep ZipArchiveResponse removal of stripFirstDirectory
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-09-09 11:50:59 +02:00
Patrik Oldsberg f63efec0ec Revert "fix subpath filtering for AzureDevOps readTree"
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-09-09 11:41:24 +02:00
Mathias Åhsberg 96fef17a18 chore(deps) bump git-url-parse from 11.4.4 to 11.6.0
Signed-off-by: Mathias Åhsberg <mathias.ahsberg@resurs.se>
2021-09-09 07:34:26 +00:00
blam 8e6e95fc43 chore: remove the stripFirstDirectory option to the ZipArchiveResponse
Signed-off-by: blam <ben@blam.sh>
2021-09-08 11:17:13 +02:00
blam bb7ce1c64c chore: added test for subpath azure
Signed-off-by: blam <ben@blam.sh>
2021-09-08 11:06:24 +02:00
blam e7b596fdae chore: removing stripFirstDirectory it's not needed
Signed-off-by: blam <ben@blam.sh>
2021-09-08 11:00:59 +02:00
blam a316cd838d chore: reverting stripping as we don't need it
Signed-off-by: blam <ben@blam.sh>
2021-09-08 10:59:40 +02:00
blam 0cb28c22e3 feat: when reading from AzureDevOps strip the root directory as that is how the ZipArchive is returned
Signed-off-by: blam <ben@blam.sh>
2021-09-07 11:59:41 +02:00
Sean Tan ae79b3e909 Regenerate api-report in backend-common
Signed-off-by: Sean Tan <seant@splunk.com>
2021-09-06 11:59:05 -07:00
Sean Tan f1c3418b7e Merge branch 'master' of github.com:backstage/backstage into seant-splunk/awsS3_readTree_processor 2021-09-06 11:50:13 -07:00
Patrik Oldsberg 9e5ed27ecb backend-common: add missing exports and clean up API report warnings
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-09-05 18:14:09 +02:00
Sean Tan 6e1266ddfc Merge branch 'master' of github.com:backstage/backstage into seant-splunk/awsS3_readTree_processor 2021-09-02 08:54:05 -07:00
github-actions[bot] 45a681aa6a Version Packages 2021-09-02 10:41:57 +00:00
Sean Tan 4e6c15cc66 Fix lint warning
Signed-off-by: Sean Tan <seant@splunk.com>
2021-08-31 18:01:15 -07:00
Sean Tan 7177a9a822 Update PR to reflect change requests
Signed-off-by: Sean Tan <seant@splunk.com>
2021-08-31 12:53:29 -07:00
Sean Tan 9aef36dfb4 Merge branch 'seant-splunk/awsS3_readTree_processor' of github.com:splunk/backstage into seant-splunk/awsS3_readTree_processor 2021-08-30 15:10:50 -07:00
Sean Tan 8b6e30e622 Finish up changes
Signed-off-by: Sean Tan <seant@splunk.com>
2021-08-30 14:56:56 -07:00