...
Code Block |
---|
title | bootstrap.properties |
---|
|
spring.profiles.active=native, development-tools,dashboard,customerdata-client,trace-sql-store,process-sql-store,reporting-sql-store,comments-sql-store,scheduler-quartz
spring.cloud.config.location=classpath:/
spring.config.server.bootstrap=trueadditional-location=
spring.cloud.config.server.native.searchLocations=file:${spring.config.location:.}},${spring.config.additional-location}
spring.cloud.config.server.bootstrap=true |
Code Block |
---|
language | text |
---|
title | Configuration of Spring Profiles |
---|
collapse | true |
---|
|
java -Dspring.profiles.active="native,cmis-client,comments-sql-store,customerdata-sql-store,dashboard,development-tools,managementservice-client,process-sql-store,publisher-client,reporting-sql-store,trace-sql-store" -Dspring.config.location="%~dp0/Runtime/Java/conf/" -jar Runtime/Java/bin/blueriq-runtime-standalone.jar
|
...
When it runs it will pick up the external configuration from the default local config server on port 8888 if it is running. To modify the startup behavior you can change the location of the config server using
Include Page |
---|
| _PropertiesBootstrap |
---|
| _PropertiesBootstrap |
---|
|
(such as
Include Page |
---|
| _PropertiesFileJava |
---|
| _PropertiesFileJava |
---|
|
but for the bootstrap phase of an application context).
Further reading
...