application.properties 1.76 KB
Newer Older
Rucha Deshpande's avatar
Rucha Deshpande committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Copyright © 2020 Amazon Web Services
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

LOG_PREFIX=register
logging.level.org.springframework.web=${LOG_LEVEL:INFO}
server.servlet.contextPath=/api/register/v1
server.port=${APPLICATION_PORT:8080}
ACCEPT_HTTP=true

##AUTHORIZE_API=${ENTITLEMENTS_BASE_URL}/api/entitlements/v1
#Register service is using AppServiceConfig to define all env. variables. Here ENTITLEMENTS_API is used instead of AUTHORIZE_API
ENTITLEMENTS_API=${ENTITLEMENTS_BASE_URL}/api/entitlements/v1
## AWS DynamoDB configuration

26
27

aws.dynamodb.table.prefix=${RESOURCE_PREFIX}-
Rucha Deshpande's avatar
Rucha Deshpande committed
28
29
30
31
32
33
34
35
aws.dynamodb.endpoint=dynamodb.${AWS_REGION}.amazonaws.com
aws.region=${AWS_REGION}


aws.kms.endpoint=kms.${AWS_REGION}.amazonaws.com


aws.ssm=${SSM_ENABLED:True}
36
37
38
39
aws.environment=${RESOURCE_PREFIX}
aws.parameter.prefix=/osdu/${RESOURCE_PREFIX}
#aws.register.sns.topic.arn=${aws.parameter.prefix}/register/register-sns-topic-arn
#aws.register.kms.key.id=${aws.parameter.prefix}/register/register-kms-key-id
Rucha Deshpande's avatar
Rucha Deshpande committed
40

41
#aws.records.changes.topic.arn=${RECORDS_CHANGED_TOPIC_ARN}
Rucha Deshpande's avatar
Rucha Deshpande committed
42
43
44
45
46
47
48
#logging configuration
logging.transaction.enabled=true
logging.slf4jlogger.enabled=true
logging.mdccontext.enabled=true

# if this is turned on then the service tries to connect to elastic search
management.health.elasticsearch.enabled=false