74233 Commits

Author SHA1 Message Date
Johan Haals ca9bb31b6f Merge pull request #27741 from backstage/jhaals/httpauth
backend-defaults: export DefaultHttpAuthService
2024-11-25 09:40:12 +01:00
Johan Haals a4cfc73119 Merge pull request #27258 from Nikunj0601/feature/azure-blob-storage-catalog-provider
feat: azure blob storage entity provider for catalog
2024-11-25 09:10:16 +01:00
MT Lewis 1e624ca627 Restrict all instances of @types/express to v4 to match express itself
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
2024-11-24 22:25:36 +00:00
aramissennyeydd 118c930b08 chore: organize sidebar a bit
Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>
2024-11-24 16:50:55 -05:00
Fredrik Adelöw 0b2ccfab57 get back the key collision check
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2024-11-24 16:05:08 +01:00
Fredrik Adelöw 3ab57c624a support delta update to location key
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2024-11-24 15:57:58 +01:00
Fredrik Adelöw 2924ffe09b Compute some metrics using search table facet aggregations
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2024-11-24 15:14:17 +01:00
Fredrik Adelöw 56511ba1ac Be more aggressive in dequeueing entities for stitching
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2024-11-24 13:58:14 +01:00
John Redwood 95ac4a2dc8 fix: eslint
Signed-off-by: John Redwood <john.r.k.redwood@gmail.com>
2024-11-24 11:41:58 +11:00
Fredrik Adelöw 54916f2446 Merge pull request #27797 from backstage/freben/q
correctly measure stitching queue length
2024-11-23 20:52:16 +01:00
Hghtwr 05e1bb0e5f adopt documentation
Signed-off-by: Hghtwr <johannes.sonner@outlook.com>
2024-11-23 20:31:53 +01:00
Hghtwr 99dce5cadb add changeset
Signed-off-by: Hghtwr <johannes.sonner@outlook.com>
2024-11-23 20:27:49 +01:00
Hghtwr 0392ad8f77 remove unused response object
Signed-off-by: Hghtwr <johannes.sonner@outlook.com>
2024-11-23 20:22:46 +01:00
Hghtwr ad829efd52 add code comments
Signed-off-by: Hghtwr <johannes.sonner@outlook.com>
2024-11-23 20:21:31 +01:00
Hghtwr ab92f94d7a use consistent group description across all tests, remove unused handler
Signed-off-by: Hghtwr <johannes.sonner@outlook.com>
2024-11-23 18:28:13 +01:00
Hghtwr 66a88b18c1 add handler for encoded groups, implement test cases
Signed-off-by: Hghtwr <johannes.sonner@outlook.com>
2024-11-23 18:13:52 +01:00
Fredrik Adelöw 71152e351c correctly measure stitching queue length
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2024-11-23 17:05:35 +01:00
Fredrik Adelöw ce9803d5df Merge pull request #27791 from veenarm/ldap-entity-search-fix
fix: Updated patch for original PR26923 that filters ldap users
2024-11-23 12:18:34 +01:00
Patrik Oldsberg 48d6e4e591 Merge pull request #27795 from backstage/rugvip/express
backend-*-api: remove unused express dependencies
2024-11-23 12:16:48 +01:00
Jason Liu b5e002b1cc Make GitHub environment Scaffolder action use auth to resolve reviewers
Changes the github:environment:create Scaffolder action to request and
use a backend auth token when resolving the reviewer entityRefs from the
Backstage catalog.

This is because previously it would throw a 401 error when backend auth
was not disabled.

The logic for requesting the token is copied from the existing
catalog:fetch action, which needs to do a similar thing.

Also slightly clarifies that Backstage entityRefs are expected in the
reviewers list for this action.

