Skip to content

Examples of script Configuration files

Antonio Robirosa edited this page May 1, 2020 · 2 revisions

development.conf

runonlyonenvironments=DEV,TEST

The script would only run in the development and testing environment. This configuration is useful to import test data.

integrationTests.conf

runonlyonenvironments=DEV,TEST
runonlyontenants=junit

The script will only run during your integration tests in development and testing environments. This is useful for test data required by the automatic tests.

productionWithoutIntegration.conf

runonlyonenvironments=PRODUCTION

The script would only run in the production. This configuration for settings which are only valid there, like web services url. But keep in mind that it is a bad practice to save settings in the database which depends on the environment. It is better to use the file /conf/local.properties to configure them and have one version of this file for each environment.

Clone this wiki locally