Commit Graph

15053 Commits

Author SHA1 Message Date
Patrik Oldsberg 48a5dcf9d5 auth-backend: added SignInResolver and ProfileTransform types
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-06-15 13:12:39 +02:00
Patrik Oldsberg 02d2b8681f auth-backend: add getEntityClaims helper that figures out the claims needed to represent an entity
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-06-15 13:12:39 +02:00
Patrik Oldsberg 3430f0d1ff auth-backend: add ent to possible claims in TokenParams
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-06-15 13:12:39 +02:00
Patrik Oldsberg de81880419 auth-backend: refactor CatalogIdentityClient to depend on TokenIssuer directly
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-06-15 13:12:39 +02:00
Patrik Oldsberg dd99f8e380 Merge pull request #6043 from backstage/rugvip/dbfail
backend-common: clarify DB connection error
2021-06-15 12:30:56 +02:00
blam d00a3fcd95 chore: updated API report
Signed-off-by: blam <ben@blam.sh>
2021-06-15 12:24:36 +02:00
blam 14770c4f3a chore: tidy up the app and fix tsc warnings
Signed-off-by: blam <ben@blam.sh>
2021-06-15 12:22:26 +02:00
Crevil 7453511900 Describe publish:github scaffolder action fields
Currently the fields of the publish:github action uses some undocumented
conventions in the repoUrl and access input fields.

This change adds a description to the fields with examples of what to input. The
collaborators description is also expanded a bit to make it more clear that
these are additional compared to access and owner.

Signed-off-by: Crevil <bjoern.soerensen@gmail.com>
2021-06-15 12:13:09 +02:00
blam 34900b0ca6 chore: removing the test usages in the app, and fixing the typings
Co-authored-by: Fredrik Adelöw <freben@users.noreply.github.com>
Co-authored-by: Johan Haals <johan.haals@gmail.com>

Signed-off-by: blam <ben@blam.sh>
2021-06-15 12:09:26 +02:00
blam f547a1473e feat: update the usage of the EntitySwitch to use the new traversal composability API
Co-authored-by: Fredrik Adelöw <freben@users.noreply.github.com>
Co-authored-by: Johan Haals <johan.haals@gmail.com>

Signed-off-by: blam <ben@blam.sh>
2021-06-15 12:09:26 +02:00
blam 04fa2df352 chore: wait for the config api to be loaded first before registering feature featureFlags
Signed-off-by: blam <ben@blam.sh>
2021-06-15 12:09:26 +02:00
blam fdb79d1562 chore: fixing tests for FlatRoutes
Signed-off-by: blam <ben@blam.sh>
2021-06-15 12:09:26 +02:00
blam 00815e520b chore: fixing api-docs and simplifying types a little
Signed-off-by: blam <ben@blam.sh>
2021-06-15 12:09:26 +02:00
blam 6109f32b78 chore: fixing up api-docs exporting
Signed-off-by: blam <ben@blam.sh>
2021-06-15 12:09:26 +02:00
blam 128279fc4f feat: finishing up some other use cases and re-writing some logic with some more tests
Signed-off-by: blam <ben@blam.sh>
2021-06-15 12:09:26 +02:00
blam c92f5dedee feat: reworking the api in favour of with and without for wrapping component
Signed-off-by: blam <ben@blam.sh>
2021-06-15 12:09:26 +02:00
blam 5f4339b8c5 chore: added changeset
Co-authored-by: Johan Haals <johan.haals@gmail.com>

Signed-off-by: blam <ben@blam.sh>
2021-06-15 12:09:26 +02:00
blam 9eb3729706 chore: fixing api-docs generation
Co-authored-by: Johan Haals <johan.haals@gmail.com>

Signed-off-by: blam <ben@blam.sh>
2021-06-15 12:09:26 +02:00
blam 8ddd77544f chore: reworking yarn.lock
Signed-off-by: blam <ben@blam.sh>
2021-06-15 12:09:26 +02:00
blam 124be46a5a chore: resetting yarn lock
Signed-off-by: blam <ben@blam.sh>
2021-06-15 12:09:26 +02:00
blam 31e067d346 chore: actually use the right packages - went and messed up a bit
Signed-off-by: blam <ben@blam.sh>
2021-06-15 12:09:26 +02:00
blam 359a118902 chore: reworking some thigns
Signed-off-by: blam <ben@blam.sh>
2021-06-15 12:09:26 +02:00
blam 969c6750af feat: writing some tests and have a nicer api now
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
Co-authored-by: Fredrik Adelöw <freben@users.noreply.github.com>
Co-authored-by: Johan Haals <johan.haals@gmail.com>

Signed-off-by: blam <ben@blam.sh>
2021-06-15 12:09:25 +02:00
blam 78ccf9ea98 feat: replace implementations of children introspection with our new thing
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
Co-authored-by: Fredrik Adelöw <freben@users.noreply.github.com>
Co-authored-by: Johan Haals <johan.haals@gmail.com>

Signed-off-by: blam <ben@blam.sh>
2021-06-15 12:09:25 +02:00
blam d7f0b0bed6 chore: working through beginning API
Signed-off-by: blam <ben@blam.sh>
2021-06-15 12:09:25 +02:00
blam 794af0de8e feat: more work with the nice API
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
Co-authored-by: Fredrik Adelöw <freben@users.noreply.github.com>
Co-authored-by: Johan Haals <johan.haals@gmail.com>

Signed-off-by: blam <ben@blam.sh>
2021-06-15 12:09:25 +02:00
blam 765632fac7 feat: introduce collection of feature flags and make FlatRoutes treat feature flags as first class citizens
Co-authored-by: Johan Haals <johan.haals@gmail.com>
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
Co-authored-by: Fredrik Adelöw <freben@users.noreply.github.com>

