Skip to content

Metadata Sharing Profile

The functionality necessary to share metadata with other members of the cohort.

Cohort registration

The technology under test is able to register with a cohort.

Assertions
ID Description
repository-server-ids-01 Repository connector can be retrieved from cohort registration.

Repository connector

The technology under test provides a connection to a valid repository connector.

Assertions
ID Description
repository-test-case-base-01 Repository connector supplied to conformance suite.
repository-server-ids-02 Retrieved helper object for building TypeDefs and metadata instances from repository connector.
repository-server-ids-03 Retrieved validator object to check the validity of TypeDefs and metadata instances from repository connector.
repository-server-ids-04 Retrieved correct local user Id from repository connector.
repository-server-ids-05 Retrieved correct max page size from repository connector.

Metadata collection id

The technology under test broadcasts a unique metadata collection identifier.

Assertions
ID Description
repository-metadata-collection-01 Metadata collection id retrieved from cohort registration.
repository-metadata-collection-02 Metadata collection id retrieved from cohort repository connector.
repository-metadata-collection-03 Metadata collection id retrieved from cohort repository connector's metadata collection.
repository-metadata-collection-04 Metadata collection id retrieved from cohort repository connector matches registration.
repository-metadata-collection-05 Metadata collection id retrieved from cohort repository connector's metadata collection matches registration.

Supported type queries

The technology under test is able to respond appropriately to queries about its supported types.

Assertions
ID Description
repository-find-attribute-typedefs-by-category-01 All attribute type definitions returned by category. This tests the findAttributeTypeDefsByCategory method of the OMRSMetadataCollection interface.
repository-find-types-by-external-standard-identifiers-01 All type definitions returned for external standard name <name>. This tests the findTypesByExternalID method of the OMRSMetadataCollection interface.
repository-find-types-by-external-standard-identifiers-02 All type definitions returned for external standard organization name <name>. This tests the findTypesByExternalID method of the OMRSMetadataCollection interface.
repository-find-types-by-external-standard-identifiers-03 All type definitions returned for external standard type name <name>. This tests the findTypesByExternalID method of the OMRSMetadataCollection interface.
repository-find-typedefs-by-category-01 All type definitions returned by category. This tests the findTypeDefsByCategory method of the OMRSMetadataCollection interface.
repository-get-typedef-gallery-01 TypeDefGallery retrieved. This tests the getAllTypes method of the OMRSMetadataCollection interface.

Supported type notifications

The technology under test is able to send out notifications for its supported types.

Assertions
ID Description
repository-consistency-of-attribute-typedef-01 <attributeTypeDefName> attribute type definition from event is consistent with API. This tests the getAttributeTypeDefByGUID method of the OMRSMetadataCollection interface.
repository-consistency-of-typedef-01 <typeDefName> type definition from event is consistent with API. This tests the getTypeDefByGUID method of the OMRSMetadataCollection interface.
repository-type-definition-event-01 Event is not null.
repository-type-definition-event-02 Event timestamp is present.
repository-type-definition-event-03 Event type is valid.
repository-type-definition-event-04 Event originator is set.
repository-type-definition-event-05 Metadata collection id is set.
repository-type-definition-event-06 Metadata collection id matches technology under test.
repository-type-definition-event-07 Server name is set.
repository-type-definition-event-08 Server name matches technology under test.
repository-type-definition-event-09 TypeDef supplied for TypeDef event.
repository-type-definition-event-10 AttributeTypeDef null for TypeDef event.
repository-type-definition-event-11 AttributeTypeDef supplied for AttributeTypeDef event.
repository-type-definition-event-12 TypeDef null for AttributeTypeDef event.
repository-type-definition-event-13 TypeDefPatch supplied for update event.

Consistent types

The technology under test supports entity, relationship and classification types that link together.

Assertions
ID Description
repository-classification-entities-01 <classificationName> classification can attach to at least one supported entity.
repository-classification-entities-02 <classificationName> supported for classification.
repository-graph-queries-00 <typeName> relationship type matches the known type.
repository-entity-reference-copy-lifecycle-00 <typeName> entity type definition matches known type
repository-entity-property-search-01 <typeName> entity type matches the known type from the repository helper.
repository-relationship-lifecycle-00 <typeName> relationship type definition matches known type
repository-relationship-reference-copy-lifecycle-00 <typeName> relationship type definition matches known type
repository-relationship-reidentify-00 <typeName> relationship type definition matches known type
repository-relationship-property-search-01 <typeName> relationship type matches the known type from the repository helper.

Metadata instance access

The technology under test supports the retrieval of the current state of specific metadata instances from its repository.

Assertions
ID Description
repository-entity-lifecycle-09 <typeName> new entity is known. This tests the isEntityKnown method of the OMRSMetadataCollection interface.
repository-entity-lifecycle-10 <typeName> new entity summarized. This tests the getEntitySummary method of the OMRSMetadataCollection interface.
repository-entity-lifecycle-11 <typeName> new entity retrieved. This tests the getEntityDetail method of the OMRSMetadataCollection interface.
repository-entity-reference-copy-lifecycle-02 <typeName> reference entity can be retrieved as EntitySummary. This tests the getEntitySummary method of the OMRSMetadataCollection interface.
repository-entity-reference-copy-lifecycle-03 <typeName> reference entity can be retrieved as EntityDetail. This tests the getEntityDetail method of the OMRSMetadataCollection interface.
repository-relationship-lifecycle-09 <typeName> new relationship is known. This tests the isRelationshipKnown method of the OMRSMetadataCollection interface.
repository-relationship-lifecycle-10 <typeName> new relationship retrieved. This tests the getRelationship method of the OMRSMetadataCollection interface.

Instance notifications

The technology under test sends out events when metadata changes in its repository.

Not yet implemented

Instance versioning

The technology under test supports incrementing version numbers within metadata instances as they change.

Assertions
ID Description
repository-entity-lifecycle-08 <typeName> new entity has version greater than zero. This tests the addEntity method of the OMRSMetadataCollection interface.
repository-entity-lifecycle-15 <typeName> entity with new status version number is <nextVersion>. This tests the updateEntityStatus method of the OMRSMetadataCollection interface.
repository-entity-lifecycle-18 <typeName> entity with min properties version number is <nextVersion>. This tests the updateEntityProperties method of the OMRSMetadataCollection interface.
repository-entity-lifecycle-21 <typeName> entity deleted version number is <nextVersion>. This tests the deleteEntity method of the OMRSMetadataCollection interface.
repository-entity-lifecycle-08 <typeName> new relationship has version greater than zero. This tests the addRelationship method of the OMRSMetadataCollection interface.
repository-entity-lifecycle-13 <typeName> relationship with new status version number is <nextVersion>. This tests the updateRelationshipStatus method of the OMRSMetadataCollection interface.
repository-entity-lifecycle-16 <typeName> relationship with min properties version number is <nextVersion>. This tests the updateRelationshipProperties method of the OMRSMetadataCollection interface.
repository-entity-lifecycle-19 <typeName> relationship deleted version number is <nextVersion>. This tests the deleteRelationship method of the OMRSMetadataCollection interface.

Type enforcement

The technology under test ensures metadata instances conform to their type definition.

Not yet implemented

Unsupported type errors

The technology under test will not create metadata instances for unsupported types.

Not yet implemented

Type conflict management

The technology under test receives/handles and sends type conflict events when type errors are detected.

Not yet implemented

Back to top