Himanshu Mishra
2f3be0a68b
integration: Add test case for non URI encoded link
2021-02-15 16:35:25 +01: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
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
Fredrik Adelöw
66e5b222fe
Merge branch 'master' into lintMod
2021-02-04 07:58:13 +01:00
Fredrik Adelöw
01a297d0a1
Merge pull request #4381 from adrianke77/integration-gitlab-fix-spaces-in-paths
...
Integration gitlab fix spaces in paths
2021-02-04 07:15:27 +01:00
Chongyang Adrian, Ke
99076c25e1
integration: fix gitlab spaces encoding
2021-02-04 11:11:05 +08:00
Fredrik Adelöw
efc2b6db1e
Merge pull request #4347 from kaparwan/feature/bitbucket-own-hosted-fixes-debug
...
#4322 bitbucket own hosted v5.11.1 branchUrl fix and enabled error tracing…
2021-02-03 22:18:53 +01:00
Kaparwan Manoj
0fe62dce31
fixed lint errors
2021-02-03 22:18:49 +11:00
Kaparwan Manoj
1e2e86cec6
prettier done.
2021-02-03 21:16:04 +11:00
Fredrik Adelöw
3149bfe639
integration: add the resolveUrl method
2021-02-03 10:22:58 +01:00
Manoj -
2a3d7599e6
added test cases to include both the endpoints
2021-02-03 18:59:25 +11:00
Manoj -
d8386f780a
added condition handling the case - bitbucket.org
2021-02-03 16:54:44 +11:00
Manoj -
786aa9ae3a
branchUrl backward compatibility if 404 with new format
2021-02-02 22:59:51 +11:00
Debajyoti Halder
7717c46517
Fix variable names of conflicting types
2021-02-02 16:42:37 +05:30
Kaparwan Manoj
9cda5593af
bitbucket own hosted v5.11.1 branchUrl fix and enbaled error tracing for mkdocs process stack trace
2021-02-02 10:38:47 +11:00
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
605629dc74
integration: forward errors from gitlab project lookups
2021-01-28 18:06:47 +01:00
Himanshu Mishra
6800da78d9
integration: Fix default branch API url for hosted bitbucket server
2021-01-21 22:26:34 +01:00
blam
40faae3903
chore(integration/gitlab): fixing tests again for integration config
2021-01-20 16:24:23 +01:00
blam
a729aaa854
Merge branch 'master' of github.com:backstage/backstage into blam/move-scaffolder-to-integrations
...
* 'master' of github.com:backstage/backstage: (75 commits)
backend-common: Move definition of etag property inside constructor
docs: Fix url links in well known annotations
bitbucket casing
integration: take over the config
More review comments
Address some final review coments about cross-fetch and type-casting
chore(deps): bump sucrase from 3.16.0 to 3.17.0
chore(deps-dev): bump @types/webpack from 4.41.22 to 4.41.26
core-api: remove deprecated registerRoute and deprecate addRoute
Update README
Support GHE
app,create-app: switch to using FlatRoutes
Make breaking 'minor' change'
Add codefences to changeset
Add changeset
Remove InfoCard :height100" variant
scripts/check-if-release: fix diff and tweak to handle new and removed packages
Update with review comments
docs: Run prettier on techdocs ci/cd tutorial
remove adr status header
...
2021-01-20 16:22:58 +01:00
blam
13231e101b
chore: fixing some PR comments
2021-01-20 12:47:17 +01:00
Johan Haals
b470208202
Fix config test
...
Co-authored-by: blam<ben@blam.sh >
2021-01-20 11:41:01 +01:00
Johan Haals
954a7eecab
Don't set apiBaseUrl
...
This is already handled by the gitlab client and the default is wrong
2021-01-20 11:13:03 +01:00
Himanshu Mishra
380dd626fb
Safe nullish check with git-url-parse library responses
2021-01-18 23:04:31 +01:00
Himanshu Mishra
79f9a97428
backend-common: UrlReader/Azure implement SHA based caching
2021-01-18 21:55:55 +01:00
Himanshu Mishra
fa8ba330a8
integration: GitLab API should be added for default and should have a protocol
2021-01-18 21:53:51 +01:00
Johan Haals
48f3a5dcae
Update docs
2021-01-15 16:13:19 +01:00
Johan Haals
6037fa75c5
Set accept header and api base url
2021-01-15 10:41:07 +01:00
Johan Haals
065498367d
Find installation after try/catch
2021-01-14 16:37:31 +01:00
Johan Haals
58cb92f91e
Improve installation error message
2021-01-14 13:53:50 +01:00
Johan Haals
ca875e6658
Add docs for GithubAppConfig
2021-01-14 13:53:50 +01:00
Johan Haals
820430b220
Add docs for getCredentials
2021-01-14 13:53:49 +01:00
Johan Haals
779734303b
Improve error for suspended app
2021-01-14 13:53:49 +01:00
Johan Haals
e3ae3c29c5
Update packages/integration/src/github/config.ts
...
Co-authored-by: Fredrik Adelöw <freben@gmail.com >
2021-01-14 13:53:49 +01:00
Johan Haals
d5189471b2
Update packages/integration/src/github/GithubCredentialsProvider.test.ts
...
Co-authored-by: Fredrik Adelöw <freben@gmail.com >
2021-01-14 13:53:49 +01:00
Johan Haals
e64acdad76
Added tests and refactored provider
...
Co-authored-by: blam <ben@blam.sh >
2021-01-14 13:53:48 +01:00
Johan Haals
04ad29ca4e
Make GithubUrlReader use GithubCredentialsProvider
...
Co-authored-by: Fredrik Adelöw <freben@users.noreply.github.com >
2021-01-14 13:53:47 +01:00
Johan Haals
25a5d6bf2f
Refactor GitHubAppManager, add deps & config
2021-01-14 13:53:29 +01:00
Johan Haals
5d20d4bad8
Store installations response
2021-01-14 13:50:13 +01:00
Johan Haals
6437f0adf8
wip
2021-01-14 13:50:13 +01:00
Johan Haals
8c6f35528c
Remove installationHasRepo
2021-01-14 13:50:12 +01:00
Johan Haals
42a1591b65
WIP: Github App manager
2021-01-14 13:50:12 +01:00
Fredrik Adelöw
466354aaa7
integration: build out the integrations class hierarchy
2021-01-11 13:33:43 +01:00
Omer Farooq
3f7bfe7b11
remove url check to support on-prem ADO
2020-12-30 13:11:35 +13:00
mateiidavid
19f5c5e990
Change Gitlab config test to include apiBaseurl
2020-12-16 14:13:54 +00:00
mateiidavid
47930a36f7
Implement readTree for GitlabReader ( #3547 )
...
* This change adds an implementation for the readTree method in GitlabReader.
The implementation is similar to the readTree method in GithubReader
with the exception of the 'path' variable used for subpaths in the
archive. To facilitate this, GitlabIntegrationConfig now has an apiUrl
field which was missing for Gitlab but was present for Bitbucket & GH.
* As part of this change, there are also new tests added to GitlabReader
to mirror what has been done with the GH reader. For now the archive
format chosen is 'zip', follow-up action includes having a look at
whether tar.gz is preferable.
Signed-off-by: Matei David <madavid@expediagroup.com >
2020-12-16 14:13:54 +00:00
Patrik Oldsberg
1da7d2c657
plugins,packages: replace usages of ConfigReader.from
2020-12-15 19:04:50 +01:00