diff options
author | a.sreekumar <ajith.sreekumar@est.tech> | 2019-11-05 14:37:09 +0000 |
---|---|---|
committer | a.sreekumar <ajith.sreekumar@est.tech> | 2019-11-14 12:15:55 +0000 |
commit | 40a1f22ff8d28e78b6512c0a10d454b37f015fdb (patch) | |
tree | 8d92efb03c45615bf8697db4adcee558a80eb9e7 /examples/examples-aadm/src/test/java/org | |
parent | 8c95a09fd412c89b1eaf7d0658005ffba24025bd (diff) |
Retaining context in APEX Engine based on policies received in PdpUpdate
Change-Id: I73fad5bf76ed6b4979f5ab76013f204ea82da30b
Issue-ID: POLICY-2215
Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
Diffstat (limited to 'examples/examples-aadm/src/test/java/org')
-rw-r--r-- | examples/examples-aadm/src/test/java/org/onap/policy/apex/examples/aadm/AadmUseCaseTest.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/examples-aadm/src/test/java/org/onap/policy/apex/examples/aadm/AadmUseCaseTest.java b/examples/examples-aadm/src/test/java/org/onap/policy/apex/examples/aadm/AadmUseCaseTest.java index fbab071b6..1269d4401 100644 --- a/examples/examples-aadm/src/test/java/org/onap/policy/apex/examples/aadm/AadmUseCaseTest.java +++ b/examples/examples-aadm/src/test/java/org/onap/policy/apex/examples/aadm/AadmUseCaseTest.java @@ -1,6 +1,7 @@ /*- * ============LICENSE_START======================================================= * Copyright (C) 2016-2018 Ericsson. All rights reserved. + * Modifications Copyright (C) 2019 Nordix Foundation. * ================================================================================ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -122,7 +123,7 @@ public class AadmUseCaseTest { final ApexEngineImpl apexEngine = (ApexEngineImpl) new ApexEngineFactory().createApexEngine(key); final TestApexActionListener listener = new TestApexActionListener("Test"); apexEngine.addEventListener("listener", listener); - apexEngine.updateModel(apexPolicyModel); + apexEngine.updateModel(apexPolicyModel, false); apexEngine.start(); final AxEvent axEvent = getTriggerEvent(apexPolicyModel); |