application.properties 1.79 KB
Newer Older
David Diederich's avatar
David Diederich committed
1
2
LOG_PREFIX=storage

Spencer Sutton's avatar
Spencer Sutton committed
3
AUTHORIZE_API=${ENTITLEMENTS_BASE_URL}/api/entitlements/v2
4
LEGALTAG_API=${LEGALTAG_BASE_URL}/api/legal/v1
ethiraj krishnamanaidu's avatar
ethiraj krishnamanaidu committed
5

David Diederich's avatar
David Diederich committed
6
7
8
CRS_API=notused

server.servlet.contextPath=/api/storage/v2/
Matt Wise's avatar
Matt Wise committed
9
10
11
12
13
logging.level.org.springframework.web=${LOG_LEVEL:INFO}
server.port=${APPLICATION_PORT:8080}

#Shared configuration
aws.region=${AWS_REGION}
David Diederich's avatar
David Diederich committed
14
15

## AWS DynamoDB configuration
Matt Wise's avatar
Matt Wise committed
16
17
18
19
20

#Tenant specific table configuration
aws.dynamodb.schemaRepositoryTable.ssm.relativePath=${SCHEMA_REPOSITORY_SSM_RELATIVE_PATH:storage/SchemaRepositoryTable}
aws.dynamodb.recordMetadataTable.ssm.relativePath=${RECORD_METADATA_SSM_RELATIVE_PATH:storage/RecordMetadataTable}
aws.dynamodb.legalTagTable.ssm.relativePath=${LEGAL_TAG_SSM_RELATIVE_PATH:storage/LegalTagTable}
David Diederich's avatar
David Diederich committed
21
22

## AWS S3 configuration
Matt Wise's avatar
Matt Wise committed
23

David Diederich's avatar
David Diederich committed
24
aws.s3.max-record-threads=2000
Matt Wise's avatar
Matt Wise committed
25
26
27

#Tenant Specific S3 Bucket Configuration
aws.s3.recordsBucket.ssm.relativePath=${RECORDS_BUCKET_SSM_RELATIVE_PATH:storage/s3DataBucket}
David Diederich's avatar
David Diederich committed
28
29

## AWS ElastiCache configuration
30
31
aws.elasticache.cluster.endpoint=${CACHE_CLUSTER_ENDPOINT}
aws.elasticache.cluster.port=${CACHE_CLUSTER_PORT}
David Diederich's avatar
David Diederich committed
32

33
34
aws.ssm=${SSM_ENABLED}
aws.parameter.prefix=/osdu/${ENVIRONMENT}
35
aws.primary.region=${aws.parameter.prefix}/primary-region
36
aws.sns.topic.arn=${aws.parameter.prefix}/storage/storage-sns-topic-arn
Matt Wise's avatar
Matt Wise committed
37
aws.sns.s3.bucket-name=${aws.parameter.prefix}/storage/s3DataBucket/name
38

Spencer Sutton's avatar
SSL    
Spencer Sutton committed
39
40
41
42
43
server.ssl.enabled=${SSL_ENABLED:true}
server.ssl.key-store-type=PKCS12
server.ssl.key-store=${SSL_KEY_STORE_PATH:/certs/osduonaws.p12}
server.ssl.key-alias=${SSL_KEY_ALIAS:osduonaws}
server.ssl.key-password=${SSL_KEY_PASSWORD:}
neelesh thakur's avatar
rebase    
neelesh thakur committed
44
45
server.ssl.key-store-password=${SSL_KEY_STORE_PASSWORD:}

46
47

# Policy service properties
48
service.policy.enabled=true
49
POLICY_API=${ENTITLEMENTS_BASE_URL}/api/policy/v1
Rucha Deshpande's avatar
Rucha Deshpande committed
50
POLICY_ID=storage
51
PARTITION_API=${ENTITLEMENTS_BASE_URL}/api/partition/v1
52
aws.environment=${ENVIRONMENT}