summaryrefslogtreecommitdiffstats
path: root/plugins/sdc/src/test/resources/onap-cli-sample/license-entitlement-pool-create-schema-moco.json
diff options
context:
space:
mode:
authorBharath Thiruveedula <bharath_ves@hotmail.com>2017-10-14 01:00:18 +0530
committerBharath Thiruveedula <bharath_ves@hotmail.com>2017-10-19 15:50:39 +0530
commitb41bd894df391281b637e00f2909940200e734d5 (patch)
tree8c843f30eae28f714af99017f358e5e0909e3696 /plugins/sdc/src/test/resources/onap-cli-sample/license-entitlement-pool-create-schema-moco.json
parent83673ac6ee94bc7f554132893932715d009f0cdd (diff)
Add support for license-model commands
Change-Id: Ifc0fadcec234f23f0e46f8990e4ca7c5d1d2800a Issue-ID: CLI-16 Signed-Off-By: Bharath Thiruveedula<bharath.thiruveedula@verizon.com>
Diffstat (limited to 'plugins/sdc/src/test/resources/onap-cli-sample/license-entitlement-pool-create-schema-moco.json')
-rw-r--r--plugins/sdc/src/test/resources/onap-cli-sample/license-entitlement-pool-create-schema-moco.json16
1 files changed, 16 insertions, 0 deletions
diff --git a/plugins/sdc/src/test/resources/onap-cli-sample/license-entitlement-pool-create-schema-moco.json b/plugins/sdc/src/test/resources/onap-cli-sample/license-entitlement-pool-create-schema-moco.json
new file mode 100644
index 00000000..9baef0ef
--- /dev/null
+++ b/plugins/sdc/src/test/resources/onap-cli-sample/license-entitlement-pool-create-schema-moco.json
@@ -0,0 +1,16 @@
+[{
+ "request" :
+ {
+ "method" : "post",
+ "uri" : "onboarding-api/v1.0/vendor-license-models/4904E77EC4EF4CB18083E8ED7D283585/entitlement-pools",
+ "headers" : {
+ "USER_ID": "cs0008",
+ "content-type" : "application/json"
+ },
+ "json" : {"name": "demo-ep", "description": "demo ep desc", "thresholdValue": "99", "thresholdUnits": "Absolute", "entitlementMetric": {"choice": "CPU","other": ""}, "increments": "robot", "aggregationFunction": { "choice": "Peak", "other": ""}, "operationalScope": { "choices":["Availability_Zone"],"other":""},"time": {"choice": "Hour","other":""},"manufacturerReferenceNumber": "robot12345"}
+ },
+ "response" :
+ {
+ "json" : {"value":"840FFB495CAA46A6B720E3D734D52C66"}
+ }
+}]