Skip to content

Reference Copies Profile

The technology under test is able to store reference copies of metadata from other members of the cohort.

Reference copy storage

The technology under test supports the storage of metadata instances from other repositories in the cohort.

Assertions
ID Description
repository-entity-reference-copy-lifecycle-01 <typeName> reference entity created; repository supports storage of reference copies. This tests the isEntityKnown method of the OMRSMetadataCollection interface.
repository-entity-reference-copy-lifecycle-04 <typeName> reference entity matches the entity that was saved. This tests the getEntityDetail method of the OMRSMetadataCollection interface.
repository-entity-reference-copy-lifecycle-05 <typeName> reference entity has no relationships. This tests the getRelationshipsForEntity method of the OMRSMetadataCollection interface.
repository-entity-reference-copy-lifecycle-11 <typeName> reference entity refresh requested by TUT. This tests the refreshEntityReferenceCopy method of the OMRSMetadataCollection interface.
repository-entity-reference-copy-lifecycle-12 <typeName> reference entity refreshed. This tests the getEntityDetail method of the OMRSMetadataCollection interface.
repository-entity-reference-copy-lifecycle-13 <typeName> refreshed reference entity matches original. This tests the getEntityDetail method of the OMRSMetadataCollection interface.
repository-entity-reference-copy-lifecycle-16 <typeName> reference entity created with mappingProperties. This tests the saveEntityReferenceCopy method of the OMRSMetadataCollection interface.
repository-entity-reference-copy-lifecycle-17 <typeName> reference entity retrieved with mappingProperties. This tests the getEntityDetail method of the OMRSMetadataCollection interface.
repository-reference-copy-classification-lifecycle-01 No classifications attached to new entity reference copy of type <typeName>. This tests the getEntityDetail method of the OMRSMetadataCollection interface.
repository-reference-copy-classification-lifecycle-02 <entityTypeName> entity reference copy returned when classification added. This tests the classifyEntity method of the OMRSMetadataCollection interface.
repository-reference-copy-classification-lifecycle-03 <classificationName> classification added to entity reference copy of type <entityTypeName>. This tests the classifyEntity method of the OMRSMetadataCollection interface.
repository-reference-copy-classification-lifecycle-04 <classificationName> classification properties added to entity reference copy of type <entityTypeName>. This tests the updateEntityClassification method of the OMRSMetadataCollection interface.
repository-reference-copy-classification-lifecycle-05 <classificationName> classification removed from entity reference copy of type <entityTypeName>. This tests the declassifyEntity method of the OMRSMetadataCollection interface.
repository-reference-copy-classification-lifecycle-07 repository supports storage of reference copies. This tests the saveEntityReferenceCopy method of the OMRSMetadataCollection interface.
repository-relationship-reference-copy-lifecycle-01 <typeName> reference relationship created; repository supports storage of reference copies. This tests the isRelationshipKnown method of the OMRSMetadataCollection interface.
repository-relationship-reference-copy-lifecycle-02 <typeName> reference relationship can be retrieved as Relationship. This tests the getRelationship method of the OMRSMetadataCollection interface.
repository-relationship-reference-copy-lifecycle-03 <typeName> reference relationship matches the relationship that was saved. This tests the getRelationship method of the OMRSMetadataCollection interface.
repository-relationship-reference-copy-lifecycle-09 <typeName> reference relationship refresh requested by TUT. This tests the refreshRelationshipReferenceCopy method of the OMRSMetadataCollection interface.
repository-relationship-reference-copy-lifecycle-10 <typeName> reference relationship refreshed. This tests the getRelationship method of the OMRSMetadataCollection interface.
repository-relationship-reference-copy-lifecycle-11 <typeName> refreshed reference relationship matches original. This tests the getRelationship method of the OMRSMetadataCollection interface.
repository-relationship-reference-copy-lifecycle-15 <typeName> reference relationship created with mappingProperties. This tests the saveRelationshipReferenceCopy method of the OMRSMetadataCollection interface.
repository-relationship-reference-copy-lifecycle-16 <typeName> reference relationship retrieved with mappingProperties. This tests the getRelationship method of the OMRSMetadataCollection interface.

Reference copy locking

The technology under test ensures metadata instances from other repositories can not be updated.

Assertions
ID Description
repository-entity-reference-copy-lifecycle-06 <typeName> reference entity status cannot be updated. This tests the updateEntityStatus method of the OMRSMetadataCollection interface.
repository-entity-reference-copy-lifecycle-07 <typeName> reference entity properties cannot be updated. This tests the updateEntityProperties method of the OMRSMetadataCollection interface.
repository-entity-reference-copy-lifecycle-08 <typeName> reference entity type cannot be changed. This tests the reTypeEntity method of the OMRSMetadataCollection interface.
repository-entity-reference-copy-lifecycle-09 <typeName> reference entity identity cannot be changed. This tests the reIdentifyEntity method of the OMRSMetadataCollection interface.
repository-relationship-reference-copy-lifecycle-04 <typeName> reference relationship status cannot be updated. This tests the updateRelationshipStatus method of the OMRSMetadataCollection interface.
repository-relationship-reference-copy-lifecycle-05 <typeName> reference relationship properties cannot be updated. This tests the updateRelationshipProperties method of the OMRSMetadataCollection interface.
repository-relationship-reference-copy-lifecycle-06 <typeName> reference relationship type cannot be changed. This tests the reTypeRelationship method of the OMRSMetadataCollection interface.
repository-relationship-reference-copy-lifecycle-07 <typeName> reference relationship identity cannot be changed. This tests the reIdentifyRelationship method of the OMRSMetadataCollection interface.

Reference copy delete

The technology under test ensures that references copies are removed from its repository with integrity when the master copy is deleted.

Assertions
ID Description
repository-entity-reference-copy-lifecycle-10 <typeName> reference entity copy purged at TUT. This tests the purgeEntityReferenceCopy method of the OMRSMetadataCollection interface.
repository-entity-reference-copy-lifecycle-14 <typeName> reference entity purged following delete at CTS. This tests the getEntityDetail method of the OMRSMetadataCollection interface.
repository-relationship-reference-copy-lifecycle-08 <typeName> reference relationship copy purged at TUT. This tests the purgeRelationshipReferenceCopy method of the OMRSMetadataCollection interface.
repository-relationship-reference-copy-lifecycle-12 <typeName> reference relationship purged following delete at CTS. This tests the getRelationship method of the OMRSMetadataCollection interface.