#
#   Copyright 2017-2020, Schlumberger
#
#   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.
#

# Global defaults
LOG_PREFIX=notification
logging.level.org.springframework.web=${LOG_LEVEL:INFO}
server.servlet.contextPath=/api/notification/v1

app.expireTime=300
app.maxCacheSize=10
server.error.whitelabel.enabled=false

# External services
ENTITLEMENTS_PATH=/api/entitlements/v2/
ENTITLEMENTS_HOST=http://entitlements
app.entitlements=${ENTITLEMENTS_HOST}${ENTITLEMENTS_PATH}

REGISTER_PATH=/api/register/v1
REGISTER_HOST=http://register
app.register=${REGISTER_HOST}${REGISTER_PATH}

PARTITION_PATH=/api/partition/v1/
PARTITION_HOST=http://partition
PARTITION_API=${PARTITION_HOST}${PARTITION_PATH}
partition.api=${PARTITION_API}

# No profile defaults
service.token.provider=GCP
partition-auth-enabled=true
oqmDriver=pubsub