aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author’zhaoyh6‘ <zhaoyh6@asiainfo.com>2022-04-15 15:03:50 +0800
committer’zhaoyh6‘ <zhaoyh6@asiainfo.com>2022-04-15 15:03:57 +0800
commit9fef9ce8ab86b8c83b249330836793d5f4b1f1b3 (patch)
tree2e9d5fb3e919d6c4f4800ffec3249ec7cdf025cd
parent515c32f3d27cc2ce99195f65c952dedd3bacd856 (diff)
fix:Fix create intent instance feature.4.0.7
Issue-ID: REQ-1075 Signed-off-by: ’zhaoyh6‘ <zhaoyh6@asiainfo.com> Change-Id: Ic5fc8ab5326caf73188f9537e10160902cc04db5
-rw-r--r--server/src/main/java/org/onap/usecaseui/server/service/intent/impl/IntentInstanceServiceImpl.java2
1 files changed, 1 insertions, 1 deletions
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());