Code refactoring to remove test code generation 53/20153/8
authorsubhash kumar singh <subhash.kumar.singh@huawei.com>
Mon, 23 Oct 2017 14:03:11 +0000 (14:03 +0000)
committersubhash kumar singh <subhash.kumar.singh@huawei.com>
Thu, 26 Oct 2017 09:27:02 +0000 (09:27 +0000)
commitb0d8aa12fe8f88059f7fcce741913194d72d0d69
tree309becc99aaa133a9945f84213e21c81f5af7099
parentf3d888a58d5775f015b8c2b1864cde2856dd0376
Code refactoring to remove test code generation

Refactor code to remove test code generation code from framework
codebase.

Issue-ID: CLI-55
Change-Id: I4b45ef50143317586c39cf118a1717be150707da
Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
26 files changed:
framework/pom.xml
framework/src/main/java/org/onap/cli/fw/cmd/OnapHttpCommand.java
framework/src/main/java/org/onap/cli/fw/conf/Constants.java
framework/src/main/java/org/onap/cli/fw/conf/OnapCommandConfg.java
framework/src/main/java/org/onap/cli/fw/http/mock/MockJsonGenerator.java [deleted file]
framework/src/main/resources/onap.properties
framework/src/test/java/org/onap/cli/fw/http/mock/MockJsonGeneratorTest.java [deleted file]
main/pom.xml
main/src/main/java/org/onap/cli/main/OnapCli.java
pom.xml
validate/pom.xml [new file with mode: 0644]
validate/sample-mock-generator/pom.xml [new file with mode: 0644]
validate/sample-mock-generator/src/main/java/org/onap/cli/http/mock/MockJsonGenerator.java [new file with mode: 0644]
validate/sample-mock-generator/src/main/java/org/onap/cli/http/mock/MockObject.java [moved from framework/src/main/java/org/onap/cli/fw/http/mock/MockObject.java with 96% similarity]
validate/sample-mock-generator/src/main/java/org/onap/cli/http/mock/MockRequest.java [moved from framework/src/main/java/org/onap/cli/fw/http/mock/MockRequest.java with 64% similarity]
validate/sample-mock-generator/src/main/java/org/onap/cli/http/mock/MockResponse.java [moved from framework/src/main/java/org/onap/cli/fw/http/mock/MockResponse.java with 67% similarity]
validate/sample-mock-generator/src/test/java/org/onap/cli/http/mock/MockJsonGeneratorTest.java [new file with mode: 0644]
validate/sample-yaml-generator/pom.xml [new file with mode: 0644]
validate/sample-yaml-generator/src/main/java/org/onap/cli/sample/yaml/SampleYamlGenerator.java [new file with mode: 0644]
validate/sample-yaml-generator/src/test/java/org/onap/cli/sample/yaml/SampleYamlGeneratorTest.java [new file with mode: 0644]
validate/validation/pom.xml [moved from validation/pom.xml with 100% similarity]
validate/validation/src/test/java/org/onap/cli/moco/OnapCommandHttpMocoServer.java [moved from validation/src/test/java/org/onap/cli/moco/OnapCommandHttpMocoServer.java with 100% similarity]
validate/validation/src/test/java/org/onap/cli/moco/OnapCommandSample.java [moved from validation/src/test/java/org/onap/cli/moco/OnapCommandSample.java with 100% similarity]
validate/validation/src/test/java/org/onap/cli/validation/OnapCliMainTest.java [moved from validation/src/test/java/org/onap/cli/validation/OnapCliMainTest.java with 100% similarity]
validate/validation/src/test/resources/customer-create-sample-1.1-moco.json [moved from validation/src/test/resources/customer-create-sample-1.1-moco.json with 100% similarity]
validate/validation/src/test/resources/onap-cli-sample/customer/customer-create-sample-1.1.yaml [moved from validation/src/test/resources/onap-cli-sample/customer/customer-create-sample-1.1.yaml with 100% similarity]