application.properties 1.24 KB
Newer Older
David Diederich's avatar
David Diederich committed
1
2
3
4
5
6
7
8
LOG_PREFIX=search

server.servlet.contextPath=/api/search/v2/
logging.level.org.springframework.web=DEBUG
server.port=${APPLICATION_PORT}
JAVA_HEAP_OPTS=-Xms${JAVA_HEAP_MEMORY}M -Xmx${JAVA_HEAP_MEMORY}M
JAVA_GC_OPTS=-XX:+UseG1GC -XX:+UseStringDeduplication -XX:InitiatingHeapOccupancyPercent=45

ethiraj krishnamanaidu's avatar
ethiraj krishnamanaidu committed
9
aws.environment=${ENV}
David Diederich's avatar
David Diederich committed
10
11
12
13
14
15
16
17
18
19
20
21
22
23
## AWS ElastiCache configuration
aws.elasticache.cluster.cursor.endpoint=${CACHE_CLUSTER_CURSOR_ENDPOINT}
aws.elasticache.cluster.cursor.port=${CACHE_CLUSTER_CURSOR_PORT}
aws.elasticache.cluster.cursor.expiration=60
aws.elasticache.cluster.index.endpoint=${CACHE_CLUSTER_INDEX_ENDPOINT}
aws.elasticache.cluster.index.port=${CACHE_CLUSTER_INDEX_PORT}
aws.elasticache.cluster.index.expiration=60

## Default DynamoDB Settings
aws.dynamodb.table.prefix=${ENVIRONMENT}-
aws.dynamodb.region=${AWS_REGION}
aws.dynamodb.endpoint=dynamodb.${AWS_REGION}.amazonaws.com

## Default Elasticsearch Settings
ethiraj krishnamanaidu's avatar
ethiraj krishnamanaidu committed
24
25
aws.es.host=${ELASTIC_HOST}
aws.es.port=${ELASTIC_PORT}
David Diederich's avatar
David Diederich committed
26
aws.es.userNameAndPassword=notused
ethiraj krishnamanaidu's avatar
ethiraj krishnamanaidu committed
27
aws.es.serviceName=notused
David Diederich's avatar
David Diederich committed
28
29
30
aws.region=${AWS_REGION}

## AWS Lambda configuration
ethiraj krishnamanaidu's avatar
ethiraj krishnamanaidu committed
31
aws.lambda.get-groups-function-name=${ENVIRONMENT}-os-entitlements-GroupsFunction
David Diederich's avatar
David Diederich committed
32
33
34
35
36

# Azure search query properties
QUERY_DEFAULT_LIMIT=10
QUERY_LIMIT_MAXIMUM=1000
AGGREGATION_SIZE=1000