Commit Graph

22432 Commits

Author SHA1 Message Date
Mike Ball 4bda7d3045 test warning for incorrect routing key annotation
This adds a test asserting that the correct component
is rendered when the entity `splunk.com/on-call-routing-key`
does not properly map to any associated teams.

Signed-off-by: Mike Ball <mikedball@gmail.com>
2022-02-07 15:56:08 -05:00
Mike Ball 7fa7857d48 correct incorrect team annotation test
Signed-off-by: Mike Ball <mikedball@gmail.com>
2022-02-07 15:56:08 -05:00
Mike Ball f408cabe8f handle invalid Splunk On-Call annotations
If a `splunk.com/on-call-team` annotation is provided and
the API returns no associated team, render...

```
Splunk On-Call API returned no record of teams associated with the "foo" team name
Escalation Policy and incident information unavailable. Splunk On-Call requires a valid team name or routing key.
```

If a `splunk.com/on-call-routing-key` annotation is provided and
the API returns no associated team, render...

```
Splunk On-Call API returned no record of teams associated with the "foo" routing key
Escalation Policy and incident information unavailable. Splunk On-Call requires a valid team name or routing key.
```

Signed-off-by: Mike Ball <mikedball@gmail.com>
2022-02-07 15:56:08 -05:00
Mike Ball 52bb1807db properly render <Missing* /> components
Corrects logic ensuring `<MissingAnnotation />` and `<MissingEventsRestEndpoint />`
render correctly. Previously, neither component would render from
within the `<Content />` component.

Signed-off-by: Mike Ball <mikedball@gmail.com>
2022-02-07 15:56:08 -05:00
Mike Ball 0dfbb30a5d add 1em spacing between each Splunk On-Call card
Signed-off-by: Mike Ball <mikedball@gmail.com>
2022-02-07 15:56:08 -05:00
Mike Ball 4c61bc0cfa render Splunk On-Call card per team
In instances where a `splunk.com/on-call-routing-key`
is provided and that routing key is associated with
multiple teams, the component now renders an individual
Splunk On-Call card for each team.

Signed-off-by: Mike Ball <mikedball@gmail.com>
2022-02-07 15:56:08 -05:00
Mike Ball 70903de879 [wip] support 'splunk.com/on-call-routing-key' annotation
Extends the Splunk On Call plugin Entity card to infer the
corresponding team names from a `splunk.com/on-call-routing-key`
annotation.

This seeks to enable the use of the Splunk On Call plugin on
entity pages for those orgs who associate a component with a
routing key rather than a team name.

