Skip to content
Snippets Groups Projects
application.properties 2.18 KiB
Newer Older
David Diederich's avatar
David Diederich committed
#  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.

LOG_PREFIX=legal
server.servlet.contextPath=/api/legal/v1/
David Diederich's avatar
David Diederich committed

REGION=${legal_service_region}
AUTHORIZE_API=${entitlements_service_endpoint}
AUTHORIZE_API_KEY=${entitlements_service_api_key}

# Partition Service configuration
PARTITION_API=${partition_service_endpoint}
azure.activedirectory.app-resource-id=${aad_client_id}

David Diederich's avatar
David Diederich committed
LEGAL_HOSTNAME=notused
CRON_JOB_IP=10.0.0.1

# Azure AD configuration for OpenIDConnect, commented below settings to disable AAD AuthN ,
# Uncomment it In the Istio AUTHN disabled Scenario
#azure.activedirectory.client-id=${aad_client_id}
#azure.activedirectory.AppIdUri=api://${azure.activedirectory.client-id}
#azure.activedirectory.session-stateless=true

# Istio Auth Enabled
azure.istio.auth.enabled=${azure_istioauth_enabled}
David Diederich's avatar
David Diederich committed

# Azure CosmosDB configuration
azure.cosmosdb.database=${cosmosdb_database}
azure.cosmosdb.legal.collection=LegalTag

# Azure Blob Storage configuration
azure.storage.container-name=legal-service-azure-configuration
azure.storage.enable-https=true
azure.blobStore.required=true
David Diederich's avatar
David Diederich committed

# Azure Service Bus configuration
azure.servicebus.topic-name=${servicebus_topic_name}

# Azure KeyVault configuration
azure.keyvault.url=${KEYVAULT_URI}

#Azure App Insights configuration
azure.application-insights.instrumentation-key=${appinsights_key}
spring.application.name=legal-azure

#logging configuration
logging.transaction.enabled=true
logging.slf4jlogger.enabled=true
logging.mdccontext.enabled=true

#TenantFactory Configuration
tenantFactoryImpl.required=true
tenantInfo.container.name=TenantInfo
# Disable keyVault for actuator health check
management.health.azure-key-vault.enabled=false