aboutsummaryrefslogtreecommitdiffstats
path: root/controlloop/common/controller-usecases/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'controlloop/common/controller-usecases/src/main')
-rw-r--r--controlloop/common/controller-usecases/src/main/resources/META-INF/kmodule.xml3
-rw-r--r--controlloop/common/controller-usecases/src/main/resources/usecases.drl4
2 files changed, 4 insertions, 3 deletions
diff --git a/controlloop/common/controller-usecases/src/main/resources/META-INF/kmodule.xml b/controlloop/common/controller-usecases/src/main/resources/META-INF/kmodule.xml
index 7db705b2b..885568e08 100644
--- a/controlloop/common/controller-usecases/src/main/resources/META-INF/kmodule.xml
+++ b/controlloop/common/controller-usecases/src/main/resources/META-INF/kmodule.xml
@@ -4,6 +4,7 @@
ONAP
================================================================================
Copyright (C) 2020 AT&T Intellectual Property. All rights reserved.
+ Modifications Copyright (C) 2024 Nordix Foundation.
================================================================================
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -18,7 +19,7 @@
limitations under the License.
============LICENSE_END=========================================================
-->
-<kmodule xmlns="http://jboss.org/kie/6.0.0/kmodule">
+<kmodule xmlns="http://www.drools.org/xsd/kmodule">
<kbase name="onap.policies.controlloop.operational.common.Drools" equalsBehavior="equality"
packages="org.onap.policy.controlloop">
<ksession name="usecases"/>
diff --git a/controlloop/common/controller-usecases/src/main/resources/usecases.drl b/controlloop/common/controller-usecases/src/main/resources/usecases.drl
index 14bc9a406..70a1cd8a1 100644
--- a/controlloop/common/controller-usecases/src/main/resources/usecases.drl
+++ b/controlloop/common/controller-usecases/src/main/resources/usecases.drl
@@ -174,7 +174,7 @@ rule "EVENT"
manager.start();
if (manager.getSteps().isEmpty()) {
- // no steps implies no policies, thus go straight to DONE state
+ // no steps imply no policies, thus go straight to DONE state
manager.setState(State.DONE);
manager.setAccepted(true);
@@ -1095,7 +1095,7 @@ end
rule "APPC-LCM.Response.CLEANUP"
salience 1
when
- $msg : org.onap.policy.appclcm.AppcLcmDmaapWrapper( )
+ $msg : org.onap.policy.appclcm.AppcLcmMessageWrapper( )
then
retract($msg);
end