Skip to content

Entity Search Profile

The technology under test supports the ability to search for entity instances.

The technology under test supports the search and retrieval of current metadata instances from its repository based on matching specific property values. This tests the findEntitiesByProperty method of the OMRSMetadataCollection interface.

Assertions
ID Description
repository-entity-property-search-101FEBP findEntitiesByProperty is supported
repository-entity-property-search-03 findEntitiesByProperty found n/n expected results using parameters: ...
repository-entity-property-search-04 findEntitiesByProperty returned 0 unexpected results using parameters: ...
repository-entity-property-search-05 findEntitiesByProperty found n/n expected results using parameters: ...
repository-entity-property-search-06 findEntitiesByProperty returned 0 unexpected results using parameters: ...
repository-entity-property-search-09 findEntitiesByProperty found n/n expected results using parameters: ...
repository-entity-property-search-10 findEntitiesByProperty returned 0 unexpected results using parameters: ...
repository-entity-property-search-105 findEntitiesByProperty with null match parameters found n/n expected results using parameters: ...
repository-entity-property-search-106 findEntitiesByProperty with null match parameters returned 0 unexpected results using parameters: ...

The technology under test supports the search and retrieval of current metadata instances from its repository based on matching any values. This tests the findEntitiesByPropertyValue method of the OMRSMetadataCollection interface.

Assertions
ID Description
repository-entity-property-search-101FEBPV findEntitiesByPropertyValue is supported
repository-entity-property-search-07 findEntitiesByPropertyValue found n/n expected results using parameters: ...
repository-entity-property-search-08 findEntitiesByPropertyValue returned 0 unexpected results using parameters: ...

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 findEntities 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 entity paging test case.

Assertions
ID Description
repository-entity-property-search-101FE findEntities using SearchProperties is supported
repository-entity-property-search-103 findEntities using SearchProperties with general regex found n/n expected results using parameters: ...
repository-entity-property-search-104 findEntities using SearchProperties with general regex returned 0 unexpected results using parameters: ...
repository-entity-property-search-107 findEntities with null match parameters found n/n expected results using parameters: ...
repository-entity-property-search-108 findEntities with null match parameters returned 0 unexpected results using parameters: ...
repository-entity-paging-01 no page of entities holds more than the page size requested
repository-entity-paging-02 no entity is returned on more than one page
repository-entity-paging-03 paging through findEntities reaches every entity that a single search returns
repository-entity-paging-04 the end of the entities is signalled by null, not by an empty list
repository-entity-paging-05 a page requested beyond the last entity is null