Commit Graph

18474 Commits

Author SHA1 Message Date
Himanshu Mishra 7d64e37afa Merge pull request #7877 from timja/patch-1
Add yarn command for installing jenkins-backend plugin
2021-11-04 13:10:44 +05:30
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
Tim Hansen f669d062bd Merge pull request #7864 from volvofinans/add-volvofinans-adopter
Add Volvofinans
2021-11-02 20:52:04 -06:00
Hammar Johan 0f4619cb4d Add Volvofinans
Signed-off-by: Hammar Johan <johan.hammar@volvofinans.se>
2021-11-01 12:50:42 +01:00
Fredrik Adelöw cd646b55a9 Merge pull request #7850 from hrithiksawhney/master
Added 'Blessed' icons for core plugins
2021-10-31 18:49:30 +01:00
hrithiksawhney 78c512ce8f added 'Blessed' icons for core plugins
Signed-off-by: hrithiksawhney <hrithik11400.sawhney@gmail.com>
2021-10-31 19:44:21 +05:30
Fredrik Adelöw e527120f74 Merge pull request #7820 from backstage/blam/e2e-test-with-puppeteer
e2e tests with puppeteer?
2021-10-30 15:35:08 +02:00
blam 5b43ae3b5e chore: finally got it working now right?
Signed-off-by: blam <ben@blam.sh>
2021-10-30 13:11:01 +02:00
blam 08724f0bc7 chore: actually check the text in stderr to make sure that it's something that we don't expect
Signed-off-by: blam <ben@blam.sh>
2021-10-30 13:11:01 +02:00
blam fbbc73ac7d chore: fixing prettier
Signed-off-by: blam <ben@blam.sh>
2021-10-30 13:11:01 +02:00
blam 0f254f45a5 chore: removing postgres env for now
Signed-off-by: blam <ben@blam.sh>
2021-10-30 13:11:01 +02:00
Ben Lambert 8535bbd53c Update run.ts
Signed-off-by: Ben Lambert <blam@spotify.com>
2021-10-30 13:11:00 +02:00
blam 9e3b76f86a chore: revert some accidental additions
Signed-off-by: blam <ben@blam.sh>
i
2021-10-30 13:11:00 +02:00
blam 614fd12ad0 chore: wrap up the killTree?
Signed-off-by: blam <ben@blam.sh>
2021-10-30 13:11:00 +02:00
blam fc6c990cc9 chore: this time, I promise. I fixed it. Sorted out all the scoping stuff for the hacky stuff that evaluate does with .toString
Signed-off-by: blam <ben@blam.sh>
2021-10-30 13:11:00 +02:00
blam bb5fe02de3 chore: don't need escaped text now as it's actually a function call like all good javascripts
Signed-off-by: blam <ben@blam.sh>
2021-10-30 13:11:00 +02:00
blam 03f368f740 chore: finally made it work
Signed-off-by: blam <ben@blam.sh>
2021-10-30 13:11:00 +02:00
blam 4b2740332c chore: now we have puppeteer!
Signed-off-by: blam <ben@blam.sh>
2021-10-30 13:11:00 +02:00
blam e3ef16366e chore: setup chrome in the e2e containers
Signed-off-by: blam <ben@blam.sh>
2021-10-30 13:11:00 +02:00
blam 1078543bc1 chore: run the lock!
Signed-off-by: blam <ben@blam.sh>
2021-10-30 13:11:00 +02:00
blam 15a205a804 chore: puppeteer!
Signed-off-by: blam <ben@blam.sh>
2021-10-30 13:11:00 +02:00
Patrik Oldsberg 69ed2d590e Merge pull request #7841 from backstage/rugvip/packsafe
cli: dynamically determine which packages are unsafe to repack
2021-10-30 12:46:18 +02:00
Fredrik Adelöw c3cb126a9d Merge pull request #7835 from djamaile/master
docs(#7768): include dependsOn to depict a relation between a component a resource
2021-10-29 21:09:11 +02: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
samiramkr 03b0e9eda0 Merge pull request #7842 from backstage/samiramkr/add-warning
add warning to dismissableBanner
2021-10-29 18:51:52 +02:00
Samira Mokaram a300f19a93 add api-report
Signed-off-by: Samira Mokaram <samiram@spotify.com>
2021-10-29 17:45:54 +02:00
Samira Mokaram c493f261e2 fix changeset
Signed-off-by: Samira Mokaram <samiram@spotify.com>
2021-10-29 17:32:36 +02:00
Samira Mokaram 83cc72f6cb fix
Signed-off-by: Samira Mokaram <samiram@spotify.com>
2021-10-29 17:16:29 +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
Samira Mokaram c11a37710a add changeset
Signed-off-by: Samira Mokaram <samiram@spotify.com>
2021-10-29 16:51:32 +02:00
Samira Mokaram f1903c7167 add warning to dismissableBanner
Signed-off-by: Samira Mokaram <samiram@spotify.com>
2021-10-29 16:47:02 +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
Fredrik Adelöw f9ef0eae16 Merge pull request #7679 from RoadieHQ/tech-insights-backend
Implement Tech Insights backend
2021-10-29 16:24:57 +02:00
Patrik Oldsberg dd355bca46 cli: dynamically determine which packages are unsafe to repack
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-10-29 16:17:47 +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 da4577d731 Un-yikesify example FactRetriever cron to not pollute the DB
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
Eric Peterson bb1539a89f Merge pull request #7837 from backstage/techdocs/bump-container-v035
[TechDocs] Bump container to v0.3.5
2021-10-29 12:20:43 +02:00
Patrik Oldsberg cf686e366d Merge pull request #7836 from backstage/rugvip/hotfix
techdocs-backend: release schema hotfix
2021-10-29 11:51:19 +02:00
Eric Peterson 6129c89a47 Bump TechDocs container to v0.3.5.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-10-29 11:48:39 +02:00