Signed-off-by: Mike Ball <mikedball@gmail.com>
2022-02-07 15:56:08 -05:00
Ben Lambert 28cad572ff Merge pull request #9384 from backstage/dependabot/npm_and_yarn/fork-ts-checker-webpack-plugin-7.1.1
chore(deps): bump fork-ts-checker-webpack-plugin from 7.0.0-alpha.11 to 7.1.1
2022-02-07 19:28:46 +01:00
Ben Lambert 89b88a920d Merge pull request #9379 from backjo/feature/AddExpandParamToMsGraphQuery
feat: add optional userExpand parameter for ms graph
2022-02-07 19:27:23 +01:00
Patrik Oldsberg 618366b8a7 Merge pull request #9388 from backstage/rugvip/role-parallel
cli: refactor parallel helpers + limit parallelism
2022-02-07 19:18:15 +01:00
Ben Lambert b5bcc42493 Merge pull request #9366 from backstage/emmaindal/error-page
[ErrorPage] adjust accepted properties
2022-02-07 18:06:21 +01:00
Ben Lambert 424d4d6ef6 Merge pull request #9371 from backstage/rugvip/td-cli-build
techdocs-cli: simplify dev setup and optimize build
2022-02-07 18:05:35 +01:00
blam 7d2ddae27a chore: updated api-report
Signed-off-by: blam <ben@blam.sh>
2022-02-07 18:04:28 +01:00
Patrik Oldsberg 764ee19029 cli: switch to looping parallel workers + fix bump test log ordering
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-02-07 17:59:30 +01:00
blam 8c4f24eb23 chore: bumping the memory limit of the forchore: bumping the memory limit of the ForkTsCheckerWebpackPlugin as it doesn't work without it for the main repo.
Signed-off-by: blam <ben@blam.sh>
2022-02-07 17:43:25 +01:00
Patrik Oldsberg 88ba8f6282 cli: switch out some unbounded parallelism to use worker helper
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-02-07 17:09:48 +01:00
Patrik Oldsberg 872fcca281 cli: refactor parallelism util + new shared worker util
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-02-07 17:09:48 +01:00
Patrik Oldsberg 9d56dabe65 Merge pull request #9258 from backstage/rugvip/role-build
cli: add experimental repo-wide build based on package roles
2022-02-07 17:08:53 +01:00
Patrik Oldsberg 6398f2a3e5 Merge pull request #9393 from backstage/rugvip/lint-root
cli: make lint path output relative to repo root
2022-02-07 17:03:12 +01:00
Ben Lambert 910a7e0dde Merge pull request #9344 from backstage/rugvip/auth-cookies
auth-backend: make it possible to tweak the cookie configuration logic
2022-02-07 16:46:18 +01:00
Patrik Oldsberg b472f1c7b8 Merge pull request #9392 from backstage/rugvip/lint
cli: fix lint invocation
2022-02-07 16:19:43 +01:00
Patrik Oldsberg 50a19ff8dd cli: make lint path output relative to repo root
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-02-07 16:01:37 +01:00
Patrik Oldsberg 3d05c1da92 cli: fix lint invocation
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-02-07 15:18:46 +01:00
Ben Lambert 0d1e74c068 Merge pull request #9389 from backstage/rugvip/lint
cli: tweak lint rules and switch ESLint invocation method
2022-02-07 15:09:28 +01:00
Patrik Oldsberg 2cff0248e1 Merge pull request #9372 from backstage/rugvip/nocopy
use link: rather than file: for local dependencies
2022-02-07 14:40:14 +01:00
Emma Indal dd474f9350 update changeset
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-02-07 14:35:31 +01:00
Ben Lambert 653e98bbe5 Merge pull request #9359 from RoadieHQ/loading-progress-on-task-page
adds progress bar to the task page..
2022-02-07 14:33:14 +01:00
Emma Indal 4922f11fe3 update type from JSX.Element or string to ReactNode + add test for string based prop
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-02-07 14:33:12 +01:00
Ben Lambert d2c379aeab Merge pull request #9247 from backstage/filter-query-params
Respect queryParameter updates in catalog pickers
2022-02-07 13:18:40 +01:00
Patrik Oldsberg d0c71e2aa4 cli: use node API from ESLint to invoke it rather than a subprocess
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-02-07 12:36:36 +01:00
Patrik Oldsberg fae2aee878 cli: remove no-duplicates lint rule
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-02-07 12:27:52 +01:00
Patrik Oldsberg 92abfffe84 cli: deduplicate no-extraneous-dependencies lint rule
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-02-07 12:18:20 +01:00
Fredrik Adelöw caa4e27de0 Merge pull request #9352 from backstage/dependabot/npm_and_yarn/husky-7.0.4
chore(deps-dev): bump husky from 6.0.0 to 7.0.4
2022-02-07 11:33:24 +01:00
Emma Indal a4a777441d [Home] homepage component starred entities (#9378)
* implement starred entities home page component + add to storybook

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* update default template to include starred entities

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* add changeset

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* api report

Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-02-07 11:28:26 +01:00
dependabot[bot] 0c7936af83 chore(deps-dev): bump husky from 6.0.0 to 7.0.4
Bumps [husky](https://github.com/typicode/husky) from 6.0.0 to 7.0.4.
- [Release notes](https://github.com/typicode/husky/releases)
- [Commits](https://github.com/typicode/husky/compare/v6.0.0...v7.0.4)

---
updated-dependencies:
- dependency-name: husky
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-07 09:46:30 +00:00
Fredrik Adelöw 709bc85ca1 Merge pull request #9338 from backstage/freben/ea-no-more
Bunch of random api cleanup
2022-02-07 10:45:37 +01:00
Patrik Oldsberg 87bcdc2366 Merge pull request #9341 from backstage/rugvip/todo-test
todo: switch to routable extension + add test
2022-02-07 10:33:14 +01:00
Johan Haals 6989351d1f Merge pull request #9386 from ljupchokotev/ikea-adopters
Add IKEA IT AB to adopters list
2022-02-07 10:33:04 +01:00
Johan Haals 58835a8c68 Merge pull request #9358 from SDA-SE/chore/add-sda-codeowner
chore: add sda codeowner
2022-02-07 10:32:34 +01:00
Lyupcho Kotev fe0e05ddcf Add IKEA IT AB to adopters list
Signed-off-by: Lyupcho Kotev <ljupcho.kotev@ingka.com>
2022-02-07 10:03:49 +01:00
Ben Lambert 38ae73ac1c Merge pull request #9373 from backstage/rugvip/fallback
core-components: make useSupportConfig fall back to default config when needed
2022-02-07 10:00:42 +01:00
Johan Haals 46301d4dc5 Merge pull request #9382 from backstage/dependabot/npm_and_yarn/types/concat-stream-2.0.0
chore(deps-dev): bump @types/concat-stream from 1.6.1 to 2.0.0
2022-02-07 09:08:01 +01:00
Johan Haals 310887cd40 Merge pull request #9381 from backstage/dependabot/npm_and_yarn/lint-staged-12.3.3
chore(deps-dev): bump lint-staged from 12.2.2 to 12.3.3
2022-02-07 09:07:11 +01:00
dependabot[bot] 3cfd0ac71c chore(deps): bump fork-ts-checker-webpack-plugin
Bumps [fork-ts-checker-webpack-plugin](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin) from 7.0.0-alpha.11 to 7.1.1.
- [Release notes](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/releases)
- [Changelog](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/blob/main/CHANGELOG.md)
- [Commits](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/compare/v7.0.0-alpha.11...v7.1.1)

---
updated-dependencies:
- dependency-name: fork-ts-checker-webpack-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-07 04:36:42 +00:00
dependabot[bot] 599f3dfa83 chore(deps-dev): bump @types/concat-stream from 1.6.1 to 2.0.0
Bumps [@types/concat-stream](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/concat-stream) from 1.6.1 to 2.0.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/concat-stream)

---
updated-dependencies:
- dependency-name: "@types/concat-stream"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-07 04:23:48 +00:00
dependabot[bot] 112d2e1f02 chore(deps-dev): bump lint-staged from 12.2.2 to 12.3.3
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 12.2.2 to 12.3.3.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v12.2.2...v12.3.3)

---
updated-dependencies:
- dependency-name: lint-staged
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-07 04:19:46 +00:00
Jonah Back 9b122a780c feat: add optional userExpand parameter for ms graph
Signed-off-by: Jonah Back <jonah@jonahback.com>
2022-02-06 19:23:26 -08:00
Patrik Oldsberg 9b0f6458b8 cli: refactored build script parser
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-02-05 23:51:31 +01:00
Ben Lambert 411d2a425a Merge pull request #9346 from djamaile/master
fix(scaffolder-backend): use the right key when initializing a Gitlab…
2022-02-05 22:02:00 +01:00
Ben Lambert c0e519529b Merge pull request #9370 from backstage/rugvip/iife
cli: wrap minified code in iife
2022-02-05 19:52:35 +01:00