Skip to content

Undo an Update Profile

The technology under test is able to restore an instance to its previous version (although the version number is updated).

Return previous version

The technology under test supports the command to restore the previous version of an instance.

Assertions
ID Description
repository-entity-lifecycle-19 entity has properties restored. This tests the undoEntityUpdate method of the OMRSMetadataCollection interface.
repository-entity-lifecycle-29 repository supports undo of operations. This tests the undoEntityUpdate method of the OMRSMetadataCollection interface.
repository-relationship-lifecycle-17 relationship has properties restored. This tests the undoRelationshipUpdate method of the OMRSMetadataCollection interface.
repository-relationship-lifecycle-29 repository supports undo of operations. This tests the undoRelationshipUpdate method of the OMRSMetadataCollection interface.

New version number on undo

The technology under test ensures a restored instance has an incremented version number.

Assertions
ID Description
repository-entity-lifecycle-20 entity after undo version number is <version>. This tests the undoEntityUpdate method of the OMRSMetadataCollection interface.
repository-relationship-lifecycle-18 relationship after undo version number is <version>. This tests the undoRelationshipUpdate method of the OMRSMetadataCollection interface.