Impl Verify feature for CLI 59/31959/12
authorsubhash kumar singh <subhash.kumar.singh@huawei.com>
Fri, 16 Feb 2018 13:01:15 +0000 (13:01 +0000)
committersubhash kumar singh <subhash.kumar.singh@huawei.com>
Tue, 13 Mar 2018 09:17:32 +0000 (09:17 +0000)
commita59f5607eaf196e032990b3ca962f2378e45fa52
treea768bd25375a8667d75cd6e157f1906586e1fe3f
parent1239610d64ddfce2e3d1ff3378adcf96f24ee0a0
Impl Verify feature for CLI

Implement verify feature for CLI. So that command developer
will come up with his mocking file and can use framework to
develope the command.

Change-Id: I0ac22aaa7284626de60c66e56e83bb75ec9d773d
Issue-ID: CLI-74
Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
29 files changed:
deployment/zip/src/main/release/conf/open-cli.properties
framework/src/main/java/org/onap/cli/fw/cmd/OnapCommand.java
framework/src/main/java/org/onap/cli/fw/conf/OnapCommandConstants.java
framework/src/main/java/org/onap/cli/fw/registrar/OnapCommandRegistrar.java
framework/src/main/java/org/onap/cli/fw/schema/OnapCommandSchemaInfo.java
framework/src/main/java/org/onap/cli/fw/schema/OnapCommandSchemaLoader.java
framework/src/main/java/org/onap/cli/fw/utils/OnapCommandDiscoveryUtils.java
framework/src/main/resources/open-cli-schema/default_input_parameters.yaml
framework/src/test/java/org/onap/cli/fw/utils/OnapCommandUtilsTest.java
main/pom.xml
main/src/main/java/org/onap/cli/main/OnapCli.java
main/src/test/java/org/onap/cli/main/OnapCliMainTest.java
products/onap-amsterdam/features/aai/src/main/resources/open-cli-sample/cloud-region/cloud-create-schema-1.1-moco.json [moved from products/onap-amsterdam/features/aai/src/test/resources/open-cli-sample/cloud-region/cloud-create-schema-1.1-moco.json with 100% similarity]
products/onap-amsterdam/features/aai/src/main/resources/open-cli-sample/cloud-region/cloud-create-schema-1.1-sample.yaml [moved from products/onap-amsterdam/features/aai/src/test/resources/open-cli-sample/cloud-region/cloud-create-schema-1.1-sample.yaml with 98% similarity]
products/onap-amsterdam/features/aai/src/main/resources/open-cli-sample/cloud-region/cloud-list-schema-1.1-moco.json [moved from products/onap-amsterdam/features/aai/src/test/resources/open-cli-sample/cloud-region/cloud-list-schema-1.1-moco.json with 99% similarity]
products/onap-amsterdam/features/aai/src/main/resources/open-cli-sample/cloud-region/cloud-list-schema-1.1-sample.yaml [moved from products/onap-amsterdam/features/aai/src/test/resources/open-cli-sample/cloud-region/cloud-list-schema-1.1-sample.yaml with 100% similarity]
profiles/http/pom.xml
profiles/http/src/main/java/org/onap/cli/fw/http/cmd/OnapHttpCommand.java
profiles/http/src/main/java/org/onap/cli/fw/http/conf/OnapCommandHttpConstants.java
profiles/http/src/main/java/org/onap/cli/fw/http/mock/MocoServer.java [new file with mode: 0644]
profiles/http/src/main/resources/open-cli-http.properties
profiles/http/src/main/resources/open-cli-schema/http/default_input_parameters_http.yaml
profiles/http/src/test/java/org/onap/cli/fw/http/utils/OnapCommandUtilsTest.java
validate/validation/pom.xml
validate/validation/src/test/java/org/onap/cli/moco/OnapCommandHttpMocoServer.java [deleted file]
validate/validation/src/test/java/org/onap/cli/validation/OnapValidationTest.java
validate/validation/src/test/resources/open-cli-sample/sample/sample-test-verify-schema-1.1-moco.json [new file with mode: 0644]
validate/validation/src/test/resources/open-cli-sample/sample/sample-test-verify-schema-1.1-sample.yaml [new file with mode: 0644]
validate/validation/src/test/resources/open-cli-schema/sample-test-verify-schema-1.1.yaml [new file with mode: 0644]