diff options
author | Jim Hahn <jrh3@att.com> | 2020-11-30 11:02:31 -0500 |
---|---|---|
committer | Jim Hahn <jrh3@att.com> | 2020-11-30 11:04:55 -0500 |
commit | f46e4ec3af461b4036b189fd8d6a18af37acc29d (patch) | |
tree | 3d1c033cc963cc0e2216d3d0960f812c921a0d42 /models-interactions/model-actors/actor.cds/src | |
parent | 1dd41890f83702d47c5a957493046433989ef36c (diff) |
Remove targetEntity from makeOutcome
The Actor Params class had two flavors of makeOutcome, the second of
which took a "targetEntity" parameter. As the Params no longer deal
directly with the targetEntity, the second flavor was removed.
Issue-ID: POLICY-2804
Change-Id: Ic736dd1c809ce54f6bb7cd37d03bc84cf4a1410c
Signed-off-by: Jim Hahn <jrh3@att.com>
Diffstat (limited to 'models-interactions/model-actors/actor.cds/src')
-rw-r--r-- | models-interactions/model-actors/actor.cds/src/test/java/org/onap/policy/controlloop/actor/cds/GrpcOperationTest.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/models-interactions/model-actors/actor.cds/src/test/java/org/onap/policy/controlloop/actor/cds/GrpcOperationTest.java b/models-interactions/model-actors/actor.cds/src/test/java/org/onap/policy/controlloop/actor/cds/GrpcOperationTest.java index f83f782d9..9291a3adb 100644 --- a/models-interactions/model-actors/actor.cds/src/test/java/org/onap/policy/controlloop/actor/cds/GrpcOperationTest.java +++ b/models-interactions/model-actors/actor.cds/src/test/java/org/onap/policy/controlloop/actor/cds/GrpcOperationTest.java @@ -219,7 +219,7 @@ public class GrpcOperationTest { public void testStartOperationAsyncError() throws Exception { operation = new GrpcOperation(params, config); assertThatIllegalArgumentException() - .isThrownBy(() -> operation.startOperationAsync(1, params.makeOutcome(null))); + .isThrownBy(() -> operation.startOperationAsync(1, params.makeOutcome())); } private void verifyOperation(TargetType targetType, Runnable loader) { @@ -240,7 +240,7 @@ public class GrpcOperationTest { operation.generateSubRequestId(1); loader.run(); - CompletableFuture<OperationOutcome> future3 = operation.startOperationAsync(1, params.makeOutcome(null)); + CompletableFuture<OperationOutcome> future3 = operation.startOperationAsync(1, params.makeOutcome()); assertNotNull(future3); } |