diff options
author | 2018-09-04 23:11:42 -0400 | |
---|---|---|
committer | 2018-09-04 23:11:42 -0400 | |
commit | 3c91aeea6ef932527eb3743675bb28f393c7c1ee (patch) | |
tree | 7a7e5c3adfabb630f2665d27900ee1d8d315cabb /blueprints-processor/plugin/model-provider/src/test/resources/properties | |
parent | 1419e6066cc5ce7a47bb2916e165d6f90dc8bc55 (diff) |
SDNC Blueprints Processor Model Service
Creating SDN Controller Blueprints Processor Model Service JUnit Tests - 2
Change-Id: I871401fc661a671beaec8319cb40d10b71a4093c
Issue-ID: CCSDK-516
Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com>
Diffstat (limited to 'blueprints-processor/plugin/model-provider/src/test/resources/properties')
-rw-r--r-- | blueprints-processor/plugin/model-provider/src/test/resources/properties/convert.json | 33 | ||||
-rw-r--r-- | blueprints-processor/plugin/model-provider/src/test/resources/properties/default.json | 16 |
2 files changed, 49 insertions, 0 deletions
diff --git a/blueprints-processor/plugin/model-provider/src/test/resources/properties/convert.json b/blueprints-processor/plugin/model-provider/src/test/resources/properties/convert.json new file mode 100644 index 000000000..cb7d08e44 --- /dev/null +++ b/blueprints-processor/plugin/model-provider/src/test/resources/properties/convert.json @@ -0,0 +1,33 @@ +{
+ "type": "sdnc-component-getResourceAssignment",
+ "interfaces": {
+ "ResourceAssignmentService": {
+ "operations": {
+ "getResourceAssignment": {
+ "inputs": {
+ "assignment-mappings": [
+ {
+ "name": "service-name",
+ "mapping-field": "service",
+ "mapping-category": "SDN",
+ "required": true
+ },
+ {
+ "name": "region-name",
+ "mapping-field": "region",
+ "mapping-category": "SDN",
+ "required": true
+ }
+ ],
+ "pre-data": "{ \"get_attribute\" : \"get-resource-assignment.config-params\" }",
+ "prifix": "get-resource-assignment"
+ },
+ "outputs": {
+ "resource-assignment-status": "success",
+ "resource-assignment-params": "{ \"set_value\" : \"get-resource-assignment.config-params\" }"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/blueprints-processor/plugin/model-provider/src/test/resources/properties/default.json b/blueprints-processor/plugin/model-provider/src/test/resources/properties/default.json new file mode 100644 index 000000000..335a68759 --- /dev/null +++ b/blueprints-processor/plugin/model-provider/src/test/resources/properties/default.json @@ -0,0 +1,16 @@ +{
+ "default": "{ \"get_input\" : \"loopback-default\" }",
+ "domain": "ethernet",
+ "criteria": [
+ {
+ "value": "dummy301me1",
+ "type": "complex",
+ "nodeString": "layer3-service-list[].service-data.l3sdn-vnf-fields.vnf-name"
+ },
+ {
+ "value": "{ \"get_input\" : \"host-ip-address\" }",
+ "type": "simple",
+ "nodeString": "layer3-service-list[].service-data.l3sdn-vnf-fields.vnf-name"
+ }
+ ]
+}
|