Commit Graph

18464 Commits

Author SHA1 Message Date
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
Patrik Oldsberg 4eb087ccdc techdocs-backend: release schema hotfix
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-10-29 11:03:53 +02:00
Patrik Oldsberg 09217edd88 Merge pull request #7827 from andrewthauer/optional-techdocs-aws-config
fix: make techdocs s3 credentials optional in config schema
2021-10-29 10:50:30 +02:00
djamaile 2406f82644 docs(#7768): include dependsOn to depict a relation between a component and resource
Signed-off-by: djamaile <rdjamaile@gmail.com>
2021-10-29 10:32:04 +02:00
Johan Haals e3d9a4b380 Merge pull request #7832 from backstage/dependabot/npm_and_yarn/roadiehq/backstage-plugin-github-insights-1.2.2
build(deps): bump @roadiehq/backstage-plugin-github-insights from 1.1.23 to 1.2.2
2021-10-29 09:34:40 +02:00
Johan Haals dfa73c5701 Merge pull request #7814 from backstage/remove-keyboardjs-usage
Remove usage of deprecated Keyboard class
2021-10-29 08:37:18 +02:00
Fredrik Adelöw 411540af6f Merge pull request #7831 from backstage/dependabot/npm_and_yarn/azure/msal-node-1.3.2
build(deps): bump @azure/msal-node from 1.2.0 to 1.3.2
2021-10-29 08:11:35 +02:00
dependabot[bot] 547b902b68 build(deps): bump @roadiehq/backstage-plugin-github-insights
Bumps [@roadiehq/backstage-plugin-github-insights](https://github.com/RoadieHQ/roadie-backstage-plugins/tree/HEAD/plugins/frontend/backstage-plugin-github-insights) from 1.1.23 to 1.2.2.
- [Release notes](https://github.com/RoadieHQ/roadie-backstage-plugins/releases)
- [Changelog](https://github.com/RoadieHQ/roadie-backstage-plugins/blob/main/plugins/frontend/backstage-plugin-github-insights/docs/releases-widget.png)
- [Commits](https://github.com/RoadieHQ/roadie-backstage-plugins/commits/HEAD/plugins/frontend/backstage-plugin-github-insights)

---
updated-dependencies:
- dependency-name: "@roadiehq/backstage-plugin-github-insights"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-29 04:12:33 +00:00
dependabot[bot] 4316c9632e build(deps): bump @azure/msal-node from 1.2.0 to 1.3.2
Bumps [@azure/msal-node](https://github.com/AzureAD/microsoft-authentication-library-for-js) from 1.2.0 to 1.3.2.
- [Release notes](https://github.com/AzureAD/microsoft-authentication-library-for-js/releases)
- [Commits](https://github.com/AzureAD/microsoft-authentication-library-for-js/compare/v1.2.0...v1.3.2)

---
updated-dependencies:
- dependency-name: "@azure/msal-node"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-29 04:09:55 +00: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
Fredrik Adelöw 3db0cb3683 Merge pull request #7736 from backstage/changeset-release/master
Version Packages
2021-10-28 17:57:04 +02:00