aboutsummaryrefslogtreecommitdiffstats
path: root/validation/src/test/resources
diff options
context:
space:
mode:
authorKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2017-10-11 10:51:16 +0530
committerKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2017-10-11 11:03:39 +0530
commit1ec7ee637367ed680df9cbf2dfc14bb283ec1583 (patch)
tree12e575bd9b7f1b83fa13b82133c01509285056a1 /validation/src/test/resources
parentbe4d81987526f9ce326755ffd123524fb4d457fe (diff)
Enhance validation with moco server
CLI-2 Change-Id: Ie8a98a2a20137610634b3450d1076bec1790e9b1 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Diffstat (limited to 'validation/src/test/resources')
-rw-r--r--validation/src/test/resources/customer-create-sample-1.1-moco.json11
-rw-r--r--validation/src/test/resources/onap-cli-sample/customer/customer-create-sample-1.1.yaml9
2 files changed, 20 insertions, 0 deletions
diff --git a/validation/src/test/resources/customer-create-sample-1.1-moco.json b/validation/src/test/resources/customer-create-sample-1.1-moco.json
new file mode 100644
index 00000000..f6e4d0b2
--- /dev/null
+++ b/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/validation/src/test/resources/onap-cli-sample/customer/customer-create-sample-1.1.yaml b/validation/src/test/resources/onap-cli-sample/customer/customer-create-sample-1.1.yaml
new file mode 100644
index 00000000..30b5b303
--- /dev/null
+++ b/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