Fix SO Request body 57/22857/1
authorHockla, Ali (ah999m) <ah999m@att.com>
Wed, 8 Nov 2017 23:27:16 +0000 (17:27 -0600)
committerHockla, Ali (ah999m) <ah999m@att.com>
Wed, 8 Nov 2017 23:33:31 +0000 (17:33 -0600)
commit48c62738bf4c5653e36c6ea1e8e33e649b8526fc
treeb80c35c608012e842861ef14cb9034a86406ac40
parent9cbbe8c6abd790ab84ff47214db1f63bb5c2e1d7
Fix SO Request body

- Renamed modelNameVersionId to modelVersionId in SOModelInfo
- Removed requestID from SO Request body
- As a result of this, an SOResponseWrapper was needed in order to
  attach the control loop event requestId to use in the SOResponse
  rule in drl (the requestID that is returned in the SO response
  is a newly generated requestId with no relation to the Policy
  control loop event requestId as per Arthur)
- Updated drl to reflect the above mentioned change
- Updated simulator and junits to reflect changes
- Added an additional null httpResponse check/logger statement in SOManager and RestManager

Issue-ID: POLICY-438
Change-Id: I5f414ba69b60b5565cca9073b47f4c4835e5abbf
Signed-off-by: Hockla, Ali (ah999m) <ah999m@att.com>
controlloop/common/actors/actor.so/src/main/java/org/onap/policy/controlloop/actor/so/SOActorServiceProvider.java
controlloop/common/eventmanager/src/main/java/org/onap/policy/controlloop/eventmanager/ControlLoopOperationManager.java
controlloop/common/model-impl/rest/src/main/java/org/onap/policy/rest/RESTManager.java
controlloop/common/model-impl/so/src/main/java/org/onap/policy/so/SOManager.java
controlloop/common/model-impl/so/src/main/java/org/onap/policy/so/SOModelInfo.java
controlloop/common/model-impl/so/src/main/java/org/onap/policy/so/SOResponseWrapper.java [new file with mode: 0644]
controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/TestDemo.java
controlloop/common/simulators/src/main/java/org/onap/policy/simulators/SoSimulatorJaxRs.java
controlloop/common/simulators/src/test/java/org/onap/policy/simulators/SoSimulatorTest.java
controlloop/templates/archetype-cl-amsterdam/src/main/resources/archetype-resources/src/main/resources/__closedLoopControlName__.drl