Data Object Delete

Figure @data-object-delete Request to delete a Sync Data Object

The Data Object reporter post a Delete Message to stop the Data Object synchronisation.

The Core Police Engine applies policies to check whether Alice has permissions to delete the data object. If yes, the Sync Manager removes its subscription listener from the Msg BUS.

In case the data object deletion is authorised, the Sync Manager removes its subscription listener from the Msg BUS and sends a Delete message to all object Observers.

Optionally, Observers may confirm with a Response Message to acknowledge the reception of the delete.

Each Observer asks its Sync Manager to remove its listeners from the Bus through a Unsubscribe message (similar to the Unsubscription procedure ) and also asks the Message Node to Unsubscribe from the deleted ObjectURL address.

The Sync Manager removes all authorised observerListeners that were added in the Msg BUS to receive the Data object updates (/changes resource).

The data object is unregistered from the Registry with a Delete Message.

Steps : the Sync Manager removes all listeners that were added in the Msg BUS to be notified when new observers are added or removed (/observers resource).