aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/sdc/src/test/resources/onap-cli-sample/license-entitlement-pool-create-schema-moco.json
diff options
context:
space:
mode:
authorKanagaraj Manickam <kanagaraj.manickam@huawei.com>2017-10-24 08:46:07 +0000
committerGerrit Code Review <gerrit@onap.org>2017-10-24 08:46:07 +0000
commitf3d888a58d5775f015b8c2b1864cde2856dd0376 (patch)
tree4bf7814089923b851c4d1ce092783ce6dd07e58d /plugins/sdc/src/test/resources/onap-cli-sample/license-entitlement-pool-create-schema-moco.json
parentc3f7318f68c41213e669016810e63fd9dfe951a3 (diff)
parentb41bd894df391281b637e00f2909940200e734d5 (diff)
Merge "Add support for license-model commands"
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"}
+ }
+}]