Data Population
With the Data Population tool, you can create new databases or update existing databases.
The Data Population tool uses Liquibase to manage the execution of Liquibase scripts and import/export data by wrapping import/export data set in a Liquibase change set. For more information, see Liquibase.
Features
Property placeholders are supported in both Liquibase and import/export data
These placeholders are filtered at the run time using an environment-specific properties file, so you need not use the Elastic Path Core tool or create and run environment-specific SQL (Structured Query Language) scripts.
Using Liquibase qualifiers, standard Liquibase change sets and import/export data sets can be applied multiple times if required
Depending on the environment,
update-db
is run each time data is populated or as defined for the environment
The following commands are used to populate the database:
-Preset-db
Deletes the existing database, creates a new database, and populates the new database’s schema and data from the demo or customer.
-Pupdate-db
Updates the schema and data for an existing database. This command applies only the new change sets to the database.
-Pfilter-data
Filters the data folder and the results are displayed in the Output directory