aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeguang He <hekeguang@chinamobile.com>2022-04-15 08:09:24 +0000
committerGerrit Code Review <gerrit@onap.org>2022-04-15 08:09:24 +0000
commit51024ffd77e773c4c188a62c3422653e368ec9b4 (patch)
tree66c3636e7283868120781ad906e010e1436b22fc
parente9842acf7658dcf7e5e95465707fa440ca1f6eef (diff)
parent9fef9ce8ab86b8c83b249330836793d5f4b1f1b3 (diff)
Merge "fix:Fix create intent instance feature."
-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());