application.properties 1.31 KB
Newer Older
David Diederich's avatar
David Diederich committed
1
2
3
LOG_PREFIX=search

server.servlet.contextPath=/api/search/v2/
4
logging.level.org.springframework.web=${LOG_LEVEL}
David Diederich's avatar
David Diederich committed
5
6
7
server.port=${APPLICATION_PORT}

## AWS ElastiCache configuration
8
9
aws.elasticache.cluster.cursor.endpoint=${CACHE_CLUSTER_ENDPOINT}
aws.elasticache.cluster.cursor.port=${CACHE_CLUSTER_PORT}
David Diederich's avatar
David Diederich committed
10
aws.elasticache.cluster.cursor.expiration=60
11
12
aws.elasticache.cluster.index.endpoint=${CACHE_CLUSTER_ENDPOINT}
aws.elasticache.cluster.index.port=${CACHE_CLUSTER_PORT}
David Diederich's avatar
David Diederich committed
13
14
aws.elasticache.cluster.index.expiration=60

15
16
17
  ## Default Elasticsearch Settings
ELASTIC_HOST=""
ELASTIC_PORT=0
ethiraj krishnamanaidu's avatar
ethiraj krishnamanaidu committed
18
19
aws.es.host=${ELASTIC_HOST}
aws.es.port=${ELASTIC_PORT}
David Diederich's avatar
David Diederich committed
20
aws.es.userNameAndPassword=notused
ethiraj krishnamanaidu's avatar
ethiraj krishnamanaidu committed
21
aws.es.serviceName=notused
David Diederich's avatar
David Diederich committed
22
23
24
aws.region=${AWS_REGION}

## AWS Lambda configuration
ethiraj krishnamanaidu's avatar
ethiraj krishnamanaidu committed
25
aws.lambda.get-groups-function-name=${ENVIRONMENT}-os-entitlements-GroupsFunction
26
27
28
29
## Default DynamoDB Settings
aws.dynamodb.table.prefix=${ENVIRONMENT}-
aws.dynamodb.region=${AWS_REGION}
aws.dynamodb.endpoint=dynamodb.${AWS_REGION}.amazonaws.com
David Diederich's avatar
David Diederich committed
30
31
32
# Azure search query properties
QUERY_DEFAULT_LIMIT=10
QUERY_LIMIT_MAXIMUM=1000
33
34
35
36
37
38
39
40
41
AGGREGATION_SIZE=1000

awsParameterStorePropertySource.enabled=true

aws.ssm=${SSM_ENABLED}
aws.ssm.prefix=/osdu/${ENVIRONMENT}

aws.elasticsearch.host=${aws.ssm.prefix}/elastic-search/end-point
aws.elasticsearch.port=${aws.ssm.prefix}/elastic-search/end-point-port