diff options
-rw-r--r-- | server/src/main/java/org/onap/usecaseui/server/service/lcm/impl/DefaultServiceTemplateService.java | 30 |
1 files changed, 18 insertions, 12 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 9569775f..306c7530 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 @@ -186,19 +186,25 @@ public class DefaultServiceTemplateService implements ServiceTemplateService { String.valueOf(input.getDefault()) )); } - if (SDCConsts.CATEGORY_NS.equals(type)) { -// templateInputs.add(new TemplateInput( -// -// )); + if (SDCConsts.CATEGORY_NS.equals(subcategory)) { + // location + templateInputs.add(new TemplateInput( + name + "_Location", + "enum", + "location for the service", + "true", + "" + )); + // sdn controller + templateInputs.add(new TemplateInput( + "sdncontroller", + "enum", + "sdn controller for the service", + "false", + "" + )); } - // sdn controller -// templateInputs.add(new TemplateInput( -// "sdncontroller", -// "enum", -// "sdn controller for the service", -// "false", -// "" -// )); + return new ServiceTemplateInput( invariantUUID, uuid, |