diff options
-rw-r--r-- | server/src/main/java/org/onap/usecaseui/server/service/lcm/impl/DefaultServiceTemplateService.java | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/server/src/main/java/org/onap/usecaseui/server/service/lcm/impl/DefaultServiceTemplateService.java b/server/src/main/java/org/onap/usecaseui/server/service/lcm/impl/DefaultServiceTemplateService.java index b24fe6d3..faf511d5 100644 --- a/server/src/main/java/org/onap/usecaseui/server/service/lcm/impl/DefaultServiceTemplateService.java +++ b/server/src/main/java/org/onap/usecaseui/server/service/lcm/impl/DefaultServiceTemplateService.java @@ -137,21 +137,10 @@ public class DefaultServiceTemplateService implements ServiceTemplateService { serviceTemplateInput.setType("VF"); appendLocationParameters(serviceTemplateInput, tosca); appendSdnControllerParameter(serviceTemplateInput); - appendTest2Input(serviceTemplateInput); - }else{ - appendTest1Input(serviceTemplateInput); } return serviceTemplateInput; } - private void appendTest1Input(ServiceTemplateInput serviceTemplateInput){ - serviceTemplateInput.addInput( new TemplateInput("ns1_name1", "testType", "test1","true","" ) ); - serviceTemplateInput.addInput( new TemplateInput("ns1_name2", "testType", "test2","true","" ) ); - } - private void appendTest2Input(ServiceTemplateInput serviceTemplateInput){ - serviceTemplateInput.addInput( new TemplateInput("ns1_vnf_name1", "testType", "test1","true","" ) ); - serviceTemplateInput.addInput( new TemplateInput("ns1_vnf_name2", "testType", "test2","true","" ) ); - } private void appendLocationParameters(ServiceTemplateInput serviceTemplateInput, ToscaTemplate tosca) { for (NodeTemplate nodeTemplate : tosca.getNodeTemplates()) { String type = nodeTemplate.getMetaData().getValue("type"); |