From 2a905d6fd39322fc5714dfc0f2dc3f44094daf23 Mon Sep 17 00:00:00 2001 From: cmrizhangzhen <781953240@qq.com> Date: Mon, 18 Jul 2022 11:16:22 +0800 Subject: change package name Issue-ID: USECASEUI-696 Signed-off-by: cmrizhangzhen <781953240@qq.com> Change-Id: I2e4b70ddddcbba88582af1e088a05ff625b4bf0b --- .../CLLBusinessIntentManagementFunction.java | 35 -------------- .../intentModuleImpl/ActuationModuleImpl.java | 48 ------------------- .../intentModuleImpl/DecisoinModuleImpl.java | 54 ---------------------- .../intentModuleImpl/KnownledgeModuleImpl.java | 36 --------------- .../CLLBusinessIntentManagementFunction.java | 35 ++++++++++++++ .../intentModuleImpl/ActuationModuleImpl.java | 48 +++++++++++++++++++ .../intentModuleImpl/DecisoinModuleImpl.java | 54 ++++++++++++++++++++++ .../intentModuleImpl/KnownledgeModuleImpl.java | 36 +++++++++++++++ 8 files changed, 173 insertions(+), 173 deletions(-) delete mode 100644 intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/CLLBusinessIntentMgt/CLLBusinessIntentManagementFunction.java delete mode 100644 intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/CLLBusinessIntentMgt/intentModuleImpl/ActuationModuleImpl.java delete mode 100644 intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/CLLBusinessIntentMgt/intentModuleImpl/DecisoinModuleImpl.java delete mode 100644 intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/CLLBusinessIntentMgt/intentModuleImpl/KnownledgeModuleImpl.java create mode 100644 intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/cllBusinessIntentMgt/CLLBusinessIntentManagementFunction.java create mode 100644 intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/cllBusinessIntentMgt/intentModuleImpl/ActuationModuleImpl.java create mode 100644 intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/cllBusinessIntentMgt/intentModuleImpl/DecisoinModuleImpl.java create mode 100644 intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/cllBusinessIntentMgt/intentModuleImpl/KnownledgeModuleImpl.java (limited to 'intentanalysis/src') diff --git a/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/CLLBusinessIntentMgt/CLLBusinessIntentManagementFunction.java b/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/CLLBusinessIntentMgt/CLLBusinessIntentManagementFunction.java deleted file mode 100644 index 8713f23..0000000 --- a/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/CLLBusinessIntentMgt/CLLBusinessIntentManagementFunction.java +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (C) 2022 CMCC, Inc. and others. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.onap.usecaseui.intentanalysis.CLLBusinessIntentMgt; - - -import lombok.Data; -import org.onap.usecaseui.intentanalysis.CLLBusinessIntentMgt.intentModuleImpl.ActuationModuleImpl; -import org.onap.usecaseui.intentanalysis.CLLBusinessIntentMgt.intentModuleImpl.DecisoinModuleImpl; -import org.onap.usecaseui.intentanalysis.CLLBusinessIntentMgt.intentModuleImpl.KnownledgeModuleImpl; -import org.onap.usecaseui.intentanalysis.intentBaseService.intentModule.ActuationModule; -import org.onap.usecaseui.intentanalysis.intentBaseService.intentModule.DecisionModule; -import org.onap.usecaseui.intentanalysis.intentBaseService.intentModule.KnowledgeModule; -import org.onap.usecaseui.intentanalysis.intentBaseService.IntentManagementFunction; - -@Data -public class CLLBusinessIntentManagementFunction extends IntentManagementFunction { - private ActuationModule actuationModule = new ActuationModuleImpl(); - private DecisionModule decisoinModule = new DecisoinModuleImpl(); - private KnowledgeModule knowledgeModule = new KnownledgeModuleImpl(); - - -} diff --git a/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/CLLBusinessIntentMgt/intentModuleImpl/ActuationModuleImpl.java b/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/CLLBusinessIntentMgt/intentModuleImpl/ActuationModuleImpl.java deleted file mode 100644 index 8f9aa87..0000000 --- a/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/CLLBusinessIntentMgt/intentModuleImpl/ActuationModuleImpl.java +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (C) 2022 CMCC, Inc. and others. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.onap.usecaseui.intentanalysis.CLLBusinessIntentMgt.intentModuleImpl; - - -import org.onap.usecaseui.intentanalysis.intentBaseService.intentModule.ActuationModule; -import org.onap.usecaseui.intentanalysis.intentBaseService.IntentManagementFunction; -import org.onap.usecaseui.intentanalysis.intentBaseService.intentProcessService.IntentProcessService; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.stereotype.Service; - -@Service -public class ActuationModuleImpl implements ActuationModule { - @Autowired - IntentProcessService processService; - - @Override - public void sendToIntentHandler(IntentManagementFunction intentHandler) { - processService.setIntentRole(intentHandler, null); - processService.intentProcess(); - } - - @Override - public void sendToNonIntentHandler() { - } - - @Override - public void interactWithIntentHandle() { - - } - - @Override - public void saveIntentToDb() { - } -} diff --git a/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/CLLBusinessIntentMgt/intentModuleImpl/DecisoinModuleImpl.java b/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/CLLBusinessIntentMgt/intentModuleImpl/DecisoinModuleImpl.java deleted file mode 100644 index b2e5410..0000000 --- a/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/CLLBusinessIntentMgt/intentModuleImpl/DecisoinModuleImpl.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (C) 2022 CMCC, Inc. and others. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.onap.usecaseui.intentanalysis.CLLBusinessIntentMgt.intentModuleImpl; - - -import org.onap.usecaseui.intentanalysis.intentBaseService.intentModule.DecisionModule; -import org.onap.usecaseui.intentanalysis.intentBaseService.IntentManagementFunction; -import org.springframework.stereotype.Service; - -@Service -public class DecisoinModuleImpl implements DecisionModule { - @Override - public void determineUltimateGoal() {} - - @Override - public IntentManagementFunction exploreIntentHandlers() { - - return null; - - } - - @Override - public void intentDefinition() {} - - @Override - public void decideSuitableAction() {} - - @Override - public boolean needDecompostion() { - return false; - } - - @Override - public void intentDecomposition() {} - - @Override - public void intentOrchestration() {} - - @Override - public void interactWithTemplateDb() {} -} diff --git a/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/CLLBusinessIntentMgt/intentModuleImpl/KnownledgeModuleImpl.java b/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/CLLBusinessIntentMgt/intentModuleImpl/KnownledgeModuleImpl.java deleted file mode 100644 index ea663d5..0000000 --- a/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/CLLBusinessIntentMgt/intentModuleImpl/KnownledgeModuleImpl.java +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Copyright (C) 2022 CMCC, Inc. and others. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.onap.usecaseui.intentanalysis.CLLBusinessIntentMgt.intentModuleImpl; - -import org.onap.usecaseui.intentanalysis.intentBaseService.intentModule.KnowledgeModule; -import org.springframework.stereotype.Service; - -@Service -public class KnownledgeModuleImpl implements KnowledgeModule { - @Override - public void intentResolution() {} - - @Override - public void intentReportResolution() {} - - @Override - public void getSystemStatus() {} - - @Override - public void interactWithIntentOwner() { - - } -} diff --git a/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/cllBusinessIntentMgt/CLLBusinessIntentManagementFunction.java b/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/cllBusinessIntentMgt/CLLBusinessIntentManagementFunction.java new file mode 100644 index 0000000..fc4696f --- /dev/null +++ b/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/cllBusinessIntentMgt/CLLBusinessIntentManagementFunction.java @@ -0,0 +1,35 @@ +/* + * Copyright (C) 2022 CMCC, Inc. and others. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.onap.usecaseui.intentanalysis.cllBusinessIntentMgt; + + +import lombok.Data; +import org.onap.usecaseui.intentanalysis.cllBusinessIntentMgt.intentModuleImpl.ActuationModuleImpl; +import org.onap.usecaseui.intentanalysis.cllBusinessIntentMgt.intentModuleImpl.DecisoinModuleImpl; +import org.onap.usecaseui.intentanalysis.cllBusinessIntentMgt.intentModuleImpl.KnownledgeModuleImpl; +import org.onap.usecaseui.intentanalysis.intentBaseService.intentModule.ActuationModule; +import org.onap.usecaseui.intentanalysis.intentBaseService.intentModule.DecisionModule; +import org.onap.usecaseui.intentanalysis.intentBaseService.intentModule.KnowledgeModule; +import org.onap.usecaseui.intentanalysis.intentBaseService.IntentManagementFunction; + +@Data +public class CLLBusinessIntentManagementFunction extends IntentManagementFunction { + private ActuationModule actuationModule = new ActuationModuleImpl(); + private DecisionModule decisoinModule = new DecisoinModuleImpl(); + private KnowledgeModule knowledgeModule = new KnownledgeModuleImpl(); + + +} diff --git a/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/cllBusinessIntentMgt/intentModuleImpl/ActuationModuleImpl.java b/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/cllBusinessIntentMgt/intentModuleImpl/ActuationModuleImpl.java new file mode 100644 index 0000000..bb7fbb5 --- /dev/null +++ b/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/cllBusinessIntentMgt/intentModuleImpl/ActuationModuleImpl.java @@ -0,0 +1,48 @@ +/* + * Copyright (C) 2022 CMCC, Inc. and others. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.onap.usecaseui.intentanalysis.cllBusinessIntentMgt.intentModuleImpl; + + +import org.onap.usecaseui.intentanalysis.intentBaseService.intentModule.ActuationModule; +import org.onap.usecaseui.intentanalysis.intentBaseService.IntentManagementFunction; +import org.onap.usecaseui.intentanalysis.intentBaseService.intentProcessService.IntentProcessService; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; + +@Service +public class ActuationModuleImpl implements ActuationModule { + @Autowired + IntentProcessService processService; + + @Override + public void sendToIntentHandler(IntentManagementFunction intentHandler) { + processService.setIntentRole(intentHandler, null); + processService.intentProcess(); + } + + @Override + public void sendToNonIntentHandler() { + } + + @Override + public void interactWithIntentHandle() { + + } + + @Override + public void saveIntentToDb() { + } +} diff --git a/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/cllBusinessIntentMgt/intentModuleImpl/DecisoinModuleImpl.java b/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/cllBusinessIntentMgt/intentModuleImpl/DecisoinModuleImpl.java new file mode 100644 index 0000000..0439a03 --- /dev/null +++ b/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/cllBusinessIntentMgt/intentModuleImpl/DecisoinModuleImpl.java @@ -0,0 +1,54 @@ +/* + * Copyright (C) 2022 CMCC, Inc. and others. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.onap.usecaseui.intentanalysis.cllBusinessIntentMgt.intentModuleImpl; + + +import org.onap.usecaseui.intentanalysis.intentBaseService.intentModule.DecisionModule; +import org.onap.usecaseui.intentanalysis.intentBaseService.IntentManagementFunction; +import org.springframework.stereotype.Service; + +@Service +public class DecisoinModuleImpl implements DecisionModule { + @Override + public void determineUltimateGoal() {} + + @Override + public IntentManagementFunction exploreIntentHandlers() { + + return null; + + } + + @Override + public void intentDefinition() {} + + @Override + public void decideSuitableAction() {} + + @Override + public boolean needDecompostion() { + return false; + } + + @Override + public void intentDecomposition() {} + + @Override + public void intentOrchestration() {} + + @Override + public void interactWithTemplateDb() {} +} diff --git a/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/cllBusinessIntentMgt/intentModuleImpl/KnownledgeModuleImpl.java b/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/cllBusinessIntentMgt/intentModuleImpl/KnownledgeModuleImpl.java new file mode 100644 index 0000000..14b2ea0 --- /dev/null +++ b/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/cllBusinessIntentMgt/intentModuleImpl/KnownledgeModuleImpl.java @@ -0,0 +1,36 @@ +/* + * Copyright (C) 2022 CMCC, Inc. and others. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.onap.usecaseui.intentanalysis.cllBusinessIntentMgt.intentModuleImpl; + +import org.onap.usecaseui.intentanalysis.intentBaseService.intentModule.KnowledgeModule; +import org.springframework.stereotype.Service; + +@Service +public class KnownledgeModuleImpl implements KnowledgeModule { + @Override + public void intentResolution() {} + + @Override + public void intentReportResolution() {} + + @Override + public void getSystemStatus() {} + + @Override + public void interactWithIntentOwner() { + + } +} -- cgit 1.2.3-korg