summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/src/main/java/org/onap/cli/main/utils/OnapCliArgsParser.java3
-rw-r--r--products/onap-casablanca/features/vnfsdk/src/main/resources/open-cli-schema/vnftest-run.yaml3
2 files changed, 3 insertions, 3 deletions
diff --git a/main/src/main/java/org/onap/cli/main/utils/OnapCliArgsParser.java b/main/src/main/java/org/onap/cli/main/utils/OnapCliArgsParser.java
index d5807d79..cf884ea9 100644
--- a/main/src/main/java/org/onap/cli/main/utils/OnapCliArgsParser.java
+++ b/main/src/main/java/org/onap/cli/main/utils/OnapCliArgsParser.java
@@ -149,7 +149,8 @@ public class OnapCliArgsParser {
}
//Make sure to read values from file, in case file path is given.
- map.put(argArr[0], readTextStringFromUrl(argArr[1], paramMap.get(paramName).getName()));
+ //map.put(argArr[0], readTextStringFromUrl(argArr[1], paramMap.get(paramName).getName()));
+ map.put(argArr[0], argArr[1]);
paramMap.get(paramName).setValue(map);
i++;
continue;
diff --git a/products/onap-casablanca/features/vnfsdk/src/main/resources/open-cli-schema/vnftest-run.yaml b/products/onap-casablanca/features/vnfsdk/src/main/resources/open-cli-schema/vnftest-run.yaml
index 829bd6ab..c14c4dca 100644
--- a/products/onap-casablanca/features/vnfsdk/src/main/resources/open-cli-schema/vnftest-run.yaml
+++ b/products/onap-casablanca/features/vnfsdk/src/main/resources/open-cli-schema/vnftest-run.yaml
@@ -54,5 +54,4 @@ http:
- 201
- 200
result_map:
- tescase: $b{$.results.[*].command}
- yaml: $b{$.results.[*].schema} \ No newline at end of file
+ results: $b{$.results} \ No newline at end of file