diff options
author | 2018-09-28 10:42:42 +0530 | |
---|---|---|
committer | 2018-09-28 10:42:42 +0530 | |
commit | 4f273e8b2d8a54f133988d2783ba66de7c810540 (patch) | |
tree | 045be88aee02754ed01e222e6681458b15440b89 /products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/subscription | |
parent | e1090cd34b728891a6e4aa91ebebcade00561048 (diff) |
Casablanca: AAI subscription-create
Issue-ID: CLI-122
Change-Id: I300ab3fceed21a1b33488869f8bafbf62e05b314
Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Diffstat (limited to 'products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/subscription')
2 files changed, 29 insertions, 0 deletions
diff --git a/products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/subscription/subscription-create-schema-casablanca-moco.json b/products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/subscription/subscription-create-schema-casablanca-moco.json new file mode 100644 index 00000000..52dfd8fb --- /dev/null +++ b/products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/subscription/subscription-create-schema-casablanca-moco.json @@ -0,0 +1,20 @@ +[ {
+ "request" : {
+ "method" : "put",
+ "uri" : "/aai/v13/business/customers/customer/mrkanag/service-subscriptions/service-subscription/vfw-in",
+ "headers" : {
+ "Authorization" : "Basic QUFJOkFBSQ==",
+ "X-FromAppId" : "ONAP CLI",
+ "Accept" : "application/json",
+ "X-TransactionId" : "req-c2045a35-97a4-4ace-a7df-4db031ba0da9",
+ "Content-Type" : "application/json"
+ },
+ "json" : {
+ "service-type" : "vfw-in"
+ }
+ },
+ "response" : {
+ "status" : 201,
+ "json" : null
+ }
+} ]
\ No newline at end of file diff --git a/products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/subscription/subscription-create-schema-casablanca-sample.yaml b/products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/subscription/subscription-create-schema-casablanca-sample.yaml new file mode 100644 index 00000000..5e4d97cf --- /dev/null +++ b/products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/subscription/subscription-create-schema-casablanca-sample.yaml @@ -0,0 +1,9 @@ +open_cli_sample_version: 1.0 +name: subscription-create +version: onap-casablanca +samples: + sample1: + name: subscription-create + input: --customer-name mrkanag --service-type vfw-in -d + moco: subscription-create-schema-casablanca-moco.json + output:
\ No newline at end of file |