chore(catalog): adjust refs in msgraph deprecation warnings
Adjust references in deprecation warnings to point to stable URL/document. Signed-off-by: Patrick Jungermann <Patrick.Jungermann@gmail.com>
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-catalog-backend-module-msgraph': patch
|
||||
---
|
||||
|
||||
Adjust references in deprecation warnings to point to stable URL/document.
|
||||
+1
-1
@@ -211,7 +211,7 @@ export class MicrosoftGraphOrgEntityProvider implements EntityProvider {
|
||||
options: MicrosoftGraphOrgEntityProviderLegacyOptions,
|
||||
): MicrosoftGraphOrgEntityProvider {
|
||||
options.logger.warn(
|
||||
'Deprecated msgraph config "catalog.processors.microsoftGraphOrg" used. Use "catalog.providers.microsoftGraphOrg" instead. More info at https://github.com/backstage/backstage/blob/master/.changeset/long-bananas-rescue.md',
|
||||
'Deprecated msgraph config "catalog.processors.microsoftGraphOrg" used. Use "catalog.providers.microsoftGraphOrg" instead. More info at https://github.com/backstage/backstage/blob/master/plugins/catalog-backend-module-msgraph/CHANGELOG.md#040-next1',
|
||||
);
|
||||
const config = configRoot.getOptionalConfig(
|
||||
'catalog.processors.microsoftGraphOrg',
|
||||
|
||||
+1
-1
@@ -69,7 +69,7 @@ export class MicrosoftGraphOrgReaderProcessor implements CatalogProcessor {
|
||||
organizationTransformer?: OrganizationTransformer;
|
||||
}) {
|
||||
options.logger.warn(
|
||||
'MicrosoftGraphOrgReaderProcessor is deprecated. Please use MicrosoftGraphOrgEntityProvider instead. More info at https://github.com/backstage/backstage/blob/master/.changeset/long-bananas-rescue.md',
|
||||
'MicrosoftGraphOrgReaderProcessor is deprecated. Please use MicrosoftGraphOrgEntityProvider instead. More info at https://github.com/backstage/backstage/blob/master/plugins/catalog-backend-module-msgraph/CHANGELOG.md#040-next1',
|
||||
);
|
||||
this.providers = options.providers;
|
||||
this.logger = options.logger;
|
||||
|
||||
Reference in New Issue
Block a user