application.properties 2.1 KB
Newer Older
David Diederich's avatar
David Diederich committed
1
#
Daniel Scholl's avatar
Daniel Scholl committed
2
# Copyright © Microsoft Corporation
David Diederich's avatar
David Diederich committed
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#
# 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=entitlements
17
server.servlet.contextPath=/entitlements/v1/
David Diederich's avatar
David Diederich committed
18
19
20

service.domain.name=${service_domain_name}

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

25
26
27
28
29
# Azure AD configuration, 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
30
osdu.azure.activedirectory.sp-object-id=${AZURE_SP_OBJECT_ID}
31
32
33

# Istio Auth Enabled
azure.istio.auth.enabled=${azure_istioauth_enabled}
David Diederich's avatar
David Diederich committed
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50

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

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

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

# Application name
spring.application.name=entitlements-azure

# Cosmosdb container name
userinfo.container.name=UserInfo
tenantinfo.container.name=TenantInfo

Erik Leckner's avatar
Erik Leckner committed
51
52
53
54
55
56
57
58
59
60
61
62
63
# Azure Graph URI
azure.graph.uri=https://graph.microsoft.com/v1.0/

# Azure Graph Resource ID
azure.graph.resourceid=https://graph.microsoft.com

# Azure Graph URI
azure.graph-api.uri=https://graph.windows.net

# Azure Graph Api Application ID
azure.graph-api.appid=00000002-0000-0000-c000-000000000000

# Azure Graph Api Version
64
65
66
67
azure.graph-api.version=1.6

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