Commit Graph

17187 Commits

Author SHA1 Message Date
Patrik Oldsberg 9325075eea app,create-app: add ScmAuth to app APIs
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-09-23 15:02:27 +02:00
Patrik Oldsberg 1935b98a43 integration-react: add ScmAuth.createDefaultApiFactory
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-09-23 15:02:27 +02:00
Patrik Oldsberg be1cb7441f integration-react: switch ScmAuth to handle scopes additively
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-09-23 15:02:27 +02:00
Patrik Oldsberg 6972645ce7 integration-react: update API report
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-09-23 15:02:27 +02:00
Patrik Oldsberg 2822835bcc integration-react: document ScmAuth static methods
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-09-23 15:02:27 +02:00
Patrik Oldsberg 827fdcae17 integration-react: rename ScmAuth.mux to merge
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-09-23 15:02:27 +02:00
Patrik Oldsberg 72851acc4a integration-react: cover url handling in ScmAuth with tests
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-09-23 15:02:26 +02:00
Patrik Oldsberg 7f0aa89786 integration-react: more tests for ScmAuth + some redesign
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-09-23 15:02:26 +02:00
Patrik Oldsberg 41d129304a integration-react: initial ScmAuth test
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-09-23 15:02:26 +02:00
Patrik Oldsberg df99f264b3 integration-react: rework ScmAuthApi scopes and avoid a layer in the ScmAuthMux
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-09-23 15:02:26 +02:00
Patrik Oldsberg d84050d048 integration-react: initial ScmAuthMux implementation
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-09-23 15:02:26 +02:00
Patrik Oldsberg 33b2dc7ab8 integrations-react: add ScmAuthApi
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-09-23 15:02:24 +02:00
Patrik Oldsberg 988b9fe979 Merge pull request #7299 from backstage/rugvip/pick
auth-backend: explicit pickBy type
2021-09-23 15:01:49 +02:00
Patrik Oldsberg 419835047a Merge pull request #7297 from SDA-SE/feat/link-support-button
Rely on the default `Link` behavior for opening external links in a new window in the `SupportButton`
2021-09-23 14:53:44 +02:00
Johan Haals 1b271e1677 chore: rebase/combine tests
Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-09-23 14:53:24 +02:00
Patrik Oldsberg 81d3f28e71 catalog-backend: update API report
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-09-23 14:50:40 +02:00
Patrik Oldsberg b0e1aa7620 catalog-backend: add scoped readLocation cache
Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Co-authored-by: blam <ben@blam.sh>
Co-authored-by: Johan Haals <johan.haals@gmail.com>
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-09-23 14:50:40 +02:00
Patrik Oldsberg 69acb4e7ba catalog-backend: separated out state writing + give state a ttl
Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Co-authored-by: blam <ben@blam.sh>
Co-authored-by: Johan Haals <johan.haals@gmail.com>
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-09-23 14:50:38 +02:00
Patrik Oldsberg b562c68091 catalog-backend: use inlined local type for cache items
Co-authored-by: blam <ben@blam.sh>
Co-authored-by: Johan Haals <johan.haals@gmail.com>
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-09-23 14:49:35 +02:00
Patrik Oldsberg 2be9a2c167 catalog-backend: switch cache to persist items unless new ones are written
Co-authored-by: blam <ben@blam.sh>
Co-authored-by: Johan Haals <johan.haals@gmail.com>
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-09-23 14:49:32 +02:00
Patrik Oldsberg 029d8130c1 catalog-backend: fix merge conflict
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-09-23 14:47:50 +02:00
Patrik Oldsberg c65552b3b7 catalog-backend: include cache state in processing result hash
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-09-23 14:47:50 +02:00
Patrik Oldsberg f0649d43e5 catalog-backend: review fixes
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-09-23 14:47:50 +02:00
Patrik Oldsberg f8a515a790 catalog-backend: added some basic tests for the default orchestrator
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-09-23 14:47:48 +02:00
Patrik Oldsberg 0c7a2a36ed yarn.lock: deduplicate @types/react
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-09-23 14:44:38 +02:00
Patrik Oldsberg 1572d02b63 catalog-backend: add changeset for caching + update API report
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-09-23 14:44:01 +02:00
Patrik Oldsberg c9c284b0e0 catalog-backend: split out ProcessorCacheManager and add tests
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-09-23 14:43:59 +02:00
Patrik Oldsberg 33333c9416 catalog-backend: implement caching in the processing orchestrator
Co-authored-by: Johan Haals <johan.haals@gmail.com>
Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Co-authored-by: blam <ben@blam.sh>
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-09-23 14:42:52 +02:00
Patrik Oldsberg ec2cc1ec56 catalog-backend: add tests for UrlReaderProcessor caching
Co-authored-by: Johan Haals <johan.haals@gmail.com>
Co-authored-by: blam <ben@blam.sh>
Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-09-23 14:42:19 +02:00
Patrik Oldsberg d94b7c3dce catalog-backend: inital implementation of caching in UrlReaderProcessor + types
Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Co-authored-by: blam <ben@blam.sh>
Co-authored-by: Johan Haals <johan.haals@gmail.com>
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-09-23 14:42:19 +02:00
Patrik Oldsberg 94445f8575 Merge pull request #7291 from backstage/dependabot/npm_and_yarn/logform-2.3.0
build(deps): bump logform from 2.2.0 to 2.3.0
2021-09-23 14:35:39 +02:00
Patrik Oldsberg 80ab3c25ad auth-backend: explicit pickBy type
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-09-23 14:16:39 +02:00
Fredrik Adelöw 5bd9aef16e Merge pull request #7296 from backstage/freben/core
remove some occurrences of the old core in docs etc
2021-09-23 14:06:30 +02:00
Patrik Oldsberg ce530f3e53 yarn.lock: deduplicate @types/react
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-09-23 14:05:09 +02:00
Dominik Henneke 9c3cb8d4e2 Rely on the default Link behavior for opening external links in a new window in the SupportButton
Signed-off-by: Dominik Henneke <dominik.henneke@sda-se.com>
2021-09-23 14:02:39 +02:00
dependabot[bot] 9f4552ec0d build(deps): bump logform from 2.2.0 to 2.3.0
Bumps [logform](https://github.com/winstonjs/logform) from 2.2.0 to 2.3.0.
- [Release notes](https://github.com/winstonjs/logform/releases)
- [Changelog](https://github.com/winstonjs/logform/blob/master/CHANGELOG.md)
- [Commits](https://github.com/winstonjs/logform/compare/v2.2.0...v2.3.0)

---
updated-dependencies:
- dependency-name: logform
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-23 13:47:20 +02:00
Fredrik Adelöw 07bd9068b4 Merge pull request #7290 from backstage/dependabot/npm_and_yarn/microsite/spotify/prettier-config-12.0.0
build(deps-dev): bump @spotify/prettier-config from 11.0.0 to 12.0.0 in /microsite
2021-09-23 13:24:34 +02:00
Fredrik Adelöw 3f8db2b64d remove some occurrences of the old core in docs etc
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-09-23 13:20:23 +02:00
Patrik Oldsberg 2fd2dbc5d2 Merge pull request #7209 from backstage/changeset-release/master
Version Packages
2021-09-23 13:18:36 +02:00
github-actions[bot] 6e5b1bda9d Version Packages 2021-09-23 10:01:17 +00:00
Fredrik Adelöw 9314de0b85 Merge pull request #7283 from backstage/grantila/allow-more-characters-in-tags
Loosen catalog constraints on entity tag string validity.
2021-09-23 11:54:36 +02:00
Fredrik Adelöw ccaafec13b Merge pull request #7270 from backstage/freben/enforce-better
Apply the rules enforcer, based on origin location
2021-09-23 11:51:57 +02:00
Dominik Henneke a1935038e8 Merge pull request #7277 from SDA-SE/feat/export-domain-card
Export the `DomainCard` to be able to customize the explorer page
2021-09-23 11:35:59 +02:00
Fredrik Adelöw 8fe211e885 fixup
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-09-23 10:49:06 +02:00
Patrik Oldsberg e1c141a2d5 Merge pull request #7292 from backstage/dependabot/npm_and_yarn/lint-staged-11.1.2
build(deps-dev): bump lint-staged from 10.2.11 to 11.1.2
2021-09-23 10:35:51 +02:00
Johan Haals cc23d52066 Merge pull request #7289 from vaimo-magnus/patch-1
Add Vaimo to ADOPTERS.md
2021-09-23 10:34:48 +02:00
Fredrik Adelöw f7b5623c88 Merge pull request #6615 from barticus/feature/bitbucket-cloud-discovery
Bitbucket cloud discovery support
2021-09-23 10:19:07 +02:00
Fredrik Adelöw 52f023e28a Merge pull request #7262 from dehamzah/allow-yml-in-gitlab-processor
Allow url with extension .yml in gitlab processor
2021-09-23 09:36:53 +02:00
Fredrik Adelöw 41790a7168 split up the enforcer into type + class and fix the api exports
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-09-23 09:36:12 +02:00
Fredrik Adelöw 08600d0368 fix spelling
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-09-23 08:56:20 +02:00