application.properties 1.44 KB
Newer Older
ethiraj krishnamanaidu's avatar
ethiraj krishnamanaidu committed
1
2
LOG_PREFIX=partition
server.servlet.contextPath=/api/partition/v1
3
logging.level.org.springframework.web=${partition_spring_logging_level:INFO}
ethiraj krishnamanaidu's avatar
ethiraj krishnamanaidu committed
4
5
6
7
8
9
10
JAVA_OPTS=-Dserver.port=80
server.port=8080
springfox.documentation.swagger.v2.path=/api-docs

#logging configuration
logging.transaction.enabled=true
logging.slf4jlogger.enabled=true
11
logging.mdccontext.enabled=true
ethiraj krishnamanaidu's avatar
ethiraj krishnamanaidu committed
12
13

# AAD properties
14
15
16
17
18
19
# Azure AD configuration, commented below settings to disable AAD AuthN,
# Uncomment it in the Istio AUTHN disabled Scenario
#azure.activedirectory.app-resource-id=${aad_client_id}
#azure.activedirectory.client-id=${aad_client_id}
#azure.activedirectory.AppIdUri=api://${azure.activedirectory.client-id}
#azure.activedirectory.session-stateless=true
ethiraj krishnamanaidu's avatar
ethiraj krishnamanaidu committed
20

Vibhuti Sharma [Microsoft]'s avatar
Vibhuti Sharma [Microsoft] committed
21
22
23
# Istio
azure.istio.auth.enabled=${azure_istioauth_enabled}

ethiraj krishnamanaidu's avatar
ethiraj krishnamanaidu committed
24
25
26
27
28
29
# Azure KeyVault configuration
azure.keyvault.url=${KEYVAULT_URI}

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

Alok Joshi's avatar
Alok Joshi committed
30
31
32
33
34
35
36
37
38
39
40
# Cache configuration, provider [vm or redis]
cache.provider=redis

# VM
cache.expiration=5
cache.maxSize=1000

# Redis [set ssl.enabled to 'false' when running locally, if using redis cache]
redis.port=6380
redis.expiration=3600
redis.ssl.enabled=true
41
redis.connection.timeout=15
42
redis.database=${REDIS_DATABASE}
43

44
45
# health check
management.health.azure-key-vault.enabled=false
46
management.server.port=8081
47

48
49
50
azure.cryptography.enabled=false
azure.eventgrid.topic.enabled=false
azure.eventgrid.manager.enabled=false