Commit Graph

4340 Commits

Author SHA1 Message Date
Patrik Oldsberg 117286b313 todo-backend: create layered shell with types and mock
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-03-11 18:02:01 +01:00
Patrik Oldsberg f2bf479e0f todo-backend: initial setup and mock API
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-03-11 18:02:00 +01:00
Patrik Oldsberg e24a8964f6 todo: set up both live and mocked api pages in dev env
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-03-11 18:02:00 +01:00
Patrik Oldsberg 1c04474fe7 todo: implement TodoClient
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-03-11 18:01:37 +01:00
Patrik Oldsberg c6e98956a2 todo: replace example components with TodoList + test
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-03-11 18:01:37 +01:00
Patrik Oldsberg 6ef3bc7d81 todo: add entity page wrapper to dev setup
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-03-11 18:01:37 +01:00
Patrik Oldsberg 2e680b86e7 todo: hook up dev setup
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-03-11 18:01:36 +01:00
Patrik Oldsberg 72f59d5528 todo: add todo api types and empty client
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-03-11 18:01:36 +01:00
Patrik Oldsberg fbf10445af plugins: added todo frontend and backend plugin
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-03-11 18:01:36 +01:00
Fredrik Adelöw 3ece07ee8d Merge pull request #4903 from backstage/freben/errors
Introduce the @backstage/errors package
2021-03-11 17:06:23 +01:00
Patrik Oldsberg 4c597d78a0 Merge pull request #4924 from backstage/mob/graphiql-sidebar
graphiql,app: export icon and avoid routeRef usage in SidebarItem
2021-03-11 16:40:13 +01:00
Patrik Oldsberg 09eb54e014 graphiql,app: export icon and avoid routeRef usage in SidebarItem
Co-authored-by: Juan Lulkin <jmaiz@spotify.com>
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-03-11 16:14:34 +01:00
Patrik Oldsberg 147b4c5b1f user-settings: avoid depending on descriptions from ApiRefs
Co-authored-by: Juan Lulkin <jmaiz@spotify.com>
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-03-11 15:58:37 +01:00
Fredrik Adelöw fda249ff6f fix review comments
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-03-11 14:31:21 +01:00
Fredrik Adelöw 8686eb38cf Introduce the @backstage/errors package.
Encode thrown errors in the backend as a JSON payload using a facility in that package, and render helpful frontend displays of those errors.

Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-03-11 14:31:21 +01:00
github-actions[bot] 0e120c5c66 Version Packages
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-03-11 13:45:44 +01:00
Matthew Clarke e2c1b3fb6a Kubernetes: initial CRD framework (#4892)
* Kubernetes: initial CRD framework

Signed-off-by: mclarke <mclarke@spotify.com>

* use luxon instead of date-fns

Signed-off-by: mclarke <mclarke@spotify.com>

* fix test

Signed-off-by: mclarke <mclarke@spotify.com>

* update ui schema

Signed-off-by: mclarke <mclarke@spotify.com>

* update app config

Signed-off-by: mclarke <mclarke@spotify.com>

* rollout tests

Signed-off-by: mclarke <mclarke@spotify.com>

* add default custom resource component

Signed-off-by: mclarke <mclarke@spotify.com>

* make custom resources optional

Signed-off-by: mclarke <mclarke@spotify.com>

* add docs

Signed-off-by: mclarke <mclarke@spotify.com>

* prettier

Signed-off-by: mclarke <mclarke@spotify.com>

* replace core-api usage with core

Signed-off-by: mclarke <mclarke@spotify.com>
2021-03-11 10:32:41 +00:00
Fredrik Adelöw cbb85fd86e Merge pull request #4904 from backstage/freben/no-dots
Remove all dot-folder imports everywhere
2021-03-10 16:47:13 +01:00
Andrew Thauer 9404c568cf Merge pull request #4890 from andrewthauer/feat/codeowner-kinds
feat(catalog-backend): support more codeownerprocessor kinds
2021-03-10 10:04:30 -05:00
Johan Haals b8f86caa7a Merge pull request #4869 from backstage/mob/actions-list
Scaffolder: Add page displaying available actions
2021-03-10 14:47:46 +01:00
Johan Haals ff1fc49c06 Merge pull request #4889 from backstage/jhaals/better-error
scaffolder: Improve GitHub publishers permission update error message
2021-03-10 14:44:49 +01:00
Johan Haals be140d3b1d Use the same json-schema version as other plugins
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-03-10 14:30:05 +01:00
Johan Haals 843078a5d6 Update description to be consistent
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-03-10 14:29:17 +01:00
Johan Haals 3848bc1cfa Throw error with status included
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-03-10 14:17:27 +01:00
Fredrik Adelöw 702b837b8b Remove all dot-folder imports everywhere
We aren't supposed to import from '.' or '../..' etc; point to the actual node being imported instead. I did allow e.g. '../../bigfolder' however. Going all the way to the individual file could be done too, but is a matter of taste perhaps.

Also ran Organize Imports on all the touched files :)

No changeset since there are no functional changes at all - only the imports changed

Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-03-10 13:43:59 +01:00
Ben Lambert 8416da9ed4 Merge pull request #4881 from lowjoel/fix-aws-credentials-order
Implement proper AWS Credentials precedence
2021-03-10 08:37:33 +01:00
Andrew Thauer 2facfeb956 add domain to allowed codeowner kinds
Signed-off-by: Andrew Thauer <athauer@wealthsimple.com>
2021-03-09 21:46:11 -05:00
Andrew Thauer 9ef5a126d5 feat(catalog-backend): support more codeownerprocessor kinds
Signed-off-by: Andrew Thauer <athauer@wealthsimple.com>
2021-03-09 21:44:17 -05:00
Johan Haals 12cdd556e7 Update plugins/scaffolder-backend/src/scaffolder/stages/publish/github.ts
Signed-off-by: Johan Haals johan.haals@gmail.com

