diff options
author | kaixiliu <liukaixi@chinamobile.com> | 2023-08-31 14:48:06 +0800 |
---|---|---|
committer | kaixiliu <liukaixi@chinamobile.com> | 2023-08-31 14:48:25 +0800 |
commit | 45392ebae1ef9559951b9bf660e8aeb099bba19e (patch) | |
tree | d69bbd3a8ca8b0d6f05f11d68d2784d190028c77 /intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/cllBusinessIntentMgt/cllBusinessModule/CLLBusinessKnowledgeModule.java | |
parent | b32a2d2af10287b1420f8c54b6a90b6aeabff12f (diff) |
Delete useless code
Issue-ID: USECASEUI-819
Change-Id: Ia84c5aad828a8870ba8d6b1f86d039dd7f6d1229
Signed-off-by: kaixiliu <liukaixi@chinamobile.com>
Diffstat (limited to 'intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/cllBusinessIntentMgt/cllBusinessModule/CLLBusinessKnowledgeModule.java')
-rw-r--r-- | intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/cllBusinessIntentMgt/cllBusinessModule/CLLBusinessKnowledgeModule.java | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/cllBusinessIntentMgt/cllBusinessModule/CLLBusinessKnowledgeModule.java b/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/cllBusinessIntentMgt/cllBusinessModule/CLLBusinessKnowledgeModule.java index 9625cb6..c0c1918 100644 --- a/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/cllBusinessIntentMgt/cllBusinessModule/CLLBusinessKnowledgeModule.java +++ b/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/cllBusinessIntentMgt/cllBusinessModule/CLLBusinessKnowledgeModule.java @@ -15,13 +15,10 @@ */ package org.onap.usecaseui.intentanalysis.cllBusinessIntentMgt.cllBusinessModule; -import org.onap.usecaseui.intentanalysis.bean.enums.IntentGoalType; import org.onap.usecaseui.intentanalysis.bean.models.Intent; import org.onap.usecaseui.intentanalysis.bean.models.IntentGoalBean; import org.onap.usecaseui.intentanalysis.intentBaseService.intentModule.KnowledgeModule; import org.onap.usecaseui.intentanalysis.service.IntentService; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; @@ -29,15 +26,12 @@ import java.util.List; @Component public class CLLBusinessKnowledgeModule extends KnowledgeModule { - private static Logger LOGGER = LoggerFactory.getLogger(CLLBusinessKnowledgeModule.class); - @Autowired IntentService intentService; @Override public IntentGoalBean intentCognition(Intent intent) { List<String> intendIdList = intentResolution(intent); - getSystemStatus(); return determineDetectionGoal(intent, intendIdList); } @@ -55,30 +49,4 @@ public class CLLBusinessKnowledgeModule extends KnowledgeModule { public boolean recieveDeleteIntent() { return true; } - - void intentReportResolution() { - } - - /** - * query the implementation of intent requirements in the system - */ - void getSystemStatus() { - } - - - void interactWithIntentOwner() { - } - - /** - * Determine add, delete, modify according to theobject,target and context of the expectation - */ - public IntentGoalBean determineDetectionGoal(Intent intent, List<String> intentIdList) { - int size = intentIdList.size(); - if (size == 0) { - return new IntentGoalBean(intent, IntentGoalType.CREATE); - } else { - return new IntentGoalBean(intent, IntentGoalType.UPDATE); - } - } - } |