Skip to content
Snippets Groups Projects
application.properties 1.79 KiB
Newer Older
  • Learn to ignore specific revisions
  • Spencer Sutton's avatar
    Spencer Sutton committed
    # 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=notification
    logging.level.org.springframework.web=${LOG_LEVEL:INFO}
    server.servlet.contextPath=/api/notification/v1
    server.port=${APPLICATION_PORT:8080}
    
    
    Rucha Deshpande's avatar
    Rucha Deshpande committed
    AUTHORIZE_API=${ENTITLEMENTS_BASE_URL}/api/entitlements/v2
    
    PARTITION_API=${PARTITION_BASE_URL}/api/partition/v1
    
    REGISTER_SERVICE_URL=${REGISTER_BASE_URL}/api/register/v1
    
    aws.ssm=${SSM_ENABLED:True}
    aws.environment=${RESOURCE_PREFIX}
    
    aws.parameter.prefix=/osdu/${RESOURCE_PREFIX}
    aws.primary.region=${aws.parameter.prefix}/primary-region
    
    
    app.expireTime=300
    app.maxCacheSize=10
    
    
    # Application name
    spring.application.name=notification-aws
    
    
    #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
    
    Spencer Sutton's avatar
    Spencer Sutton committed
    
    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:}
    
    server.ssl.key-store-password=${SSL_KEY_STORE_PASSWORD:}
    
    
    spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.security.SecurityAutoConfiguration