aboutsummaryrefslogtreecommitdiffstats
path: root/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/service-model
diff options
context:
space:
mode:
Diffstat (limited to 'products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/service-model')
-rw-r--r--products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/service-model/service-model-set-property-moco.json145
-rw-r--r--products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/service-model/service-model-set-property-sample.yaml10
2 files changed, 155 insertions, 0 deletions
diff --git a/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/service-model/service-model-set-property-moco.json b/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/service-model/service-model-set-property-moco.json
new file mode 100644
index 00000000..8c02a73b
--- /dev/null
+++ b/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/service-model/service-model-set-property-moco.json
@@ -0,0 +1,145 @@
+[ {
+ "request" : {
+ "method" : "post",
+ "uri" : "/sdc2/rest/v1/catalog/services/58620731-40a9-4f8e-95db-ef9fc478a705/resourceInstance/58620731-40a9-4f8e-95db-ef9fc478a705.b85dad49-bd5c-4036-8eb0-601778b9d6ff.vgwocompvtp/inputs",
+ "headers" : {
+ "Authorization" : "Basic Y3MwMDA4OmRlbW8xMjM0NTYh",
+ "X-FromAppId" : "ONAP CLI",
+ "Accept" : "application/json",
+ "USER_ID" : "cs0008",
+ "X-TransactionId" : "req-c6c02420-d49b-4432-a1e3-727987223c99",
+ "Content-Type" : "application/json"
+ },
+ "json" : [ {
+ "constraints" : [ ],
+ "definition" : false,
+ "name" : "nf_type",
+ "parentUniqueId" : "b8f09d0e-dd33-46d1-bb49-434094bf632f",
+ "password" : false,
+ "required" : false,
+ "schema" : {
+ "property" : { }
+ },
+ "toscaPresentation" : {
+ "ownerId" : "b8f09d0e-dd33-46d1-bb49-434094bf632f"
+ },
+ "type" : "string",
+ "uniqueId" : "b8f09d0e-dd33-46d1-bb49-434094bf632f.nf_type",
+ "value" : "hwvnfmdriver"
+ } ]
+ },
+ "response" : {
+ "status" : 200,
+ "json" : [ {
+ "uniqueId" : "b8f09d0e-dd33-46d1-bb49-434094bf632f.nf_type",
+ "type" : "string",
+ "required" : false,
+ "definition" : false,
+ "defaultValue" : null,
+ "description" : null,
+ "schema" : {
+ "derivedFrom" : null,
+ "constraints" : null,
+ "properties" : null,
+ "property" : {
+ "uniqueId" : null,
+ "type" : null,
+ "required" : false,
+ "definition" : true,
+ "defaultValue" : null,
+ "description" : null,
+ "schema" : null,
+ "password" : false,
+ "name" : null,
+ "value" : null,
+ "label" : null,
+ "hidden" : false,
+ "immutable" : false,
+ "inputPath" : null,
+ "status" : null,
+ "inputId" : null,
+ "instanceUniqueId" : null,
+ "propertyId" : null,
+ "parentPropertyType" : null,
+ "subPropertyInputPath" : null,
+ "annotations" : null,
+ "parentUniqueId" : null,
+ "getInputValues" : null,
+ "getPolicyValues" : null,
+ "schemaType" : null,
+ "schemaProperty" : null,
+ "getInputProperty" : false,
+ "version" : null,
+ "ownerId" : null,
+ "empty" : false
+ },
+ "version" : null,
+ "ownerId" : null,
+ "empty" : false,
+ "type" : null
+ },
+ "password" : false,
+ "name" : "nf_type",
+ "value" : "hwvnfmdriver",
+ "label" : null,
+ "hidden" : false,
+ "immutable" : false,
+ "inputPath" : null,
+ "status" : null,
+ "inputId" : null,
+ "instanceUniqueId" : null,
+ "propertyId" : null,
+ "parentPropertyType" : null,
+ "subPropertyInputPath" : null,
+ "annotations" : null,
+ "parentUniqueId" : "b8f09d0e-dd33-46d1-bb49-434094bf632f",
+ "getInputValues" : null,
+ "getPolicyValues" : null,
+ "constraints" : [ ],
+ "inputs" : null,
+ "properties" : null,
+ "valueUniqueUid" : null,
+ "path" : null,
+ "rules" : null,
+ "componentInstanceName" : null,
+ "componentInstanceId" : null,
+ "schemaType" : null,
+ "schemaProperty" : {
+ "uniqueId" : null,
+ "type" : null,
+ "required" : false,
+ "definition" : true,
+ "defaultValue" : null,
+ "description" : null,
+ "schema" : null,
+ "password" : false,
+ "name" : null,
+ "value" : null,
+ "label" : null,
+ "hidden" : false,
+ "immutable" : false,
+ "inputPath" : null,
+ "status" : null,
+ "inputId" : null,
+ "instanceUniqueId" : null,
+ "propertyId" : null,
+ "parentPropertyType" : null,
+ "subPropertyInputPath" : null,
+ "annotations" : null,
+ "parentUniqueId" : null,
+ "getInputValues" : null,
+ "getPolicyValues" : null,
+ "schemaType" : null,
+ "schemaProperty" : null,
+ "getInputProperty" : false,
+ "version" : null,
+ "ownerId" : null,
+ "empty" : false
+ },
+ "getInputProperty" : false,
+ "version" : null,
+ "ownerId" : "b8f09d0e-dd33-46d1-bb49-434094bf632f",
+ "empty" : false
+ } ]
+ }
+} ] \ No newline at end of file
diff --git a/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/service-model/service-model-set-property-sample.yaml b/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/service-model/service-model-set-property-sample.yaml
new file mode 100644
index 00000000..8984d7c1
--- /dev/null
+++ b/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/service-model/service-model-set-property-sample.yaml
@@ -0,0 +1,10 @@
+open_cli_sample_version: 1.0
+name: service-model-set-property
+version: onap-dublin
+samples:
+ sample1:
+ name: service-model-set-property
+ input: --format json --input-uuid b8f09d0e-dd33-46d1-bb49-434094bf632f --service-id 58620731-40a9-4f8e-95db-ef9fc478a705 --property-name nf_type --vf-resource-id 58620731-40a9-4f8e-95db-ef9fc478a705.b85dad49-bd5c-4036-8eb0-601778b9d6ff.vgwocompvtp --property-value hwvnfmdriver --vf-id b85dad49-bd5c-4036-8eb0-601778b9d6ff
+ moco: service-model-set-property-moco.json
+ output: |
+ [{}]