Duplicate LogicalDevice (LD) Getting Created When Associating a LD to InventoryGroup
Last updated on APRIL 04, 2018
Applies to:Oracle Communications Unified Inventory Management - Version 7.2.4 and later
Information in this document applies to any platform.
User is performing POC for createSIMS. There are three APIs we are using –
1. logicalDeviceManager.createLogicalDevice(Collection arg0) – for creating SIMs in the batch of 1000
2. inventoryGroupManager.associatePersistentToInventoryGroup(InventoryGroup arg0, Persistent... arg1) – To associate SIMs created in above step to an Inventory group
3. transitionManager.transition(Object arg0, LifeCycleManaged... arg1) – To transition the SIMs created above to UNAVAILABLE
In step 2 after the API call to associate SIMs to an inventory group, a duplicate SIM gets created in UIM. (it does not happen when associating each SIM one by one to the inventory group).
The code snippet is -