Newer
Older
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Application
spring.application.name=${spring_application_name}
server.port=${server_port}
server.servlet.context-path=${server.servlet.contextPath}
server.error.whitelabel.enabled=false
# Logging configuration
LOG_PREFIX=${LOG_PREFIX}
logging.level.org.springframework.web=${notification_spring_logging_level:INFO}
logging.transaction.enabled=true
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}
PARTITION_API=${partition_service_endpoint}
app.entitlements=${entitlements_service_endpoint}
app.register=${registeration_service_endpoint}
app.project=opendes
app.expireTime=300
app.maxCacheSize=10
# Azure AD configuration
Nikhil Singh[MicroSoft]
committed
#azure.activedirectory.client-id=${aad_client_id}
azure.activedirectory.AppIdUri=api://${azure.activedirectory.client-id}
azure.activedirectory.session-stateless=true
azure.activedirectory.app-resource-id=${aad_client_id}
aad.oboApi=${aad_client_id}
azure.application-insights.instrumentation-key=${appinsights_key}
aad.eventGridId=4962773b-9cdb-44cf-a8bf-237846a00ab7
# Azure CosmosDB configuration
azure.cosmosdb.database=${cosmosdb_database}
# Azure KeyVault configuration
azure.keyvault.url=${KEYVAULT_URI}
#TenantFactory Configuration
tenantFactoryImpl.required=true
tenantInfo.container.name=TenantInfo
#RegisterSubscription Configuration
registerSubscription.container.name=RegisterSubscription
# Specifies the number of threads to be created on the thread pool
executor-n-threads=${executor_n_threads}
# Specifies the maximum number of concurrent calls to the callback the message pump should initiate
max-concurrent-calls=${max_concurrent_calls}
# Specifies the maximum duration in seconds within which the lock will be renewed automatically
max-lock-renew=${max_lock_renew_duration_seconds}
# Specifies the initial delay before calling subscribeNotificationsEvent
initial-subscription-manager-delay=${initial_subscription_manager_delay_seconds}
# Specifies the consecutive thread delay for subscribeNotificationsEvent
consecutive-subscription-manager-delay=${consecutive_subscription_manager_delay_seconds}
# Specifies if Service Bus is enabled
azure.serviceBus.enabled=${service_bus_enabled}
# Specifies if Event Grid To Service Bus is enabled
azure.eventGridToServiceBus.enabled=${event_grid_to_service_bus_enabled}
# Specifies if Event Grid is enabled. Used to override the non-request scoped beans
requestScope.enabled=${event_grid_enabled}
management.endpoints.web.exposure.include=${web_exposure_endpoints:health,info}
management.metrics.enable.all=${enable_metrics:false}