aboutsummaryrefslogtreecommitdiffstats
path: root/validate/validation/src/test/resources
diff options
context:
space:
mode:
authorsubhash kumar singh <subhash.kumar.singh@huawei.com>2017-10-23 14:03:11 +0000
committersubhash kumar singh <subhash.kumar.singh@huawei.com>2017-10-26 09:27:02 +0000
commitb0d8aa12fe8f88059f7fcce741913194d72d0d69 (patch)
tree309becc99aaa133a9945f84213e21c81f5af7099 /validate/validation/src/test/resources
parentf3d888a58d5775f015b8c2b1864cde2856dd0376 (diff)
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>
Diffstat (limited to 'validate/validation/src/test/resources')
-rw-r--r--validate/validation/src/test/resources/customer-create-sample-1.1-moco.json11
-rw-r--r--validate/validation/src/test/resources/onap-cli-sample/customer/customer-create-sample-1.1.yaml9
2 files changed, 20 insertions, 0 deletions
diff --git a/validate/validation/src/test/resources/customer-create-sample-1.1-moco.json b/validate/validation/src/test/resources/customer-create-sample-1.1-moco.json
new file mode 100644
index 00000000..f6e4d0b2
--- /dev/null
+++ b/validate/validation/src/test/resources/customer-create-sample-1.1-moco.json
@@ -0,0 +1,11 @@
+[{
+ "request" :
+ {
+ "method" : "get",
+ "uri" : "/aai/v11/business/customers/customer/test"
+ },
+ "response" :
+ {
+ "status" : 201
+ }
+}] \ No newline at end of file
diff --git a/validate/validation/src/test/resources/onap-cli-sample/customer/customer-create-sample-1.1.yaml b/validate/validation/src/test/resources/onap-cli-sample/customer/customer-create-sample-1.1.yaml
new file mode 100644
index 00000000..30b5b303
--- /dev/null
+++ b/validate/validation/src/test/resources/onap-cli-sample/customer/customer-create-sample-1.1.yaml
@@ -0,0 +1,9 @@
+onap_cli_sample_version: 1.0
+
+name: customer-create
+version: onap-1.1
+samples:
+ sample1:
+ name: Create a customer
+ input: -m http://locahost:8141 -u AAI -p AAI --customer-name test --subscriber-name test
+ moco: customer-create-sample-1.1-moco.json \ No newline at end of file