Relationship Search Profile¶
The technology under test supports the ability to search for relationnship instances.
Relationship property search¶
The technology under test supports the search and retrieval of current relationship instances from its repository based on matching specific property values. This tests the findRelationshipsByProperty method of the OMRSMetadataCollection interface.
Assertions
| ID | Description |
|---|---|
repository-relationship-property-search-02 |
repository does not support an entity type that can be used to test relationship type <typeName>. |
repository-relationship-property-search-04 |
findRelationshipsByProperty found n/n expected results using parameters: .... |
repository-relationship-property-search-05 |
findRelationshipsByProperty returned 0 unexpected results using parameters: .... |
repository-relationship-property-search-06 |
findRelationshipsByProperty found n/n expected results using parameters: .... |
repository-relationship-property-search-07 |
findRelationshipsByProperty returned 0 unexpected results using parameters: .... |
repository-relationship-property-search-10 |
findRelationshipsByProperty found n/n expected results using parameters: .... |
repository-relationship-property-search-11 |
findRelationshipsByProperty returned 0 unexpected results using parameters: .... |
repository-relationship-property-search-105 |
findRelationshipsByProperty with null match parameters found n/n expected results using parameters: .... |
repository-relationship-property-search-106 |
findRelationshipsByProperty with null match parameters returned 0 unexpected results using parameters: .... |
Relationship value search¶
The technology under test supports the search and retrieval of current relationship instances from its repository based on matching any values. This tests the findRelationshipsByPropertyValue method of the OMRSMetadataCollection interface.
Assertions
| ID | Description |
|---|---|
repository-relationship-property-search-08 |
findRelationshipsByPropertyValue found n/n expected results using parameters: .... |
repository-relationship-property-search-09 |
findRelationshipsByPropertyValue found 0 unexpected results using parameters: .... |
Relationship condition search¶
The technology under test supports the search and retrieval of current metadata instances from its repository based on matching logical combinations of property conditions. This tests the findRelationships method of the OMRSMetadataCollection interface.
It also tests that paging through the results follows the paging contract: an empty list means the page was filtered empty and the caller should ask for the next page, and null means there are no more results. See the relationship paging test case.
Assertions
| ID | Description |
|---|---|
repository-relationship-property-search-103 |
findRelationships found n/n expected results using parameters: .... |
repository-relationship-property-search-104 |
findRelationships found 0 unexpected results using parameters: .... |
repository-relationship-property-search-107 |
findRelationships with null match parameters found n/n expected results using parameters: .... |
repository-relationship-property-search-108 |
findRelationships with null match parameters returned 0 unexpected results using parameters: .... |
repository-relationship-paging-01 |
no page of relationships holds more than the page size requested |
repository-relationship-paging-02 |
no relationship is returned on more than one page |
repository-relationship-paging-03 |
paging through findRelationships reaches every relationship that a single search returns |
repository-relationship-paging-04 |
the end of the relationships is signalled by null, not by an empty list |
repository-relationship-paging-05 |
a page requested beyond the last relationship is null |