Co-authored-by: Adam Harvey <adam.harvey@dxc.com>
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-03-09 15:42:03 +01:00
Johan Haals 2e57922dea scaffolder: Improve GitHub publishers permission update error message
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-03-09 14:58:14 +01:00
Ben Lambert d471f98c44 Merge pull request #4883 from mclarke47/remove-client-caching
remove kubernetes client caching
2021-03-09 13:56:59 +01:00
Ben Lambert a07ac8fbfb Merge pull request #4823 from backjo/fix/use-aws-sdk-2
fix: use aws sdk v2 for kubernetes aws backend auth
2021-03-09 13:56:06 +01:00
Andrew Thauer 4f3d0dce09 feat(catalog): make other tab list non well known types
Signed-off-by: Andrew Thauer <athauer@wealthsimple.com>
2021-03-09 07:38:22 -05:00
Johan Haals 53a111d238 Add rendering tests
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-03-09 12:46:04 +01:00
Johan Haals cc8072158b format
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-03-09 12:45:51 +01:00
Ben Lambert 278b50f5df Merge pull request #4746 from petergrau/feat/bitriseplugin
feat(bitrise): add bitrise plugin
2021-03-09 11:22:05 +01:00
Johan Haals eaa4fc82ad Update plugins/scaffolder-backend/src/scaffolder/actions/builtin/publish/azure.ts
Signed-off-by: Johan Haals <johan.haals@gmail.com>

Co-authored-by: Fredrik Adelöw <freben@gmail.com>
2021-03-09 11:21:40 +01:00
Johan Haals 83ab18b4a4 Update plugins/scaffolder-backend/src/scaffolder/actions/builtin/publish/bitbucket.ts
Signed-off-by: Johan Haals <johan.haals@gmail.com>

Co-authored-by: Fredrik Adelöw <freben@gmail.com>
2021-03-09 11:21:11 +01:00
Johan Haals 269dba9ff7 Update plugins/scaffolder-backend/src/scaffolder/actions/builtin/catalog/register.ts
Signed-off-by: Johan Haals <johan.haals@gmail.com>

Co-authored-by: Fredrik Adelöw <freben@gmail.com>
2021-03-09 11:20:53 +01:00
Himanshu Mishra 38a8734d89 Merge pull request #4744 from backstage/orkohunter/move-runDockerContainer 2021-03-09 10:47:26 +01:00
Peter Grauvogel 3dbdd1cfd3 feat(bitrise): add bitrise ci plugin
Plugin to show bitrise.io builds and download
build artifacts.

Co-authored-by: Adrian Barwicki <adrian@adrianbarwicki.com>
Co-authored-by: Kai Szybiak <kaiszybiak@gmail.com>
Co-authored-by: Dominik Schwank <dominik.schwank@sda.se>
Signed-off-by: Peter Grauvogel <peter.grauvogel@sda-se.com>
2021-03-09 10:31:46 +01:00
Dominik Henneke 73e0853695 Merge pull request #4836 from SDA-SE/feat/no-cache-app-router
Add a `Cache-Control: no-store` header to the `index.html` response to instruct the browser to not cache the pages
2021-03-09 10:07:47 +01:00
Dominik Henneke bded5a3237 Update comments
Signed-off-by: Dominik Henneke <dominik.henneke@sda-se.com>
2021-03-09 09:56:01 +01:00
Joel Low 2ef5bc7ea1 Implement proper AWS Credentials precedence
This properly configures the precedence for explicit assume-role ARNs,
explicit AWS credentials (via access keys), and the default fallback for
the AWS SDK.

The general precedence of using:
 1. explicitly provided credentials
 2. AWS SDK config (AWS.config.credentials)
 3. AWS SDK credentials provider chain (AWS.config.credentialProviders)

has been respected. This removes the need to explicitly configure
`AWS.config.credentials` in Backstage installations also.

Signed-off-by: Joel Low <joel@joelsplace.sg>
2021-03-09 16:53:15 +08:00
Johan Haals 26e4033070 format
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-03-09 09:24:05 +01:00
Johan Haals 88f2b69850 use classNames
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-03-09 09:23:11 +01:00
mclarke da59f00f5e remove kubernetes client caching
Signed-off-by: mclarke <mclarke@spotify.com>
2021-03-09 08:20:49 +00:00
Johan Haals f6ce3d50f1 Update plugins/scaffolder/src/components/ActionsPage/ActionsPage.tsx
Signed-off-by: Johan Haals <johan.haals@gmail.com>

Co-authored-by: Fredrik Adelöw <freben@gmail.com>
2021-03-09 09:05:18 +01:00
Johan Haals 4c43faa51a Update plugins/scaffolder-backend/src/scaffolder/actions/builtin/fetch/cookiecutter.ts
Signed-off-by: Johan Haals <johan.haals@gmail.com>

Co-authored-by: Fredrik Adelöw <freben@gmail.com>
2021-03-09 09:03:57 +01:00
Johan Haals 2156c26f93 Update plugins/scaffolder/src/api.ts
Signed-off-by: Johan Haals <johan.haals@gmail.com>

Co-authored-by: Adam Harvey <adam.harvey@dxc.com>
2021-03-09 09:02:53 +01:00