Commit Graph

142 Commits

Author SHA1 Message Date
Leon Stein e662ee528b remove AMAZON_AWS_HOST export, fix regex per review feedback
Signed-off-by: Leon Stein <leons727@gmail.com>
2021-12-28 11:42:23 -05:00
Leon Stein bc78cc3dca use endpoint/s3ForcePathStyle instead of validateHost/ssl per PR feedback
Signed-off-by: Leon Stein <leons727@gmail.com>
2021-12-28 10:24:12 -05:00
Leon Stein e74854410d initial
Signed-off-by: Leon Stein <leons727@gmail.com>
2021-12-24 17:49:48 -05:00
Brian Fletcher 7d4b4e937c addressing review comments
Signed-off-by: Brian Fletcher <brian@roadie.io>
2021-12-23 12:31:09 +00:00
Brian Fletcher b2d67bde04 adds factory type for creds provider and rename default
Signed-off-by: Brian Fletcher <brian@roadie.io>
2021-12-20 13:58:39 +00:00
Brian Fletcher 6984c4988a moves types and interfaces to specific types file
Signed-off-by: Brian Fletcher <brian@roadie.io>
2021-12-20 11:06:37 +00:00
Brian Fletcher 7228b18c0f create an interface for gh creds provider
We plan to build on this later to allow the credentials provider to
be passed into the scaffolder tasks, the processors, and the url
readers.

Signed-off-by: Brian Fletcher <brian@roadie.io>
2021-12-17 11:26:05 +00:00
Fredrik Adelöw 47619da24c give the same treatment to catalog-backend too
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-11-25 13:05:11 +01:00
Fredrik Adelöw 8eedc159ae fix up errors too
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-10-26 16:55:36 +02:00
Fredrik Adelöw a15d028517 more api fixes, in integration and theme
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-10-26 16:24:13 +02:00
Johan Haals f1e96dc5b1 chore/cli: Replace msw with setupRequestMockHandlers
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-10-26 10:54:47 +02:00
Connor Younglund dd9cf64dd5 replace \n with newline for GitHub App private key
Signed-off-by: Connor Younglund <younglund_connor@bah.com>
2021-10-13 15:15:55 -04: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
Johan Haals 1a26a18f7f integration: Add missing lodash import
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-10-07 09:08:00 +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
Patrik Oldsberg ca0559444c avoid usage of to*Case + add project lint rule
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-10-02 18:43:11 +02:00
Patrik Oldsberg 2f09cdb97f use preferred luxon duration units
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-09-27 10:22:31 +02:00
Johan Haals c6c308ab83 Merge pull request #7287 from kuangp/fix/GithubCredentialsProvider
fix(GithubCredentialsProvider): support selective app installs with GHE hosts
2021-09-24 11:11:51 +02:00
Phil Kuang d1f2118389 fix(GithubCredentialsProvider): support selective app installs with GHE hosts
Signed-off-by: Phil Kuang <pkuang@factset.com>
2021-09-22 15:43:40 -04:00
Dede Hamzah 14e01923b4 add test
Signed-off-by: Dede Hamzah <dehamzah@gmail.com>
2021-09-21 15:38:49 +07:00
Dede Hamzah 8acca63fa9 Allow url with extension .yml in gitlab processor
Signed-off-by: Dede Hamzah <dehamzah@gmail.com>
2021-09-21 14:29:42 +07: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
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
Patrik Oldsberg 2e9d71281e integration: fix AzureIntegration resolveUrl path handling
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-09-10 13:14:22 +02:00
Patrik Oldsberg 1befb5ad57 integrations: update AzureIntegration tests with unexpected failure cases
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-09-10 13:12:41 +02:00
Patrik Oldsberg 5400d81f28 integrations: workaround lack of private method support
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-09-10 13:00:35 +02:00
Patrik Oldsberg 0408b0d7ff integration: implement azure core with AzureUrl + fix tests
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-09-10 11:46:48 +02:00
Patrik Oldsberg 63e3745fe3 integration: implement AzureUrl
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-09-10 11:40:16 +02:00
Patrik Oldsberg 5a41c16fc7 integration: added failing AzureUrl tests
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-09-10 11:39:57 +02:00
Patrik Oldsberg 0c2b952287 integration: extend AzureUrl API with accessors for each part
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-09-10 10:46:32 +02:00
Patrik Oldsberg 3bfd62b55c integration: add empty AureUrl implementation
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-09-10 10:46:31 +02:00
kim5566 3c78883ba3 fix formatting and slection of returned results
Signed-off-by: kim5566 <qi.jin@anz.com>
2021-09-10 17:55:29 +10:00
kim5566 cc5c8f4979 add paginate
Signed-off-by: kim5566 <qi.jin@anz.com>
2021-09-10 17:06:25 +10:00
Andre Wanlin 00bc49f8fe Update packages/integration/src/azure/core.ts
Updated with suggested change

Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Signed-off-by: Andre Wanlin <awanlin@rapidrtc.com>
2021-08-31 13:22:57 -05:00
Andre Wanlin 5dca42b174 Properly handle Azure DevOps Server download URL
Signed-off-by: Andre Wanlin <awanlin@rapidrtc.com>
2021-08-31 10:55:37 -05:00
Fredrik Adelöw 3c14f71b08 Merge pull request #6880 from kuangp/fix/feedbackUrl
fix(techdocs): generate correct feedback urls for GitHub
2021-08-25 15:26:34 +02:00
Fredrik Adelöw f0ba514f0b Take custom ports into account when matching integrations to URLs
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-08-23 19:21:31 +02:00
Phil Kuang 90c68a2ca8 fix(techdocs): generate correct feedback urls for GitHub
Signed-off-by: Phil Kuang <pkuang@factset.com>
2021-08-19 11:12:36 -04:00
Patrik Oldsberg 244816f79c integration: limit config schema tests to only include its own schema
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-08-19 10:34:31 +02:00
Sean Tan b716f39dc0 Fix aws s3 tests
Signed-off-by: Sean Tan <seant@splunk.com>
2021-08-12 10:05:02 -07:00
Sean Tan 9d5738b3f5 Fix format errors and other small changes per suggestion
Signed-off-by: Sean Tan <seant@splunk.com>
2021-08-12 10:05:02 -07:00
Sean Tan 2d7bf1c6b0 Add roleArn to AwsS3IntegrationConfig
Signed-off-by: Sean Tan <seant@splunk.com>
2021-08-12 10:05:02 -07:00
Sean Tan 2e5e2decc7 Make change to AwsS3 Integration to support list
Signed-off-by: Sean Tan <seant@splunk.com>
2021-08-12 10:05:02 -07:00
Sean Tan b8cb120092 Started changes from suggestions made on recent PR.
Signed-off-by: Sean Tan <seant@splunk.com>
2021-08-12 10:05:02 -07:00
Kiera Jost 5f8cfef344 Add AWS S3 url reader
Signed-off-by: Kiera Jost <kjost@splunk.com>
2021-08-12 10:05:02 -07:00
Fredrik Adelöw ce19580212 Prefer the API route in GithubUrlReader when using GitHub Apps based auth
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-08-11 11:51:38 +02:00
Brian Fletcher 286c16e39f Merge branch 'master' of github.com:backstage/backstage into github-installations-limit 2021-08-09 14:53:17 +01:00
Brian Fletcher a52c5b8cb6 Merge branch 'master' of github.com:backstage/backstage into remove-github-restriction 2021-08-09 13:37:40 +01: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
Brian Fletcher dc0b9cc7a9 Merge remote-tracking branch 'origin' into github-installations-limit 2021-08-06 13:30:56 +01:00