update of getNodeTypeByCap method
authorYuli Shlosberg <ys9693@att.com>
Wed, 28 Mar 2018 13:03:10 +0000 (16:03 +0300)
committerYuli Shlosberg <ys9693@att.com>
Wed, 28 Mar 2018 13:03:45 +0000 (16:03 +0300)
Change-Id: Ia61081a2c2044d72a73783183c5da42d487e3fc5
Issue-ID: SDC-1181
Signed-off-by: Yuli Shlosberg <ys9693@att.com>
src/main/java/org/onap/sdc/toscaparser/api/elements/NodeType.java

index 7dcc44d..07b3a87 100644 (file)
@@ -134,7 +134,7 @@ public class NodeType extends StatefulEntityType {
         // Filter the node types
         ArrayList<String> nodeTypes = new ArrayList<>();
         for(String nt: customDef.keySet()) {
-               if(nt.startsWith(NODE_PREFIX) || nt.startsWith("org.onap") && !nt.equals("tosca.nodes.Root")) {
+               if(nt.startsWith(NODE_PREFIX) || nt.startsWith("org.openecomp") && !nt.equals("tosca.nodes.Root")) {
                        nodeTypes.add(nt);
                }
         }