From 9fef9ce8ab86b8c83b249330836793d5f4b1f1b3 Mon Sep 17 00:00:00 2001 From: ’zhaoyh6‘ Date: Fri, 15 Apr 2022 15:03:50 +0800 Subject: fix:Fix create intent instance feature. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Issue-ID: REQ-1075 Signed-off-by: ’zhaoyh6‘ Change-Id: Ic5fc8ab5326caf73188f9537e10160902cc04db5 --- .../usecaseui/server/service/intent/impl/IntentInstanceServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/main/java/org/onap/usecaseui/server/service/intent/impl/IntentInstanceServiceImpl.java b/server/src/main/java/org/onap/usecaseui/server/service/intent/impl/IntentInstanceServiceImpl.java index c703953f..0a5623cb 100644 --- a/server/src/main/java/org/onap/usecaseui/server/service/intent/impl/IntentInstanceServiceImpl.java +++ b/server/src/main/java/org/onap/usecaseui/server/service/intent/impl/IntentInstanceServiceImpl.java @@ -943,7 +943,7 @@ public class IntentInstanceServiceImpl implements IntentInstanceService { resourceVersion = body.getString("resource-version"); } } else { - serviceInstanceId = IntentConstant.MODEL_TYPE_CCVPN + "-" + instance.getInstanceId(); + serviceInstanceId = IntentConstant.INTENT_INSTANCE_ID_PREFIX + "-" + instance.getInstanceId(); } JSONObject environmentContext = JSONObject.parseObject(JSONObject.toJSONString(instance)); environmentContext.put("resourceInstanceId",instance.getResourceInstanceId()); -- cgit 1.2.3-korg