Commit Graph

463 Commits

Author SHA1 Message Date
Otto Sichert 731e9293bd Merge pull request #6335 from backstage/iameap/techdocs-cache
[TechDocs] Optional static resource caching
2021-12-06 10:38:30 +01:00
github-actions[bot] 29f2606ed9 Version Packages 2021-12-02 12:35:24 +00:00
Eric Peterson 5fe0c2ce78 Wire up example backend to use in-memory cache.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-11-28 13:16:04 -07:00
MT Lewis 456bcce6ca Merge pull request #7943 from backstage/natasha/b2b-auth
Support backend to backend authentication
2021-11-26 15:31:52 +00:00
github-actions[bot] ef34f5de7b Version Packages 2021-11-25 12:40:52 +00:00
Fredrik Adelöw 42ebbc18c0 get both gitbeaker packages bumped, and add changeset
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-11-24 14:21:45 +01:00
dependabot[bot] e99db76f6a build(deps): bump @gitbeaker/node from 30.3.0 to 34.4.1
Bumps [@gitbeaker/node](https://github.com/jdalrymple/gitbeaker) from 30.3.0 to 34.4.1.
- [Release notes](https://github.com/jdalrymple/gitbeaker/releases)
- [Changelog](https://github.com/jdalrymple/gitbeaker/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jdalrymple/gitbeaker/compare/30.3.0...34.4.1)

---
updated-dependencies:
- dependency-name: "@gitbeaker/node"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-24 14:19:24 +01:00
Mike Lewis 14a6c46dff Merge remote-tracking branch 'origin/master' into natasha/b2b-auth
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2021-11-22 18:22:57 +00:00
Nataliya Issayeva 83aa387b62 Default to noop tokenManager and no backend secret
Signed-off-by: Nataliya Issayeva <nissayeva@users.noreply.github.com>
2021-11-18 07:57:53 -08:00
Nataliya Issayeva 9cbb3cf908 Remove auth middleware
Signed-off-by: Nataliya Issayeva <nissayeva@users.noreply.github.com>
2021-11-18 07:57:52 -08:00
Nataliya Issayeva b38d77f4f0 Change AuthIdentityTokenManager to ServerTokenManager
Co-authored-by: Joe Porpeglia <joeporpeglia@users.noreply.github.com>
Co-authored-by: Tim Hansen <timbonicus@gmail.com>
Signed-off-by: Nataliya Issayeva <nissayeva@users.noreply.github.com>
2021-11-18 07:56:42 -08:00
Nataliya Issayeva 8ceffe5f98 Use backend secret from config
Signed-off-by: Nataliya Issayeva <nissayeva@users.noreply.github.com>
2021-11-18 07:55:26 -08:00
Nataliya Issayeva 2533294ec1 Static create and private constructor not really needed
Signed-off-by: Nataliya Issayeva <nissayeva@users.noreply.github.com>
2021-11-18 07:55:26 -08:00
Nataliya Issayeva f3d9de436f Make tokenManager constructor private and add static create method
Signed-off-by: Nataliya Issayeva <nissayeva@users.noreply.github.com>
2021-11-18 07:55:26 -08:00
Joe Porpeglia 2a320c21b4 Pass auth token from document collators
Co-authored-by: Nataliya Issayeva <nissayeva@users.noreply.github.com>
Co-authored-by: Tim Hansen <timbonicus@gmail.com>
Signed-off-by: Joe Porpeglia <josephp@spotify.com>
2021-11-18 07:55:25 -08:00
Nataliya Issayeva 657a6a0b8e Add code to enable authorization
Signed-off-by: Nataliya Issayeva <nissayeva@users.noreply.github.com>
2021-11-18 07:55:25 -08:00
Otto Sichert b23bc7f9c3 Change default port of backend to 7007 due to MacOS Control Center update
Signed-off-by: Otto Sichert <git@ottosichert.de>
2021-11-18 16:45:57 +01:00
github-actions[bot] 99bf179ccf Version Packages 2021-11-18 11:52:08 +00:00
Ben Lambert e72b1b83c8 Merge pull request #8122 from backstage/blam/sec/dockerode
Bumping testcontainers + dockerode
2021-11-18 12:18:17 +01:00
blam 92f87a9a16 chore: fixing dockerode
Signed-off-by: blam <ben@blam.sh>
2021-11-18 10:52:37 +01:00
blam fb4377ac53 chore: updating the bump in package.jsons too as it a security risk for the ssh2 packages
Signed-off-by: blam <ben@blam.sh>
2021-11-17 21:32:43 +01:00
Iain Billett ccc8a7ff5d Split fact retrievers
Split fact retriever into severeal more specialised retrievers.
Ditch the dynamic addition of annotation facts in favour of
explicit annotation facts. Having dynamic facts makes the
versioning system somewhat meaningless.

Signed-off-by: Iain Billett <iain@roadie.io>
2021-11-17 15:22:01 +00:00
Iain Billett d4a3dbb75b Expose catalogFactRetriever & configure in backend
Signed-off-by: Iain Billett <iain@roadie.io>
2021-11-15 18:33:29 +00:00
Fredrik Adelöw b46cd73035 Merge pull request #7612 from backstage/freben/recurring-tasks
Add support for distributed tasks
2021-11-12 14:32:30 +01:00
Fredrik Adelöw 222793c849 do not modify the backend yet
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-11-11 20:21:51 +01:00
Fredrik Adelöw d4f412fcd3 Get most of the task worker code into place
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-11-11 20:21:51 +01:00
Fredrik Adelöw d088c7f0a3 Implement the locks part of the task manager
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-11-11 20:21:49 +01:00
Fredrik Adelöw 9010cdc4d7 add snyk ignores for the node-gyp tar vuln
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-11-11 19:59:13 +01:00
github-actions[bot] 3369ade8c0 Version Packages 2021-11-11 11:07:58 +00: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
github-actions[bot] bf5090e59d Version Packages 2021-10-21 13:28:13 +00:00
github-actions[bot] 4c840cebfa Version Packages 2021-10-14 12:45:08 +00:00
Fredrik Adelöw d2bf8ca90d Merge pull request #7484 from awanlin/awanlin/azure-devops-frontend-plugin
Adding Azure DevOps frontend plugin
2021-10-13 12:30:39 +02:00
Morgan Martinet a982e166c5 Enable customization of services used by the kubernetes backend plugin
Signed-off-by: Morgan Martinet <morgan@mmm-experts.com>
2021-10-12 00:59:04 -04:00
Andre Wanlin e290590517 Applied suggested async and await changes
Signed-off-by: Andre Wanlin <awanlin@rapidrtc.com>
2021-10-11 15:12:49 -05:00
Andre Wanlin 0b0876b0da Another set of feedback improvements
Signed-off-by: Andre Wanlin <awanlin@rapidrtc.com>
2021-10-11 15:12:49 -05:00
Patrik Oldsberg eaca0f53fb backend,create-app: install ScaffolderEntitiesProcessor
Co-authored-by: Johan Haals <johan.haals@gmail.com>
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-10-10 20:36:01 +02:00
github-actions[bot] 97420439e1 Version Packages 2021-10-07 12:17:39 +00:00
github-actions[bot] f67e8ddcec Version Packages 2021-09-30 11:43:05 +00:00
Andre Wanlin e7d9bbb6a8 Fixed dependencies casuing the build to fail
Signed-off-by: Andre Wanlin <awanlin@rapidrtc.com>
2021-09-26 10:44:54 -05:00
Andre Wanlin 2f5e0c5272 Adding Azure DevOps backend plugin
Signed-off-by: Andre Wanlin <awanlin@rapidrtc.com>
2021-09-25 10:36:34 -05:00
github-actions[bot] 6e5b1bda9d Version Packages 2021-09-23 10:01:17 +00:00
Patrik Oldsberg d0a47c8605 move to node 14 & 16
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-09-17 23:03:29 +02:00
Fredrik Adelöw e42a4ed29a Merge pull request #7171 from backstage/mob/refresh-catalog
Catalog: Add API endpoint for refreshing entities
2021-09-16 14:24:55 +02:00
github-actions[bot] fff5c48429 Version Packages 2021-09-16 11:41:51 +00:00
Fredrik Adelöw 559a0de98c WIP
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-09-13 16:55:17 +02:00