diff options
author | Kanagaraj Manickam <kanagaraj.manickam@huawei.com> | 2017-10-11 09:40:05 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2017-10-11 09:40:05 +0000 |
commit | c3115733dc008134840c17832f86cb59e08677b5 (patch) | |
tree | 7c168576d60046953a86151df75657c3130e311f /validation/src/test/resources | |
parent | d39a3853d8f6e6c10e57b5091858d0fb8c733e2b (diff) | |
parent | bed220d657959425cd358108e5c1a410a3cbbb89 (diff) |
Merge changes I7388da38,Idcccea23,Ie8a98a2a,I1f83cc9d,Idf2aa6f8
* changes:
Verfiy Invalid samples
Add UT for validating using moco
Enhance validation with moco server
Model onap-cli-sample in java class
Fix registrar test command registration UT
Diffstat (limited to 'validation/src/test/resources')
-rw-r--r-- | validation/src/test/resources/customer-create-sample-1.1-moco.json | 11 | ||||
-rw-r--r-- | validation/src/test/resources/onap-cli-sample/customer/customer-create-sample-1.1.yaml | 9 |
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 |