Elastic Path Commerce Development

Data Sync Webapp

Data Sync Webapp

Data Sync webapp runs data synchronization from Elastic Path author environment to a live environment automatically by using the functionalities of Data Sync Tool. With the webapp, you need not run the data sync tool manually.

When you update Elastic Path author environment, you must update a change set in Elastic Path Commerce Manager with the changes to synchronize the changes to a live environment. When you publish the changes, the Data Sync webapp runs the synchronization automatically. For more information about the change sets, see the Change Sets section.

Workflow

  • The following sequence of actions are performed to update data objects in an author environment:
    • Add the objects that you modify in the author environment to a change set in Elastic Path Commerce Manager.
    • Lock the change set.

      For more information, see the Chapter 11> Changes Sets >Locking a Change Set section in Elastic Path Commerce User Guide.

    • Publish the change set.

      For more information, see the Chapter 11> Changes Sets >Publishing a Change Set section in Elastic Path Commerce User Guide.

  • The com.elasticpath.core.messaging.changeset.ChangeSetEventType.CHANGE_SET_READY_FOR_PUBLISH message is sent to ActiveMQ through Java Messaging System (JMS) when you publish the change set. This event message indicates that the change set is ready for publishing. For more information about event messages, see the Asynchronous Event Messaging section.
  • The Data Sync webapp is triggered and the data synchronization runs.

Elastic Path recommends configuring an email address using the system setting, `COMMERCE/SYSTEM/DATASYNC/ERROREMAIL/address`, to receive the detailed information about a data synchronization operation. The email provides more information about the errors if the data synchronization fails. For more information about configuring an email address, see the System Configuration Settings Reference or Adding a New Email section.