Graph Queries Profile¶
The technology under test supports graph-like queries that return collections of metadata instances.
Entity neighborhood¶
The technology under test supports the ability to query metadata instances that radiate from a specific entity instance through multiple hops. This tests the getEntityNeighborhood
method of the OMRSMetadataCollection
interface.
Assertions
ID | Description |
---|---|
repository-graph-queries-01 |
graph query returned a result. |
repository-graph-queries-02 |
graph query returned the expected number of entities. |
repository-graph-queries-03 |
graph query returned all the expected entities. |
repository-graph-queries-04 |
graph query returned the expected number of relationships. |
repository-graph-queries-05 |
graph query returned all the expected relationships. |
repository-graph-queries-14 |
repository supports getEntityNeighborhood |
Connected entities¶
The technology under test supports the ability to query the entity instances that are connected to a specific entity instance. This tests the getRelatedEntities
method of the OMRSMetadataCollection
interface.
Assertions
ID | Description |
---|---|
repository-graph-queries-06 |
graph query returned the expected number of related entities. |
repository-graph-queries-07 |
graph query returned all the expected related entities. |
repository-graph-queries-15 |
repository supports getRelatedEntities |
Linked entities¶
The technology under test supports the ability to locate the metadata instances that connect two entity instances together. This tests the getLinkingEntities
method of the OMRSMetadataCollection
interface.
Assertions
ID | Description |
---|---|
repository-graph-queries-08 |
getLinkedEntities found n/n expected entities using parameters: ... |
repository-graph-queries-09 |
graph query returned all the expected entities. |
repository-graph-queries-10 |
graph query returned the expected number of relationships. |
repository-graph-queries-11 |
graph query returned all the expected relationships. |
repository-graph-queries-16 |
repository supports getRelatedEntities |