Data Loading Actions
Data Hub uses data loading actions to control the loading of raw fragments.
Data loading actions are started by the DefaultDataLoadingModificationService. The service is part of Data Hub core. Load data into Data Hub using either the CSV extension or one of the two Spring integration channels.
CSV
Before the CSV data begins to load, Data Hub creates a data loading action, assigns an ID to it, and gives it a status of IN_PROGRESS. Because it is CSV data, all of it must load before the data loading action is complete. Once it is complete, the data loading status changes to COMPLETE. All of the raw item statuses are set to PENDING. The raw items are ready to be composed.
Spring
Since the custom code loads data into the Spring channel, each piece of data is given its own data loading action. Each data loading action is assigned an ID and given a status of IN_PROGRESS. After the piece of data is loaded, the data loading status changes to COMPLETE. The raw item status is set to PENDING, and the raw item is ready to be composed. If the data fails to load, the action is set to a FAILURE status.
In both cases, when the composition is complete, the data loading action status is set to PROCESSED.