Commit Graph

7760 Commits

Author SHA1 Message Date
Joon Park ecdcbd08ee Expose template metadata to custom action handler
Currently, we only expose the template name to satisfy the requirement from the issue, but more can be added easily (as long as the type is expanded accordingly).

Signed-off-by: Joon Park <joonp@spotify.com>
2021-11-14 20:24:20 +00:00
Fredrik Adelöw ad06db6393 Merge pull request #7915 from backstage/freben/kubernetes-config-test
get rid of config loading here too
2021-11-09 11:05:21 +01:00
Fredrik Adelöw afe864b872 get rid of config loading here too
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-11-09 10:35:13 +01:00
Fredrik Adelöw 6160f89865 fake the test config to get rid of the timeouts
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-11-09 10:10:13 +01:00
Fredrik Adelöw 44e97144bf Merge pull request #7889 from jeremyguarini/code_coverage_ui_updates
Minor UI updates to make numbers and dates a bit more human friendly
2021-11-08 21:04:15 +01:00
Jeremy Guarini 1a915b49d4 change luxon version to match others
Signed-off-by: Jeremy Guarini <jguarini@paloaltonetworks.com>
2021-11-08 09:58:17 -08:00
Fredrik Adelöw c0a7f95c87 Merge pull request #7843 from backstage/joonp/nested-entity-search-filter
Allow singleton and flexibly nested EntityFilters
2021-11-08 18:49:43 +01:00
Jeremy Guarini 367e3bf130 updated timestamp conversion to use Luxon and adrs-adr012 guideline, added luxon as dependency
Signed-off-by: Jeremy Guarini <jguarini@paloaltonetworks.com>
2021-11-08 09:29:21 -08:00
Ben Lambert 8aca452b0c Merge pull request #7875 from marleypowell/marley/7641-build-table-story
docs: Created stories for BuildTable component to document different component states.
2021-11-08 17:02:29 +01:00
Joon Park c74834a62d Allow singleton and flexible EntityFilters.
Signed-off-by: Joon Park <joonp@spotify.com>
2021-11-08 15:18:31 +00:00
Joon Park 86bef79ad1 Allow nested EntityFilters
This makes the format of EntityFilters more flexible, and paves the way for the permissions system, which requires composing multiple _collections_ of filters.

Signed-off-by: Joon Park <joonp@spotify.com>
2021-11-08 15:18:31 +00:00
Fredrik Adelöw 5d2cf5c890 Merge pull request #7878 from RoadieHQ/pin-elastic
Pin version of ElasticSearch client to 7.13.0
2021-11-08 16:16:56 +01:00
Ben Lambert 31f00e8015 Merge pull request #7777 from backstage/orkohunter/export-entity-ref-hooks
catalog-react: export loadIdentityOwnerRefs and loadCatalogOwnerRefs all the way
2021-11-08 15:57:14 +01:00
Marley Powell 0c9dd8df51 fix: Added --passWithNoTests flag to package.json.
Signed-off-by: Marley Powell <Marley.Powell@exclaimer.com>
2021-11-08 14:56:16 +00:00
Marley Powell 4634588de3 chore: generated API report.
Signed-off-by: Marley Powell <Marley.Powell@exclaimer.com>
2021-11-08 14:29:50 +00:00
Patrik Oldsberg 43f900430c Merge pull request #7791 from RodionGork/fix/sentry-plugin-pass-id-token
fix: sentry plugin can pass id token
2021-11-08 15:15:09 +01:00
blam 4c780d8651 chore: use named exports instead
Signed-off-by: blam <ben@blam.sh>
2021-11-08 15:14:38 +01:00
Marley Powell 9c76bf58b7 feat: Created new @backstage/plugin-azure-devops-common package for common types.
Signed-off-by: Marley Powell <Marley.Powell@exclaimer.com>
2021-11-08 14:06:44 +00:00
Johan Haals 2bc202bc52 Merge pull request #7887 from lykkeaxlin/ilert-luxon-version
ilert date-io/luxon version change from 2.x to 1.x
2021-11-08 14:04:28 +01:00
Ben Lambert 3d8f70f5de Merge pull request #7862 from jluk-box/scaffolder-backend-modules-api-docs
Improve API docs in Scaffolder action plugins
2021-11-08 11:46:14 +01:00
blam 0aec087ee6 chore: updating API report
Signed-off-by: blam <ben@blam.sh>
2021-11-08 11:00:30 +01:00
blam 064297ea19 chore: adding some documentation for exported things
Signed-off-by: blam <ben@blam.sh>
2021-11-08 10:57:58 +01:00
Patrik Oldsberg 5b6797a20e Merge pull request #7587 from SDA-SE/feat/jenkins-pattern
Don't require a validation pattern for the jenkins base URL
2021-11-08 10:41:11 +01:00
Jeremy Guarini ab27aa313c Minor UI updates to make numbers and dates a bit more human friendly
Signed-off-by: Jeremy Guarini <jguarini@paloaltonetworks.com>
2021-11-04 09:55:30 -07:00
Lykke Axlin bd93a7811b changed @date-io/luxon from 2.x to 1.0 to be compatible with material-ui-pickers
Signed-off-by: Lykke Axlin <lykkeaxlin@hotmail.com>
2021-11-04 16:48:30 +01:00
Dominik Henneke 4a0b9695f8 Merge pull request #7758 from SDA-SE/feat/scaffolder-long-polling
Add a new endpoint for consuming logs from the Scaffolder that uses long polling instead of Server Sent Events
2021-11-04 10:09:21 +01:00
Jussi Hallila 36350bf8b3 Pin version of ElasticSearch client to 7.13.0
Signed-off-by: Jussi Hallila <jussi@hallila.com>
2021-11-03 16:02:22 +01:00
Tim Jacomb bc4cc0d2bf Add index.ts changes
Signed-off-by: Tim Jacomb <tim.jacomb@hmcts.net>
2021-11-03 14:56:31 +00:00
Tim Jacomb 7d95e98682 Add yarn command for installing jenkins-backend plugin
Signed-off-by: Tim Jacomb <tim.jacomb@hmcts.net>
2021-11-03 14:35:39 +00:00
Marley Powell 84ace9a29c docs: Created stories for BuildTable component to document different component states.
Signed-off-by: Marley Powell <Marley.Powell@exclaimer.com>
2021-11-03 09:41:20 +00:00
Dominik Henneke 7c7b0b27cb Adapt code to the refactored classes and types
Signed-off-by: Dominik Henneke <dominik.henneke@sda-se.com>
2021-11-02 13:51:17 +01:00
Dominik Henneke 471b9243de Rename endpoint to /events
Signed-off-by: Dominik Henneke <dominik.henneke@sda-se.com>
2021-11-02 13:15:07 +01:00
Dominik Henneke b45a34fb15 Adds a new endpoint for consuming logs from the Scaffolder that uses long polling instead of Server Sent Events
Signed-off-by: Dominik Henneke <dominik.henneke@sda-se.com>
2021-11-02 13:15:07 +01:00
Dominik Henneke 95a48698bc Add tests for the scaffolder eventstream frontend client
Signed-off-by: Dominik Henneke <dominik.henneke@sda-se.com>
2021-11-02 13:15:06 +01:00
Dominik Henneke 9587f6f7d2 Add tests for the scaffolder eventstream
Signed-off-by: Dominik Henneke <dominik.henneke@sda-se.com>
2021-11-02 13:15:05 +01:00
Jarek Łukow 290fbb3ec2 Improve API docs in Scaffolder action plugins
Signed-off-by: Jarek Łukow <jlukow@box.com>
2021-11-01 11:17:00 +01:00
rodion 311d604bea fix: plugin sentry id token / private method
Signed-off-by: rodion <rodiongork@github.com>
2021-10-31 22:43:24 +03:00
Fredrik Adelöw 8cb04b438d Merge pull request #7816 from zombispormedio/kafka-authenticate-calls
Add auth token to KafkaBackendClient via IdentityApi
2021-10-29 19:50:02 +02:00
Patrik Oldsberg 970e1f37fa Merge pull request #7840 from backstage/rugvip/dedup
user-settings: remove duplicate core-plugin-api dependency
2021-10-29 16:51:53 +02:00
Ben Lambert 142e0458e6 Merge pull request #7426 from RoadieHQ/scaffolder-improvement
changes to allow the task workers run outside the backend process
2021-10-29 16:41:14 +02:00
Patrik Oldsberg 1bbaa719ff user-settings: remove duplicate core-plugin-api dependency
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-10-29 16:10:13 +02:00
Jussi Hallila b863feefbb Address warnings within api-docs
Move extra info on doc to be under remarks block

