application.properties 1.69 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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# 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

aws.dynamodb.table.prefix=${ENVIRONMENT}-
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}
aws.environment = ${ENVIRONMENT}
aws.parameter.prefix=/osdu/${ENVIRONMENT}
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


#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