diff --git a/plugins/azure-functions-backend/README.md b/plugins/azure-functions-backend/README.md index dc898ccc52..e220cca00f 100644 --- a/plugins/azure-functions-backend/README.md +++ b/plugins/azure-functions-backend/README.md @@ -13,7 +13,7 @@ The following sections will help you get the Azure Backend plugin setup and runn The Azure plugin requires the following YAML to be added to your app-config.yaml: ```yaml -azure: +azureFunctions: domain: tenantId: clientId: diff --git a/plugins/azure-functions/README.md b/plugins/azure-functions/README.md index c4e59e9116..ed7e18c3f0 100644 --- a/plugins/azure-functions/README.md +++ b/plugins/azure-functions/README.md @@ -21,7 +21,7 @@ You need to set up the Azure backend plugin before you move forward with any of To be able to use the Azure plugin you need to add the following annotation to any entities you want to use it with: ```yaml -azure.com/microsoft.web/sites: +azure.com/microsoft-web-sites: ``` `` supports case-insensitive exact / partial value. @@ -39,7 +39,7 @@ func-testapp-us The annotation you will use to have the three functions' app appear in the overview table would look like this: ```yaml -azure.com/microsoft.web/sites: func-testapp +azure.com/microsoft-web-sites: func-testapp ``` ### Install the component diff --git a/plugins/azure-functions/src/hooks/useServiceEntityAnnotations.ts b/plugins/azure-functions/src/hooks/useServiceEntityAnnotations.ts index 2e993d8dea..08070dc8e4 100644 --- a/plugins/azure-functions/src/hooks/useServiceEntityAnnotations.ts +++ b/plugins/azure-functions/src/hooks/useServiceEntityAnnotations.ts @@ -16,7 +16,7 @@ import { Entity } from '@backstage/catalog-model'; -export const AZURE_WEB_SITE_NAME_ANNOTATION = 'azure.com/microsoft.web/sites'; +export const AZURE_WEB_SITE_NAME_ANNOTATION = 'azure.com/microsoft-web-sites'; export const useServiceEntityAnnotations = (entity: Entity) => { const webSiteName = entity?.metadata.annotations?.[AZURE_WEB_SITE_NAME_ANNOTATION] ?? ''; diff --git a/plugins/azure-functions/src/mocks/mocks.ts b/plugins/azure-functions/src/mocks/mocks.ts index 1af6fa86e3..134bd32c5d 100644 --- a/plugins/azure-functions/src/mocks/mocks.ts +++ b/plugins/azure-functions/src/mocks/mocks.ts @@ -20,7 +20,7 @@ export const entityMock = { metadata: { namespace: 'default', annotations: { - 'azure.com/microsoft.web/sites': 'func-mock', + 'azure.com/microsoft-web-sites': 'func-mock', }, name: 'sample-azure-service', description: 'A service for testing Backstage functionality.',