summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzhangab <zhanganbing@chinamobile.com>2018-05-15 16:20:05 +0800
committerzhangab <zhanganbing@chinamobile.com>2018-05-15 16:20:11 +0800
commit73ea0edeb5dfc2dc21ed64a787dce5e4693d4572 (patch)
treee9414c78d36583d8f53101c083df252064c21755
parent77172e02e77c78e96271920738f522caaf7e3802 (diff)
fix e2e service template analysis bug
Change-Id: I33166564350e5f41b4f460c1434b2dd3fb033c7f Issue-ID: USECASEUI-115 Signed-off-by: zhangab <zhanganbing@chinamobile.com>
-rw-r--r--server/src/main/java/org/onap/usecaseui/server/service/lcm/impl/DefaultServiceTemplateService.java11
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");