aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChuyi Guo <guochuyi@chinamobile.com>2022-11-01 04:07:00 +0000
committerGerrit Code Review <gerrit@onap.org>2022-11-01 04:07:00 +0000
commit467a0af6a6e0810bbe5a02bbd10f91f6a638da18 (patch)
tree04b3e42358fd4c537ec1e2e271cfcf53e7d1816d
parent621b104b8edd93d69000bc2f1e41372c19b7c432 (diff)
parent2c2d06ae36cee890417abd0df2f8df189e8e0d47 (diff)
Merge "Fix bugs of updating context" into kohn
-rw-r--r--intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/service/impl/ContextServiceImpl.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/service/impl/ContextServiceImpl.java b/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/service/impl/ContextServiceImpl.java
index 9623917..bfe5ca2 100644
--- a/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/service/impl/ContextServiceImpl.java
+++ b/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/service/impl/ContextServiceImpl.java
@@ -123,6 +123,7 @@ public class ContextServiceImpl implements ContextService {
}
for (Context context : contextList) {
if (contextIdListFromDB.contains(context.getContextId())) {
+ conditionService.updateConditionList(context.getContextConditions(), context.getContextId());
if (contextMapper.updateContext(context) < 1) {
String msg = "Failed to update context list to database.";
log.error(msg);