Announcement: You can find the guides for Commerce 7.5 and later on the new Elastic Path Documentation site. This Developer Center contains the guides for Commerce 6.13.0 through 7.4.1.Visit new site

This version of Elastic Path Commerce is no longer supported or maintained. To upgrade to the latest version, contact your Elastic Path representative.

Data Population Overview

Data Population Overview

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 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.