aboutsummaryrefslogtreecommitdiffstats
path: root/controlloop/common/eventmanager/src
diff options
context:
space:
mode:
authorJim Hahn <jrh3@att.com>2020-11-20 11:47:02 -0500
committerJim Hahn <jrh3@att.com>2020-11-20 11:48:29 -0500
commit74332b54731f535624a6a7ddb27bb048cc36c95e (patch)
tree337f83f21e68abc3afc331da20887b0b16412f15 /controlloop/common/eventmanager/src
parent022405974f42fc183d8de46a603a1049dfb2ee15 (diff)
Use Params makeOutcome() without targetEntity
Planning to remove the second flavor of makeOutcome() from the Params, so modifying the drools-apps code to work with the first flavor. Issue-ID: POLICY-2804 Change-Id: Iddb288f7cf53e93919e77aca8afe3869fadb0d37 Signed-off-by: Jim Hahn <jrh3@att.com>
Diffstat (limited to 'controlloop/common/eventmanager/src')
-rw-r--r--controlloop/common/eventmanager/src/main/java/org/onap/policy/controlloop/eventmanager/Step.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/controlloop/common/eventmanager/src/main/java/org/onap/policy/controlloop/eventmanager/Step.java b/controlloop/common/eventmanager/src/main/java/org/onap/policy/controlloop/eventmanager/Step.java
index d406e6efe..15070bdad 100644
--- a/controlloop/common/eventmanager/src/main/java/org/onap/policy/controlloop/eventmanager/Step.java
+++ b/controlloop/common/eventmanager/src/main/java/org/onap/policy/controlloop/eventmanager/Step.java
@@ -270,7 +270,10 @@ public class Step {
* @return a new operation outcome
*/
public OperationOutcome makeOutcome() {
- return params.makeOutcome(operation.getProperty(OperationProperties.AAI_TARGET_ENTITY));
+ OperationOutcome outcome = params.makeOutcome();
+ outcome.setTarget(operation.getProperty(OperationProperties.AAI_TARGET_ENTITY));
+
+ return outcome;
}
@Override