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.

Creating New Data Set

Creating New Data Set

Use this procedure to create a new rel-1.x data set directory.

  1. Copy template/data-template/ to the data directory and rename it to rel-1.x-data.
  2. In data/rel-1.x-data/, replace all instances of @new-data-dir with rel-1.x-data.
  3. In data/liquibase-changelog.xml file, add the following before the include paths for test-data: <include file="rel-1.x-data/liquibase-changelog.xml" relativeToChangelogFile="true" /> config/filtering.properties .
  4. In the /filtering.properties file for each environment, override the default qualifier to run import on every database update:

    importexport.rel-1.x-data.qualifier=${timestamp.qualifier}

    Do this step for the local environment and for other environments to rerun import on a database update.