application.properties 1.25 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
azure.activedirectory.app-resource-id=${aad_client_id}
15
azure.activedirectory.client-id=${aad_client_id}
ethiraj krishnamanaidu's avatar
ethiraj krishnamanaidu committed
16
17
18
19
20
21
22
23
24
azure.activedirectory.AppIdUri=api://${azure.activedirectory.client-id}
azure.activedirectory.session-stateless=true

# 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
25
26
27
28
29
30
31
32
33
34
35
# 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
36
redis.connection.timeout=15
37
redis.database=${REDIS_DATABASE}
38

39
40
# health check
management.health.azure-key-vault.enabled=false
41
management.server.port=8081
42

43
44
45
azure.cryptography.enabled=false
azure.eventgrid.topic.enabled=false
azure.eventgrid.manager.enabled=false