Commit Graph

6033 Commits

Author SHA1 Message Date
blam 4b2740332c chore: now we have puppeteer!
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
Tim Hansen e9206f437c Make theme banner warning color optional
Signed-off-by: Tim Hansen <timbonicus@gmail.com>
2021-10-29 13:39:35 -06: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 83cc72f6cb fix
Signed-off-by: Samira Mokaram <samiram@spotify.com>
2021-10-29 17:16:29 +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
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
Alex Rybchenko 7c5f6a0400 added comments
Signed-off-by: Alex Rybchenko <arybchenko@box.com>
2021-10-29 16:15:07 +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 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 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 7e6186cf6b Add NotModifiedError for the AWSS3UrlReader
Signed-off-by: Elliot Greenwood <elliot@fundapps.co>
2021-10-29 11:10:26 +01: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
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
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
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
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 5d4053c827 Read config from remote config server
Signed-off-by: Matto <muhamadto@gmail.com>
2021-10-29 12:43:53 +11:00
alexcurtin 39e92897e4 Adding API documentation for catalog-client
Signed-off-by: alexcurtin <alexcurtin@gmail.com>
2021-10-28 12:14:45 -07:00
github-actions[bot] d66c5f1282 Version Packages 2021-10-28 14:06:43 +00: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
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
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
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
Alex Rybchenko ab451ef227 updated RoutedTabs.test
Signed-off-by: Alex Rybchenko <arybchenko@box.com>
2021-10-27 17:12:49 +02:00
Brian Fletcher 54dac6d2d1 re-introduce updated version of d3 libs
Signed-off-by: Brian Fletcher <brian@roadie.io>
2021-10-27 15:39:09 +01:00
Fredrik Adelöw 96cfa561eb Just some random improvements in backend-common too
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-10-27 16:25:23 +02:00
Ben Lambert e31a4b5fd2 Merge pull request #7770 from backstage/dependabot/npm_and_yarn/typescript-json-schema-0.51.0
build(deps): bump typescript-json-schema from 0.50.1 to 0.51.0
2021-10-27 16:15:24 +02:00
Brian Fletcher 806c2a7568 removes unused d3-zoom dep
Signed-off-by: Brian Fletcher <brian@roadie.io>
2021-10-27 15:10:51 +01:00
dependabot[bot] 2fdf3119d3 build(deps): bump typescript-json-schema from 0.50.1 to 0.51.0
Bumps [typescript-json-schema](https://github.com/YousefED/typescript-json-schema) from 0.50.1 to 0.51.0.
- [Release notes](https://github.com/YousefED/typescript-json-schema/releases)
- [Commits](https://github.com/YousefED/typescript-json-schema/compare/v0.50.1...v0.51.0)

---
updated-dependencies:
- dependency-name: typescript-json-schema
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-27 15:19:24 +02:00
dependabot[bot] 6364c3d6ff build(deps): bump @spotify/eslint-config-base from 9.0.2 to 12.0.0
Bumps [@spotify/eslint-config-base](https://github.com/spotify/web-scripts) from 9.0.2 to 12.0.0.
- [Release notes](https://github.com/spotify/web-scripts/releases)
- [Changelog](https://github.com/spotify/web-scripts/blob/master/CHANGELOG.md)
- [Commits](https://github.com/spotify/web-scripts/compare/v9.0.2...v12.0.0)

---
updated-dependencies:
- dependency-name: "@spotify/eslint-config-base"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-27 12:43:19 +00:00
Alex Rybchenko 021986e8a3 fixed route resolving
Signed-off-by: Alex Rybchenko <arybchenko@box.com>
2021-10-27 13:11:28 +02:00
Fredrik Adelöw 36e2b548cb Fixing up integration-react as well
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-10-27 11:51:43 +02:00
Matto a57927f5d5 Removed dependency, introduced isValidUrl, and reinstated configPaths
Signed-off-by: Matto <muhamadto@gmail.com>
2021-10-27 20:33:33 +11:00
Fredrik Adelöw 52ebd2d3a0 Merge pull request #7796 from backstage/freben/api-more-theme
More theme API cleanup
2021-10-27 10:41:13 +02:00
Fredrik Adelöw a3540dd9c2 Merge pull request #7782 from backstage/freben/api-integration-etc
more api fixes, in integration and theme
2021-10-27 09:52:23 +02:00