diff options
Diffstat (limited to 'components/core/src/test/resources/properties')
-rw-r--r-- | components/core/src/test/resources/properties/convert.json | 33 | ||||
-rw-r--r-- | components/core/src/test/resources/properties/default.json | 16 |
2 files changed, 49 insertions, 0 deletions
diff --git a/components/core/src/test/resources/properties/convert.json b/components/core/src/test/resources/properties/convert.json new file mode 100644 index 00000000..cb7d08e4 --- /dev/null +++ b/components/core/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/components/core/src/test/resources/properties/default.json b/components/core/src/test/resources/properties/default.json new file mode 100644 index 00000000..0ac97f90 --- /dev/null +++ b/components/core/src/test/resources/properties/default.json @@ -0,0 +1,16 @@ +{
+ "default": "{ \"get_input\" : \"loopback-default\" }",
+ "domain": "ethernet",
+ "criteria": [
+ {
+ "value": "attga301me1",
+ "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"
+ }
+ ]
+}
|