diff options
author | Kanagaraj Manickam <kanagaraj.manickam@huawei.com> | 2018-09-12 00:09:38 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-09-12 00:09:38 +0000 |
commit | 9642d2c428bc76744c324c1bea68c298070eab3b (patch) | |
tree | f9e0cafd85587b1f14268725e27bb08389c58497 /main | |
parent | 23878941ee88186865c136c112a451afee3a13f3 (diff) | |
parent | 63b8a6679843436cab00871c43646bd66034f208 (diff) |
Merge changes I9b7a3d37,I10a859ad,Ia5eed214,I90dbd994,I41896003, ...
* changes:
Migrate VNSDK CLI to market place service
VTP: vnftest run cli
VTP: vnftest list cli
VTP: csar delete cli
VTP: csar list cli
VTP: csar show details cli
VTP: Add csar upload cli
VTP: Add VNFSDK support
OCLIP: Move to 2.0.3
Fix MSB moco samples
Fix verify to report debug info
Fix to remove invalid entries in msb OCS
Casablanca: MSB service delete
Casablanca: MSB service create
Casablanca: MSB service list
Casablanca: MSB service show
Casablanca: MSB plugin
Casablanca: catalog samples and update catalog url
Casablanca: Enable features plugin
Make beijing profile as optional
Casablanca: service catalog
Diffstat (limited to 'main')
-rw-r--r-- | main/src/main/java/org/onap/cli/main/OnapCli.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/main/src/main/java/org/onap/cli/main/OnapCli.java b/main/src/main/java/org/onap/cli/main/OnapCli.java index 30f5ab70..de6d232e 100644 --- a/main/src/main/java/org/onap/cli/main/OnapCli.java +++ b/main/src/main/java/org/onap/cli/main/OnapCli.java @@ -268,7 +268,9 @@ public class OnapCli { cmd = OnapCommandRegistrar.getRegistrar().get(args.get(0)); OnapCliArgsParser.populateParams(cmd.getParameters(), (List<String>) sampleTest.get(OnapCommandConstants.VERIFY_INPUT)); + this.print("\n***************Test Command: \n" + sampleTest.get(OnapCommandConstants.VERIFY_INPUT).toString()); + cmd.getParametersMap().get(OnapCommandConstants.DEFAULT_PARAMETER_DEBUG).setValue(Boolean.TRUE); Optional<OnapCommandParameter> contextOpt = cmd.getParameters().stream() .filter(e -> e.getName().equals(OnapCommandConstants.VERIFY_CONTEXT_PARAM)) @@ -301,7 +303,11 @@ public class OnapCli { } else { resultAtt.getValues().add(OnapCommandConstants.VERIFY_RESULT_FAIL); } + this.print(testResult.getDebugInfo()); + this.print("\n***************Expected Output: \n" + expectedOutput); + this.print("\n***************Actual Output: \n" + actualOutput); } + this.print(testSuiteResult.print()); } /** |