All Downloads are FREE. Search and download functionalities are using the official Maven repository.

JavaSpring.application.mustache Maven / Gradle / Ivy

There is a newer version: 0.9.25
Show newest version
# THIS IS AN AUTO-GENERATED SPRING CONFIG
# template for this file is: src/resources/JavaSpring/application.mustache

spring.banner.location=classpath:/io/starter/spring/boot/starter-ignite-banner.txt

springfox.documentation.swagger.v2.path=/api-docs
# server.contextPath={{^contextPath}}/{{/contextPath}}{{#contextPath}}{{contextPath}}{{/contextPath}}

# Force Read from SYSPROPS
server.port=${servicePort}
server.address=${serviceHost}

# Configure the JSON Serialization used by REST api
spring.jackson.serialization-inclusion=non_null
spring.jackson.serialization.WRITE_DATES_AS_TIMESTAMPS=false
# spring.jackson.date-format=io.starter.csat.invoker.RFC3339DateFormat


spring.boot.admin.routes.endpoints=env, metrics, trace, jolokia, info, configprops
# spring.boot.admin.client.url=${adminServiceURL}
spring.boot.admin.url=${adminServiceURL}

spring.adminUser=${adminUser}
spring.adminPassword=${adminPassword}

spring.boot.admin.client.username=${adminUser}
spring.boot.admin.client.password=${adminPassword}

spring.boot.admin.client.instance.metadata.user.name=${adminUser}
spring.boot.admin.client.instance.metadata.user.password=${adminPassword}

io.starter.stackgen.CORSMapping=${CORSMapping}
io.starter.stackgen.CORSOrigins=${CORSOrigins}

spring.jackson.date-format={{basePackage}}.RFC3339DateFormat
spring.jackson.serialization.WRITE_DATES_AS_TIMESTAMPS=false

# SSL Setup
# see: http://docs.stackgen.io/

# server.port:8443
# security.require-ssl=true
# server.ssl.key-store:/home/ec2-user/{{artifactId}}/keystore.p12
# server.ssl.key-store-password:${adminPassword}
# server.ssl.keyStoreType:PKCS12
# server.ssl.keyAlias:tomcat

#
# SECURITY
#
# The default domain for generating ObjectNames must be specified. Otherwise when multiple Spring Boot applications start in the same servlet container
# all would be created with the same name (com.zaxxer.hikari:name=dataSource,type=HikariDataSource) for example

spring.jmx.default-domain={{artifactId}}
spring.security.filter.dispatcher-types=REQUEST,FORWARD,ASYNC
spring.liquibase.enabled=false

# NOTE: static resources allows for loading of local files such as web app and custom classfiles
# locations of static resources
spring.resources.static-locations=file:static/,classpath:/META-INF/resources/,classpath:/resources/,classpath:/static/,classpath:/webapp/,classpath:/public/ 




© 2015 - 2024 Weber Informatics LLC | Privacy Policy