application.properties 1.01 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
JAVA_OPTS=-Dserver.port=80
server.port=8080
springfox.documentation.swagger.v2.path=/api-docs
Rostislav Vatolin [SLB]'s avatar
Rostislav Vatolin [SLB] committed
7
PARTITION_API=
ethiraj krishnamanaidu's avatar
ethiraj krishnamanaidu committed
8
9
10
11
12
13

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

# 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.database=${REDIS_DATABASE}