Signed-off-by: Jason Liu <a.jason.liu21@gmail.com>
2024-11-23 20:57:53 +11:00
Patrik Oldsberg eef3ef1785 backend-*-api: remove unused express dependencies
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2024-11-23 00:59:54 +01:00
dependabot[bot] 30e51601e8 build(deps): bump smol-toml from 1.3.0 to 1.3.1
Bumps [smol-toml](https://github.com/squirrelchat/smol-toml) from 1.3.0 to 1.3.1.
- [Release notes](https://github.com/squirrelchat/smol-toml/releases)
- [Commits](https://github.com/squirrelchat/smol-toml/commits)

---
updated-dependencies:
- dependency-name: smol-toml
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-22 23:36:53 +00:00
Patrik Oldsberg 77c7ce05d6 Merge pull request #27769 from backstage/reduce-yarn-plugin-bundle-size
Reduce yarn plugin bundle size
2024-11-23 00:30:50 +01:00
renovate[bot] 9951ba448b fix(deps): update rjsf monorepo to v5.23.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-22 23:23:23 +00:00
Patrik Oldsberg eb338fafd6 Merge pull request #27792 from bforbis/doc-fix
Minor doc fix
2024-11-23 00:23:20 +01:00
John ca567e2e31 Merge branch 'backstage:master' into ldap-entity-search-fix 2024-11-23 09:56:12 +11:00
Nikunj Hudka 104271d493 chore: yarn lock update
Signed-off-by: Nikunj Hudka <nikunjhudka123@gmail.com>
2024-11-22 17:20:57 -04:00
Nikunj Hudka 019e0189d6 add docs to microsite and do not export entity provider
Signed-off-by: Nikunj Hudka <nikunjhudka123@gmail.com>
2024-11-22 17:17:00 -04:00
John Redwood ced964bf0d fix: clean up implementaiton to remove looping, by adding secondary entry into the map lists to search against directly
Signed-off-by: John Redwood <john.r.k.redwood@gmail.com>
2024-11-23 08:09:59 +11:00
Bari, Haider d3768f94a9 fixed format issues
Signed-off-by: Bari, Haider <haider.bari@fmr.com>
2024-11-22 19:39:23 +00:00
MT Lewis 27600c2cd3 yarn-plugin: import appropriate type to verify beforeWorkspacePacking signature
I realised that by default the `Plugin` type from
`@yarnpkg/core` sets the type of the `hooks`
property to `any`. This meant that there wasn't
any restriction on the hooks that could be passed,
and introduced the risk that a typo in the
`beforeWorkspacePacking` name could lead to the
hook being skipped.

This commit pulls in the appropriate type for
Hooks to verify the name and signature of the hook.

Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
2024-11-22 17:03:42 +00:00
Ben Lambert e399df5872 Merge pull request #27763 from backstage/blam/incremental-events
incremental: wire up the events system in new backend
2024-11-22 17:42:55 +01:00
Fredrik Adelöw 58f791a5f0 Merge pull request #27787 from backstage/freben/prep-location-change
partial fix to deltas that update location keys
2024-11-22 16:40:57 +01:00
MT Lewis 124a108c36 yarn-plugin: extra values from dependency object after switch from lodash#some to native some
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
2024-11-22 15:27:21 +00:00
MT Lewis d8bd6f5547 yarn-plugin: cherry-pick memoize method
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
2024-11-22 14:51:02 +00:00
MT Lewis 344c591c91 yarn-plugin: use native Array.some
Avoids the dependency on the lodash function.

Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
2024-11-22 14:51:02 +00:00
MT Lewis 9296a33c4d yarn-plugin: remove dependency on chalk
Chalk costs us about 20kb in the bundle size, and
we only use it to format one logged message. To
avoid this dependency, this commit hard-codes the
escape codes for that single message.

Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
2024-11-22 14:51:01 +00:00
Brian Forbis f7b3896dd7 Minor doc fix
Signed-off-by: Brian Forbis <bforbis@athenahealth.com>
2024-11-22 09:46:53 -05:00
Bari, Haider 89b2ed389e shorten one of the examples
Signed-off-by: Bari, Haider <haider.bari@fmr.com>
2024-11-22 14:44:08 +00:00
John Redwood 732700ab82 fix: Updated patch for original PR26923 that filters ldap users
Signed-off-by: John Redwood <john.r.k.redwood@gmail.com>
2024-11-23 00:27:02 +11:00
Ben Lambert d3bfac4de8 Merge pull request #27789 from backstage/blam/pre-enter
chore: enter pre
2024-11-22 14:24:44 +01:00
Ben Lambert 52cf554c01 Merge pull request #27788 from backstage/blam/seed
Remove seed
2024-11-22 14:14:05 +01:00
blam 793245c4e9 chore: enter pre
Signed-off-by: blam <ben@blam.sh>
2024-11-22 14:13:15 +01:00
Patrik Oldsberg 2c122e4280 Update docs/backend-system/core-services/http-auth.md
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2024-11-22 14:03:27 +01:00
Johan Haals e0d58ececd Merge pull request #27757 from backstage/mob/plugintokenhandler
backend-defaults: Add support for decoration of the pluginTokenHandler
2024-11-22 14:01:26 +01:00
blam e8e774525a chore: removing the seed
Signed-off-by: blam <ben@blam.sh>
2024-11-22 13:58:25 +01:00
Johan Haals 5aad192efa Update docs/backend-system/core-services/http-auth.md
Signed-off-by: Johan Haals <johan.haals@gmail.com>

Co-authored-by: Peter Macdonald <macdonald.peter90@gmail.com>
Signed-off-by: Johan Haals <johan@haals.se>
2024-11-22 13:52:19 +01:00
Patrik Oldsberg 78d34b172c Merge pull request #27785 from backstage/rugvip/refresh
core-app-api: try to refresh session if scopes are missing
2024-11-22 13:36:53 +01:00
Fredrik Adelöw 1f1d079448 partial fix to deltas that update location keys
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2024-11-22 13:30:59 +01:00
Patrik Oldsberg e5fa0184dc core-app-api: try to refresh session if scopes are missing
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2024-11-22 13:23:37 +01:00