Data Sync WebApp
The Data Sync Webapp runs data synchronization from an author environment to a live environment automatically whenever a changeset is published in Commerce Manager. The Data Sync Webapp functions the same way as the Data Sync Tool, but allows this functionality to be provided by an always-on webapp so you do not need to run the Data Sync Tool manually.
When making changes in the author environment, you must update a change set in 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 need to modify to a change set in the author environment Commerce Manager.
Lock the change set, which changes the changeset to the
LOCKED
state so it can no longer be modified.Publish the change set, which changes the changeset to the
READY_TO_PUBLISH
state.A
CHANGE_SET_READY_FOR_PUBLISH
message is sent to the Data Sync Webapp through ActiveMQ.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 receives the message and begins data synchronization.
If the data synchronization is successful, the changeset will be changed to the
FINALIZED
state automatically. If it fails, the changeset will be changed back to theLOCKED
state.
We recommend 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.