Dematic Module should be used for starting accession flow in Dematic Staging Director.
- The module should send items to Dematic based on schedule or time interval, which is configured in remote-storage settings.
- If Staging Director returns code 200, Dematic module should call remote-storage API to set flag isAccessioned to true
- When the edge Dematic module recieves notification from Dematic, that item status is changed to Pick Completed (PC), it should call remote storage module method "/remote-storage/retrieve/remoteStorageConfigurationId/checkInItem" (
- When the edge Dematic module recieves notification from Dematic, that item status is changed to Item Returned (IR), it should call remote storage module method "remote-storage/return" (
The list of items should be retrieved from remote-storage-module by corresponding filters: flag isAccessioned, remote-storage name, date, limit.
Limit should be set, if Dematic Staging Director have some restrictions for items count.
For running job only on one instance of edge service by schedule in case of multiple instances, https://github.com/lukas-krecan/ShedLock with Hazelcast should be used.