summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);