You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current integration views each Mobilize load as incremental, but in fact it's absolute. So we need to change the integration to delete any events and timeslots that aren't in the next upload (and maybe the shifts associated with them - we might have to only do deletions on a go-forward basis).
The text was updated successfully, but these errors were encountered:
…ilize.
This involved a few structural changes in item processing:
- each item list has to be classified as to whether it is a webhook list or an event/shift list.
- when processing event/shift lists, we need to keep track of which events/shifts it contains.
- at the end of each event/shift list, we need to delete any records of that type that the cache contained but the list did not.
Making the above changes required making some cache changes:
- we need to keep the record ID as well as the mod date for each record in the cache.
- we need to keep track of all the keys for records of each type.
These cache changes required changing the cache key format, so that the old cache and the new cache implementations don't collide.
So this came back when I got rid of the cache. But I realize it's slightly different: we should remove old events but not old shifts. We should transfer all the shifts and just not link them to events that have been deleted.
Also made a change to retain all shifts even if they have no current event IDs, since we want the historical data.
Also updated an incorrect attribution string in the logs.
#71)
Also made a change to retain all shifts even if they have no current event IDs, since we want the historical data.
Also updated an incorrect attribution string in the logs.
The current integration views each Mobilize load as incremental, but in fact it's absolute. So we need to change the integration to delete any events and timeslots that aren't in the next upload (and maybe the shifts associated with them - we might have to only do deletions on a go-forward basis).
The text was updated successfully, but these errors were encountered: