Commit Graph

19974 Commits

Author SHA1 Message Date
Eric Peterson a3909d2c2f Invalidate stale cache entries on read for external builder config when cache is enabled.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-11-28 13:16:04 -07:00
Eric Peterson e99606d3e6 Add all generated files to techdocs_metadata.json
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-11-28 13:16:04 -07:00
Eric Peterson d011fd61ea Ensure DocsSynchronizer has access to cache client.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-11-28 13:16:04 -07:00
Eric Peterson 74ccd66e26 Add tests for cache middleware. Do not cache non-200 responses.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-11-28 13:16:04 -07:00
Eric Peterson a16dce0433 Tests for TechDocsCache class
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-11-28 13:16:04 -07:00
Eric Peterson 693db1da54 Review feedback.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-11-28 13:16:04 -07:00
Eric Peterson 1bada775a9 Changesets for affected packages.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-11-28 13:16:04 -07:00
Eric Peterson d48aa5ca1c Update create-app so that cache manager is passed through to router.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-11-28 13:16:04 -07:00
Eric Peterson 12ce46b229 Update TechDocs Backend API Report
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-11-28 13:16:04 -07:00
Eric Peterson 0a5278b92a Update Backstage.io docs with config/recs
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-11-28 13:16:04 -07:00
Eric Peterson 790f02c898 Improve types/documentation.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-11-28 13:16:04 -07: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
Eric Peterson 8b438c7717 Update all Publishers so that they resolve a list of objects on successful publish.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-11-28 13:16:04 -07:00
Eric Peterson 0a44eb7d52 Initial implementation of TechDocs cache in backend plugin
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-11-28 13:16:03 -07:00
Eric Peterson 3e443e8e31 Express middleware for reading/writing data to cache.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-11-28 13:13:30 -07:00
Eric Peterson d5699813f7 Proposed architecture.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-11-28 13:13:30 -07:00
Patrik Oldsberg 32eb6303c5 Merge pull request #8266 from backstage/rugvip/packageindex
scripts/api-extractor: fix package index descriptions
2021-11-28 20:54:31 +01:00
Patrik Oldsberg 1505a8cd70 scripts/api-extractor: fix package index descriptions
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-11-28 13:29:19 +01:00
jrusso1020 f3bcd52216 rename swimlane -> group
Signed-off-by: jrusso1020 <jrusso@brex.com>
2021-11-27 12:36:29 -05:00
jrusso1020 fa683cab7d address comments
Signed-off-by: jrusso1020 <jrusso@brex.com>
2021-11-27 12:36:29 -05:00
Patrik Oldsberg 63f3b46b86 Merge pull request #8160 from adrianbarwicki/patch-1
feat: expose catalog lib in `plugin-auth-backend`
2021-11-26 16:57:20 +01:00
Marley Powell 5d0c42a447 chore: Updated api report.
Signed-off-by: Marley Powell <Marley.Powell@exclaimer.com>
2021-11-26 15:39:05 +00:00
Marley Powell 5c3941970e feat: Created new endpoints for getting dashboard PRs and all teams.
Signed-off-by: Marley Powell <Marley.Powell@exclaimer.com>
2021-11-26 15:32:37 +00: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
irma12 a089a286b2 Update package.json
Signed-off-by: irma12 <irma@roadie.io>
2021-11-26 15:19:51 +01:00
irma12 8b14c7146d Add API Report
Signed-off-by: irma12 <irma@roadie.io>
2021-11-26 15:00:04 +01:00
MT Lewis a8eeaa13b4 backend-common: refactor away namespace usage in ServerTokenManager
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
2021-11-26 13:38:32 +00:00
Johan Haals c8b698aac1 Merge pull request #8262 from backstage/jhaals/stalework
stale: Increase operations, remove debug logging
2021-11-26 14:34:05 +01:00
Ben Lambert 017034d0d1 Merge pull request #8261 from backstage/jhaals/codeowners
Add more code owners
2021-11-26 14:29:33 +01:00
Johan Haals 3f71f245f2 stale: Increase operations, remove debug logging
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-11-26 14:23:12 +01:00
Marley Powell 2439a1acbd refactor: Small change to PullRequestCard subheader.
Signed-off-by: Marley Powell <Marley.Powell@exclaimer.com>
2021-11-26 13:22:02 +00:00
irma12 c8b4a30d1d Small typo fix in changeset docs
Signed-off-by: irma12 <irma@roadie.io>
2021-11-26 14:01:39 +01:00
Johan Haals c90732b13e Merge pull request #8259 from backstage/jhaals/stale
Replace stalebot with stale workflow
2021-11-26 13:59:34 +01:00
Johan Haals 8bf026b16d Add more code owners
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-11-26 13:57:19 +01:00
irma12 1f455f8abb Rename scorecards plugin to tech-insights plugin
Signed-off-by: irma12 <irma@roadie.io>
2021-11-26 13:51:43 +01:00
MT Lewis f5c43945eb create-app: update backend-to-backend auth comment in app-config template
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
2021-11-26 12:35:09 +00:00
MT Lewis e65d8b5174 docs: update backend-to-backend auth docs to reflect new TokenManager api
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
2021-11-26 12:31:10 +00:00
MT Lewis 1cad4e54ca backend-common: additional api-report comments and tags
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
2021-11-26 12:24:48 +00:00
MT Lewis 73bff921fd backend-common: update api-report
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
2021-11-26 12:16:38 +00:00
MT Lewis 54eaeddaf1 backend-common: move NoopTokenManager into ServerTokenManager namespace
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
2021-11-26 12:16:38 +00:00
MT Lewis 87f1b59ff9 techdocs-backend: update TokenManager mock in collator test suite
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
2021-11-26 12:16:38 +00:00
MT Lewis e5b4256e70 catalog-backend: update TokenManager mock in collator test suite
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
2021-11-26 12:16:38 +00:00
MT Lewis 10d0109d2e backend-common: extract NoopTokenManager from ServerTokenManager
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
2021-11-26 12:01:11 +00:00
hiba-aldalaty 32cac66991 Rename SidebarSubItemDropDownItem to SidebarSubmenuItemDropDownItem, update api-reports
Signed-off-by: hiba-aldalaty <hibaaldalaty@gmail.com>
2021-11-26 11:44:52 +00:00
hiba-aldalaty de81ed2cd0 Remove unnecessary code, Rename ItemWithSubmenu, Make style properties optional in pallette
Signed-off-by: hiba-aldalaty <hibaaldalaty@gmail.com>
2021-11-26 11:36:08 +00:00
hiba-aldalaty 06878bf810 Revert "Move styling from themes/palette and make optional"
This reverts commit 04e1b87a89.

Signed-off-by: hiba-aldalaty <hibaaldalaty@gmail.com>
2021-11-26 11:29:09 +00:00
Lucile Desfour 6845cce533 add changeset
Signed-off-by: Lucile Desfour <lucile.desfour@suricats-consulting.com>
2021-11-26 12:08:14 +01:00
hiba-aldalaty 04e1b87a89 Move styling from themes/palette and make optional
Signed-off-by: hiba-aldalaty <hibaaldalaty@gmail.com>
2021-11-26 10:25:10 +00:00
MT Lewis 5510cee039 backend-common: stop accepting self-reported pluginId in ServerTokenManager
Until we have a solution for assigning plugin/backend identities in a
way that's not open to impersonation, we can't build on top of this
information, so it's better to leave it out for now.

Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
2021-11-26 10:23:57 +00:00
Johan Haals 139f9b3f36 Replace stalebot with stale workflow
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-11-26 10:25:32 +01:00