Entity Restore Profile¶
The performance of programmatically reversing the latest soft-delete of an existing entity instance.
The Open Metadata Repository Services (OMRS) interface for a metadata repository defines an optional method for reverting soft-deletes on entity instances:
||reverts the last soft-delete that was made to an entity|
||See (2) in detailed logic below.|
For every entity type supported by the technology under test, this profile does the following (in order):
- Searches for
instancesPerTypeentity GUIDs of that type that have been soft-deleted. (This uses
findEntitiesByPropertywith a condition to limit to the status
DELETEDonly and its performance is recorded as part of the entity search profile.)
- For each of these entity GUIDs,
restoreEntityis called to revert the soft-delete and make the entity active again.
So, for example, if the technology under test supports 50 entity types, and the
instancesPerType parameter is set to 100, then this profile will re-activate 50 (types) x 100 (instances per type) = 5000 entities. (And it will run
findEntitiesByProperty 50 times.)