Signed-off-by: blam <ben@blam.sh>
2021-06-15 12:09:25 +02:00
Patrik Oldsberg e5cdf0560f backend-common: clarify DB connection error
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-06-15 11:56:08 +02:00
Johan Haals a0f2f63374 Merge pull request #5901 from backstage/jhaals/legacy-catalog
Catalog: Make the new processing engine the default
2021-06-15 11:40:53 +02:00
Patrik Oldsberg e2261dbec1 Merge pull request #5987 from dortegau/add-ds_store-to-scaffolded-app-gitignore
#5986 Adding .DS_Store to Scaffolded Backstage app .gitignore file
2021-06-15 11:27:16 +02:00
Patrik Oldsberg 3be9904e63 Merge pull request #6027 from backstage/rugvip/pipeline
catalog-backend: introduce TaskPipeline
2021-06-15 11:24:49 +02:00
Dominik Henneke 740503d88f Copy the changes to the core-components packages
Signed-off-by: Dominik Henneke <dominik.henneke@sda-se.com>
2021-06-15 11:10:12 +02:00
Johan Haals 0176d78f27 Merge pull request #6007 from backstage/jhaals/configure-refresh
catalog/next: Make refresh interval configurable
2021-06-15 10:58:46 +02:00
Patrik Oldsberg 97dd250117 Merge pull request #5970 from backstage/dependabot/npm_and_yarn/microsite/yarn-lock-check-1.0.5
chore(deps-dev): bump yarn-lock-check from 1.0.4 to 1.0.5 in /microsite
2021-06-15 10:28:40 +02:00
Patrik Oldsberg 9befb86eda microsite: fix registry in lockfile
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-06-15 10:18:24 +02:00
Vitor Capretz fccbc7d1b6 Fix NaN bug with null end_time
Signed-off-by: Vitor Capretz <capretzvitor@gmail.com>
2021-06-15 09:55:37 +02:00
Johan Haals 0307a28b4a Add changeset for create-app describing upgrade path
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-06-15 09:17:55 +02:00
Johan Haals 9c3840b1ba create-app: Enable new catalog processing engine
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-06-15 09:17:10 +02:00
Brett Wright b94d8ec363 changed quotes
Signed-off-by: Brett Wright <wright.brett@gmail.com>
2021-06-15 08:56:43 +02:00
Brett Wright f7e0acc42a run prettier
Signed-off-by: Brett Wright <wright.brett@gmail.com>
2021-06-15 08:45:23 +02:00
Brett Wright 53c23170b0 Added plugin to marketplace
Signed-off-by: Brett Wright <wright.brett@gmail.com>
2021-06-15 08:42:56 +02:00
dependabot[bot] 74d83e3db1 chore(deps-dev): bump @types/swagger-ui-react from 3.23.3 to 3.35.1
Bumps [@types/swagger-ui-react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/swagger-ui-react) from 3.23.3 to 3.35.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/swagger-ui-react)

---
updated-dependencies:
- dependency-name: "@types/swagger-ui-react"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-15 04:11:54 +00:00
Fredrik Adelöw 0fd483e372 Update GOVERNANCE and OWNERS
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-06-14 20:51:02 +02:00
Fredrik Adelöw ba9fae087b Update the default CODEOWNERS to point to a new reviewers team
THIS IS A PROPOSAL.

Sets the fallback reviewers for pull requests to be a new `reviewers` team, which is a superset of `maintainers`.

The Backstage project sees a very large amount of activity. The project configuration currently has the `maintainers` team set as the gatekeepers of all pull requests, no matter how small or large. This puts pressure on the individual maintainers and can lead to longer lead times than desired.

As Spotify staffs up, and as external contributors move closer to the core of development, I propose that there needs to exist an intermediate step between "general contributor" and "full maintainer".

I propose that the set of people that shall have the rights to approve/merge pull requests is larger than just the maintainers. This would let us reduce pressure on individual maintainers and to expand the team at Spotify in an effective way. We could more easily perform goalie (rotating designated support person) duties with an extended team without using up critical maintainer voting slots.

It is important to note that the reviewers are not expected to behave as maintainers. Issues that are contested, or changes that have significant architectural effects on the code base, shall still be decided upon by maintainers. There is a certain amount of trust involved. This pull request puts the reviewers team at the root of the entire code base, but future tweaks may put the maintainers team as an owner of certain sub-directories if desired, to limit the reviewers' area of influence.

Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-06-14 20:51:02 +02:00
Dominik Henneke 59078de280 Merge pull request #6037 from SDA-SE/feat/bitbucket-public 2021-06-14 20:32:30 +02:00
Eric Peterson e03eaeec3e Fix TechDocs annotation on remaining scaffolder templates.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-06-14 19:19:47 +02:00
Eric Peterson aeed120114 Fix Scaffolder Docs Template
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-06-14 19:19:11 +02:00
Dominik Henneke df3ac03cfb Use the correct parameter to create a public repository in Bitbucket Server.
Signed-off-by: Dominik Henneke <dominik.henneke@sda-se.com>
2021-06-14 18:14:26 +02:00
Dominik Henneke 938aee2fbd Fix the link to the documentation page when no owned documents are displayed
Signed-off-by: Dominik Henneke <dominik.henneke@sda-se.com>
2021-06-14 17:33:55 +02:00
Dominik Henneke d4644f5920 Use the Backstage Link component in the Button
Signed-off-by: Dominik Henneke <dominik.henneke@sda-se.com>
2021-06-14 17:33:55 +02:00