From 2440b81428fa4bfa28a51f87c58e12c78ced744b Mon Sep 17 00:00:00 2001 From: Jim Hahn Date: Fri, 6 Mar 2020 18:22:28 -0500 Subject: Add subrequest ID to OperationOutcome Rule notifications need the subrequest ID to be populated in the OperationOutcome object, where possible. Issue-ID: POLICY-2385 Signed-off-by: Jim Hahn Change-Id: Ic44320f67ad8df7bcb3000cfa667f95427818e71 --- .../org/onap/policy/controlloop/actor/guard/GuardOperationTest.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'models-interactions/model-actors/actor.guard/src/test/java') diff --git a/models-interactions/model-actors/actor.guard/src/test/java/org/onap/policy/controlloop/actor/guard/GuardOperationTest.java b/models-interactions/model-actors/actor.guard/src/test/java/org/onap/policy/controlloop/actor/guard/GuardOperationTest.java index a43292a65..be40ef3b4 100644 --- a/models-interactions/model-actors/actor.guard/src/test/java/org/onap/policy/controlloop/actor/guard/GuardOperationTest.java +++ b/models-interactions/model-actors/actor.guard/src/test/java/org/onap/policy/controlloop/actor/guard/GuardOperationTest.java @@ -96,6 +96,8 @@ public class GuardOperationTest extends BasicHttpOperation { assertTrue(future2.isDone()); assertEquals(PolicyResult.SUCCESS, future2.get().getResult()); + + assertEquals("1", future2.get().getSubRequestId()); } /** -- cgit 1.2.3-korg