diff options
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); - } - } - } |