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
Johan Haals
d5fb02775a
Merge pull request #7774 from backstage/msw/usages
...
chore/cli: Replace msw with setupRequestMockHandlers
2021-10-26 15:56:35 +02:00
Brian Fletcher
c754c390ee
fix up exports to follow covention
...
Signed-off-by: Brian Fletcher <brian@roadie.io >
2021-10-26 12:09:54 +01:00
Brian Fletcher
d781df1843
hide workflow runners behind createWorker
...
Also renames legacy and default workflow runners.
Signed-off-by: Brian Fletcher <brian@roadie.io >
2021-10-26 11:34:57 +01:00
Nicolas Arnold
f18755ee49
Using req instead of state
...
Signed-off-by: Nicolas Arnold <nic@roadie.io >
2021-10-26 10:27:18 +01:00
Johan Haals
f1e96dc5b1
chore/cli: Replace msw with setupRequestMockHandlers
...
Signed-off-by: Johan Haals <johan.haals@gmail.com >
2021-10-26 10:54:47 +02:00
Brian Fletcher
45a2a91a31
update api reports after merge
...
Signed-off-by: Brian Fletcher <brian@roadie.io >
2021-10-26 09:49:21 +01:00
Nicolas Arnold
118df0f94d
Merge branch 'backstage:master' into ch3367
2021-10-26 09:48:31 +01:00