Commit Graph

18665 Commits

Author SHA1 Message Date
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
Elliot Greenwood 8c4cad0bf2 Add changeset for backstage common
Signed-off-by: Elliot Greenwood <elliot@fundapps.co>
2021-10-29 11:10:26 +01:00
Elliot Greenwood 7e6186cf6b Add NotModifiedError for the AWSS3UrlReader
Signed-off-by: Elliot Greenwood <elliot@fundapps.co>
2021-10-29 11:10:26 +01: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
Matto f7cd672c7f Updated error message
Signed-off-by: Matto <muhamadto@gmail.com>
2021-10-29 16:39:13 +11:00
Muhammad Hamadto d86a5734fd Merge branch 'master' into read-remote-config 2021-10-29 15:26:03 +11:00
Matto 5cce78f968 Resolved conflicts
Signed-off-by: Matto <muhamadto@gmail.com>
2021-10-29 15:16:54 +11: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
Matto e7f4718b40 Merge branch 'resoved-conflicts' into read-remote-config
# Conflicts:
#	packages/backend-common/package.json
#	packages/backend-common/src/config.ts
#	packages/config-loader/api-report.md
#	packages/config-loader/package.json
#	packages/config-loader/src/loader.ts
#	yarn.lock
2021-10-29 15:00:30 +11:00
Matto 5b51907cbf resolved conflicts
Signed-off-by: Matto <muhamadto@gmail.com>
2021-10-29 14:56:31 +11:00
Kenneth Feng a794c341ca add changeset
Signed-off-by: Kenneth Feng <kenneth.feng@onepeloton.com>
2021-10-28 22:20:34 -04:00
Kenneth Feng 83e462c0be plugins/scaffolder-backend: Fix a bug where only file mode 775 is considered executable.
Due to the default umask 002 on Ubuntu, the executable files checked out by Git
have file mode 100775 (33277), which by mistake, was assumed to be the only possible file mode
produced by Git.  This bug was introduced in https://github.com/backstage/backstage/pull/7738.

There are other possible file modes, such as 100700, 100755, which
should be considered executable.  This behavior is consistent with how
Git behaves.  Git only tracks whether a file is executable.

This pull request considers a file to be executable as long as there is
an execute bit in owner, group, or everyone.

Signed-off-by: Kenneth Feng <kenneth.feng@onepeloton.com>
2021-10-28 22:17:05 -04:00
Matto 1cecd737f9 Removed dependency, introduced isValidUrl, and reinstated configPaths
Signed-off-by: Matto <muhamadto@gmail.com>
2021-10-29 12:53:15 +11:00
Matto 8e85a0bca0 Change variable name
Signed-off-by: Matto <muhamadto@gmail.com>
2021-10-29 12:51:11 +11:00
Matto ce843364f0 Remove the dependency on Etag headers for reloading config
Signed-off-by: Matto <muhamadto@gmail.com>
2021-10-29 12:47:18 +11:00
Matto e51740f9c9 Added documentation
Signed-off-by: Matto <muhamadto@gmail.com>
2021-10-29 12:44:07 +11:00
Matto 5d4053c827 Read config from remote config server
Signed-off-by: Matto <muhamadto@gmail.com>
2021-10-29 12:43:53 +11: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
alexcurtin 39e92897e4 Adding API documentation for catalog-client
Signed-off-by: alexcurtin <alexcurtin@gmail.com>
2021-10-28 12:14:45 -07: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
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
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
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
Harry Hogg 7205d37a14 Updated script to create, update and close github issues
Signed-off-by: Harry Hogg <hhogg@spotify.com>
2021-10-28 13:04:14 +01: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 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