From what I understand this implementation doesn't implement any functionality for sharing different subsets of the SS12000 data model to different clients. So to limit what is shared with Skolverket we need to only ingest the data we wish to share.
This means it's a valid scenario that a Person (for instance) is added, deleted and added again (with the same UUID), as time goes by and the subset we wish to share changes.
In such a scenario (added, deleted, added) the object will (in the provisioning-reference-api implementation) appear when querying /persons and also when querying /deletedEntities. Then whether or not the consuming system will keep or delete the object would be undefined and can depend on the order which these endpoints are queried.
From what I understand this implementation doesn't implement any functionality for sharing different subsets of the SS12000 data model to different clients. So to limit what is shared with Skolverket we need to only ingest the data we wish to share.
This means it's a valid scenario that a Person (for instance) is added, deleted and added again (with the same UUID), as time goes by and the subset we wish to share changes.
In such a scenario (added, deleted, added) the object will (in the provisioning-reference-api implementation) appear when querying /persons and also when querying /deletedEntities. Then whether or not the consuming system will keep or delete the object would be undefined and can depend on the order which these endpoints are queried.