Merge pull request #33789 from backstage/freben/location-uuid-names

feat(catalog): expose `entityRef` on Location type and add `PUT /locations/:id`
This commit is contained in:
Fredrik Adelöw
2026-04-13 11:38:16 +02:00
committed by GitHub
35 changed files with 830 additions and 49 deletions
@@ -58,7 +58,12 @@ describe('DefaultApiExplorerPage', () => {
],
}),
getLocationByRef: () =>
Promise.resolve({ id: 'id', type: 'url', target: 'url' }),
Promise.resolve({
id: 'id',
type: 'url',
target: 'url',
entityRef: 'location:default/generated-id',
}),
getEntitiesByRefs: () => Promise.resolve({ items: [] }),
getEntityFacets: async () => ({
facets: { 'relations.ownedBy': [] },