Junit Cases for Artifact Handler.
[appc.git] / appc-inbound / appc-artifact-handler / provider / src / test / resources / templates / reference_template
index e69de29..ef4772d 100755 (executable)
@@ -0,0 +1,100 @@
+{
+"reference_data" : [
+{
+"action": "ConfigureTest",
+"action-level":"VNF",
+"scope": {
+"vnf-type": "TestvUSP - vDBE-IPX HUB",
+"vnfc-type": "TestDBE-VM #1"
+},
+"template": "Y",
+"vm": [
+{
+"vm-instance": 1,
+"vnfc": [
+{
+"vnfc-instance": 1,
+"vnfc-type": "TestDBE-VM #1",
+"vnfc-function-code": "Testdbg",
+"group-notation-type": "GNType",
+"ipaddress-v4-oam-vip": "N",
+"group-notation-value": "GNValue"
+},
+{
+"vnfc-instance": 2,
+"vnfc-type": "TestDBE-VM #1",
+"vnfc-function-code": "Testdbg",
+"group-notation-type": "GNType",
+"ipaddress-v4-oam-vip": "Y",
+"group-notation-value": "GNValue"
+}
+]
+},
+{
+"vm-instance": 2,
+"vnfc": [{
+"vnfc-instance": 1,
+"vnfc-type": "TestDBE-VM #1",
+"vnfc-function-code": "Testdbg",
+"group-notation-type": "GNType",
+"ipaddress-v4-oam-vip": "Y",
+"group-notation-value": "GNValue"
+}
+]
+}
+],
+"device-protocol": "TestNETCONF-XML",
+"user-name": "Testnetconf",
+"port-number": "22",
+"download-dg-reference" : "TestDownloadDGReference",
+"artifact-list": [
+{
+"artifact-name": "TestvDBE-I_template.json",
+"artifact-type": "Testconfig_template"
+},
+{
+"artifact-name": "TESTvDBE-I_parameter_definitions.json",
+"artifact-type": "Testparameter_definitions"
+},
+{
+"artifact-name": "PD_JunitTESTvDBE-I_parameter_yang.json",
+"artifact-type": "PD_definations"
+}
+]
+},
+{
+       "action": "ConfigModify",
+       "action-level": "VNF",
+       "scope": {
+               "vnf-type": "vDBE-I",
+               "vnfc-type": null
+       },
+       "template": "Y",
+       "device-protocol": "NETCONF-XML",
+       "user-name": "Testnetconf",
+       "port-number": "22",
+       "artifact-list": [
+               {
+                       "artifact-name": "template_ConfigModify_vDBE-I_0.0.1V.xml",
+                       "artifact-type": "config_template"
+               },
+               {
+                       "artifact-name": "pd_ConfigModify_vDBE-I_0.0.1V.yaml",
+                       "artifact-type": "parameter_definitions"
+               }
+       ]
+},
+
+{
+       "action": "HealthCheck",
+       "action-level": "VM",
+       "scope": {
+               "vnf-type": "vDBE-I",
+               "vnfc-type": null
+       },
+       "template": "N",
+       "device-protocol": "REST",
+       "vnfc-function-code": ["SSC","MMSC"]
+}
+]
+}