Signed-off-by: Jussi Hallila <jussi@hallila.com>
2021-10-29 15:20:58 +02:00
Jussi Hallila 9c19d6ad01 Tweak formatting of snippets on README.md files.
Signed-off-by: Jussi Hallila <jussi@hallila.com>
2021-10-29 15:20:58 +02:00
Jussi Hallila 5ebfedd9c2 Add new api-report
Update persistence context to not be wrapped into a useless class. Modify the way test databases are created.

Signed-off-by: Jussi Hallila <jussi@hallila.com>
2021-10-29 15:20:58 +02:00
Jussi Hallila 29faa2ace2 Update cli version
Signed-off-by: Jussi Hallila <jussi@hallila.com>
2021-10-29 15:20:58 +02:00
Jussi Hallila 2b3e959ef4 Modifications after PR review
* Change entity filter to be an actual entity filter instead of a list of kinds or types
* Modify/simplify types a little bit
* Split common type libs to one for node and one isomorphic
* Remove unnecessary items from FactChecker interface to simplify execution loop.

Needs still matching README.md changes.

Signed-off-by: Jussi Hallila <jussi@hallila.com>
2021-10-29 15:20:58 +02:00
Jussi Hallila df000b9596 Address various code review comments.
Signed-off-by: Jussi Hallila <jussi@hallila.com>
2021-10-29 15:20:58 +02:00
Jussi Hallila a1afbe0498 Use a direct custom Error since backstage/errors seems unusable.
Signed-off-by: Jussi Hallila <jussi@hallila.com>
2021-10-29 15:20:58 +02:00
Jussi Hallila b427f4ba0b Modify validation to have a more user friendly API
* Adding a container type to be returned from validate function
* Modifying JsonRulesEngineFactChecker to throw with error information if check addition fails on validation

Signed-off-by: Jussi Hallila <jussi@hallila.com>
2021-10-29 15:20:58 +02:00
Jussi Hallila b2363f3e3b Add explicit type information to checks
Types can be used to:
* Determine which check logic to run
* Determine the correct persistence option to use
* Choose correct ser/deser logic for the check
* Determine correct components to render on the frontend

Modify router API to be post for better usability. The API might end up doing writes if caching etc. is added in later as well.

Modify CheckRegistry & FactChecker to return persisted check when it is registered.

Signed-off-by: Jussi Hallila <jussi@hallila.com>
2021-10-29 15:20:58 +02:00