diff options
author | Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com> | 2018-09-18 17:02:09 +0530 |
---|---|---|
committer | Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com> | 2018-09-18 17:02:09 +0530 |
commit | d3e9f3f48cfbd5f4b2315075c52b45cbf47620bf (patch) | |
tree | e4598c2f6dde5c613f68310bcbf391f6e55a143f | |
parent | c4eb2182d3d8639158ad9924d7e53cb4fc074208 (diff) |
VTP: Fix map input treat as stringhttp-migration
Issue-ID: VNFSDK-305
Change-Id: Idd9ccdbbd391863fcd186091d60cf4d5d9fb7ea2
Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
-rw-r--r-- | main/src/main/java/org/onap/cli/main/utils/OnapCliArgsParser.java | 3 | ||||
-rw-r--r-- | products/onap-casablanca/features/vnfsdk/src/main/resources/open-cli-schema/vnftest-run.yaml | 3 |
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 |