diff options
author | Jim Hahn <jrh3@att.com> | 2020-02-17 13:57:56 -0500 |
---|---|---|
committer | Jim Hahn <jrh3@att.com> | 2020-02-17 20:41:09 -0500 |
commit | e44f1a1c58efed9fbe2efce78864aaee3b577003 (patch) | |
tree | e0a1903c107162dc2d9a3bcae2257862a99c6b48 /models-interactions/model-actors/actor.appc | |
parent | 85a2fee4074903012e77f78e26328b9a03a8bdfc (diff) |
More changes to actor code
Use Coder.convert() from policy-common.
Passed response to setOutcome().
Changed class names from XxxOperator to XxxOperation.
Modified SDNC junits to invoke start() instead of startOperationAsync().
Changed context obtain() to re-run if the future was canceled.
Added junit support class, BasicBidirectionalTopicOperation.
Modified HttpOperation to allow subsequent requests to be issued.
Some actors, like SO, send an initial HTTP request and then follow
it with HTTP "are you done?" requests.
Issue-ID: POLICY-2363-prop
Change-Id: I12b5c2d4f07254e0cb79fabfe1ccf844b70a0654
Signed-off-by: Jim Hahn <jrh3@att.com>
Diffstat (limited to 'models-interactions/model-actors/actor.appc')
-rw-r--r-- | models-interactions/model-actors/actor.appc/pom.xml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/models-interactions/model-actors/actor.appc/pom.xml b/models-interactions/model-actors/actor.appc/pom.xml index 26eb7c1b7..0cc243c3f 100644 --- a/models-interactions/model-actors/actor.appc/pom.xml +++ b/models-interactions/model-actors/actor.appc/pom.xml @@ -84,5 +84,16 @@ <version>${policy.common.version}</version> <scope>provided</scope> </dependency> + <dependency> + <groupId>org.onap.policy.models.policy-models-interactions.model-actors</groupId> + <artifactId>actor.test</artifactId> + <version>${project.version}</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.powermock</groupId> + <artifactId>powermock-api-mockito2</artifactId> + <scope>test</scope> + </dependency> </dependencies> </project> |