aboutsummaryrefslogtreecommitdiffstats
path: root/intentanalysis/src
diff options
context:
space:
mode:
authorKeguang He <hekeguang@chinamobile.com>2022-11-01 02:12:59 +0000
committerGerrit Code Review <gerrit@onap.org>2022-11-01 02:12:59 +0000
commit8c1785c9cc42116e19ea06e0c044bbfdf37e217c (patch)
tree04b3e42358fd4c537ec1e2e271cfcf53e7d1816d /intentanalysis/src
parent5a165b63cbeaadd65adb60acde4dc4a022cda3fa (diff)
parent122a35f6445f71d67efe71ec53c13a69be714a1f (diff)
Merge "Fix bugs of updating context"
Diffstat (limited to 'intentanalysis/src')
-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);