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

Data Population CLI Tool Extension Modules

Data Population CLI Tool Extension Modules

Any project-specific customizations must be made in project-specific modules, and then add to the class path of the assembled CLI tool of the project. You can extend or customize the following modules in Data Population CLI Tool:

Module Name Description Significant Classes
ep-data-population-cli-tool Provides the CLI entry point, DataPopulationCliApplication, and the global configuration option annotations and processors. DataPopulationCliApplication, DataPopulationCliApplicationInitializer, DataPopulationCliGlobalConfigurer, CommandAvailabilityChecker
*-directory-plugin Configures the global configuration options to system properties so that the Spring Shell can initialize the application context with these directory resources. DataDirectoryConfiguration, EnvironmentDirectoryConfiguration
ep-dp-cli-database-reset-plugin Provides the reset-db command to delete, recreate, and repopulate the database. High-level command which calls the data-population core. DatabaseResetCommand
ep-dp-cli-database-update-plugin Provides the update-db command which repopulates the database, updates the schema, and runs data import as change sets. DatabaseUpdateCommand
ep-dp-cli-filter-data-plugin Provides the filter-data command which uses the low-level filter service to filter the data into an output directory. FilterDataCommand
ep-data-population-cli-tool-assembly Assembles up the data population tool. This module contains shell script wrappers to invoke the tool. data-population.sh, data-population.bat