Skip to content
Snippets Groups Projects
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
application.properties 2.16 KiB
#  Copyright © Microsoft Corporation
#
#  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}

# Service settings
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
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