APPC - OAM ConcurrentModificationException 79/17379/2
authorJoey Sullivan <joey.sullivan@amdocs.com>
Thu, 5 Oct 2017 19:48:12 +0000 (19:48 +0000)
committerSkip Wonnell <skip@att.com>
Fri, 6 Oct 2017 20:26:04 +0000 (20:26 +0000)
commita132582db7f3718d51959cd093bea5198bf94530
tree4f39a81adf04aeb85cb20cb91f85af7289d9cd1c
parentb9ab501e8f5fd4750dd3dc07d054821a186a35b2
APPC - OAM ConcurrentModificationException

Fixes:

- In the AsyncTaskHelper, the cancel future augmentation in the
scheduleBaseRunnable(...) removed itself from the myFutureSet while
it was iterating over the entries. This caused the
ConcurrentModificationException

- The Timeout operation in the ConfigurationHelper was not converting
the units to millisecond.

- The Timeout in the BaseProcessor. preProcess(...) was NOT using the
request-timeout value supplied in the request.

- When a timeout occurred in the BaseProcessor. preProcess(...) method,
the OAM state was not being switched to ERROR state

Issue-Id: APPC-263
Change-Id: I02c5e3adaca9a595d2c3541d8a997f3254bf097a
Signed-off-by: Joey Sullivan <joey.sullivan@amdocs.com>
appc-oam/appc-oam-bundle/src/main/java/org/openecomp/appc/oam/processor/BaseCommon.java
appc-oam/appc-oam-bundle/src/main/java/org/openecomp/appc/oam/processor/BaseProcessor.java
appc-oam/appc-oam-bundle/src/main/java/org/openecomp/appc/oam/util/AsyncTaskHelper.java
appc-oam/appc-oam-bundle/src/main/java/org/openecomp/appc/oam/util/ConfigurationHelper.java