Commit Graph

7729 Commits

Author SHA1 Message Date
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
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
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
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
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
Jussi Hallila 75fc6ac85b Implement Tech Insights backend
* Add common types and interfaces for Tech Insights. Exposing components needed to use and modify tech-insights-backend module and to implement individual Fact Retrievers, Fact Checkers and their persistence options.

* Implement a framework to run fact retrievers and store fact data into the database. Add migration scripts to create a new database for `tech_insights`.

* Create a default implementation of a FactChecker enabling users to construct checks and run them and generate scorecards based on checks.

* To be able to use tech insights in your application you need to implement `FactRetriever`s to retrieve and return data for facts and register them to the tech-insights-backend. If you want to use fact checking functionality, you need to create `check`s and register them to an implementation of a `FactChecker`.

For more information see documentation on the README.md files of the respective packages.

Signed-off-by: Jussi Hallila <jussi@hallila.com>
2021-10-29 15:20:58 +02:00
Patrik Oldsberg 4eb087ccdc techdocs-backend: release schema hotfix
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-10-29 11:03:53 +02:00
Andrew Thauer b45607a2ec fix: make techdocs s3 credentials optional in config schema
Signed-off-by: Andrew Thauer <athauer@wealthsimple.com>
2021-10-28 17:56:59 -04:00
Brian Fletcher 8796c00de8 change return object for broker observe function
Signed-off-by: Brian Fletcher <brian@roadie.io>
2021-10-28 15:15:03 +01:00
github-actions[bot] d66c5f1282 Version Packages 2021-10-28 14:06:43 +00:00
Patrik Oldsberg c9143d2abe Merge pull request #7409 from RoadieHQ/ch3367
Adopt extra field for OAuth state
2021-10-28 16:01:48 +02:00
Xavier Serrano 91f8644f17 Add auth token to KafkaBackendClient via IdentityApi
Signed-off-by: Xavier Serrano <zombispormedio007@gmail.com>
Signed-off-by: Xavier Serrano <xavier.serrano@lansweeper.com>
2021-10-28 14:12:12 +02:00
Brian Fletcher 66b5024b7c only create datastore if needed for the broker
Signed-off-by: Brian Fletcher <brian@roadie.io>
2021-10-28 13:02:28 +01:00
Fredrik Adelöw bb970cf258 Merge pull request #7444 from N-Shar-ma/file-path-split-bug-fix
Fix FileExplorer Path Splitting Bug
2021-10-28 13:41:35 +02:00
Fredrik Adelöw 303543eeb2 Merge pull request #7807 from andrewthauer/custom-location-analyzer
feat: allow custom location analyzer in next catalog builder
2021-10-28 13:19:22 +02:00
Andrew Thauer b9ce1ce2c1 feat: allow custom location analyzer in next catalog builder
Signed-off-by: Andrew Thauer <athauer@wealthsimple.com>
2021-10-27 15:00:48 -04:00
Jeremy Guarini 72e7a87684 add more testing for FileExplorer tests
Signed-off-by: Jeremy Guarini <jguarini@paloaltonetworks.com>
2021-10-27 09:36:30 -07:00
Oliver Sand 106a5dc3ad Restore original casing for kind, namespace and name in DefaultTechDocsCollator
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-10-27 14:30:40 +02:00
Brian Fletcher 93d0ea4612 add api reports changes
Signed-off-by: Brian Fletcher <brian@roadie.io>
2021-10-27 13:18:28 +01:00
Brian Fletcher ab6b7191c5 change test to await the task worker create
Signed-off-by: Brian Fletcher <brian@roadie.io>
2021-10-27 13:08:37 +01:00
Brian Fletcher 3236071136 change name of task worker builder function
also makes it async

Signed-off-by: Brian Fletcher <brian@roadie.io>
2021-10-27 12:59:23 +01:00
Brian Fletcher 2223b6de60 adds a todo message to the router import
Signed-off-by: Brian Fletcher <brian@roadie.io>
2021-10-27 10:55:00 +01:00
Brian Fletcher 5a98c405f5 rename task agent to task manager
Signed-off-by: Brian Fletcher <brian@roadie.io>
2021-10-27 10:49:05 +01:00
Brian Fletcher 50eba2374b revert prettier change to scaffolder examples
Signed-off-by: Brian Fletcher <brian@roadie.io>
2021-10-27 09:16:48 +01:00
Ben Lambert 40681b867d Merge pull request #7738 from kennethzfeng/kfeng.fix-file-mode
plugin/scaffolder: set the file mode in publish:github:pull-request.
2021-10-27 09:30:53 +02:00
Ben Lambert 082a6513f7 Merge pull request #7767 from ellisio/chore-deps-msw
chore(deps): bump msw to v0.35.0
2021-10-27 09:19:20 +02:00
Tim Hansen 70b825d757 Merge pull request #7524 from GunnerStraiker1/entity-type-picker-hidden
EntityTypePicker can be hidden and initially set
2021-10-26 21:46:46 -06:00
Jeremy Guarini 7ea444c78d update filexplorer test
Signed-off-by: Jeremy Guarini <jguarini@paloaltonetworks.com>
2021-10-26 14:47:32 -07:00
Jeremy Guarini b3fb448e7b removed extra line in imports
Signed-off-by: Jeremy Guarini <jguarini@paloaltonetworks.com>
2021-10-26 14:47:32 -07:00
Jeremy Guarini f7a7fdc2af fixed prettier issues with FileExplorer files
Signed-off-by: Jeremy Guarini <jguarini@paloaltonetworks.com>
2021-10-26 14:47:32 -07:00
Victor Perera bd7f1e506c Tests fixed
Signed-off-by: Victor Perera <v-vperera@expediagroup.com>
2021-10-26 16:43:45 -05:00
Brian Fletcher f49099fc13 fix more imports to follow convention
Signed-off-by: Brian Fletcher <brian@roadie.io>
2021-10-26 16:39:53 +01:00
blam d465f2e0af chore: bump the msw package and remove it from test-utils as it's not even needed
Signed-off-by: blam <ben@blam.sh>
2021-10-26 17:13:49 +02:00