Network Integrity Entity Sorting Does Not Return All Elements

(Doc ID 1557844.1)

Last updated on JULY 07, 2014

Applies to:

Oracle Communications Network Integrity - Version 7.2.2 and later
Information in this document applies to any platform.

Symptoms

When an entity has an associated list of entities (for example,  oracle.communications.inventory.api.entity.Equipment has an associated list of oracle.communications.inventory.api.entity.PhysicalPort entities), and that list is sorted, some of the relationships are not present. In this example, when the Equipment is persisted, some of its physical ports are not present.

In implementing a discovery processor that models physical ports on a piece of equipment, where the discovery source provides the ports out of sequence, the following API call is used:


The expected outcome of a discovery scan would list all of the ports associated with the equipment, ordered according to the conditions defined in MyPhysicalPortComparator.

The actual outcome is a subset of the full set of ports, though in the correct order. 

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms