Resolve get_input for list change
authorManzon, Inna (im453s) <im453s@intl.att.com>
Mon, 17 Sep 2018 14:50:41 +0000 (17:50 +0300)
committerManzon, Inna (im453s) <im453s@intl.att.com>
Mon, 17 Sep 2018 14:52:37 +0000 (17:52 +0300)
Change-Id: I53c13b22f74f857395f6f9c40801b0e927562bf5
Issue-ID: SDC-1769
Signed-off-by: Manzon, Inna (im453s) <im453s@intl.att.com>
pom.xml
src/main/java/org/onap/sdc/toscaparser/api/functions/GetInput.java
version.properties

diff --git a/pom.xml b/pom.xml
index aa95d28..386b5d7 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -4,7 +4,7 @@
 
        <groupId>org.onap.sdc.jtosca</groupId>
        <artifactId>jtosca</artifactId>
-       <version>1.4.3-SNAPSHOT</version>
+       <version>1.4.4-SNAPSHOT</version>
        <name>sdc-jtosca</name>
        <properties>
 
index f2df667..7897495 100644 (file)
@@ -56,11 +56,12 @@ public class GetInput extends Function {
                                if(args.size() == 2 && args.get(1) instanceof Integer && ((ArrayList) value).size()> (Integer)args.get(1)){
                                        return ((ArrayList) value).get((Integer) args.get(1));
                                }
+                               /* commented out for network cloud (SDNC)
                                else{
                                        ThreadLocalsHolder.getCollector().appendValidationIssue(new JToscaValidationIssue("JE273",String.format(
                                                        "GetInputError: cannot resolve input name \"%s\", the expected structure is an argument with a name of input type list and a second argument with an index in the list", args.get(0))));
                                        return null;
-                               }
+                               }*/
                        }
                        return value;
                }
index a54766f..49feeb5 100644 (file)
@@ -5,7 +5,7 @@
 
 major=1
 minor=4
-patch=3
+patch=4
 
 base_version=${major}.${minor}.${patch}