Extending Service Life Cycle
edited Sep 19, 2013 11:28AM in Unified Inventory Management (Communications Industry) (MOSC) 8 commentsAnswered
Hi,
I was able to successfully extend the Life Cycle for "Service" entity by introducing a new Service status "Restricted". Also defined following transitions between following business states:
1. IN_SERVICE => RESTRICTED (Business Action = 'Restrict')
2. RESTRICTED => IN_SERVICE (Business Action = 'Remove Restriction')
3. RESTRICTED => SUSPENDED (Business Action = 'Suspend')
4. RESTRICTED => DISCONNECTED (Business Action = 'Disconnect')
While transitioning to "Restricted" state, we do not change the service configuration version or the resource assignment statuses. The first three transitions work as expected. However we run into following exception when trying to "DISCONNECT" the service i.e. the 4th transition.
2013-04-19 13:40:07,815 DEBUG [] [ServiceConfigurationManager] leaving updateAssignmentStatus: assignment=[ LDAccountAssignmentToServiceDAO oid=com.metasolv.impl.entity.LDAccountConsumerDAO-75826184 !PTDND!=TTFFF startDate=Fri Apr 19 13:40:07 CDT 2013 endDate=Mon Jan 18 21:14:07 CST 2038 adminState=UNASSIGNED objectState=ACTIVE activity=CREATE master=false pendingDisconnect=false stateExpiry=null versions=[[ LDAccountAssignmentToServiceVersionDAO oid=com.metasolv.impl.entity.LDAccountConsumerDAO-86440002 !PTDND!=TFFFF startDate=Fri Apr 19 13:37:15 CDT 2013 endDate=Mon Jan 18 21:14:07 CST 2038 adminState=PENDING_UNASSIGN objectState=CANCELLED activity=UPDATE master=false pendingDisconnect=false stateExpiry=null versions=[] lastModifiedUser=jbailey lastModifiedDate=Fri Apr 19 13:37:15 CDT 2013 ], [ LDAccountAssignmentToServiceVersionDAO oid=com.metasolv.impl.entity.LDAccountConsumerDAO-86440013 !PTDND!=TFFFF startDate=Fri Apr 19 13:37:45 CDT 2013 endDate=Mon Jan 18 21:14:07 CST 2038 adminState=PENDING_UNASSIGN objectState=CANCELLED activity=UPDATE master=false pendingDisconnect=false stateExpiry=null versions=[] lastModifiedUser=jbailey lastModifiedDate=Fri Apr 19 13:37:46 CDT 2013 ], [ LDAccountAssignmentToServiceVersionDAO oid=com.metasolv.impl.entity.LDAccountConsumerDAO-75826185 !PTDND!=TFFFF startDate=Tue Sep 02 00:00:00 CDT
I was able to successfully extend the Life Cycle for "Service" entity by introducing a new Service status "Restricted". Also defined following transitions between following business states:
1. IN_SERVICE => RESTRICTED (Business Action = 'Restrict')
2. RESTRICTED => IN_SERVICE (Business Action = 'Remove Restriction')
3. RESTRICTED => SUSPENDED (Business Action = 'Suspend')
4. RESTRICTED => DISCONNECTED (Business Action = 'Disconnect')
While transitioning to "Restricted" state, we do not change the service configuration version or the resource assignment statuses. The first three transitions work as expected. However we run into following exception when trying to "DISCONNECT" the service i.e. the 4th transition.
2013-04-19 13:40:07,815 DEBUG [] [ServiceConfigurationManager] leaving updateAssignmentStatus: assignment=[ LDAccountAssignmentToServiceDAO oid=com.metasolv.impl.entity.LDAccountConsumerDAO-75826184 !PTDND!=TTFFF startDate=Fri Apr 19 13:40:07 CDT 2013 endDate=Mon Jan 18 21:14:07 CST 2038 adminState=UNASSIGNED objectState=ACTIVE activity=CREATE master=false pendingDisconnect=false stateExpiry=null versions=[[ LDAccountAssignmentToServiceVersionDAO oid=com.metasolv.impl.entity.LDAccountConsumerDAO-86440002 !PTDND!=TFFFF startDate=Fri Apr 19 13:37:15 CDT 2013 endDate=Mon Jan 18 21:14:07 CST 2038 adminState=PENDING_UNASSIGN objectState=CANCELLED activity=UPDATE master=false pendingDisconnect=false stateExpiry=null versions=[] lastModifiedUser=jbailey lastModifiedDate=Fri Apr 19 13:37:15 CDT 2013 ], [ LDAccountAssignmentToServiceVersionDAO oid=com.metasolv.impl.entity.LDAccountConsumerDAO-86440013 !PTDND!=TFFFF startDate=Fri Apr 19 13:37:45 CDT 2013 endDate=Mon Jan 18 21:14:07 CST 2038 adminState=PENDING_UNASSIGN objectState=CANCELLED activity=UPDATE master=false pendingDisconnect=false stateExpiry=null versions=[] lastModifiedUser=jbailey lastModifiedDate=Fri Apr 19 13:37:46 CDT 2013 ], [ LDAccountAssignmentToServiceVersionDAO oid=com.metasolv.impl.entity.LDAccountConsumerDAO-75826185 !PTDND!=TFFFF startDate=Tue Sep 02 00:00:00 CDT
0