diff --git a/devops/azure/chart/templates/deployment.yaml b/devops/azure/chart/templates/deployment.yaml index db62503cb4bccd653de9f3302b5d4ca676aeebff..15743798b4124847d52737f40c9e89b9fac23e8d 100644 --- a/devops/azure/chart/templates/deployment.yaml +++ b/devops/azure/chart/templates/deployment.yaml @@ -79,6 +79,8 @@ spec: value: osdu-db - name: entitlements_service_endpoint value: http://entitlements/api/entitlements/v2 + - name: entitlements_service_api_key + value: "OBSOLETE" - name: registeration_service_endpoint value: http://register/api/register/v1 - name: partition_service_endpoint diff --git a/provider/notification-azure/src/main/resources/application.properties b/provider/notification-azure/src/main/resources/application.properties index 34360637b6d88990c68ee70d365434b93c473440..a5e8bdbbddf801f90fbfef055acc712a647ae505 100644 --- a/provider/notification-azure/src/main/resources/application.properties +++ b/provider/notification-azure/src/main/resources/application.properties @@ -26,6 +26,10 @@ logging.slf4jlogger.enabled=true logging.mdccontext.enabled=false logging.ignore.servlet.paths=/swagger-ui.html +# Need below two properties for Entitlements config bean initialization due to a primary bean added in core-lib-azure which takes precedence over EntitlementsClientFactory class in notification service +AUTHORIZE_API=${entitlements_service_endpoint} +AUTHORIZE_API_KEY=${entitlements_service_api_key} + # Service settings PARTITION_API=${partition_service_endpoint} app.entitlements=${entitlements_service_endpoint}