You are viewing the documentation for Blueriq 17. Documentation for other versions is available in our documentation directory.

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Current »

Blueriq's dev plugin is marked as a Spring Profile called development-tools.

To enable the dev plugin one needs to configure Blueriq Runtime as follows:
- make sure bootstrap.properties contains:

  • spring.cloud.config.server.bootstrap=true --> this tells Blueriq to pick up the external configuration not from a config server but from the filesystem.
  • spring.profiles.active=native --> "native" is one of Spring's predefined profiles that needs to be configured to be able to load the config files from the local classpath or file system
  • spring.cloud.config.server.native.searchLocations=file:${spring.config.location:.} --> this setting tells Blueriq where config files can be found

- add the spring profile called 'dev' to the configuration:

  • spring.profiles.active=native,development-tools --> this tell Blueriq to load the configuration that is specific for the dev plugin. The configuration itself can be found in application-development-tools.properties

 

Run Blueriq from the command line or in a batch file as follows:

java -jar blueriq-web-standalone.jar --spring.profiles.active=native,development-tools

 

In Eclipse:

- add the spring profile called dev to the VM arguments of the Run configuration:
         -Dspring.profiles.active=native,development-tools

  • No labels