Commit Graph

18418 Commits

Author SHA1 Message Date
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
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
Ben Lambert 9d862c6b9f Merge pull request #7819 from backstage/blam/notice
chore: notice for down time
2021-10-28 17:53:46 +02: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
blam 26f758ded5 chore: notice for down time
Signed-off-by: blam <ben@blam.sh>
2021-10-28 16:00:15 +02:00
Johan Haals 71fd5cd735 add changeset
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-10-28 15:54:01 +02:00
Johan Haals f808392183 reference library function
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-10-28 15:54:01 +02:00
Johan Haals 419054c97a Remove usage of deprecated Keyboard class
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-10-28 15:54:01 +02:00
Fredrik Adelöw e45e6e7ca9 Merge pull request #7156 from backstage/mob/redact-secrets-from-logs
backend: redact secret configs from logs
2021-10-28 13:46:50 +02: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 b08e0bcd14 Merge pull request #7805 from tviaud/patch_scaffolder_field_extension_doc
fix: Adding corrected code for custom field extension documentation
2021-10-28 13:19:57 +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
Patrik Oldsberg 5d5cac5b80 Merge pull request #7439 from cmpadden/create-app-path-option
Support optional [path] argument in create-app command-line utility
2021-10-28 13:17:47 +02:00
Patrik Oldsberg aeca02990b Merge pull request #7811 from backstage/dependabot/npm_and_yarn/core-js-3.19.0
build(deps): bump core-js from 3.15.0 to 3.19.0
2021-10-28 12:33:22 +02:00
Patrik Oldsberg 0b00ea6e03 Merge pull request #7810 from backstage/dependabot/npm_and_yarn/webpack-5.60.0
build(deps): bump webpack from 5.48.0 to 5.60.0
2021-10-28 12:33:01 +02:00
Patrik Oldsberg 513d5c78b7 Merge pull request #7809 from backstage/dependabot/npm_and_yarn/rjsf/core-3.2.0
build(deps): bump @rjsf/core from 3.1.0 to 3.2.0
2021-10-28 12:32:47 +02:00
Eric Peterson d3459f581b Merge pull request #7800 from SDA-SE/feat/techdocs-casing-kind
Restore original casing for `kind`, `namespace` and `name` in `DefaultTechDocsCollator`
2021-10-28 11:40:43 +02:00
Fredrik Adelöw f5e45f8bf7 Merge pull request #7804 from backstage/freben/api-backend-common
Just some random improvements in backend-common too
2021-10-28 09:53:21 +02:00
Fredrik Adelöw 0ab984ee9e Merge pull request #7797 from backstage/freben/api-integration-react
Fixing up integration-react as well
2021-10-28 09:51:19 +02:00
dependabot[bot] 12aac2d0f5 build(deps): bump core-js from 3.15.0 to 3.19.0
Bumps [core-js](https://github.com/zloirock/core-js) from 3.15.0 to 3.19.0.
- [Release notes](https://github.com/zloirock/core-js/releases)
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zloirock/core-js/compare/v3.15.0...v3.19.0)

---
updated-dependencies:
- dependency-name: core-js
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-28 04:15:13 +00:00
dependabot[bot] 203665b99b build(deps): bump webpack from 5.48.0 to 5.60.0
Bumps [webpack](https://github.com/webpack/webpack) from 5.48.0 to 5.60.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.48.0...v5.60.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-28 04:12:29 +00:00
dependabot[bot] 328f77f76b build(deps): bump @rjsf/core from 3.1.0 to 3.2.0
Bumps [@rjsf/core](https://github.com/rjsf-team/react-jsonschema-form) from 3.1.0 to 3.2.0.
- [Release notes](https://github.com/rjsf-team/react-jsonschema-form/releases)
- [Changelog](https://github.com/rjsf-team/react-jsonschema-form/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rjsf-team/react-jsonschema-form/compare/v3.1.0...v3.2.0)

---
updated-dependencies:
- dependency-name: "@rjsf/core"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-28 04:11:31 +00: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
Patrik Oldsberg 3eb32aab01 Merge pull request #7802 from RoadieHQ/remove-unused-dep
update d3 dependencies
2021-10-27 20:42:27 +02:00
Colton Padden c9e843547e Create --path directory if it does not already exist
Instead of failing when the specified path does not exist, create it using
`mkdirs`. This ensures that that either the directory already exists, or it's
created.

Signed-off-by: Colton Padden <colton.padden@fastmail.com>
2021-10-27 14:03:28 -04:00
Tim Hansen dedd14b7b3 Merge pull request #7801 from RemonSinnema/patch-1
Fix typo in name
2021-10-27 11:57:37 -06:00
Thomas Viaud 224e545a75 fix: run prettier
Signed-off-by: Thomas Viaud <t.viaud@elsevier.com>
2021-10-27 18:34:57 +01:00
Thomas Viaud 08de4fa957 fix: Adding corrected code documentation for custom field extension
Signed-off-by: Thomas Viaud <t.viaud@elsevier.com>
2021-10-27 18:34:45 +01:00