From 27d773cb05051ccc7d967434421aba189a0ae8b5 Mon Sep 17 00:00:00 2001 From: "waqas.ikram" Date: Fri, 4 Sep 2020 19:16:43 +0100 Subject: Adding entities and repositories for NS Instantiation Change-Id: Id7cb2452a8821969ebec5c3f8148f292ded9812e Issue-ID: SO-3194 Signed-off-by: waqas.ikram --- .../org/onap/so/etsi/nfvo/ns/lcm/bpmn/flows/tasks/CreateNsTask.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'so-etsi-nfvo/so-etsi-nfvo-ns-lcm/so-etsi-nfvo-ns-lcm-bpmn-flows/src/main/java') diff --git a/so-etsi-nfvo/so-etsi-nfvo-ns-lcm/so-etsi-nfvo-ns-lcm-bpmn-flows/src/main/java/org/onap/so/etsi/nfvo/ns/lcm/bpmn/flows/tasks/CreateNsTask.java b/so-etsi-nfvo/so-etsi-nfvo-ns-lcm/so-etsi-nfvo-ns-lcm-bpmn-flows/src/main/java/org/onap/so/etsi/nfvo/ns/lcm/bpmn/flows/tasks/CreateNsTask.java index 19cac68f9b..fa7187b388 100644 --- a/so-etsi-nfvo/so-etsi-nfvo-ns-lcm/so-etsi-nfvo-ns-lcm-bpmn-flows/src/main/java/org/onap/so/etsi/nfvo/ns/lcm/bpmn/flows/tasks/CreateNsTask.java +++ b/so-etsi-nfvo/so-etsi-nfvo-ns-lcm/so-etsi-nfvo-ns-lcm-bpmn-flows/src/main/java/org/onap/so/etsi/nfvo/ns/lcm/bpmn/flows/tasks/CreateNsTask.java @@ -198,7 +198,7 @@ public class CreateNsTask extends AbstractNetworkServiceTask { public void setCreateNsResponse(final DelegateExecution execution) { logger.info("Executing setCreateNsResponse ..."); final String nsInstId = (String) execution.getVariable(NS_INSTANCE_ID_PARAM_NAME); - final Optional optional = databaseServiceProvider.getNfvoNsInstByNsInstId(nsInstId); + final Optional optional = databaseServiceProvider.getNfvoNsInst(nsInstId); if (optional.isPresent()) { final NfvoNsInst nfvoNsInst = optional.get(); -- cgit 1.2.3-korg