[\r
{\r
- "id": "7fca76b4.17223",\r
+ "id": "a6983c0.b9a8cc8",\r
"type": "execute",\r
"name": "execute saveTxLog",\r
"xml": "<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"saveConfigTransactionLog\">\n<parameter name=\"messageType\" value=\"log\" />\n<parameter name=\"message\" value=\"SetInputData action complete\" />\n<parameter name=\"responsePrefix\" value=\"tmp.saveTxLog\" />\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 291.6111373901367,\r
- "y": 975.9444494247437,\r
- "z": "29005224.e84c46",\r
+ "x": 355.6111373901367,\r
+ "y": 938.9444494247437,\r
+ "z": "16b2bdc6.b4f10a",\r
"wires": [\r
[\r
- "29ad6619.56be1a"\r
+ "10afeb0c.c7ae15"\r
]\r
]\r
},\r
{\r
- "id": "29ad6619.56be1a",\r
+ "id": "10afeb0c.c7ae15",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 544.3611488342285,\r
- "y": 978.8610963821411,\r
- "z": "29005224.e84c46",\r
+ "x": 608.3611488342285,\r
+ "y": 941.8610963821411,\r
+ "z": "16b2bdc6.b4f10a",\r
"wires": [\r
[\r
- "487dbd4.fae6244"\r
+ "293004e3.f67484"\r
]\r
]\r
},\r
{\r
- "id": "487dbd4.fae6244",\r
+ "id": "293004e3.f67484",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 762.6944465637207,\r
- "y": 979.3611373901367,\r
- "z": "29005224.e84c46",\r
+ "x": 826.6944465637207,\r
+ "y": 942.3611373901367,\r
+ "z": "16b2bdc6.b4f10a",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "d57f2a5b.6d9878",\r
+ "id": "3ffbfc03.c0cdcc",\r
"type": "dgstart",\r
"name": "DGSTART",\r
"outputs": 1,\r
- "x": 76,\r
- "y": 100,\r
- "z": "29005224.e84c46",\r
+ "x": 140,\r
+ "y": 63,\r
+ "z": "16b2bdc6.b4f10a",\r
"wires": [\r
[\r
- "eb65f1a6.67a2a8"\r
+ "a329045c.8f7118"\r
]\r
]\r
},\r
{\r
- "id": "eb65f1a6.67a2a8",\r
+ "id": "a329045c.8f7118",\r
"type": "service-logic",\r
"name": "APPC 4.0.0",\r
"module": "APPC",\r
"comments": "",\r
"xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='APPC' version='4.0.0'>",\r
"outputs": 1,\r
- "x": 229.8730125427246,\r
- "y": 104.27777767181396,\r
- "z": "29005224.e84c46",\r
+ "x": 293.8730125427246,\r
+ "y": 67.27777767181396,\r
+ "z": "16b2bdc6.b4f10a",\r
"wires": [\r
[\r
- "464bc66a.d400f"\r
+ "692d2daf.32ec64"\r
]\r
]\r
},\r
{\r
- "id": "464bc66a.d400f",\r
+ "id": "692d2daf.32ec64",\r
"type": "method",\r
"name": "method setInputParams",\r
"xml": "<method rpc='setInputParams' mode='sync'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 474.28175354003906,\r
- "y": 104.33333110809326,\r
- "z": "29005224.e84c46",\r
+ "x": 538.2817535400391,\r
+ "y": 67.33333110809326,\r
+ "z": "16b2bdc6.b4f10a",\r
"wires": [\r
[\r
- "76f327ef.78a5d"\r
+ "73f179e5.1f6b08"\r
]\r
]\r
},\r
{\r
- "id": "76f327ef.78a5d",\r
+ "id": "73f179e5.1f6b08",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"comments": "",\r
"outputs": 1,\r
- "x": 125.82540893554688,\r
- "y": 192.7301435470581,\r
- "z": "29005224.e84c46",\r
+ "x": 189.82540893554688,\r
+ "y": 155.7301435470581,\r
+ "z": "16b2bdc6.b4f10a",\r
"wires": [\r
[\r
- "7fca76b4.17223",\r
- "ec38a1b5.f9fb78",\r
- "f86b33c2.af5458",\r
- "c6d02f55.f61f5",\r
- "6b012bde.6f80a4",\r
- "5cf8e6f0.d42f4",\r
- "a24f31b2.4d18e",\r
- "8d34313a.627aa8",\r
- "990a0e31.6e0e5",\r
- "895d6244.5f7778",\r
- "a3f0b036.b07238",\r
- "7b2f5687.8079a8",\r
- "71fa2664.4d59f",\r
- "1b1c550c.87631b"\r
+ "a6983c0.b9a8cc8",\r
+ "5108defa.2a8ad8",\r
+ "76e6a902.aa9f7",\r
+ "4e956b25.7384bc",\r
+ "917e8d75.36ed5",\r
+ "3272c506.7a2902",\r
+ "661b6930.9d8a7",\r
+ "7cd9ea4c.168d0c",\r
+ "b9a27f92.7134f",\r
+ "3abcb846.d4e0c8",\r
+ "34649294.8eafee",\r
+ "862c4ef9.c1b13",\r
+ "84b11aeb.34d5c",\r
+ "90827e69.15871"\r
]\r
]\r
},\r
{\r
- "id": "ec38a1b5.f9fb78",\r
+ "id": "5108defa.2a8ad8",\r
"type": "set",\r
"name": "set params based on Dispatcher Input",\r
"xml": "<set>\n<parameter name='vnf-id' value='`$input.action-identifiers.vnf-id`' /> \n<parameter name='service-instance-id' value='`$input.action-identifiers.service-instance-id`' />\n<parameter name='vserver-id' value='`$input.action-identifiers.vserver-id`' />\n<parameter name='vf-module-id' value='`$input.action-identifiers.vf-module-id`' />\n<parameter name='vnfc-name' value='`$input.action-identifiers.vnfc-name`' />\n\n<parameter name='request-id' value='`$input.common-header.request-id`' />\n<parameter name='originator-id' value='`$input.common-header.originator-id`' /> \n\n<parameter name='payload' value='`$input.payload`' /> \n<parameter name='api-ver' value='`$input.api-ver`' /> \n<parameter name='request-action' value='`$input.action`' />\n",\r
"comments": "",\r
- "x": 699.055534362793,\r
- "y": 145.4166612625122,\r
- "z": "29005224.e84c46",\r
+ "x": 763.055534362793,\r
+ "y": 108.4166612625122,\r
+ "z": "16b2bdc6.b4f10a",\r
"wires": []\r
},\r
{\r
- "id": "6b012bde.6f80a4",\r
+ "id": "917e8d75.36ed5",\r
"type": "execute",\r
"name": "execute Convert payload to DG Context ",\r
"xml": "<execute plugin=\"org.onap.sdnc.config.generator.convert.ConvertNode\" method=\"convertJson2DGContext\">\n<parameter name=\"jsonData\" value=\"`$input.payload`\" />\n<parameter name=\"isEscaped\" value=\"N\" />\n<parameter name=\"blockKeys\" value=\"configuration-parameters,configuration.configuration-string,configuration.configuration-json\" />\n<parameter name=\"responsePrefix\" value=\"tmp.convertnode\" />",\r
"comments": "",\r
"outputs": 1,\r
- "x": 497.77784729003906,\r
- "y": 261.83332920074463,\r
- "z": "29005224.e84c46",\r
+ "x": 561.7778472900391,\r
+ "y": 224.83332920074463,\r
+ "z": "16b2bdc6.b4f10a",\r
"wires": [\r
[\r
- "995b69b3.150398",\r
- "fe8257e4.b88f08"\r
+ "c0d21781.3af488",\r
+ "f04d3989.465d28"\r
]\r
]\r
},\r
{\r
- "id": "995b69b3.150398",\r
+ "id": "c0d21781.3af488",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 820.583366394043,\r
- "y": 234.91666889190674,\r
- "z": "29005224.e84c46",\r
+ "x": 884.583366394043,\r
+ "y": 197.91666889190674,\r
+ "z": "16b2bdc6.b4f10a",\r
"wires": [\r
[\r
- "89a3cd6a.29c028"\r
+ "6ddaaca2.d95fd4"\r
]\r
]\r
},\r
{\r
- "id": "fe8257e4.b88f08",\r
+ "id": "f04d3989.465d28",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 823.2778167724609,\r
- "y": 281.30555057525635,\r
- "z": "29005224.e84c46",\r
+ "x": 887.2778167724609,\r
+ "y": 244.30555057525635,\r
+ "z": "16b2bdc6.b4f10a",\r
"wires": [\r
[\r
- "83571f1f.4fec7"\r
+ "bc6e8091.072088"\r
]\r
]\r
},\r
{\r
- "id": "89a3cd6a.29c028",\r
+ "id": "6ddaaca2.d95fd4",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1020.9444732666016,\r
- "y": 235.27777767181396,\r
- "z": "29005224.e84c46",\r
+ "x": 1084.9444732666016,\r
+ "y": 198.27777767181396,\r
+ "z": "16b2bdc6.b4f10a",\r
"wires": [\r
[\r
- "3f186ad8.9acc1e"\r
+ "7cf9d173.b8ee1"\r
]\r
]\r
},\r
{\r
- "id": "83571f1f.4fec7",\r
+ "id": "bc6e8091.072088",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1015.1944732666016,\r
- "y": 283.2777786254883,\r
- "z": "29005224.e84c46",\r
+ "x": 1079.1944732666016,\r
+ "y": 246.27777862548828,\r
+ "z": "16b2bdc6.b4f10a",\r
"wires": [\r
[\r
- "ab91d54a.f38b58"\r
+ "75da26bd.d800d8"\r
]\r
]\r
},\r
{\r
- "id": "3f186ad8.9acc1e",\r
+ "id": "7cf9d173.b8ee1",\r
"type": "returnFailure",\r
"name": "return failure",\r
"xml": "<return status=\"failure\">\n<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"`$tmp.convertnode.error-message`\"/>\n\t\n\t",\r
"comments": "",\r
- "x": 1205.6944770812988,\r
- "y": 235.52777767181396,\r
- "z": "29005224.e84c46",\r
+ "x": 1269.6944770812988,\r
+ "y": 198.52777767181396,\r
+ "z": "16b2bdc6.b4f10a",\r
"wires": []\r
},\r
{\r
- "id": "ab91d54a.f38b58",\r
+ "id": "75da26bd.d800d8",\r
"type": "returnFailure",\r
"name": "return failure",\r
"xml": "<return status=\"failure\">\n\t<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"Unable to process input parameters\"/>\n\t",\r
"comments": "",\r
- "x": 1208.4444770812988,\r
- "y": 285.0277795791626,\r
- "z": "29005224.e84c46",\r
+ "x": 1272.4444770812988,\r
+ "y": 248.0277795791626,\r
+ "z": "16b2bdc6.b4f10a",\r
"wires": []\r
},\r
{\r
- "id": "c6d02f55.f61f5",\r
+ "id": "4e956b25.7384bc",\r
"type": "execute",\r
"name": "execute saveTxLog",\r
"xml": "<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"saveConfigTransactionLog\">\n<parameter name=\"messageType\" value=\"request\" />\n<parameter name=\"message\" value=\"`$tmp.message`\" />\n<parameter name=\"responsePrefix\" value=\"tmp.saveTxLog\" />\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 534.6944580078125,\r
- "y": 216.52777767181396,\r
- "z": "29005224.e84c46",\r
+ "x": 598.6944580078125,\r
+ "y": 179.52777767181396,\r
+ "z": "16b2bdc6.b4f10a",\r
"wires": [\r
[\r
- "72fb1a20.ab554c"\r
+ "b7c3d8ef.324be8"\r
]\r
]\r
},\r
{\r
- "id": "f86b33c2.af5458",\r
+ "id": "76e6a902.aa9f7",\r
"type": "set",\r
"name": "set tmp.message",\r
"xml": "<set>\n<parameter name=\"tmp.message\" value=\"`$vnf-id + ' : ' + $request-action + ': ' + $payload`\" />\n",\r
"comments": "",\r
- "x": 632.6389083862305,\r
- "y": 178.66666889190674,\r
- "z": "29005224.e84c46",\r
+ "x": 696.6389083862305,\r
+ "y": 141.66666889190674,\r
+ "z": "16b2bdc6.b4f10a",\r
"wires": []\r
},\r
{\r
- "id": "72fb1a20.ab554c",\r
+ "id": "b7c3d8ef.324be8",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 941.444450378418,\r
- "y": 173.02777576446533,\r
- "z": "29005224.e84c46",\r
+ "x": 1005.444450378418,\r
+ "y": 136.02777576446533,\r
+ "z": "16b2bdc6.b4f10a",\r
"wires": [\r
[\r
- "9f45e4b6.47b0b"\r
+ "c0877f7c.433918"\r
]\r
]\r
},\r
{\r
- "id": "9f45e4b6.47b0b",\r
+ "id": "c0877f7c.433918",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1098.444450378418,\r
- "y": 170.02777576446533,\r
- "z": "29005224.e84c46",\r
+ "x": 1162.444450378418,\r
+ "y": 133.02777576446533,\r
+ "z": "16b2bdc6.b4f10a",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "1b1c550c.87631b",\r
+ "id": "90827e69.15871",\r
"type": "call",\r
"name": "call: GetAaiInfo",\r
"xml": "<call module=\"APPC\" rpc=\"GetAaiInfo\" mode=\"sync\">",\r
"comments": "",\r
"outputs": 1,\r
- "x": 376.25,\r
- "y": 617.361083984375,\r
- "z": "29005224.e84c46",\r
+ "x": 440.25,\r
+ "y": 580.361083984375,\r
+ "z": "16b2bdc6.b4f10a",\r
"wires": [\r
[\r
- "d2fb9e84.53c39",\r
- "53eaaf46.77b328"\r
+ "941b6e71.d3bf98",\r
+ "b7e619af.e003f8"\r
]\r
]\r
},\r
{\r
- "id": "d2fb9e84.53c39",\r
+ "id": "941b6e71.d3bf98",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 883.9166259765625,\r
- "y": 652.9444580078125,\r
- "z": "29005224.e84c46",\r
+ "x": 947.9166259765625,\r
+ "y": 615.9444580078125,\r
+ "z": "16b2bdc6.b4f10a",\r
"wires": [\r
[\r
- "3cf17bd2.dc0954"\r
+ "366c9e2f.c3f70a"\r
]\r
]\r
},\r
{\r
- "id": "3cf17bd2.dc0954",\r
+ "id": "366c9e2f.c3f70a",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1065.861083984375,\r
- "y": 662.6111450195312,\r
- "z": "29005224.e84c46",\r
+ "x": 1129.861083984375,\r
+ "y": 625.6111450195312,\r
+ "z": "16b2bdc6.b4f10a",\r
"wires": [\r
[\r
- "a9218921.0e075"\r
+ "d5f3fe20.d4e54"\r
]\r
]\r
},\r
{\r
- "id": "a9218921.0e075",\r
+ "id": "d5f3fe20.d4e54",\r
"type": "returnFailure",\r
"name": "return failure",\r
"xml": "<return status=\"failure\">\n\t",\r
"comments": "",\r
- "x": 1242.2777099609375,\r
- "y": 657.111083984375,\r
- "z": "29005224.e84c46",\r
+ "x": 1306.2777099609375,\r
+ "y": 620.111083984375,\r
+ "z": "16b2bdc6.b4f10a",\r
"wires": []\r
},\r
{\r
- "id": "53eaaf46.77b328",\r
+ "id": "b7e619af.e003f8",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 905.8056640625,\r
- "y": 691.47216796875,\r
- "z": "29005224.e84c46",\r
+ "x": 969.8056640625,\r
+ "y": 654.47216796875,\r
+ "z": "16b2bdc6.b4f10a",\r
"wires": [\r
[\r
- "3cf17bd2.dc0954"\r
+ "366c9e2f.c3f70a"\r
]\r
]\r
},\r
{\r
- "id": "5cf8e6f0.d42f4",\r
+ "id": "3272c506.7a2902",\r
"type": "switchNode",\r
"name": "switch isTemplateDriven.TEMPLATE",\r
"xml": "<switch test='`$isTemplateDriven.TEMPLATE`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 382.6111145019531,\r
- "y": 889.6111135482788,\r
- "z": "29005224.e84c46",\r
+ "x": 446.6111145019531,\r
+ "y": 852.6111135482788,\r
+ "z": "16b2bdc6.b4f10a",\r
"wires": [\r
[\r
- "9d2cedd4.ab474",\r
- "717d950.608c96c"\r
+ "a149144e.2149b",\r
+ "ee4d19a0.8de3b"\r
]\r
]\r
},\r
{\r
- "id": "9d2cedd4.ab474",\r
+ "id": "a149144e.2149b",\r
"type": "success",\r
"name": "outcome: Y",\r
"xml": "<outcome value=\"Y\">",\r
"comments": "",\r
"outputs": 1,\r
- "x": 717.5357551574707,\r
- "y": 859.5912027359009,\r
- "z": "29005224.e84c46",\r
+ "x": 781.5357551574707,\r
+ "y": 822.5912027359009,\r
+ "z": "16b2bdc6.b4f10a",\r
"wires": [\r
[\r
- "d3749fed.e9b82"\r
+ "6b326a9f.993a9c"\r
]\r
]\r
},\r
{\r
- "id": "717d950.608c96c",\r
+ "id": "ee4d19a0.8de3b",\r
"type": "success",\r
"name": "outcome: Other",\r
"xml": "<outcome value='Other'>",\r
"comments": "",\r
"outputs": 1,\r
- "x": 719.2738723754883,\r
- "y": 917.7341413497925,\r
- "z": "29005224.e84c46",\r
+ "x": 783.2738723754883,\r
+ "y": 880.7341413497925,\r
+ "z": "16b2bdc6.b4f10a",\r
"wires": [\r
[\r
- "626c366b.12ab4"\r
+ "4c3ddc8e.54b74c"\r
]\r
]\r
},\r
{\r
- "id": "d3749fed.e9b82",\r
+ "id": "6b326a9f.993a9c",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"comments": null,\r
"outputs": 1,\r
- "x": 953.1627159118652,\r
- "y": 865.8571519851685,\r
- "z": "29005224.e84c46",\r
+ "x": 1017.1627159118652,\r
+ "y": 828.8571519851685,\r
+ "z": "16b2bdc6.b4f10a",\r
"wires": [\r
[\r
- "55166856.7789c8"\r
+ "2d3403df.ff424c"\r
]\r
]\r
},\r
{\r
- "id": "626c366b.12ab4",\r
+ "id": "4c3ddc8e.54b74c",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"comments": null,\r
"outputs": 1,\r
- "x": 983.2500839233398,\r
- "y": 916.8056125640869,\r
- "z": "29005224.e84c46",\r
+ "x": 1047.2500839233398,\r
+ "y": 879.8056125640869,\r
+ "z": "16b2bdc6.b4f10a",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "55166856.7789c8",\r
+ "id": "2d3403df.ff424c",\r
"type": "call",\r
"name": "call: loadTeamplate",\r
"xml": "<call module=\"APPC\" rpc=\"loadTeamplate\" mode=\"sync\">",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1156.750087738037,\r
- "y": 865.8888502120972,\r
- "z": "29005224.e84c46",\r
+ "x": 1220.750087738037,\r
+ "y": 828.8888502120972,\r
+ "z": "16b2bdc6.b4f10a",\r
"wires": [\r
[\r
- "eaef706.395761",\r
- "c27756eb.b56cc"\r
+ "39b38f81.4e51",\r
+ "f09f87cb.4d24e8"\r
]\r
]\r
},\r
{\r
- "id": "eaef706.395761",\r
+ "id": "39b38f81.4e51",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1325.9167594909668,\r
- "y": 835.6389303207397,\r
- "z": "29005224.e84c46",\r
+ "x": 1389.9167594909668,\r
+ "y": 798.6389303207397,\r
+ "z": "16b2bdc6.b4f10a",\r
"wires": [\r
[\r
- "41181dc0.443dd4"\r
+ "ff287b56.aa7eb8"\r
]\r
]\r
},\r
{\r
- "id": "d0dd485b.2ad268",\r
+ "id": "fb45ee23.6fbab",\r
"type": "returnFailure",\r
"name": "return failure",\r
"xml": "<return status=\"failure\">\n\t<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"Unable to load Template Information\"/>\n",\r
"comments": "",\r
- "x": 1719.7501068115234,\r
- "y": 831.3055753707886,\r
- "z": "29005224.e84c46",\r
+ "x": 1783.7501068115234,\r
+ "y": 794.3055753707886,\r
+ "z": "16b2bdc6.b4f10a",\r
"wires": []\r
},\r
{\r
- "id": "41181dc0.443dd4",\r
+ "id": "ff287b56.aa7eb8",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">\n\n",\r
"atomic": "true",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1502.9167251586914,\r
- "y": 833.5555562973022,\r
- "z": "29005224.e84c46",\r
+ "x": 1566.9167251586914,\r
+ "y": 796.5555562973022,\r
+ "z": "16b2bdc6.b4f10a",\r
"wires": [\r
[\r
- "d0dd485b.2ad268"\r
+ "fb45ee23.6fbab"\r
]\r
]\r
},\r
{\r
- "id": "c27756eb.b56cc",\r
+ "id": "f09f87cb.4d24e8",\r
"type": "failure",\r
"name": "Other",\r
"xml": "<outcome value='Other'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1316.8333854675293,\r
- "y": 948.2222166061401,\r
- "z": "29005224.e84c46",\r
+ "x": 1380.8333854675293,\r
+ "y": 911.2222166061401,\r
+ "z": "16b2bdc6.b4f10a",\r
"wires": [\r
[\r
- "3d62ad4c.6bdfba"\r
+ "5342721e.cb7a8c"\r
]\r
]\r
},\r
{\r
- "id": "a24f31b2.4d18e",\r
+ "id": "661b6930.9d8a7",\r
"type": "get-resource",\r
"name": "get-resource: APPC.action-level",\r
"xml": "<get-resource\n\tplugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' \n\tresource='SQL'\n\tkey=\"SELECT ACTION_LEVEL\n\t FROM ACTION_LEVEL_REFERENCE\n WHERE ACTION_IDENTIFIER = $action-identifier ;\"\n force='true'\n\tpfx='APPC.action-level'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 435.1944580078125,\r
- "y": 551.1944704055786,\r
- "z": "29005224.e84c46",\r
+ "x": 499.1944580078125,\r
+ "y": 514.1944704055786,\r
+ "z": "16b2bdc6.b4f10a",\r
"wires": [\r
[\r
- "95b0c195.da7348",\r
- "19e50c10.9c277c"\r
+ "be3e5499.fb065",\r
+ "fed29c92.eb62e8"\r
]\r
]\r
},\r
{\r
- "id": "732257e6.5f321",\r
+ "id": "c9908b57.c91ad8",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 894.9444580078125,\r
- "y": 555.5277709960938,\r
- "z": "29005224.e84c46",\r
+ "x": 958.9444580078125,\r
+ "y": 518.5277709960938,\r
+ "z": "16b2bdc6.b4f10a",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "95b0c195.da7348",\r
+ "id": "be3e5499.fb065",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 710.361083984375,\r
- "y": 554.1388549804688,\r
- "z": "29005224.e84c46",\r
+ "x": 774.361083984375,\r
+ "y": 517.1388549804688,\r
+ "z": "16b2bdc6.b4f10a",\r
"wires": [\r
[\r
- "732257e6.5f321"\r
+ "c9908b57.c91ad8"\r
]\r
]\r
},\r
{\r
- "id": "3d62ad4c.6bdfba",\r
+ "id": "5342721e.cb7a8c",\r
"type": "call",\r
"name": "call: MergeTemplateData",\r
"xml": "<call module=\"APPC\" rpc=\"MergeTemplateData\" mode=\"sync\">",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1498.111099243164,\r
- "y": 945.0277814865112,\r
- "z": "29005224.e84c46",\r
+ "x": 1562.111099243164,\r
+ "y": 908.0277814865112,\r
+ "z": "16b2bdc6.b4f10a",\r
"wires": [\r
[\r
- "432b7e5d.93983",\r
- "a0f71151.dc82a8"\r
+ "88c6cf75.06383",\r
+ "574e06cd.5864a8"\r
]\r
]\r
},\r
{\r
- "id": "da151a8e.03b298",\r
+ "id": "4aae662b.d4c588",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"comments": null,\r
"outputs": 1,\r
- "x": 1891.6230392456055,\r
- "y": 904.599232673645,\r
- "z": "29005224.e84c46",\r
+ "x": 1955.6230392456055,\r
+ "y": 867.599232673645,\r
+ "z": "16b2bdc6.b4f10a",\r
"wires": [\r
[\r
- "e176531c.3b90b"\r
+ "5d233c99.db03ac"\r
]\r
]\r
},\r
{\r
- "id": "432b7e5d.93983",\r
+ "id": "88c6cf75.06383",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1732.2658920288086,\r
- "y": 905.3015851974487,\r
- "z": "29005224.e84c46",\r
+ "x": 1796.2658920288086,\r
+ "y": 868.3015851974487,\r
+ "z": "16b2bdc6.b4f10a",\r
"wires": [\r
[\r
- "da151a8e.03b298"\r
+ "4aae662b.d4c588"\r
]\r
]\r
},\r
{\r
- "id": "a0f71151.dc82a8",\r
+ "id": "574e06cd.5864a8",\r
"type": "failure",\r
"name": "Other",\r
"xml": "<outcome value='Other'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1735.932559967041,\r
- "y": 971.7301757335663,\r
- "z": "29005224.e84c46",\r
+ "x": 1799.932559967041,\r
+ "y": 934.7301757335663,\r
+ "z": "16b2bdc6.b4f10a",\r
"wires": [\r
[\r
- "adcb7f0e.8d7018"\r
+ "3b5c490.997b9b8"\r
]\r
]\r
},\r
{\r
- "id": "adcb7f0e.8d7018",\r
+ "id": "3b5c490.997b9b8",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1900.2182922363281,\r
- "y": 971.3015871047974,\r
- "z": "29005224.e84c46",\r
+ "x": 1964.2182922363281,\r
+ "y": 934.3015871047974,\r
+ "z": "16b2bdc6.b4f10a",\r
"wires": [\r
[\r
- "a8d7e1f2.7f37b"\r
+ "12cf0bf5.fe2074"\r
]\r
]\r
},\r
{\r
- "id": "a8d7e1f2.7f37b",\r
+ "id": "12cf0bf5.fe2074",\r
"type": "record",\r
"name": "record",\r
"xml": "<record plugin=\"onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"info\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"`$request-action`\"/>\n<parameter name=\"field3\" value=\"`$input.action`\"/>\n\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2076.7897911071777,\r
- "y": 972.9206256270409,\r
- "z": "29005224.e84c46",\r
+ "x": 2140.7897911071777,\r
+ "y": 935.9206256270409,\r
+ "z": "16b2bdc6.b4f10a",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "835d681f.fd9e78",\r
+ "id": "76526333.e0f49c",\r
"type": "returnFailure",\r
"name": "return failure",\r
"xml": "<return status=\"failure\">\n\t<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"Unable to Merge Template and Data Information\"/>\n",\r
"comments": "",\r
- "x": 2272.6112098693848,\r
- "y": 901.5277814865112,\r
- "z": "29005224.e84c46",\r
+ "x": 2336.6112098693848,\r
+ "y": 864.5277814865112,\r
+ "z": "16b2bdc6.b4f10a",\r
"wires": []\r
},\r
{\r
- "id": "e176531c.3b90b",\r
+ "id": "5d233c99.db03ac",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">\n\n",\r
"atomic": "true",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2084.527786254883,\r
- "y": 902.9444065093994,\r
- "z": "29005224.e84c46",\r
+ "x": 2148.527786254883,\r
+ "y": 865.9444065093994,\r
+ "z": "16b2bdc6.b4f10a",\r
"wires": [\r
[\r
- "835d681f.fd9e78"\r
+ "76526333.e0f49c"\r
]\r
]\r
},\r
{\r
- "id": "8d34313a.627aa8",\r
+ "id": "7cd9ea4c.168d0c",\r
"type": "get-resource",\r
"name": "get-resource: isTemplateDriven",\r
"xml": "<get-resource\n\tplugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' \n\tresource='SQL'\n\tkey=\"SELECT TEMPLATE\n\t FROM PROTOCOL_REFERENCE\n WHERE ACTION = $input.action and VNF_TYPE = $vnf-type and ACTION_LEVEL= $action-level ;\"\n force='true'\n\tpfx='isTemplateDriven'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 383.7777862548828,\r
- "y": 827.1110906600952,\r
- "z": "29005224.e84c46",\r
+ "x": 447.7777862548828,\r
+ "y": 790.1110906600952,\r
+ "z": "16b2bdc6.b4f10a",\r
"wires": [\r
[\r
- "e991d954.17bb88"\r
+ "7fd8557b.08d05c"\r
]\r
]\r
},\r
{\r
- "id": "f9b86e0d.f41458",\r
+ "id": "caac6856.1e856",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 922.8611221313477,\r
- "y": 811.1111373901367,\r
- "z": "29005224.e84c46",\r
+ "x": 986.8611221313477,\r
+ "y": 774.1111373901367,\r
+ "z": "16b2bdc6.b4f10a",\r
"wires": [\r
[\r
- "cb70510a.cb926"\r
+ "3319eb2b.96b06c"\r
]\r
]\r
},\r
{\r
- "id": "cb70510a.cb926",\r
+ "id": "3319eb2b.96b06c",\r
"type": "returnFailure",\r
"name": "return failure",\r
"xml": "<return status=\"failure\">\n\t<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"Unable to retrieve Template Information from Reference table.\"/>\n\t",\r
"comments": "",\r
- "x": 1126.1111297607422,\r
- "y": 805.5277423858643,\r
- "z": "29005224.e84c46",\r
+ "x": 1190.1111297607422,\r
+ "y": 768.5277423858643,\r
+ "z": "16b2bdc6.b4f10a",\r
"wires": []\r
},\r
{\r
- "id": "e991d954.17bb88",\r
+ "id": "7fd8557b.08d05c",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 711.944450378418,\r
- "y": 805.9444704055786,\r
- "z": "29005224.e84c46",\r
+ "x": 775.944450378418,\r
+ "y": 768.9444704055786,\r
+ "z": "16b2bdc6.b4f10a",\r
"wires": [\r
[\r
- "f9b86e0d.f41458"\r
+ "caac6856.1e856"\r
]\r
]\r
},\r
{\r
- "id": "990a0e31.6e0e5",\r
+ "id": "b9a27f92.7134f",\r
"type": "set",\r
"name": "set Payload params ",\r
"xml": "<set>\n<!-- vnf type, name is from A&AI \n<parameter name='vnf-type' value='`$tmp.vnfInfo.vnf.vnf-type`' />\n<parameter name='vnf-name' value='`$tmp.vnfInfo.vnf.vnf-name`' />\n-->\n<!-- 17.07 Parameters from request -->\n<parameter name='template-name' value='`$request-parameters.template-name`' />\n<parameter name='vnf-host-ip-address' value='`$request-parameters.vnf-host-ip-address`' />\n<parameter name='vnfc-type' value='`$request-parameters.vnfc-type`' /> \n<parameter name='vnf-type' value='`$request-parameters.vnf-type`' />\n<parameter name='vnf-name' value='`$request-parameters.vnf-name`' />\n\n<parameter name='configurationblock' value='`$block_configuration`' />\n\n\n<!-- parameters to be merged with template provided as input-->\n<parameter name='configuration-params' value='`$block_configuration-parameters`' /> \n\n\n\n<!--1702 VM/VNFC Parameters when passed from Request--> \n<parameter name='VNFCTYPE' value='`$request-parameters.vm[0].vnfc[0].vnfc-type`' />\n<parameter name=\"VMNAME0\" value=\"`$request-parameters.vm[0].vm-name`\"/>\n<parameter name=\"VNFCNAME0\" value=\"`$request-parameters.vm[0].vnfc[0].vnfc-name`\"/>\n<parameter name=\"VMLENGTH\" value=\"`$size_request-parameters.vm`\"/>\n<parameter name=\"VNFCLENGTH\" value=\"`$size_request-parameters.vm[0].vnfc`\"/>\n<parameter name=\"CONFIGTYPE\" value=\"`$config-type`\"/>\n\n\n<!-- Not Used?\n<parameter name='site-location' value='`$request-parameters.site-location`' />\n<parameter name='file-name' value='`$request-parameters.file-name`' />\n-->\n\n\n\n\n",\r
"comments": "",\r
- "x": 453.8333740234375,\r
- "y": 302.86109352111816,\r
- "z": "29005224.e84c46",\r
+ "x": 517.8333740234375,\r
+ "y": 265.86109352111816,\r
+ "z": "16b2bdc6.b4f10a",\r
"wires": []\r
},\r
{\r
- "id": "19e50c10.9c277c",\r
+ "id": "fed29c92.eb62e8",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 708.2222290039062,\r
- "y": 612.111083984375,\r
- "z": "29005224.e84c46",\r
+ "x": 772.2222290039062,\r
+ "y": 575.111083984375,\r
+ "z": "16b2bdc6.b4f10a",\r
"wires": [\r
[\r
- "9ab33177.739028"\r
+ "6d521919.0c0358"\r
]\r
]\r
},\r
{\r
- "id": "9ab33177.739028",\r
+ "id": "6d521919.0c0358",\r
"type": "set",\r
"name": "set action-level ",\r
"xml": "<set>\n<parameter name='action-level' value='`$APPC.action-level.ACTION-LEVEL`' />\n\n\n\n\n\n",\r
"comments": "",\r
- "x": 923.6388549804688,\r
- "y": 610.1666259765625,\r
- "z": "29005224.e84c46",\r
+ "x": 987.6388549804688,\r
+ "y": 573.1666259765625,\r
+ "z": "16b2bdc6.b4f10a",\r
"wires": []\r
},\r
{\r
- "id": "895d6244.5f7778",\r
+ "id": "3abcb846.d4e0c8",\r
"type": "switchNode",\r
"name": "switch action-level",\r
"xml": "<switch test='`$action-level`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 368.3611145019531,\r
- "y": 671.6944723129272,\r
- "z": "29005224.e84c46",\r
+ "x": 432.3611145019531,\r
+ "y": 634.6944723129272,\r
+ "z": "16b2bdc6.b4f10a",\r
"wires": [\r
[\r
- "35177e35.337e22",\r
- "a0f1c6b2.00f718"\r
+ "4039cfc1.8ee828",\r
+ "e2ad80e3.49acf"\r
]\r
]\r
},\r
{\r
- "id": "35177e35.337e22",\r
+ "id": "4039cfc1.8ee828",\r
"type": "success",\r
"name": "outcome: Other",\r
"xml": "<outcome value='Other'>",\r
"comments": "",\r
"outputs": 1,\r
- "x": 585.7777938842773,\r
- "y": 698.1111135482788,\r
- "z": "29005224.e84c46",\r
+ "x": 649.7777938842773,\r
+ "y": 661.1111135482788,\r
+ "z": "16b2bdc6.b4f10a",\r
"wires": [\r
[\r
- "c9dae8b.326fc18"\r
+ "ac68d1f3.f5c328"\r
]\r
]\r
},\r
{\r
- "id": "a0f1c6b2.00f718",\r
+ "id": "e2ad80e3.49acf",\r
"type": "success",\r
"name": "outcome: vm",\r
"xml": "<outcome value='vm'>",\r
"comments": "",\r
"outputs": 1,\r
- "x": 575.7777938842773,\r
- "y": 760.7778034210205,\r
- "z": "29005224.e84c46",\r
+ "x": 639.7777938842773,\r
+ "y": 723.7778034210205,\r
+ "z": "16b2bdc6.b4f10a",\r
"wires": [\r
[\r
- "890c6652.009fe"\r
+ "7d4820db.d6004"\r
]\r
]\r
},\r
{\r
- "id": "8fafb92f.4781f8",\r
+ "id": "2baa7a8.a37f206",\r
"type": "success",\r
"name": "outcome: ''",\r
"xml": "<outcome value=''>",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1495.5277824401855,\r
- "y": 445.44440841674805,\r
- "z": "29005224.e84c46",\r
+ "x": 1559.5277824401855,\r
+ "y": 408.44440841674805,\r
+ "z": "16b2bdc6.b4f10a",\r
"wires": [\r
[\r
- "54258c13.b4dbec"\r
+ "7e720425.a9814c"\r
]\r
]\r
},\r
{\r
- "id": "785b351e.2dc944",\r
+ "id": "abeb4c97.075028",\r
"type": "success",\r
"name": "outcome: Other",\r
"xml": "<outcome value='Other'>",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1429.3494873046875,\r
- "y": 541.9206590652466,\r
- "z": "29005224.e84c46",\r
+ "x": 1493.3494873046875,\r
+ "y": 504.9206590652466,\r
+ "z": "16b2bdc6.b4f10a",\r
"wires": [\r
[\r
- "87c5e3a0.ba27c8"\r
+ "8dac068c.f4c7"\r
]\r
]\r
},\r
{\r
- "id": "54258c13.b4dbec",\r
+ "id": "7e720425.a9814c",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1026.3493194580078,\r
- "y": 518.0158796310425,\r
- "z": "29005224.e84c46",\r
+ "x": 1090.3493194580078,\r
+ "y": 481.0158796310425,\r
+ "z": "16b2bdc6.b4f10a",\r
"wires": [\r
[\r
- "56a763a8.8e56fc"\r
+ "77348d2a.c3cc3c"\r
]\r
]\r
},\r
{\r
- "id": "87c5e3a0.ba27c8",\r
+ "id": "8dac068c.f4c7",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"comments": null,\r
"outputs": 1,\r
- "x": 1622.6585693359375,\r
- "y": 541.3254442214966,\r
- "z": "29005224.e84c46",\r
+ "x": 1686.6585693359375,\r
+ "y": 504.3254442214966,\r
+ "z": "16b2bdc6.b4f10a",\r
"wires": [\r
[\r
- "fe793e70.4652a8"\r
+ "fd43fc86.ef38d8"\r
]\r
]\r
},\r
{\r
- "id": "fe793e70.4652a8",\r
+ "id": "fd43fc86.ef38d8",\r
"type": "set",\r
"name": "setActionLevel VNF",\r
"xml": "<set>\n<parameter name='action-level' value='vnf' />\n<parameter name='action-identifier' value='vnf-id' />",\r
"comments": "",\r
- "x": 1827.2777099609375,\r
- "y": 541.1110887527466,\r
- "z": "29005224.e84c46",\r
+ "x": 1891.2777099609375,\r
+ "y": 504.1110887527466,\r
+ "z": "16b2bdc6.b4f10a",\r
"wires": []\r
},\r
{\r
- "id": "a3f0b036.b07238",\r
+ "id": "34649294.8eafee",\r
"type": "switchNode",\r
"name": "switch vnfc-name",\r
"xml": "<switch test='`$vnfc-name`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 417.6111526489258,\r
- "y": 424.58331966400146,\r
- "z": "29005224.e84c46",\r
+ "x": 481.6111526489258,\r
+ "y": 387.58331966400146,\r
+ "z": "16b2bdc6.b4f10a",\r
"wires": [\r
[\r
- "eef9ecae.76ad3",\r
- "ffae425d.e075e"\r
+ "7e081cf7.6e39a4",\r
+ "5548ec3.b36db94"\r
]\r
]\r
},\r
{\r
- "id": "eef9ecae.76ad3",\r
+ "id": "7e081cf7.6e39a4",\r
"type": "success",\r
"name": "outcome: Other",\r
"xml": "<outcome value='Other'>",\r
"comments": "",\r
"outputs": 1,\r
- "x": 691.1549301147461,\r
- "y": 414.19843578338623,\r
- "z": "29005224.e84c46",\r
+ "x": 755.1549301147461,\r
+ "y": 377.19843578338623,\r
+ "z": "16b2bdc6.b4f10a",\r
"wires": [\r
[\r
- "f1024b4b.2595e8"\r
+ "166bed32.13ee23"\r
]\r
]\r
},\r
{\r
- "id": "f1024b4b.2595e8",\r
+ "id": "166bed32.13ee23",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"comments": null,\r
"outputs": 1,\r
- "x": 879.1031265258789,\r
- "y": 425.3254804611206,\r
- "z": "29005224.e84c46",\r
+ "x": 943.1031265258789,\r
+ "y": 388.3254804611206,\r
+ "z": "16b2bdc6.b4f10a",\r
"wires": [\r
[\r
- "680f282a.97649"\r
+ "654cc4f.29daf3c"\r
]\r
]\r
},\r
{\r
- "id": "680f282a.97649",\r
+ "id": "654cc4f.29daf3c",\r
"type": "set",\r
"name": "setActionLevel VNFC",\r
"xml": "<set>\n<parameter name='action-level' value='vnfc' />\n<parameter name='action-identifier' value='vnfc-name' />\n",\r
"comments": "",\r
- "x": 1166.6112365722656,\r
- "y": 336.83330249786377,\r
- "z": "29005224.e84c46",\r
+ "x": 1230.6112365722656,\r
+ "y": 299.83330249786377,\r
+ "z": "16b2bdc6.b4f10a",\r
"wires": []\r
},\r
{\r
- "id": "93b4e2ac.d50e",\r
+ "id": "5b3c6cea.7cdb34",\r
"type": "switchNode",\r
"name": "switch vserver-id",\r
"xml": "<switch test='`$vserver-id`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 884.4999465942383,\r
- "y": 465.88883686065674,\r
- "z": "29005224.e84c46",\r
+ "x": 948.4999465942383,\r
+ "y": 428.88883686065674,\r
+ "z": "16b2bdc6.b4f10a",\r
"wires": [\r
[\r
- "3e91bc4d.46606c",\r
- "48c9e57e.8c798c"\r
+ "7ded4a08.a8b1d4",\r
+ "ee0f6fe4.dfc61"\r
]\r
]\r
},\r
{\r
- "id": "3e91bc4d.46606c",\r
+ "id": "7ded4a08.a8b1d4",\r
"type": "success",\r
"name": "outcome: Other",\r
"xml": "<outcome value='Other'>",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1140.3771362304688,\r
- "y": 388.6984214782715,\r
- "z": "29005224.e84c46",\r
+ "x": 1204.3771362304688,\r
+ "y": 351.6984214782715,\r
+ "z": "16b2bdc6.b4f10a",\r
"wires": [\r
[\r
- "d2985a3c.4610a8"\r
+ "ac305201.a611f"\r
]\r
]\r
},\r
{\r
- "id": "d2985a3c.4610a8",\r
+ "id": "ac305201.a611f",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"comments": null,\r
"outputs": 1,\r
- "x": 1324.825340270996,\r
- "y": 370.57544898986816,\r
- "z": "29005224.e84c46",\r
+ "x": 1388.825340270996,\r
+ "y": 333.57544898986816,\r
+ "z": "16b2bdc6.b4f10a",\r
"wires": [\r
[\r
- "cc353017.0aa6d8"\r
+ "24aec62f.b4b7f2"\r
]\r
]\r
},\r
{\r
- "id": "cc353017.0aa6d8",\r
+ "id": "24aec62f.b4b7f2",\r
"type": "set",\r
"name": "setActionLevel VM",\r
"xml": "<set>\n<parameter name='action-level' value='vm' />\n<parameter name='action-identifier' value='vserver-id' />\n\n",\r
"comments": "",\r
- "x": 1512.694480895996,\r
- "y": 360.7777500152588,\r
- "z": "29005224.e84c46",\r
+ "x": 1576.694480895996,\r
+ "y": 323.7777500152588,\r
+ "z": "16b2bdc6.b4f10a",\r
"wires": []\r
},\r
{\r
- "id": "56a763a8.8e56fc",\r
+ "id": "77348d2a.c3cc3c",\r
"type": "switchNode",\r
"name": "switch vnf-id",\r
"xml": "<switch test='`$vnf-id`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1189.7778511047363,\r
- "y": 518.6110944747925,\r
- "z": "29005224.e84c46",\r
+ "x": 1253.7778511047363,\r
+ "y": 481.6110944747925,\r
+ "z": "16b2bdc6.b4f10a",\r
"wires": [\r
[\r
- "785b351e.2dc944",\r
- "9d2ff18a.171238"\r
+ "abeb4c97.075028",\r
+ "2c8b13ad.625aac"\r
]\r
]\r
},\r
{\r
- "id": "9d2ff18a.171238",\r
+ "id": "2c8b13ad.625aac",\r
"type": "success",\r
"name": "outcome: ''",\r
"xml": "<outcome value=''>",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1423.8611068725586,\r
- "y": 491.94440746307373,\r
- "z": "29005224.e84c46",\r
+ "x": 1487.8611068725586,\r
+ "y": 454.94440746307373,\r
+ "z": "16b2bdc6.b4f10a",\r
"wires": [\r
[\r
- "b35053a9.d33238"\r
+ "c950d7af.bbae5"\r
]\r
]\r
},\r
{\r
- "id": "b35053a9.d33238",\r
+ "id": "c950d7af.bbae5",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1614.0993881225586,\r
- "y": 488.34922313690186,\r
- "z": "29005224.e84c46",\r
+ "x": 1678.0993881225586,\r
+ "y": 451.34922313690186,\r
+ "z": "16b2bdc6.b4f10a",\r
"wires": [\r
[\r
- "6d710e0e.4976e"\r
+ "b7b8431f.02d69"\r
]\r
]\r
},\r
{\r
- "id": "6d710e0e.4976e",\r
+ "id": "b7b8431f.02d69",\r
"type": "returnFailure",\r
"name": "return failure",\r
"xml": "<return status=\"failure\">\n<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"Action identifier is missing in the request\"/>\n\t\n\t",\r
"comments": "",\r
- "x": 1812.6109886169434,\r
- "y": 494.3610944747925,\r
- "z": "29005224.e84c46",\r
+ "x": 1876.6109886169434,\r
+ "y": 457.3610944747925,\r
+ "z": "16b2bdc6.b4f10a",\r
"wires": []\r
},\r
{\r
- "id": "8f73566a.1203d",\r
+ "id": "96ce6cb.c63729",\r
"type": "switchNode",\r
"name": "switch vf-module-id",\r
"xml": "<switch test='`$vf-module-id`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1295.6230697631836,\r
- "y": 429.21821117401123,\r
- "z": "29005224.e84c46",\r
+ "x": 1359.6230697631836,\r
+ "y": 392.21821117401123,\r
+ "z": "16b2bdc6.b4f10a",\r
"wires": [\r
[\r
- "3af980e0.4a059",\r
- "8fafb92f.4781f8"\r
+ "df9e15c1.92e878",\r
+ "2baa7a8.a37f206"\r
]\r
]\r
},\r
{\r
- "id": "3af980e0.4a059",\r
+ "id": "df9e15c1.92e878",\r
"type": "success",\r
"name": "outcome: Other",\r
"xml": "<outcome value='Other'>",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1509.944480895996,\r
- "y": 402.86106300354004,\r
- "z": "29005224.e84c46",\r
+ "x": 1573.944480895996,\r
+ "y": 365.86106300354004,\r
+ "z": "16b2bdc6.b4f10a",\r
"wires": [\r
[\r
- "febce556.d01168"\r
+ "3386fcf0.82fb6c"\r
]\r
]\r
},\r
{\r
- "id": "febce556.d01168",\r
+ "id": "3386fcf0.82fb6c",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"comments": null,\r
"outputs": 1,\r
- "x": 1715.5039291381836,\r
- "y": 401.7659101486206,\r
- "z": "29005224.e84c46",\r
+ "x": 1779.5039291381836,\r
+ "y": 364.7659101486206,\r
+ "z": "16b2bdc6.b4f10a",\r
"wires": [\r
[\r
- "503e3ecc.28c6b8"\r
+ "b4677ca9.16dfc"\r
]\r
]\r
},\r
{\r
- "id": "503e3ecc.28c6b8",\r
+ "id": "b4677ca9.16dfc",\r
"type": "set",\r
"name": "setActionLevel VF-Module",\r
"xml": "<set>\n<parameter name='action-level' value='vf-module' />\n<parameter name='action-identifier' value='vf-module-id' />\n",\r
"comments": "",\r
- "x": 1927.7897033691406,\r
- "y": 400.63489818573,\r
- "z": "29005224.e84c46",\r
+ "x": 1991.7897033691406,\r
+ "y": 363.63489818573,\r
+ "z": "16b2bdc6.b4f10a",\r
"wires": []\r
},\r
{\r
- "id": "ffae425d.e075e",\r
+ "id": "5548ec3.b36db94",\r
"type": "success",\r
"name": "outcome: ''",\r
"xml": "<outcome value=''>",\r
"comments": "",\r
"outputs": 1,\r
- "x": 685.9444313049316,\r
- "y": 460.02777671813965,\r
- "z": "29005224.e84c46",\r
+ "x": 749.9444313049316,\r
+ "y": 423.02777671813965,\r
+ "z": "16b2bdc6.b4f10a",\r
"wires": [\r
[\r
- "93b4e2ac.d50e"\r
+ "5b3c6cea.7cdb34"\r
]\r
]\r
},\r
{\r
- "id": "48c9e57e.8c798c",\r
+ "id": "ee0f6fe4.dfc61",\r
"type": "success",\r
"name": "outcome: ''",\r
"xml": "<outcome value=''>",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1104.8334159851074,\r
- "y": 447.6666612625122,\r
- "z": "29005224.e84c46",\r
+ "x": 1168.8334159851074,\r
+ "y": 410.6666612625122,\r
+ "z": "16b2bdc6.b4f10a",\r
"wires": [\r
[\r
- "8f73566a.1203d"\r
+ "96ce6cb.c63729"\r
]\r
]\r
},\r
{\r
- "id": "7b2f5687.8079a8",\r
+ "id": "862c4ef9.c1b13",\r
"type": "record",\r
"name": "record",\r
"xml": "<record plugin=\"onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"info\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"`$request-action`\"/>\n<parameter name=\"field3\" value=\"`$action-identifier`\"/>\n\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 391.61114501953125,\r
- "y": 474.88889598846436,\r
- "z": "29005224.e84c46",\r
+ "x": 455.61114501953125,\r
+ "y": 437.88889598846436,\r
+ "z": "16b2bdc6.b4f10a",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "71fa2664.4d59f",\r
+ "id": "84b11aeb.34d5c",\r
"type": "switchNode",\r
"name": "switch vnfc-type",\r
"xml": "<switch test='`$vnfc-type`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 427.0277862548828,\r
- "y": 357.6666784286499,\r
- "z": "29005224.e84c46",\r
+ "x": 491.0277862548828,\r
+ "y": 320.6666784286499,\r
+ "z": "16b2bdc6.b4f10a",\r
"wires": [\r
[\r
- "b6a4357c.618ce8",\r
- "6529cb.63d45634"\r
+ "83b49328.3ccec",\r
+ "7389bac1.fb2664"\r
]\r
]\r
},\r
{\r
- "id": "b6a4357c.618ce8",\r
+ "id": "83b49328.3ccec",\r
"type": "success",\r
"name": "outcome: Other",\r
"xml": "<outcome value='Other'>",\r
"comments": "",\r
"outputs": 1,\r
- "x": 702.7937316894531,\r
- "y": 322.83735847473145,\r
- "z": "29005224.e84c46",\r
+ "x": 766.7937316894531,\r
+ "y": 285.83735847473145,\r
+ "z": "16b2bdc6.b4f10a",\r
"wires": [\r
[\r
- "74cf5abf.1acb4c"\r
+ "847bd123.f567b8"\r
]\r
]\r
},\r
{\r
- "id": "74cf5abf.1acb4c",\r
+ "id": "847bd123.f567b8",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"comments": null,\r
"outputs": 1,\r
- "x": 896.2975578308105,\r
- "y": 325.0754690170288,\r
- "z": "29005224.e84c46",\r
+ "x": 960.2975578308105,\r
+ "y": 288.0754690170288,\r
+ "z": "16b2bdc6.b4f10a",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "6529cb.63d45634",\r
+ "id": "7389bac1.fb2664",\r
"type": "success",\r
"name": "outcome: ''",\r
"xml": "<outcome value=''>",\r
"comments": "",\r
"outputs": 1,\r
- "x": 698.6944046020508,\r
- "y": 364.22221755981445,\r
- "z": "29005224.e84c46",\r
+ "x": 762.6944046020508,\r
+ "y": 327.22221755981445,\r
+ "z": "16b2bdc6.b4f10a",\r
"wires": [\r
[\r
- "2a62c2f3.99fb8e"\r
+ "7eb0c4a4.d3b1f4"\r
]\r
]\r
},\r
{\r
- "id": "2a62c2f3.99fb8e",\r
+ "id": "7eb0c4a4.d3b1f4",\r
"type": "set",\r
"name": "set vnfc-type ",\r
"xml": "<set>\n<!-- 17.07 If vnfc-type is blank assign Parameters from request in array list -->\n<parameter name='vnfc-type' value='`$VNFCTYPE`' />\n\n\n\n\n\n\n\n\n\n\n\n",\r
"comments": "",\r
- "x": 897.0277328491211,\r
- "y": 364.3333559036255,\r
- "z": "29005224.e84c46",\r
+ "x": 961.0277328491211,\r
+ "y": 327.3333559036255,\r
+ "z": "16b2bdc6.b4f10a",\r
"wires": []\r
},\r
{\r
- "id": "c9dae8b.326fc18",\r
+ "id": "ac68d1f3.f5c328",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 743.75,\r
- "y": 704.75,\r
- "z": "29005224.e84c46",\r
+ "x": 807.75,\r
+ "y": 667.75,\r
+ "z": "16b2bdc6.b4f10a",\r
"wires": [\r
[\r
- "ee42bea.ad995c"\r
+ "3ea77551.040252"\r
]\r
]\r
},\r
{\r
- "id": "890c6652.009fe",\r
+ "id": "7d4820db.d6004",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 756.75,\r
- "y": 764.75,\r
- "z": "29005224.e84c46",\r
+ "x": 820.75,\r
+ "y": 727.75,\r
+ "z": "16b2bdc6.b4f10a",\r
"wires": [\r
[\r
- "400b20c6.a313"\r
+ "d706fa3b.1a75a"\r
]\r
]\r
},\r
{\r
- "id": "400b20c6.a313",\r
+ "id": "d706fa3b.1a75a",\r
"type": "returnSuccess",\r
"name": "return success",\r
"xml": "<return status='success'>\n\n",\r
"comments": "",\r
- "x": 930.0833740234375,\r
- "y": 759.7500610351562,\r
- "z": "29005224.e84c46",\r
+ "x": 994.0833740234375,\r
+ "y": 722.7500610351562,\r
+ "z": "16b2bdc6.b4f10a",\r
"wires": []\r
},\r
{\r
- "id": "ee42bea.ad995c",\r
+ "id": "3ea77551.040252",\r
"type": "record",\r
"name": "record",\r
"xml": "<record plugin=\"onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"info\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"Action Level is not VM:\"/>\n<parameter name=\"field3\" value=\"`$action-level`\"/>\n\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1054.75,\r
- "y": 715.75,\r
- "z": "29005224.e84c46",\r
+ "x": 1118.75,\r
+ "y": 678.75,\r
+ "z": "16b2bdc6.b4f10a",\r
"wires": [\r
[]\r
]\r
/*-
* ============LICENSE_START=======================================================
- * ONAP : APP-C
+ * ONAP : APPC
* ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
* ================================================================================
+ * Copyright (C) 2017 Amdocs
+ * =============================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
+ *
+ * ECOMP is a trademark and service mark of AT&T Intellectual Property.
* ============LICENSE_END=========================================================
*/
import com.att.eelf.configuration.EELFManager;
public class TestCheckConfigStatus /* extends AbstractDGTestCase */ {
- private static final EELFLogger logger = EELFManager.getInstance().getLogger(TestCheckConfigStatus.class);
- public static String CheckConfigStatusXML = "src/main/resources/xml/APPC_CheckConfigStatus.xml";
+ private static final EELFLogger logger = EELFManager.getInstance().getLogger(TestCheckConfigStatus.class);
+ public static String CheckConfigStatusXML = "src/main/resources/xml/APPC_CheckConfigStatus.xml";
/*
- @Test
- public void testCheckConfigStatusSuccess() {
- try {
+ @Test
+ public void testCheckConfigStatusSuccess() {
+ try {
+
+ String propertyfileName = "APPC/CheckConfigStatus/CheckConfigStatus_Success.properties";
+
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { CheckConfigStatusXML };
+
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
+
+ GraphKey graphKey = new GraphKey("APPC", null, "CheckConfigStatus", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+
+
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
+
+
+
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
+
+
+
+
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
+
+
+ @Test
+ public void testCheckConfigStatusFailure() {
+ try {
+
+ String propertyfileName = "APPC/CheckConfigStatus/CheckConfigStatus_Failure.properties";
+
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { CheckConfigStatusXML };
+
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
+
+
+ GraphKey graphKey = new GraphKey("APPC", null, "CheckConfigStatus", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+
+
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
+
+
+
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
+
+
+
+
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
+
- String propertyfileName = "APPC/CheckConfigStatus/CheckConfigStatus_Success.properties";
-
- // Register Call graphs
- String injectGraphXmls[] = new String[] { CheckConfigStatusXML };
- Map<String, Object> serviceReferences = new HashMap<String, Object>();
-
- GraphKey graphKey = new GraphKey("APPC", null, "CheckConfigStatus", null);
- DGTestCase tc = new DGTestCase(graphKey);
-
- tc.setInjectGraphXmls(injectGraphXmls);
- tc.setServiceReferences(serviceReferences);
- tc.setPropertyfileName(propertyfileName);
-
+ @Test
+ public void testParseErrorLogFail() {
+ try {
+ String propertyfileName = "APPC/CheckConfigStatus/ParseErrorLogFail.properties";
- SvcLogicContext ctx = new SvcLogicContext();
- processTestCase(tc, ctx);
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { CheckConfigStatusXML };
-
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
+ serviceReferences.put("org.onap.appc.ccadaptor.ConfigComponentAdaptor", new MockConfigureNodeExecutor());
+ GraphKey graphKey = new GraphKey("APPC", null, "CheckConfigStatus", null);
+ DGTestCase tc = new DGTestCase(graphKey);
- } catch (Exception e) {
- e.printStackTrace();
- }
- }
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
- @Test
- public void testCheckConfigStatusFailure() {
- try {
- String propertyfileName = "APPC/CheckConfigStatus/CheckConfigStatus_Failure.properties";
-
- // Register Call graphs
- String injectGraphXmls[] = new String[] { CheckConfigStatusXML };
- Map<String, Object> serviceReferences = new HashMap<String, Object>();
-
-
- GraphKey graphKey = new GraphKey("APPC", null, "CheckConfigStatus", null);
- DGTestCase tc = new DGTestCase(graphKey);
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
-
- tc.setInjectGraphXmls(injectGraphXmls);
- tc.setServiceReferences(serviceReferences);
- tc.setPropertyfileName(propertyfileName);
-
+ //System.out.println("error-message "+ ctx.getAttribute("error-message"));
- SvcLogicContext ctx = new SvcLogicContext();
- processTestCase(tc, ctx);
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
-
+ @Test
+ public void testParseErrorLogSuccess() {
+ try {
+ String propertyfileName = "APPC/CheckConfigStatus/ParseErrorLogSuccess.properties";
- } catch (Exception e) {
- e.printStackTrace();
- }
- }
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { CheckConfigStatusXML };
-
-
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
+ serviceReferences.put("org.onap.appc.ccadaptor.ConfigComponentAdaptor", new MockConfigureNodeExecutor());
- @Test
- public void testParseErrorLogFail() {
- try {
+ GraphKey graphKey = new GraphKey("APPC", null, "CheckConfigStatus", null);
+ DGTestCase tc = new DGTestCase(graphKey);
- String propertyfileName = "APPC/CheckConfigStatus/ParseErrorLogFail.properties";
-
- // Register Call graphs
- String injectGraphXmls[] = new String[] { CheckConfigStatusXML };
- Map<String, Object> serviceReferences = new HashMap<String, Object>();
- serviceReferences.put("org.onap.appc.ccadaptor.ConfigComponentAdaptor", new MockConfigureNodeExecutor());
-
- GraphKey graphKey = new GraphKey("APPC", null, "CheckConfigStatus", null);
- DGTestCase tc = new DGTestCase(graphKey);
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
-
- tc.setInjectGraphXmls(injectGraphXmls);
- tc.setServiceReferences(serviceReferences);
- tc.setPropertyfileName(propertyfileName);
-
- SvcLogicContext ctx = new SvcLogicContext();
- processTestCase(tc, ctx);
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
- //System.out.println("error-message "+ ctx.getAttribute("error-message"));
- } catch (Exception e) {
- e.printStackTrace();
- }
- }
-
- @Test
- public void testParseErrorLogSuccess() {
- try {
- String propertyfileName = "APPC/CheckConfigStatus/ParseErrorLogSuccess.properties";
-
- // Register Call graphs
- String injectGraphXmls[] = new String[] { CheckConfigStatusXML };
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
- Map<String, Object> serviceReferences = new HashMap<String, Object>();
- serviceReferences.put("org.onap.appc.ccadaptor.ConfigComponentAdaptor", new MockConfigureNodeExecutor());
-
- GraphKey graphKey = new GraphKey("APPC", null, "CheckConfigStatus", null);
- DGTestCase tc = new DGTestCase(graphKey);
-
- tc.setInjectGraphXmls(injectGraphXmls);
- tc.setServiceReferences(serviceReferences);
- tc.setPropertyfileName(propertyfileName);
-
+ @Test
+ public void testMaxRetries() {
+ try {
+ String propertyfileName = "APPC/CheckConfigStatus/MaxRetries.properties";
- SvcLogicContext ctx = new SvcLogicContext();
- processTestCase(tc, ctx);
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { CheckConfigStatusXML };
-
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
+ serviceReferences.put("org.onap.appc.ccadaptor.ConfigComponentAdaptor", new MockConfigureNodeExecutor());
+ GraphKey graphKey = new GraphKey("APPC", null, "CheckConfigStatus", null);
+ DGTestCase tc = new DGTestCase(graphKey);
- } catch (Exception e) {
- e.printStackTrace();
- }
- }
-
-
- @Test
- public void testMaxRetries() {
- try {
- String propertyfileName = "APPC/CheckConfigStatus/MaxRetries.properties";
-
- // Register Call graphs
- String injectGraphXmls[] = new String[] { CheckConfigStatusXML };
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
- Map<String, Object> serviceReferences = new HashMap<String, Object>();
- serviceReferences.put("org.onap.appc.ccadaptor.ConfigComponentAdaptor", new MockConfigureNodeExecutor());
-
- GraphKey graphKey = new GraphKey("APPC", null, "CheckConfigStatus", null);
- DGTestCase tc = new DGTestCase(graphKey);
-
- tc.setInjectGraphXmls(injectGraphXmls);
- tc.setServiceReferences(serviceReferences);
- tc.setPropertyfileName(propertyfileName);
-
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
- SvcLogicContext ctx = new SvcLogicContext();
- processTestCase(tc, ctx);
-
- } catch (Exception e) {
- e.printStackTrace();
- }
- }
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
*/
}
/*-
* ============LICENSE_START=======================================================
- * ONAP : APP-C
+ * ONAP : APPC
* ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
* ================================================================================
+ * Copyright (C) 2017 Amdocs
+ * =============================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
+ *
+ * ECOMP is a trademark and service mark of AT&T Intellectual Property.
* ============LICENSE_END=========================================================
*/
/*
- public String jsonPath = "src/main/resources/json";
- public String xmlpath = "src/main/resources/xml";
-
- @Test
- public void testCommonConfig() {
- try {
- //DGXMLGenerator generator = new DGXMLGenerator();
- //generator.generateXMLFromJSON(jsonPath, xmlpath, null);
+ public String jsonPath = "src/main/resources/json";
+ public String xmlpath = "src/main/resources/xml";
+
+ @Test
+ public void testCommonConfig() {
+ try {
+ //DGXMLGenerator generator = new DGXMLGenerator();
+ //generator.generateXMLFromJSON(jsonPath, xmlpath, null);
+
+ String propertyfileName = "APPC/CommonConfiguration/APPC_method_CommonConfiguration_TC2.properties";
+
+ String commonConfigureXML = "src/main/resources/xml/APPC_CommonConfiguration.xml";
+ String callGraph1XML = "src/main/resources/xml/APPC_GetConfigParams.xml";
+ String callGraph2XML = "src/main/resources/xml/APPC_Configure.xml";
+ String callGraph3XML = "src/main/resources/xml/APPC_SetStatus.xml";
+ String callGraph4XML = "src/main/resources/xml/APPC_DownloadRestconfConfig.xml";
+ String callGraph5XML = "src/main/resources/xml/APPC_GenerateConfig.xml";
+ String callGraph6XML = "src/main/resources/xml/APPC_DownloadXmlConfig.xml";
+
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { commonConfigureXML,
+ callGraph1XML,
+ callGraph2XML,
+ callGraph3XML,
+ callGraph4XML,
+ callGraph5XML,
+ callGraph6XML };
+
+
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
+ serviceReferences.put("org.onap.sdnc.config.generator.convert.ConvertNode",new org.onap.sdnc.config.generator.convert.ConvertNode());
+ serviceReferences.put("org.onap.sdnc.config.generator.merge.MergeNode", new org.onap.sdnc.config.generator.merge.MergeNode());
+ serviceReferences.put("org.onap.appc.ccadaptor.ConfigComponentAdaptor", new MockConfigureNodeExecutor());
+
+ GraphKey graphKey = new GraphKey("APPC", null, "CommonConfiguration", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
+
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
+
+
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+
+ }
+
+
+
+
+ @Test
+ public void testGetConfigParamsFailure() {
+ try {
+ //DGXMLGenerator generator = new DGXMLGenerator();
+ //generator.generateXMLFromJSON(jsonPath, xmlpath, null);
+
+ String propertyfileName = "APPC/CommonConfiguration/GetConfigParamsFail.properties";
+
+ String commonConfigureXML = "src/main/resources/xml/APPC_CommonConfiguration.xml";
+
+
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { commonConfigureXML };
+
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
+
+
+
+ GraphKey graphKey = new GraphKey("APPC", null, "CommonConfiguration", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
+
+
+
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
+
+
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+
+ }
+
+
+ @Test
+ public void testInvalidRequestAction() {
+ try {
+ //DGXMLGenerator generator = new DGXMLGenerator();
+ //generator.generateXMLFromJSON(jsonPath, xmlpath, null);
+
+ String propertyfileName = "APPC/CommonConfiguration/InvalidRequestAction.properties";
+
+ String commonConfigureXML = "src/main/resources/xml/APPC_CommonConfiguration.xml";
+
+
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { commonConfigureXML };
+
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
+
+
+
+ GraphKey graphKey = new GraphKey("APPC", null, "CommonConfiguration", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
+
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
+
+
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+
+ }
+
+ @Test
+ public void testCommonConfigISBCTemplateSuccess() {
+ try {
+ //DGXMLGenerator generator = new DGXMLGenerator();
+ //generator.generateXMLFromJSON(jsonPath, xmlpath, null);
+
+ String propertyfileName = "APPC/CommonConfiguration/ISBCTemplateSuccess.properties";
+
+ String commonConfigureXML = "src/main/resources/xml/APPC_CommonConfiguration.xml";
+ String callGraph1XML = "src/main/resources/xml/APPC_GetConfigParams.xml";
+ String callGraph2XML = "src/main/resources/xml/APPC_Configure.xml";
+ String callGraph3XML = "src/main/resources/xml/APPC_SetStatus.xml";
+ String callGraph4XML = "src/main/resources/xml/APPC_GenerateTemplateConfig.xml";
+ String callGraph5XML = "src/main/resources/xml/APPC_CheckConfigStatus.xml";
+ String callGraph6XML = "src/main/resources/xml/APPC_DownloadIsbcConfig.xml";
+ String callGraph7XML = "src/main/resources/xml/APPC_UpdateAaiInfo.xml";
+ String callGraph8XML = "src/main/resources/xml/APPC_GetVfModuleInfo.xml";
+ String callGraph9XML = "src/main/resources/xml/APPC_SaveRunningConfig.xml";
+ String callGraph10XML = "src/main/resources/xml/APPC_GetDeviceRunningConfig.xml";
+
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { commonConfigureXML,
+ callGraph1XML,
+ callGraph2XML,
+ callGraph3XML,
+ callGraph4XML,
+ callGraph5XML,
+ callGraph6XML,
+ callGraph7XML,
+ callGraph8XML,
+ callGraph9XML,
+ callGraph10XML };
+
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
+ serviceReferences.put("org.onap.sdnc.config.generator.convert.ConvertNode",new org.onap.sdnc.config.generator.convert.ConvertNode());
+ serviceReferences.put("org.onap.sdnc.config.generator.merge.MergeNode", new org.onap.sdnc.config.generator.merge.MergeNode());
+
+
+
+ GraphKey graphKey = new GraphKey("APPC", null, "CommonConfiguration", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
+
+ Map<String, Object> resourceReferences = new HashMap<String, Object>();
+ tc.setResourceReferences(resourceReferences);
+
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
+
- String propertyfileName = "APPC/CommonConfiguration/APPC_method_CommonConfiguration_TC2.properties";
-
- String commonConfigureXML = "src/main/resources/xml/APPC_CommonConfiguration.xml";
- String callGraph1XML = "src/main/resources/xml/APPC_GetConfigParams.xml";
- String callGraph2XML = "src/main/resources/xml/APPC_Configure.xml";
- String callGraph3XML = "src/main/resources/xml/APPC_SetStatus.xml";
- String callGraph4XML = "src/main/resources/xml/APPC_DownloadRestconfConfig.xml";
- String callGraph5XML = "src/main/resources/xml/APPC_GenerateConfig.xml";
- String callGraph6XML = "src/main/resources/xml/APPC_DownloadXmlConfig.xml";
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
- // Register Call graphs
- String injectGraphXmls[] = new String[] { commonConfigureXML,
- callGraph1XML,
- callGraph2XML,
- callGraph3XML,
- callGraph4XML,
- callGraph5XML,
- callGraph6XML };
-
-
- Map<String, Object> serviceReferences = new HashMap<String, Object>();
- serviceReferences.put("org.onap.sdnc.config.generator.convert.ConvertNode",new org.onap.sdnc.config.generator.convert.ConvertNode());
- serviceReferences.put("org.onap.sdnc.config.generator.merge.MergeNode", new org.onap.sdnc.config.generator.merge.MergeNode());
- //serviceReferences.put("com.att.appc.config.generator.node.ConfigResourceNode", new MockConfigResourceNode());
- serviceReferences.put("org.onap.appc.ccadaptor.ConfigComponentAdaptor", new MockConfigureNodeExecutor());
-
- GraphKey graphKey = new GraphKey("APPC", null, "CommonConfiguration", null);
- DGTestCase tc = new DGTestCase(graphKey);
- tc.setInjectGraphXmls(injectGraphXmls);
- tc.setServiceReferences(serviceReferences);
- tc.setPropertyfileName(propertyfileName);
-
- SvcLogicContext ctx = new SvcLogicContext();
- processTestCase(tc, ctx);
-
-
- } catch (Exception e) {
- e.printStackTrace();
- }
-
- }
-
-
-
-
- @Test
- public void testGetConfigParamsFailure() {
- try {
- //DGXMLGenerator generator = new DGXMLGenerator();
- //generator.generateXMLFromJSON(jsonPath, xmlpath, null);
-
- String propertyfileName = "APPC/CommonConfiguration/GetConfigParamsFail.properties";
-
- String commonConfigureXML = "src/main/resources/xml/APPC_CommonConfiguration.xml";
-
-
- // Register Call graphs
- String injectGraphXmls[] = new String[] { commonConfigureXML };
-
- Map<String, Object> serviceReferences = new HashMap<String, Object>();
-
-
-
- GraphKey graphKey = new GraphKey("APPC", null, "CommonConfiguration", null);
- DGTestCase tc = new DGTestCase(graphKey);
- tc.setInjectGraphXmls(injectGraphXmls);
- tc.setServiceReferences(serviceReferences);
- tc.setPropertyfileName(propertyfileName);
-
-
-
- SvcLogicContext ctx = new SvcLogicContext();
- processTestCase(tc, ctx);
-
-
- } catch (Exception e) {
- e.printStackTrace();
- }
-
- }
-
-
- @Test
- public void testInvalidRequestAction() {
- try {
- //DGXMLGenerator generator = new DGXMLGenerator();
- //generator.generateXMLFromJSON(jsonPath, xmlpath, null);
-
- String propertyfileName = "APPC/CommonConfiguration/InvalidRequestAction.properties";
-
- String commonConfigureXML = "src/main/resources/xml/APPC_CommonConfiguration.xml";
-
-
- // Register Call graphs
- String injectGraphXmls[] = new String[] { commonConfigureXML };
-
- Map<String, Object> serviceReferences = new HashMap<String, Object>();
-
-
-
- GraphKey graphKey = new GraphKey("APPC", null, "CommonConfiguration", null);
- DGTestCase tc = new DGTestCase(graphKey);
- tc.setInjectGraphXmls(injectGraphXmls);
- tc.setServiceReferences(serviceReferences);
- tc.setPropertyfileName(propertyfileName);
-
- SvcLogicContext ctx = new SvcLogicContext();
- processTestCase(tc, ctx);
-
-
- } catch (Exception e) {
- e.printStackTrace();
- }
-
- }
-
- @Test
- public void testCommonConfigISBCTemplateSuccess() {
- try {
- //DGXMLGenerator generator = new DGXMLGenerator();
- //generator.generateXMLFromJSON(jsonPath, xmlpath, null);
-
- String propertyfileName = "APPC/CommonConfiguration/ISBCTemplateSuccess.properties";
-
- String commonConfigureXML = "src/main/resources/xml/APPC_CommonConfiguration.xml";
- String callGraph1XML = "src/main/resources/xml/APPC_GetConfigParams.xml";
- String callGraph2XML = "src/main/resources/xml/APPC_Configure.xml";
- String callGraph3XML = "src/main/resources/xml/APPC_SetStatus.xml";
- String callGraph4XML = "src/main/resources/xml/APPC_GenerateTemplateConfig.xml";
- String callGraph5XML = "src/main/resources/xml/APPC_CheckConfigStatus.xml";
- String callGraph6XML = "src/main/resources/xml/APPC_DownloadIsbcConfig.xml";
- String callGraph7XML = "src/main/resources/xml/APPC_UpdateAaiInfo.xml";
- String callGraph8XML = "src/main/resources/xml/APPC_GetVfModuleInfo.xml";
- String callGraph9XML = "src/main/resources/xml/APPC_SaveRunningConfig.xml";
- String callGraph10XML = "src/main/resources/xml/APPC_GetDeviceRunningConfig.xml";
-
- // Register Call graphs
- String injectGraphXmls[] = new String[] { commonConfigureXML,
- callGraph1XML,
- callGraph2XML,
- callGraph3XML,
- callGraph4XML,
- callGraph5XML,
- callGraph6XML,
- callGraph7XML,
- callGraph8XML,
- callGraph9XML,
- callGraph10XML };
-
- Map<String, Object> serviceReferences = new HashMap<String, Object>();
- serviceReferences.put("org.onap.sdnc.config.generator.convert.ConvertNode",new org.onap.sdnc.config.generator.convert.ConvertNode());
- serviceReferences.put("org.onap.sdnc.config.generator.merge.MergeNode", new org.onap.sdnc.config.generator.merge.MergeNode());
-
-
-
- GraphKey graphKey = new GraphKey("APPC", null, "CommonConfiguration", null);
- DGTestCase tc = new DGTestCase(graphKey);
- tc.setInjectGraphXmls(injectGraphXmls);
- tc.setServiceReferences(serviceReferences);
- tc.setPropertyfileName(propertyfileName);
-
- Map<String, Object> resourceReferences = new HashMap<String, Object>();
- tc.setResourceReferences(resourceReferences);
-
- SvcLogicContext ctx = new SvcLogicContext();
- processTestCase(tc, ctx);
-
-
- } catch (Exception e) {
- e.printStackTrace();
- }
-
- }
+ }
*/
}
/*-
* ============LICENSE_START=======================================================
- * ONAP : APP-C
+ * ONAP : APPC
* ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
* ================================================================================
+ * Copyright (C) 2017 Amdocs
+ * =============================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
+ *
+ * ECOMP is a trademark and service mark of AT&T Intellectual Property.
* ============LICENSE_END=========================================================
*/
public class TestConfigurationDocumentRequest /* extends AbstractDGTestCase */ {
/*
- @Test
- public void testSDCMessage() {
- try {
- String propertyfileName = "SDC-MESSAGE_method_configuration-document-request_TC1.properties";
+ @Test
+ public void testSDCMessage() {
+ try {
+ String propertyfileName = "SDC-MESSAGE_method_configuration-document-request_TC1.properties";
- String configurationDocumentRequestXML = "src/main/resources/xml/SDC-MESSAGE_method_configuration-document-request_3.0.0.xml";
+ String configurationDocumentRequestXML = "src/main/resources/xml/SDC-MESSAGE_method_configuration-document-request_3.0.0.xml";
- // Register Call graphs
- String injectGraphXmls[] = new String[] { configurationDocumentRequestXML};
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { configurationDocumentRequestXML};
- Map<String, Object> serviceReferences = new HashMap<String, Object>();
- serviceReferences.put("org.onap.sdnc.config.generator.convert.ConvertNode",new org.onap.sdnc.config.generator.convert.ConvertNode());
- serviceReferences.put("org.onap.sdnc.config.generator.merge.MergeNode", new org.onap.sdnc.config.generator.merge.MergeNode());
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
+ serviceReferences.put("org.onap.sdnc.config.generator.convert.ConvertNode",new org.onap.sdnc.config.generator.convert.ConvertNode());
+ serviceReferences.put("org.onap.sdnc.config.generator.merge.MergeNode", new org.onap.sdnc.config.generator.merge.MergeNode());
- GraphKey graphKey = new GraphKey("SDC-MESSAGE", null, "configuration-document-request", null);
- DGTestCase tc = new DGTestCase(graphKey);
- tc.setInjectGraphXmls(injectGraphXmls);
- tc.setServiceReferences(serviceReferences);
- tc.setPropertyfileName(propertyfileName);
+ GraphKey graphKey = new GraphKey("SDC-MESSAGE", null, "configuration-document-request", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
- SvcLogicContext ctx = new SvcLogicContext();
- processTestCase(tc, ctx);
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
- } catch (Exception e) {
- e.printStackTrace();
- }
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
- }
+ }
*/
}
/*-
* ============LICENSE_START=======================================================
- * ONAP : APP-C
+ * ONAP : APPC
* ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
* ================================================================================
+ * Copyright (C) 2017 Amdocs
+ * =============================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
+ *
+ * ECOMP is a trademark and service mark of AT&T Intellectual Property.
* ============LICENSE_END=========================================================
*/
import com.att.eelf.configuration.EELFManager;
public class TestConfigure /* extends AbstractDGTestCase */ {
- private static final EELFLogger logger = EELFManager.getInstance().getLogger(TestConfigure.class);
- public static String ConfigureXML = "src/main/resources/xml/APPC_Configure.xml";
+ private static final EELFLogger logger = EELFManager.getInstance().getLogger(TestConfigure.class);
+ public static String ConfigureXML = "src/main/resources/xml/APPC_Configure.xml";
/*
- @Test
- public void testTemplateConfigureSuccess() {
- try {
+ @Test
+ public void testTemplateConfigureSuccess() {
+ try {
+
+ String propertyfileName = "APPC/Configure/Configure_Success.properties";
+
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { ConfigureXML };
+
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
+
+
+
+ GraphKey graphKey = new GraphKey("APPC", null, "Configure", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+
+
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
+
+
+
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
+
+
+
+
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
+
+
+ @Test
+ public void testTemplateConfigureFailure() {
+ try {
+
+ String propertyfileName = "APPC/Configure/Configure_Failure.properties";
+
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { ConfigureXML };
+
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
+
+
+
+ GraphKey graphKey = new GraphKey("APPC", null, "Configure", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+
+
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
+
+
+
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
+
+
+
+
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
+
+
+ @Test
+ public void testGetTemplateFailure() {
+ try {
+
+ String propertyfileName = "APPC/Configure/GetTemplate_Failure.properties";
+
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { ConfigureXML };
+
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
+
+
+
+ GraphKey graphKey = new GraphKey("APPC", null, "Configure", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+
+
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
+
+
+
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
+
+
+
+
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
+
+
+
+ @Test
+ public void testGenerateTemplateConfigFailure() {
+ try {
- String propertyfileName = "APPC/Configure/Configure_Success.properties";
-
- // Register Call graphs
- String injectGraphXmls[] = new String[] { ConfigureXML };
+ String propertyfileName = "APPC/Configure/GenerateTemplateConfig_Failure.properties";
- Map<String, Object> serviceReferences = new HashMap<String, Object>();
-
-
-
- GraphKey graphKey = new GraphKey("APPC", null, "Configure", null);
- DGTestCase tc = new DGTestCase(graphKey);
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { ConfigureXML };
-
- tc.setInjectGraphXmls(injectGraphXmls);
- tc.setServiceReferences(serviceReferences);
- tc.setPropertyfileName(propertyfileName);
-
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
- SvcLogicContext ctx = new SvcLogicContext();
- processTestCase(tc, ctx);
+ GraphKey graphKey = new GraphKey("APPC", null, "Configure", null);
+ DGTestCase tc = new DGTestCase(graphKey);
-
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
- } catch (Exception e) {
- e.printStackTrace();
- }
- }
- @Test
- public void testTemplateConfigureFailure() {
- try {
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
- String propertyfileName = "APPC/Configure/Configure_Failure.properties";
-
- // Register Call graphs
- String injectGraphXmls[] = new String[] { ConfigureXML };
- Map<String, Object> serviceReferences = new HashMap<String, Object>();
-
-
-
- GraphKey graphKey = new GraphKey("APPC", null, "Configure", null);
- DGTestCase tc = new DGTestCase(graphKey);
-
- tc.setInjectGraphXmls(injectGraphXmls);
- tc.setServiceReferences(serviceReferences);
- tc.setPropertyfileName(propertyfileName);
-
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
- SvcLogicContext ctx = new SvcLogicContext();
- processTestCase(tc, ctx);
+ @Test
+ public void testConfigBlockConfigureSuccess() {
+ try {
-
+ String propertyfileName = "APPC/Configure/ConfigBlockConfigure_Success.properties";
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { ConfigureXML };
- } catch (Exception e) {
- e.printStackTrace();
- }
- }
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
-
- @Test
- public void testGetTemplateFailure() {
- try {
- String propertyfileName = "APPC/Configure/GetTemplate_Failure.properties";
-
- // Register Call graphs
- String injectGraphXmls[] = new String[] { ConfigureXML };
+ GraphKey graphKey = new GraphKey("APPC", null, "Configure", null);
+ DGTestCase tc = new DGTestCase(graphKey);
- Map<String, Object> serviceReferences = new HashMap<String, Object>();
-
-
-
- GraphKey graphKey = new GraphKey("APPC", null, "Configure", null);
- DGTestCase tc = new DGTestCase(graphKey);
-
- tc.setInjectGraphXmls(injectGraphXmls);
- tc.setServiceReferences(serviceReferences);
- tc.setPropertyfileName(propertyfileName);
-
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
- SvcLogicContext ctx = new SvcLogicContext();
- processTestCase(tc, ctx);
-
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
- } catch (Exception e) {
- e.printStackTrace();
- }
- }
-
- @Test
- public void testGenerateTemplateConfigFailure() {
- try {
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
- String propertyfileName = "APPC/Configure/GenerateTemplateConfig_Failure.properties";
-
- // Register Call graphs
- String injectGraphXmls[] = new String[] { ConfigureXML };
+ @Test
+ public void testConfigBlockConfigureFailure() {
+ try {
- Map<String, Object> serviceReferences = new HashMap<String, Object>();
-
-
- GraphKey graphKey = new GraphKey("APPC", null, "Configure", null);
- DGTestCase tc = new DGTestCase(graphKey);
+ String propertyfileName = "APPC/Configure/ConfigBlockConfigure_Failure.properties";
-
- tc.setInjectGraphXmls(injectGraphXmls);
- tc.setServiceReferences(serviceReferences);
- tc.setPropertyfileName(propertyfileName);
-
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { ConfigureXML };
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
- SvcLogicContext ctx = new SvcLogicContext();
- processTestCase(tc, ctx);
-
+ GraphKey graphKey = new GraphKey("APPC", null, "Configure", null);
+ DGTestCase tc = new DGTestCase(graphKey);
- } catch (Exception e) {
- e.printStackTrace();
- }
- }
-
- @Test
- public void testConfigBlockConfigureSuccess() {
- try {
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
- String propertyfileName = "APPC/Configure/ConfigBlockConfigure_Success.properties";
-
- // Register Call graphs
- String injectGraphXmls[] = new String[] { ConfigureXML };
- Map<String, Object> serviceReferences = new HashMap<String, Object>();
-
-
- GraphKey graphKey = new GraphKey("APPC", null, "Configure", null);
- DGTestCase tc = new DGTestCase(graphKey);
-
- tc.setInjectGraphXmls(injectGraphXmls);
- tc.setServiceReferences(serviceReferences);
- tc.setPropertyfileName(propertyfileName);
-
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
- SvcLogicContext ctx = new SvcLogicContext();
- processTestCase(tc, ctx);
-
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
- } catch (Exception e) {
- e.printStackTrace();
- }
- }
- @Test
- public void testConfigBlockConfigureFailure() {
- try {
+ @Test
+ public void testGenerateConfigFailure() {
+ try {
- String propertyfileName = "APPC/Configure/ConfigBlockConfigure_Failure.properties";
-
- // Register Call graphs
- String injectGraphXmls[] = new String[] { ConfigureXML };
+ String propertyfileName = "APPC/Configure/GenerateConfig_Failure.properties";
- Map<String, Object> serviceReferences = new HashMap<String, Object>();
-
-
- GraphKey graphKey = new GraphKey("APPC", null, "Configure", null);
- DGTestCase tc = new DGTestCase(graphKey);
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { ConfigureXML };
-
- tc.setInjectGraphXmls(injectGraphXmls);
- tc.setServiceReferences(serviceReferences);
- tc.setPropertyfileName(propertyfileName);
-
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
- SvcLogicContext ctx = new SvcLogicContext();
- processTestCase(tc, ctx);
-
+ GraphKey graphKey = new GraphKey("APPC", null, "Configure", null);
+ DGTestCase tc = new DGTestCase(graphKey);
- } catch (Exception e) {
- e.printStackTrace();
- }
- }
-
-
- @Test
- public void testGenerateConfigFailure() {
- try {
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
- String propertyfileName = "APPC/Configure/GenerateConfig_Failure.properties";
-
- // Register Call graphs
- String injectGraphXmls[] = new String[] { ConfigureXML };
- Map<String, Object> serviceReferences = new HashMap<String, Object>();
-
-
-
- GraphKey graphKey = new GraphKey("APPC", null, "Configure", null);
- DGTestCase tc = new DGTestCase(graphKey);
-
- tc.setInjectGraphXmls(injectGraphXmls);
- tc.setServiceReferences(serviceReferences);
- tc.setPropertyfileName(propertyfileName);
-
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
- SvcLogicContext ctx = new SvcLogicContext();
- processTestCase(tc, ctx);
-
-
- } catch (Exception e) {
- e.printStackTrace();
- }
- }
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
*/
}
/*-
* ============LICENSE_START=======================================================
- * ONAP : APP-C
+ * ONAP : APPC
* ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
* ================================================================================
+ * Copyright (C) 2017 Amdocs
+ * =============================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
+ *
+ * ECOMP is a trademark and service mark of AT&T Intellectual Property.
* ============LICENSE_END=========================================================
*/
public class TestDownloadCliConfig /* extends AbstractDGTestCase */ {
/*
- private static final EELFLogger logger = EELFManager.getInstance().getLogger(TestDownloadIsbcConfig.class);
- public static String DownloadCliConfigXML = "src/main/resources/xml/APPC_DownloadCliConfig.xml";
-
- @Test
- public void testDownloadCliConfigSuccess() {
- try {
- String propertyfileName = "APPC/DownloadCliConfig/DownloadCliConfig_Success.properties";
-
- // Register Call graphs
- String injectGraphXmls[] = new String[] { DownloadCliConfigXML };
-
- Map<String, Object> serviceReferences = new HashMap<String, Object>();
-
- GraphKey graphKey = new GraphKey("APPC", null, "DownloadCliConfig", null);
- DGTestCase tc = new DGTestCase(graphKey);
- tc.setInjectGraphXmls(injectGraphXmls);
- tc.setServiceReferences(serviceReferences);
- tc.setPropertyfileName(propertyfileName);
-
- Map<String, Object> resourceReferences = new HashMap<String, Object>();
- tc.setResourceReferences(resourceReferences);
-
- SvcLogicContext ctx = new SvcLogicContext();
- processTestCase(tc, ctx);
-
- //DGMockUtils.printContext(ctx);
- } catch (Exception e) {
- e.printStackTrace();
- }
- }
-
- @Test
- public void testDownloadCliConfigDBFailure() {
- try {
-
- String propertyfileName = "APPC/DownloadCliConfig/DownloadCliConfig_DB_Failure.properties";
- // Register Call graphs
- String injectGraphXmls[] = new String[] { DownloadCliConfigXML };
- Map<String, Object> serviceReferences = new HashMap<String, Object>();
-
- GraphKey graphKey = new GraphKey("APPC", null, "DownloadCliConfig", null);
- DGTestCase tc = new DGTestCase(graphKey);
- tc.setInjectGraphXmls(injectGraphXmls);
- tc.setServiceReferences(serviceReferences);
- tc.setPropertyfileName(propertyfileName);
-
- Map<String, Object> resourceReferences = new HashMap<String, Object>();
- tc.setResourceReferences(resourceReferences);
-
- SvcLogicContext ctx = new SvcLogicContext();
- processTestCase(tc, ctx);
-
- //DGMockUtils.printContext(ctx);
-
-
- } catch (Exception e) {
- e.printStackTrace();
- }
- }
-
- @Test
- public void testDownloadCliConfigAdaptorFailure() {
- try {
-
- String propertyfileName = "APPC/DownloadCliConfig/DownloadCliConfig_Adaptor_Failure.properties";
-
- // Register Call graphs
- String injectGraphXmls[] = new String[] { DownloadCliConfigXML };
-
- Map<String, Object> serviceReferences = new HashMap<String, Object>();
-
- GraphKey graphKey = new GraphKey("APPC", null, "DownloadCliConfig", null);
- DGTestCase tc = new DGTestCase(graphKey);
-
- tc.setInjectGraphXmls(injectGraphXmls);
- tc.setServiceReferences(serviceReferences);
- tc.setPropertyfileName(propertyfileName);
-
- Map<String, Object> resourceReferences = new HashMap<String, Object>();
- tc.setResourceReferences(resourceReferences);
-
- SvcLogicContext ctx = new SvcLogicContext();
- processTestCase(tc, ctx);
-
- //DGMockUtils.printContext(ctx);
-
-
- } catch (Exception e) {
- e.printStackTrace();
- }
- }
+ private static final EELFLogger logger = EELFManager.getInstance().getLogger(TestDownloadIsbcConfig.class);
+ public static String DownloadCliConfigXML = "src/main/resources/xml/APPC_DownloadCliConfig.xml";
+
+ @Test
+ public void testDownloadCliConfigSuccess() {
+ try {
+ String propertyfileName = "APPC/DownloadCliConfig/DownloadCliConfig_Success.properties";
+
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { DownloadCliConfigXML };
+
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
+
+ GraphKey graphKey = new GraphKey("APPC", null, "DownloadCliConfig", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
+
+ Map<String, Object> resourceReferences = new HashMap<String, Object>();
+ tc.setResourceReferences(resourceReferences);
+
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
+
+ //DGMockUtils.printContext(ctx);
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
+
+ @Test
+ public void testDownloadCliConfigDBFailure() {
+ try {
+
+ String propertyfileName = "APPC/DownloadCliConfig/DownloadCliConfig_DB_Failure.properties";
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { DownloadCliConfigXML };
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
+
+ GraphKey graphKey = new GraphKey("APPC", null, "DownloadCliConfig", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
+
+ Map<String, Object> resourceReferences = new HashMap<String, Object>();
+ tc.setResourceReferences(resourceReferences);
+
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
+
+ //DGMockUtils.printContext(ctx);
+
+
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
+
+ @Test
+ public void testDownloadCliConfigAdaptorFailure() {
+ try {
+
+ String propertyfileName = "APPC/DownloadCliConfig/DownloadCliConfig_Adaptor_Failure.properties";
+
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { DownloadCliConfigXML };
+
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
+
+ GraphKey graphKey = new GraphKey("APPC", null, "DownloadCliConfig", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
+
+ Map<String, Object> resourceReferences = new HashMap<String, Object>();
+ tc.setResourceReferences(resourceReferences);
+
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
+
+ //DGMockUtils.printContext(ctx);
+
+
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
*/
}
/*-
* ============LICENSE_START=======================================================
- * ONAP : APP-C
+ * ONAP : APPC
* ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
* ================================================================================
+ * Copyright (C) 2017 Amdocs
+ * =============================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
+ *
+ * ECOMP is a trademark and service mark of AT&T Intellectual Property.
* ============LICENSE_END=========================================================
*/
import com.att.eelf.configuration.EELFManager;
public class TestDownloadIsbcConfig /* extends AbstractDGTestCase */{
- private static final EELFLogger logger = EELFManager.getInstance().getLogger(TestDownloadIsbcConfig.class);
- public static String DownloadIsbcConfigXML = "src/main/resources/xml/APPC_DownloadIsbcConfig.xml";
+ private static final EELFLogger logger = EELFManager.getInstance().getLogger(TestDownloadIsbcConfig.class);
+ public static String DownloadIsbcConfigXML = "src/main/resources/xml/APPC_DownloadIsbcConfig.xml";
/*
- @Test
- public void testDownloadIsbcConfigSuccess() {
- try {
+ @Test
+ public void testDownloadIsbcConfigSuccess() {
+ try {
+
+ String propertyfileName = "APPC/DownloadIsbcConfig/DownloadIsbcConfig_Success.properties";
+
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { DownloadIsbcConfigXML };
+
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
+
+
+
+
+ GraphKey graphKey = new GraphKey("APPC", null, "DownloadIsbcConfig", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+
+
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
+
+
+
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
+
+
+
+
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
+
+
+ @Test
+ public void testConfigFileFailure() {
+ try {
+
+ String propertyfileName = "APPC/DownloadIsbcConfig/ConfigFile_Failure.properties";
+
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { DownloadIsbcConfigXML };
+
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
+
+
+
+ GraphKey graphKey = new GraphKey("APPC", null, "DownloadIsbcConfig", null);
+ DGTestCase tc = new DGTestCase(graphKey);
- String propertyfileName = "APPC/DownloadIsbcConfig/DownloadIsbcConfig_Success.properties";
-
- // Register Call graphs
- String injectGraphXmls[] = new String[] { DownloadIsbcConfigXML };
- Map<String, Object> serviceReferences = new HashMap<String, Object>();
-
-
-
-
- GraphKey graphKey = new GraphKey("APPC", null, "DownloadIsbcConfig", null);
- DGTestCase tc = new DGTestCase(graphKey);
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
-
- tc.setInjectGraphXmls(injectGraphXmls);
- tc.setServiceReferences(serviceReferences);
- tc.setPropertyfileName(propertyfileName);
-
- SvcLogicContext ctx = new SvcLogicContext();
- processTestCase(tc, ctx);
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
-
- } catch (Exception e) {
- e.printStackTrace();
- }
- }
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
- @Test
- public void testConfigFileFailure() {
- try {
- String propertyfileName = "APPC/DownloadIsbcConfig/ConfigFile_Failure.properties";
-
- // Register Call graphs
- String injectGraphXmls[] = new String[] { DownloadIsbcConfigXML };
+ @Test
+ public void testPutFailure() {
+ try {
- Map<String, Object> serviceReferences = new HashMap<String, Object>();
-
-
-
- GraphKey graphKey = new GraphKey("APPC", null, "DownloadIsbcConfig", null);
- DGTestCase tc = new DGTestCase(graphKey);
+ String propertyfileName = "APPC/DownloadIsbcConfig/Put_Failure.properties";
-
- tc.setInjectGraphXmls(injectGraphXmls);
- tc.setServiceReferences(serviceReferences);
- tc.setPropertyfileName(propertyfileName);
-
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { DownloadIsbcConfigXML };
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
- SvcLogicContext ctx = new SvcLogicContext();
- processTestCase(tc, ctx);
-
- } catch (Exception e) {
- e.printStackTrace();
- }
- }
+ GraphKey graphKey = new GraphKey("APPC", null, "DownloadIsbcConfig", null);
+ DGTestCase tc = new DGTestCase(graphKey);
-
- @Test
- public void testPutFailure() {
- try {
- String propertyfileName = "APPC/DownloadIsbcConfig/Put_Failure.properties";
-
- // Register Call graphs
- String injectGraphXmls[] = new String[] { DownloadIsbcConfigXML };
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
- Map<String, Object> serviceReferences = new HashMap<String, Object>();
-
-
-
-
- GraphKey graphKey = new GraphKey("APPC", null, "DownloadIsbcConfig", null);
- DGTestCase tc = new DGTestCase(graphKey);
-
- tc.setInjectGraphXmls(injectGraphXmls);
- tc.setServiceReferences(serviceReferences);
- tc.setPropertyfileName(propertyfileName);
-
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
- SvcLogicContext ctx = new SvcLogicContext();
- processTestCase(tc, ctx);
-
- } catch (Exception e) {
- e.printStackTrace();
- }
- }
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
*/
/*-
* ============LICENSE_START=======================================================
- * ONAP : APP-C
+ * ONAP : APPC
* ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
* ================================================================================
+ * Copyright (C) 2017 Amdocs
+ * =============================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
+ *
+ * ECOMP is a trademark and service mark of AT&T Intellectual Property.
* ============LICENSE_END=========================================================
*/
public class TestGenerateConfig /* extends AbstractDGTestCase */ {
- private static final EELFLogger logger = EELFManager.getInstance().getLogger(TestGenerateConfig.class);
- public static String generateConfigXML = "src/main/resources/xml/APPC_GenerateConfig.xml";
+ private static final EELFLogger logger = EELFManager.getInstance().getLogger(TestGenerateConfig.class);
+ public static String generateConfigXML = "src/main/resources/xml/APPC_GenerateConfig.xml";
/*
- @Test
- public void testGenerateConfigWithParameters() {
- try {
+ @Test
+ public void testGenerateConfigWithParameters() {
+ try {
+
+ String propertyfileName = "APPC/GenerateConfig/GenerateConfigWithParams.properties";
+ //String generateConfigXML = "src/main/resources/xml/APPC_GenerateConfig.xml";
+
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { generateConfigXML };
+
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
+
+ serviceReferences.put("org.onap.sdnc.config.generator.merge.MergeNode", new org.onap.sdnc.config.generator.merge.MergeNode());
+ //serviceReferences.put("com.att.appc.config.generator.node.ConfigResourceNode", new MockConfigResourceNode());
+
+ serviceReferences.put("org.onap.appc.data.services.node.ConfigResourceNode", new MockSvcLogicJavaPlugin());
- String propertyfileName = "APPC/GenerateConfig/GenerateConfigWithParams.properties";
- //String generateConfigXML = "src/main/resources/xml/APPC_GenerateConfig.xml";
- // Register Call graphs
- String injectGraphXmls[] = new String[] { generateConfigXML };
+ GraphKey graphKey = new GraphKey("APPC", null, "GenerateConfig", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
- Map<String, Object> serviceReferences = new HashMap<String, Object>();
-
- serviceReferences.put("org.onap.sdnc.config.generator.merge.MergeNode", new org.onap.sdnc.config.generator.merge.MergeNode());
- //serviceReferences.put("com.att.appc.config.generator.node.ConfigResourceNode", new MockConfigResourceNode());
-
- serviceReferences.put("org.onap.appc.data.services.node.ConfigResourceNode", new MockSvcLogicJavaPlugin());
-
- GraphKey graphKey = new GraphKey("APPC", null, "GenerateConfig", null);
- DGTestCase tc = new DGTestCase(graphKey);
- tc.setInjectGraphXmls(injectGraphXmls);
- tc.setServiceReferences(serviceReferences);
- tc.setPropertyfileName(propertyfileName);
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
- SvcLogicContext ctx = new SvcLogicContext();
- processTestCase(tc, ctx);
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
- } catch (Exception e) {
- e.printStackTrace();
- }
- }
+ @Test
+ public void testGenerateConfigWithNoParameters() {
+ try {
+ String propertyfileName = "APPC/GenerateConfig/GenerateConfigNoParams.properties";
+ //String generateConfigXML = "src/main/resources/xml/APPC_GenerateConfig.xml";
- @Test
- public void testGenerateConfigWithNoParameters() {
- try {
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { generateConfigXML };
- String propertyfileName = "APPC/GenerateConfig/GenerateConfigNoParams.properties";
- //String generateConfigXML = "src/main/resources/xml/APPC_GenerateConfig.xml";
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
- // Register Call graphs
- String injectGraphXmls[] = new String[] { generateConfigXML };
+ serviceReferences.put("org.onap.sdnc.config.generator.merge.MergeNode", new org.onap.sdnc.config.generator.merge.MergeNode());
+ //serviceReferences.put("com.att.appc.config.generator.node.ConfigResourceNode", new MockConfigResourceNode());
- Map<String, Object> serviceReferences = new HashMap<String, Object>();
-
- serviceReferences.put("org.onap.sdnc.config.generator.merge.MergeNode", new org.onap.sdnc.config.generator.merge.MergeNode());
- //serviceReferences.put("com.att.appc.config.generator.node.ConfigResourceNode", new MockConfigResourceNode());
-
- serviceReferences.put("org.onap.appc.data.services.node.ConfigResourceNode", new MockSvcLogicJavaPlugin());
+ serviceReferences.put("org.onap.appc.data.services.node.ConfigResourceNode", new MockSvcLogicJavaPlugin());
- GraphKey graphKey = new GraphKey("APPC", null, "GenerateConfig", null);
- DGTestCase tc = new DGTestCase(graphKey);
- tc.setInjectGraphXmls(injectGraphXmls);
- tc.setServiceReferences(serviceReferences);
- tc.setPropertyfileName(propertyfileName);
+ GraphKey graphKey = new GraphKey("APPC", null, "GenerateConfig", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
- SvcLogicContext ctx = new SvcLogicContext();
- processTestCase(tc, ctx);
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
- } catch (Exception e) {
- e.printStackTrace();
- }
- }
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
*/
/*-
* ============LICENSE_START=======================================================
- * ONAP : APP-C
+ * ONAP : APPC
* ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
* ================================================================================
+ * Copyright (C) 2017 Amdocs
+ * =============================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
+ *
+ * ECOMP is a trademark and service mark of AT&T Intellectual Property.
* ============LICENSE_END=========================================================
*/
import org.onap.ccsdk.sli.core.sli.SvcLogicContext;
public class TestGenerateTemplateConfig /* extends AbstractDGTestCase */ {
- private static final EELFLogger logger = EELFManager.getInstance().getLogger(TestGenerateTemplateConfig.class);
+ private static final EELFLogger logger = EELFManager.getInstance().getLogger(TestGenerateTemplateConfig.class);
/*
- public static String generateConfigXML = "src/main/resources/xml/APPC_GenerateTemplateConfig.xml";
+ public static String generateConfigXML = "src/main/resources/xml/APPC_GenerateTemplateConfig.xml";
+
+ @Test
+ public void testGenerateTemplateConfigWithParameters() {
+ try {
+
+ String propertyfileName = "APPC/GenerateTemplateConfig/GenerateTemplateConfigWithParams.properties";
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
+
- @Test
- public void testGenerateTemplateConfigWithParameters() {
- try {
+ serviceReferences.put("org.onap.appc.data.services.node.ConfigResourceNode", new MockSvcLogicJavaPlugin());
+ serviceReferences.put("org.onap.sdnc.config.generator.merge.MergeNode", new org.onap.sdnc.config.generator.merge.MergeNode());
- String propertyfileName = "APPC/GenerateTemplateConfig/GenerateTemplateConfigWithParams.properties";
- Map<String, Object> serviceReferences = new HashMap<String, Object>();
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { generateConfigXML };
-
- serviceReferences.put("org.onap.appc.data.services.node.ConfigResourceNode", new MockSvcLogicJavaPlugin());
- serviceReferences.put("org.onap.sdnc.config.generator.merge.MergeNode", new org.onap.sdnc.config.generator.merge.MergeNode());
+ GraphKey graphKey = new GraphKey("APPC", null, "GenerateTemplateConfig", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
- // Register Call graphs
- String injectGraphXmls[] = new String[] { generateConfigXML };
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
- GraphKey graphKey = new GraphKey("APPC", null, "GenerateTemplateConfig", null);
- DGTestCase tc = new DGTestCase(graphKey);
- tc.setInjectGraphXmls(injectGraphXmls);
- tc.setServiceReferences(serviceReferences);
- tc.setPropertyfileName(propertyfileName);
- SvcLogicContext ctx = new SvcLogicContext();
- processTestCase(tc, ctx);
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
-
- } catch (Exception e) {
- e.printStackTrace();
- }
- }
+ @Test
+ public void testGenerateTemplateConfigWithNoParameters() {
+ try {
- @Test
- public void testGenerateTemplateConfigWithNoParameters() {
- try {
+ String propertyfileName = "APPC/GenerateTemplateConfig/GenerateTemplateConfigNoParams.properties";
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
- String propertyfileName = "APPC/GenerateTemplateConfig/GenerateTemplateConfigNoParams.properties";
- Map<String, Object> serviceReferences = new HashMap<String, Object>();
-
- serviceReferences.put("org.onap.appc.data.services.node.ConfigResourceNode", new MockSvcLogicJavaPlugin());
- serviceReferences.put("org.onap.sdnc.config.generator.merge.MergeNode", new org.onap.sdnc.config.generator.merge.MergeNode());
+ serviceReferences.put("org.onap.appc.data.services.node.ConfigResourceNode", new MockSvcLogicJavaPlugin());
+ serviceReferences.put("org.onap.sdnc.config.generator.merge.MergeNode", new org.onap.sdnc.config.generator.merge.MergeNode());
- // Register Call graphs
- String injectGraphXmls[] = new String[] { generateConfigXML };
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { generateConfigXML };
- GraphKey graphKey = new GraphKey("APPC", null, "GenerateTemplateConfig", null);
- DGTestCase tc = new DGTestCase(graphKey);
- tc.setInjectGraphXmls(injectGraphXmls);
- tc.setServiceReferences(serviceReferences);
- tc.setPropertyfileName(propertyfileName);
+ GraphKey graphKey = new GraphKey("APPC", null, "GenerateTemplateConfig", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
- SvcLogicContext ctx = new SvcLogicContext();
- processTestCase(tc, ctx);
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
- } catch (Exception e) {
- e.printStackTrace();
- }
- }
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
*/
/*-
* ============LICENSE_START=======================================================
- * ONAP : APP-C
+ * ONAP : APPC
* ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
* ================================================================================
+ * Copyright (C) 2017 Amdocs
+ * =============================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
+ *
+ * ECOMP is a trademark and service mark of AT&T Intellectual Property.
* ============LICENSE_END=========================================================
*/
public class TestGetAaiInfo /* extends AbstractDGTestCase */{
/*
-
- private static final EELFLogger logger = EELFManager.getInstance().getLogger(TestGetAaiInfo.class);
- public static String getAaiInfoXML = "src/main/resources/xml/APPC_GetAaiInfo.xml";
-
-
-
-
- @Test
- public void testGetSuccess() {
- try {
-
-
- String propertyfileName = "APPC/GetAaiInfo/GetInfoSuccess.properties";
- Map<String, Object> serviceReferences = new HashMap<String, Object>();
-
-
-
-
- // Register Call graphs
- String injectGraphXmls[] = new String[] { getAaiInfoXML};
-
-
- GraphKey graphKey = new GraphKey("APPC", null, "GetAaiInfo", null);
- DGTestCase tc = new DGTestCase(graphKey);
- tc.setInjectGraphXmls(injectGraphXmls);
- tc.setServiceReferences(serviceReferences);
- tc.setPropertyfileName(propertyfileName);
-
-
- SvcLogicContext ctx = new SvcLogicContext();
- processTestCase(tc, ctx);
-
- } catch (Exception e) {
- e.printStackTrace();
- }
- }
-
-
- @Test
- public void testGetVnfFail() {
- try {
-
-
- String propertyfileName = "APPC/GetAaiInfo/GetVnfFail.properties";
- Map<String, Object> serviceReferences = new HashMap<String, Object>();
-
-
-
-
- // Register Call graphs
- String injectGraphXmls[] = new String[] { getAaiInfoXML};
-
-
- GraphKey graphKey = new GraphKey("APPC", null, "GetAaiInfo", null);
- DGTestCase tc = new DGTestCase(graphKey);
- tc.setInjectGraphXmls(injectGraphXmls);
- tc.setServiceReferences(serviceReferences);
- tc.setPropertyfileName(propertyfileName);
-
-
- SvcLogicContext ctx = new SvcLogicContext();
- processTestCase(tc, ctx);
-
- } catch (Exception e) {
- e.printStackTrace();
- }
- }
-
- @Test
- public void testGetVServerFail() {
- try {
-
-
- String propertyfileName = "APPC/GetAaiInfo/GetVServerFail.properties";
- Map<String, Object> serviceReferences = new HashMap<String, Object>();
-
-
-
-
- // Register Call graphs
- String injectGraphXmls[] = new String[] { getAaiInfoXML};
-
-
- GraphKey graphKey = new GraphKey("APPC", null, "GetAaiInfo", null);
- DGTestCase tc = new DGTestCase(graphKey);
- tc.setInjectGraphXmls(injectGraphXmls);
- tc.setServiceReferences(serviceReferences);
- tc.setPropertyfileName(propertyfileName);
-
-
- SvcLogicContext ctx = new SvcLogicContext();
- processTestCase(tc, ctx);
-
- } catch (Exception e) {
- e.printStackTrace();
- }
- }
-*/
+
+ private static final EELFLogger logger = EELFManager.getInstance().getLogger(TestGetAaiInfo.class);
+ public static String getAaiInfoXML = "src/main/resources/xml/APPC_GetAaiInfo.xml";
+
+
+
+
+ @Test
+ public void testGetSuccess() {
+ try {
+
+
+ String propertyfileName = "APPC/GetAaiInfo/GetInfoSuccess.properties";
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
+
+
+
+
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { getAaiInfoXML};
+
+
+ GraphKey graphKey = new GraphKey("APPC", null, "GetAaiInfo", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
+
+
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
+
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
+
+
+ @Test
+ public void testGetVnfFail() {
+ try {
+
+
+ String propertyfileName = "APPC/GetAaiInfo/GetVnfFail.properties";
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
+
+
+
+
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { getAaiInfoXML};
+
+
+ GraphKey graphKey = new GraphKey("APPC", null, "GetAaiInfo", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
+
+
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
+
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
+
+ @Test
+ public void testGetVServerFail() {
+ try {
+
+
+ String propertyfileName = "APPC/GetAaiInfo/GetVServerFail.properties";
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
+
+
+
+
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { getAaiInfoXML};
+
+
+ GraphKey graphKey = new GraphKey("APPC", null, "GetAaiInfo", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
+
+
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
+
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
+*/
}
-
+
/*-
* ============LICENSE_START=======================================================
- * ONAP : APP-C
+ * ONAP : APPC
* ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
* ================================================================================
+ * Copyright (C) 2017 Amdocs
+ * =============================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
+ *
+ * ECOMP is a trademark and service mark of AT&T Intellectual Property.
* ============LICENSE_END=========================================================
*/
public class TestGetConfigParams /* extends AbstractDGTestCase */ {
-
+
/*
-
- public static String getConfigParamsXML = "src/main/resources/xml/APPC_GetConfigParams.xml";
+
+ public static String getConfigParamsXML = "src/main/resources/xml/APPC_GetConfigParams.xml";
+
+
+
+ @Test
+ public void testGetConfigParamsWithDefaultTemplate() {
+ try {
+
+ String propertyfileName = "APPC/GetConfigParams/DefaultTemplate.properties";
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
+
+
+ serviceReferences.put("org.onap.sdnc.config.generator.convert.ConvertNode", new org.onap.sdnc.config.generator.convert.ConvertNode());
+
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { getConfigParamsXML };
+
+
+ GraphKey graphKey = new GraphKey("APPC", null, "GetConfigParams", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
+
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
+
+
+
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+
+ }
+
+
+
+
+ @Test
+ public void testGetConfigParamsWithTemplateName() {
+ try {
+
+
+ String propertyfileName = "APPC/GetConfigParams/TemplateName.properties";
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
+
+ serviceReferences.put("org.onap.sdnc.config.generator.convert.ConvertNode", new org.onap.sdnc.config.generator.convert.ConvertNode());
+
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { getConfigParamsXML };
+
+
+ GraphKey graphKey = new GraphKey("APPC", null, "GetConfigParams", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
+
+
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
+
- @Test
- public void testGetConfigParamsWithDefaultTemplate() {
- try {
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
- String propertyfileName = "APPC/GetConfigParams/DefaultTemplate.properties";
- Map<String, Object> serviceReferences = new HashMap<String, Object>();
-
- serviceReferences.put("org.onap.sdnc.config.generator.convert.ConvertNode", new org.onap.sdnc.config.generator.convert.ConvertNode());
+ @Test
+ public void testGetConfigParamsWithCliString() {
+ try {
- // Register Call graphs
- String injectGraphXmls[] = new String[] { getConfigParamsXML };
+ String propertyfileName = "APPC/GetConfigParams/CliString.properties";
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
+ serviceReferences.put("org.onap.sdnc.config.generator.convert.ConvertNode", new org.onap.sdnc.config.generator.convert.ConvertNode());
- GraphKey graphKey = new GraphKey("APPC", null, "GetConfigParams", null);
- DGTestCase tc = new DGTestCase(graphKey);
- tc.setInjectGraphXmls(injectGraphXmls);
- tc.setServiceReferences(serviceReferences);
- tc.setPropertyfileName(propertyfileName);
-
- SvcLogicContext ctx = new SvcLogicContext();
- processTestCase(tc, ctx);
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { getConfigParamsXML };
-
- } catch (Exception e) {
- e.printStackTrace();
- }
+ GraphKey graphKey = new GraphKey("APPC", null, "GetConfigParams", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
- }
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
- @Test
- public void testGetConfigParamsWithTemplateName() {
- try {
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
+ @Test
+ public void testGetConfigParamsWithCliJson() {
+ try {
- String propertyfileName = "APPC/GetConfigParams/TemplateName.properties";
- Map<String, Object> serviceReferences = new HashMap<String, Object>();
- serviceReferences.put("org.onap.sdnc.config.generator.convert.ConvertNode", new org.onap.sdnc.config.generator.convert.ConvertNode());
+ String propertyfileName = "APPC/GetConfigParams/CliJson.properties";
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
- // Register Call graphs
- String injectGraphXmls[] = new String[] { getConfigParamsXML };
- GraphKey graphKey = new GraphKey("APPC", null, "GetConfigParams", null);
- DGTestCase tc = new DGTestCase(graphKey);
- tc.setInjectGraphXmls(injectGraphXmls);
- tc.setServiceReferences(serviceReferences);
- tc.setPropertyfileName(propertyfileName);
-
+ serviceReferences.put("org.onap.sdnc.config.generator.convert.ConvertNode", new org.onap.sdnc.config.generator.convert.ConvertNode());
- SvcLogicContext ctx = new SvcLogicContext();
- processTestCase(tc, ctx);
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { getConfigParamsXML };
+ GraphKey graphKey = new GraphKey("APPC", null, "GetConfigParams", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
-
- } catch (Exception e) {
- e.printStackTrace();
- }
- }
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
- @Test
- public void testGetConfigParamsWithCliString() {
- try {
- String propertyfileName = "APPC/GetConfigParams/CliString.properties";
- Map<String, Object> serviceReferences = new HashMap<String, Object>();
- serviceReferences.put("org.onap.sdnc.config.generator.convert.ConvertNode", new org.onap.sdnc.config.generator.convert.ConvertNode());
-
- // Register Call graphs
- String injectGraphXmls[] = new String[] { getConfigParamsXML };
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
- GraphKey graphKey = new GraphKey("APPC", null, "GetConfigParams", null);
- DGTestCase tc = new DGTestCase(graphKey);
- tc.setInjectGraphXmls(injectGraphXmls);
- tc.setServiceReferences(serviceReferences);
- tc.setPropertyfileName(propertyfileName);
-
- SvcLogicContext ctx = new SvcLogicContext();
- processTestCase(tc, ctx);
+ @Test
+ public void testGetConfigParamsForRestore() {
+ try {
+ String propertyfileName = "APPC/GetConfigParams/Restore.properties";
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
-
- } catch (Exception e) {
- e.printStackTrace();
- }
- }
- @Test
- public void testGetConfigParamsWithCliJson() {
- try {
+ serviceReferences.put("org.onap.sdnc.config.generator.convert.ConvertNode", new org.onap.sdnc.config.generator.convert.ConvertNode());
- String propertyfileName = "APPC/GetConfigParams/CliJson.properties";
- Map<String, Object> serviceReferences = new HashMap<String, Object>();
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { getConfigParamsXML };
-
-
- serviceReferences.put("org.onap.sdnc.config.generator.convert.ConvertNode", new org.onap.sdnc.config.generator.convert.ConvertNode());
- // Register Call graphs
- String injectGraphXmls[] = new String[] { getConfigParamsXML };
+ GraphKey graphKey = new GraphKey("APPC", null, "GetConfigParams", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
- GraphKey graphKey = new GraphKey("APPC", null, "GetConfigParams", null);
- DGTestCase tc = new DGTestCase(graphKey);
- tc.setInjectGraphXmls(injectGraphXmls);
- tc.setServiceReferences(serviceReferences);
- tc.setPropertyfileName(propertyfileName);
-
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
- SvcLogicContext ctx = new SvcLogicContext();
- processTestCase(tc, ctx);
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
-
- } catch (Exception e) {
- e.printStackTrace();
- }
- }
+ @Test
+ public void testGetConfigParamsCommonConfigFail() {
+ try {
+ String propertyfileName = "APPC/GetConfigParams/CommonConfigFail.properties";
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
+ serviceReferences.put("org.onap.sdnc.config.generator.convert.ConvertNode", new org.onap.sdnc.config.generator.convert.ConvertNode());
- @Test
- public void testGetConfigParamsForRestore() {
- try {
- String propertyfileName = "APPC/GetConfigParams/Restore.properties";
- Map<String, Object> serviceReferences = new HashMap<String, Object>();
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { getConfigParamsXML };
-
-
- serviceReferences.put("org.onap.sdnc.config.generator.convert.ConvertNode", new org.onap.sdnc.config.generator.convert.ConvertNode());
- // Register Call graphs
- String injectGraphXmls[] = new String[] { getConfigParamsXML };
+ GraphKey graphKey = new GraphKey("APPC", null, "GetConfigParams", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
- GraphKey graphKey = new GraphKey("APPC", null, "GetConfigParams", null);
- DGTestCase tc = new DGTestCase(graphKey);
- tc.setInjectGraphXmls(injectGraphXmls);
- tc.setServiceReferences(serviceReferences);
- tc.setPropertyfileName(propertyfileName);
-
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
- SvcLogicContext ctx = new SvcLogicContext();
- processTestCase(tc, ctx);
-
- } catch (Exception e) {
- e.printStackTrace();
- }
- }
- @Test
- public void testGetConfigParamsCommonConfigFail() {
- try {
- String propertyfileName = "APPC/GetConfigParams/CommonConfigFail.properties";
- Map<String, Object> serviceReferences = new HashMap<String, Object>();
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
-
- serviceReferences.put("org.onap.sdnc.config.generator.convert.ConvertNode", new org.onap.sdnc.config.generator.convert.ConvertNode());
- // Register Call graphs
- String injectGraphXmls[] = new String[] { getConfigParamsXML };
+ @Test
+ public void testGetConfigParamsJson2DGContextFail() {
+ try {
+ String propertyfileName = "APPC/GetConfigParams/Json2DGContextFail.properties";
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
- GraphKey graphKey = new GraphKey("APPC", null, "GetConfigParams", null);
- DGTestCase tc = new DGTestCase(graphKey);
- tc.setInjectGraphXmls(injectGraphXmls);
- tc.setServiceReferences(serviceReferences);
- tc.setPropertyfileName(propertyfileName);
-
- SvcLogicContext ctx = new SvcLogicContext();
- processTestCase(tc, ctx);
-
-
- } catch (Exception e) {
- e.printStackTrace();
- }
- }
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { getConfigParamsXML };
- @Test
- public void testGetConfigParamsJson2DGContextFail() {
- try {
- String propertyfileName = "APPC/GetConfigParams/Json2DGContextFail.properties";
- Map<String, Object> serviceReferences = new HashMap<String, Object>();
+ GraphKey graphKey = new GraphKey("APPC", null, "GetConfigParams", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
-
-
-
-
- // Register Call graphs
- String injectGraphXmls[] = new String[] { getConfigParamsXML };
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
- GraphKey graphKey = new GraphKey("APPC", null, "GetConfigParams", null);
- DGTestCase tc = new DGTestCase(graphKey);
- tc.setInjectGraphXmls(injectGraphXmls);
- tc.setServiceReferences(serviceReferences);
- tc.setPropertyfileName(propertyfileName);
-
- SvcLogicContext ctx = new SvcLogicContext();
- processTestCase(tc, ctx);
-
-
- } catch (Exception e) {
- e.printStackTrace();
- }
- }
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
*/
}
/*-
* ============LICENSE_START=======================================================
- * ONAP : APP-C
+ * ONAP : APPC
* ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
* ================================================================================
+ * Copyright (C) 2017 Amdocs
+ * =============================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
+ *
+ * ECOMP is a trademark and service mark of AT&T Intellectual Property.
* ============LICENSE_END=========================================================
*/
import org.onap.ccsdk.sli.core.sli.SvcLogicContext;
public class TestGetDeviceRunningConfig /* extends AbstractDGTestCase */ {
- private static final EELFLogger logger = EELFManager.getInstance().getLogger(TestGetConfigParams.class);
+ private static final EELFLogger logger = EELFManager.getInstance().getLogger(TestGetConfigParams.class);
/*
- public String jsonPath = "src/main/resources/json";
- public String xmlpath = "src/main/resources/xml";
+ public String jsonPath = "src/main/resources/json";
+ public String xmlpath = "src/main/resources/xml";
- @Test
- public void testChefRunningConfigSuccess() {
- try {
- logger.info("********************************* testChefRunningConfigSuccess *************************************");
- //DGMockUtils.generateXMLFile(jsonPath, xmlpath);
+ @Test
+ public void testChefRunningConfigSuccess() {
+ try {
+ logger.info("********************************* testChefRunningConfigSuccess *************************************");
+ //DGMockUtils.generateXMLFile(jsonPath, xmlpath);
- String propertyfileName = "APPC/GetDeviceRunningConfig/Chef_Success.properties";
+ String propertyfileName = "APPC/GetDeviceRunningConfig/Chef_Success.properties";
- String getDeviceRunningConfigXML = "src/main/resources/xml/APPC_GetDeviceRunningConfig.xml";
- // Register Call graphs
- String injectGraphXmls[] = new String[] { getDeviceRunningConfigXML };
+ String getDeviceRunningConfigXML = "src/main/resources/xml/APPC_GetDeviceRunningConfig.xml";
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { getDeviceRunningConfigXML };
- GraphKey graphKey = new GraphKey("APPC", null, "GetDeviceRunningConfig", null);
- DGTestCase tc = new DGTestCase(graphKey);
- tc.setInjectGraphXmls(injectGraphXmls);
- tc.setPropertyfileName(propertyfileName);
+ GraphKey graphKey = new GraphKey("APPC", null, "GetDeviceRunningConfig", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setPropertyfileName(propertyfileName);
- SvcLogicContext ctx = new SvcLogicContext();
- processTestCase(tc, ctx);
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
- assertContextWithProperty(ctx);
+ assertContextWithProperty(ctx);
- } catch (Exception e) {
- e.printStackTrace();
- }
- }
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
- @Test
- public void testChefRunningConfigFailure() {
- try {
+ @Test
+ public void testChefRunningConfigFailure() {
+ try {
- logger.info("********************************* testChefRunningConfigFailure *************************************");
- String propertyfileName = "APPC/GetDeviceRunningConfig/Chef_Failure.properties";
+ logger.info("********************************* testChefRunningConfigFailure *************************************");
+ String propertyfileName = "APPC/GetDeviceRunningConfig/Chef_Failure.properties";
- String getDeviceRunningConfigXML = "src/main/resources/xml/APPC_GetDeviceRunningConfig.xml";
- // Register Call graphs
- String injectGraphXmls[] = new String[] { getDeviceRunningConfigXML };
+ String getDeviceRunningConfigXML = "src/main/resources/xml/APPC_GetDeviceRunningConfig.xml";
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { getDeviceRunningConfigXML };
- GraphKey graphKey = new GraphKey("APPC", null, "GetDeviceRunningConfig", null);
- DGTestCase tc = new DGTestCase(graphKey);
- tc.setInjectGraphXmls(injectGraphXmls);
- tc.setPropertyfileName(propertyfileName);
+ GraphKey graphKey = new GraphKey("APPC", null, "GetDeviceRunningConfig", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setPropertyfileName(propertyfileName);
- SvcLogicContext ctx = new SvcLogicContext();
- processTestCase(tc, ctx);
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
- assertContextWithProperty(ctx);
+ assertContextWithProperty(ctx);
- //DGMockUtils.printContext(ctx);
+ //DGMockUtils.printContext(ctx);
- } catch (Exception e) {
- e.printStackTrace();
- }
- }
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
- @Test
- public void testChefRunningConfigOthers() {
- try {
- logger.info("********************************* testChefRunningConfigOthers *************************************");
- String propertyfileName = "APPC/GetDeviceRunningConfig/Chef_Others.properties";
+ @Test
+ public void testChefRunningConfigOthers() {
+ try {
+ logger.info("********************************* testChefRunningConfigOthers *************************************");
+ String propertyfileName = "APPC/GetDeviceRunningConfig/Chef_Others.properties";
- String getDeviceRunningConfigXML = "src/main/resources/xml/APPC_GetDeviceRunningConfig.xml";
- // Register Call graphs
- String injectGraphXmls[] = new String[] { getDeviceRunningConfigXML };
+ String getDeviceRunningConfigXML = "src/main/resources/xml/APPC_GetDeviceRunningConfig.xml";
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { getDeviceRunningConfigXML };
- GraphKey graphKey = new GraphKey("APPC", null, "GetDeviceRunningConfig", null);
- DGTestCase tc = new DGTestCase(graphKey);
- tc.setInjectGraphXmls(injectGraphXmls);
- tc.setPropertyfileName(propertyfileName);
+ GraphKey graphKey = new GraphKey("APPC", null, "GetDeviceRunningConfig", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setPropertyfileName(propertyfileName);
- SvcLogicContext ctx = new SvcLogicContext();
- processTestCase(tc, ctx);
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
- assertContextWithProperty(ctx);
+ assertContextWithProperty(ctx);
- //DGMockUtils.printContext(ctx);
+ //DGMockUtils.printContext(ctx);
- } catch (Exception e) {
- e.printStackTrace();
- }
- }
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
*/
}
/*-
* ============LICENSE_START=======================================================
- * ONAP : APP-C
+ * ONAP : APPC
* ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
* ================================================================================
+ * Copyright (C) 2017 Amdocs
+ * =============================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
+ *
+ * ECOMP is a trademark and service mark of AT&T Intellectual Property.
* ============LICENSE_END=========================================================
*/
public class TestGetVfModuleInfo /* extends AbstractDGTestCase */ {
- //private final static Logger logger = LoggerFactory.getLogger(TestGetParams.class);
+ //private final static Logger logger = LoggerFactory.getLogger(TestGetParams.class);
/*
- private static final EELFLogger logger = EELFManager.getInstance().getLogger(TestGetVfModuleInfo.class);
- public static String GetVfModuleInfoXML = "src/main/resources/xml/APPC_GetVfModuleInfo.xml";
+ private static final EELFLogger logger = EELFManager.getInstance().getLogger(TestGetVfModuleInfo.class);
+ public static String GetVfModuleInfoXML = "src/main/resources/xml/APPC_GetVfModuleInfo.xml";
+
+
+ @Test
+ public void testGetVfModuleInfoSuccess() {
+ try {
+ String propertyfileName = "APPC/GetVfModuleInfo/GetVfModuleInfo_Success.properties";
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
- @Test
- public void testGetVfModuleInfoSuccess() {
- try {
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { GetVfModuleInfoXML };
- String propertyfileName = "APPC/GetVfModuleInfo/GetVfModuleInfo_Success.properties";
- Map<String, Object> serviceReferences = new HashMap<String, Object>();
- // Register Call graphs
- String injectGraphXmls[] = new String[] { GetVfModuleInfoXML };
+ GraphKey graphKey = new GraphKey("APPC", null, "GetVfModuleInfo", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
- GraphKey graphKey = new GraphKey("APPC", null, "GetVfModuleInfo", null);
- DGTestCase tc = new DGTestCase(graphKey);
- tc.setInjectGraphXmls(injectGraphXmls);
- tc.setServiceReferences(serviceReferences);
- tc.setPropertyfileName(propertyfileName);
- SvcLogicContext ctx = new SvcLogicContext();
- processTestCase(tc, ctx);
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
-
- } catch (Exception e) {
- e.printStackTrace();
- }
+ }
- }
+ @Test
+ public void testGetVfModuleInfoFailure() {
+ try {
- @Test
- public void testGetVfModuleInfoFailure() {
- try {
+ String propertyfileName = "APPC/GetVfModuleInfo/GetVfModuleInfo_Failure.properties";
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
- String propertyfileName = "APPC/GetVfModuleInfo/GetVfModuleInfo_Failure.properties";
- Map<String, Object> serviceReferences = new HashMap<String, Object>();
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { GetVfModuleInfoXML };
- // Register Call graphs
- String injectGraphXmls[] = new String[] { GetVfModuleInfoXML };
+ GraphKey graphKey = new GraphKey("APPC", null, "GetVfModuleInfo", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
- GraphKey graphKey = new GraphKey("APPC", null, "GetVfModuleInfo", null);
- DGTestCase tc = new DGTestCase(graphKey);
- tc.setInjectGraphXmls(injectGraphXmls);
- tc.setServiceReferences(serviceReferences);
- tc.setPropertyfileName(propertyfileName);
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
- SvcLogicContext ctx = new SvcLogicContext();
- processTestCase(tc, ctx);
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
- } catch (Exception e) {
- e.printStackTrace();
- }
+ }
- }
-
*/
}
/*-
* ============LICENSE_START=======================================================
- * ONAP : APP-C
+ * ONAP : APPC
* ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
* ================================================================================
+ * Copyright (C) 2017 Amdocs
+ * =============================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
+ *
+ * ECOMP is a trademark and service mark of AT&T Intellectual Property.
* ============LICENSE_END=========================================================
*/
public class TestProcessParameterDefinition /* extends AbstractDGTestCase */ {
-
- private static final EELFLogger logger = EELFManager.getInstance().getLogger(TestProcessParameterDefinition.class);
- public static String getProcessPDXML = "src/main/resources/xml/APPC_ProcessParameterDefinition.xml";
+
+ private static final EELFLogger logger = EELFManager.getInstance().getLogger(TestProcessParameterDefinition.class);
+ public static String getProcessPDXML = "src/main/resources/xml/APPC_ProcessParameterDefinition.xml";
/*
-
- @Test
- public void testProcessPD() {
- try {
-
-
- String propertyfileName = "APPC/ProcessParameterDefinition/ProcessPD.properties";
- Map<String, Object> serviceReferences = new HashMap<String, Object>();
-
-
-
- serviceReferences.put("org.onap.sdnc.config.params.parser.PropertyDefinitionNode", new org.onap.sdnc.config.params.parser.PropertyDefinitionNode());
-
-
-
- // Register Call graphs
- String injectGraphXmls[] = new String[] { getProcessPDXML };
-
-
- GraphKey graphKey = new GraphKey("APPC", null, "ProcessParameterDefinition", null);
- DGTestCase tc = new DGTestCase(graphKey);
- tc.setInjectGraphXmls(injectGraphXmls);
- tc.setServiceReferences(serviceReferences);
- tc.setPropertyfileName(propertyfileName);
-
-
- SvcLogicContext ctx = new SvcLogicContext();
- processTestCase(tc, ctx);
-
- //System.out.println(ctx.getAttribute("tmp.allParams.configuration-parameters"));
- } catch (Exception e) {
- e.printStackTrace();
- }
- }
-
-
-
- @Test
- public void testGetPDFail() {
- try {
-
-
- String propertyfileName = "APPC/ProcessParameterDefinition/GetPDFail.properties";
- Map<String, Object> serviceReferences = new HashMap<String, Object>();
-
-
-
- serviceReferences.put("org.onap.sdnc.config.params.parser.PropertyDefinitionNode", new org.onap.sdnc.config.params.parser.PropertyDefinitionNode());
-
-
-
- // Register Call graphs
- String injectGraphXmls[] = new String[] { getProcessPDXML };
-
-
- GraphKey graphKey = new GraphKey("APPC", null, "ProcessParameterDefinition", null);
- DGTestCase tc = new DGTestCase(graphKey);
- tc.setInjectGraphXmls(injectGraphXmls);
- tc.setServiceReferences(serviceReferences);
- tc.setPropertyfileName(propertyfileName);
-
-
- SvcLogicContext ctx = new SvcLogicContext();
- processTestCase(tc, ctx);
-
- } catch (Exception e) {
- e.printStackTrace();
- }
-
- }
- @Test
- public void testNoInstarParams() {
- try {
-
-
- String propertyfileName = "APPC/ProcessParameterDefinition/NoInstarParams.properties";
- Map<String, Object> serviceReferences = new HashMap<String, Object>();
-
-
-
- serviceReferences.put("org.onap.sdnc.config.params.parser.PropertyDefinitionNode", new org.onap.sdnc.config.params.parser.PropertyDefinitionNode());
-
-
-
- // Register Call graphs
- String injectGraphXmls[] = new String[] { getProcessPDXML };
-
-
- GraphKey graphKey = new GraphKey("APPC", null, "ProcessParameterDefinition", null);
- DGTestCase tc = new DGTestCase(graphKey);
- tc.setInjectGraphXmls(injectGraphXmls);
- tc.setServiceReferences(serviceReferences);
- tc.setPropertyfileName(propertyfileName);
-
-
- SvcLogicContext ctx = new SvcLogicContext();
- processTestCase(tc, ctx);
-
- } catch (Exception e) {
- e.printStackTrace();
- }
- }
-
-
- @Test
- public void testGetInstarParamsFail() {
- try {
-
-
- String propertyfileName = "APPC/ProcessParameterDefinition/GetInstarParamsFail.properties";
- Map<String, Object> serviceReferences = new HashMap<String, Object>();
-
-
-
-
-
- // Register Call graphs
- String injectGraphXmls[] = new String[] { getProcessPDXML };
-
-
- GraphKey graphKey = new GraphKey("APPC", null, "ProcessParameterDefinition", null);
- DGTestCase tc = new DGTestCase(graphKey);
- tc.setInjectGraphXmls(injectGraphXmls);
- tc.setServiceReferences(serviceReferences);
- tc.setPropertyfileName(propertyfileName);
-
-
- SvcLogicContext ctx = new SvcLogicContext();
- processTestCase(tc, ctx);
-
- } catch (Exception e) {
- e.printStackTrace();
- }
- }
-
-
- @Test
- public void testMergeParamsFail() {
- try {
-
-
- String propertyfileName = "APPC/ProcessParameterDefinition/MergeParamsFail.properties";
- Map<String, Object> serviceReferences = new HashMap<String, Object>();
-
-
-
-
-
- // Register Call graphs
- String injectGraphXmls[] = new String[] { getProcessPDXML };
-
-
- GraphKey graphKey = new GraphKey("APPC", null, "ProcessParameterDefinition", null);
- DGTestCase tc = new DGTestCase(graphKey);
- tc.setInjectGraphXmls(injectGraphXmls);
- tc.setServiceReferences(serviceReferences);
- tc.setPropertyfileName(propertyfileName);
-
-
- SvcLogicContext ctx = new SvcLogicContext();
- processTestCase(tc, ctx);
-
- } catch (Exception e) {
- e.printStackTrace();
- }
- }
-
-
- @Test
- public void testSaveMdSal() {
- try {
-
-
- String propertyfileName = "APPC/ProcessParameterDefinition/SaveMdsalFail.properties";
- Map<String, Object> serviceReferences = new HashMap<String, Object>();
-
-
-
- serviceReferences.put("org.onap.sdnc.config.params.parser.PropertyDefinitionNode", new org.onap.sdnc.config.params.parser.PropertyDefinitionNode());
-
-
-
- // Register Call graphs
- String injectGraphXmls[] = new String[] { getProcessPDXML };
-
-
- GraphKey graphKey = new GraphKey("APPC", null, "ProcessParameterDefinition", null);
- DGTestCase tc = new DGTestCase(graphKey);
- tc.setInjectGraphXmls(injectGraphXmls);
- tc.setServiceReferences(serviceReferences);
- tc.setPropertyfileName(propertyfileName);
-
-
- SvcLogicContext ctx = new SvcLogicContext();
- processTestCase(tc, ctx);
-
- //System.out.println(ctx.getAttribute("tmp.allParams.configuration-parameters"));
- } catch (Exception e) {
- e.printStackTrace();
- }
- }
-*/
+
+ @Test
+ public void testProcessPD() {
+ try {
+
+
+ String propertyfileName = "APPC/ProcessParameterDefinition/ProcessPD.properties";
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
+
+
+
+ serviceReferences.put("org.onap.sdnc.config.params.parser.PropertyDefinitionNode", new org.onap.sdnc.config.params.parser.PropertyDefinitionNode());
+
+
+
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { getProcessPDXML };
+
+
+ GraphKey graphKey = new GraphKey("APPC", null, "ProcessParameterDefinition", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
+
+
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
+
+ //System.out.println(ctx.getAttribute("tmp.allParams.configuration-parameters"));
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
+
+
+
+ @Test
+ public void testGetPDFail() {
+ try {
+
+
+ String propertyfileName = "APPC/ProcessParameterDefinition/GetPDFail.properties";
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
+
+
+
+ serviceReferences.put("org.onap.sdnc.config.params.parser.PropertyDefinitionNode", new org.onap.sdnc.config.params.parser.PropertyDefinitionNode());
+
+
+
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { getProcessPDXML };
+
+
+ GraphKey graphKey = new GraphKey("APPC", null, "ProcessParameterDefinition", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
+
+
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
+
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+
+ }
+ @Test
+ public void testNoInstarParams() {
+ try {
+
+
+ String propertyfileName = "APPC/ProcessParameterDefinition/NoInstarParams.properties";
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
+
+
+
+ serviceReferences.put("org.onap.sdnc.config.params.parser.PropertyDefinitionNode", new org.onap.sdnc.config.params.parser.PropertyDefinitionNode());
+
+
+
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { getProcessPDXML };
+
+
+ GraphKey graphKey = new GraphKey("APPC", null, "ProcessParameterDefinition", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
+
+
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
+
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
+
+
+ @Test
+ public void testGetInstarParamsFail() {
+ try {
+
+
+ String propertyfileName = "APPC/ProcessParameterDefinition/GetInstarParamsFail.properties";
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
+
+
+
+
+
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { getProcessPDXML };
+
+
+ GraphKey graphKey = new GraphKey("APPC", null, "ProcessParameterDefinition", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
+
+
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
+
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
+
+
+ @Test
+ public void testMergeParamsFail() {
+ try {
+
+
+ String propertyfileName = "APPC/ProcessParameterDefinition/MergeParamsFail.properties";
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
+
+
+
+
+
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { getProcessPDXML };
+
+
+ GraphKey graphKey = new GraphKey("APPC", null, "ProcessParameterDefinition", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
+
+
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
+
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
+
+
+ @Test
+ public void testSaveMdSal() {
+ try {
+
+
+ String propertyfileName = "APPC/ProcessParameterDefinition/SaveMdsalFail.properties";
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
+
+
+
+ serviceReferences.put("org.onap.sdnc.config.params.parser.PropertyDefinitionNode", new org.onap.sdnc.config.params.parser.PropertyDefinitionNode());
+
+
+
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { getProcessPDXML };
+
+
+ GraphKey graphKey = new GraphKey("APPC", null, "ProcessParameterDefinition", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
+
+
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
+
+ //System.out.println(ctx.getAttribute("tmp.allParams.configuration-parameters"));
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
+*/
}
-
+
/*-
* ============LICENSE_START=======================================================
- * ONAP : APP-C
+ * ONAP : APPC
* ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
* ================================================================================
+ * Copyright (C) 2017 Amdocs
+ * =============================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
+ *
+ * ECOMP is a trademark and service mark of AT&T Intellectual Property.
* ============LICENSE_END=========================================================
*/
/*-
* ============LICENSE_START=======================================================
- * ONAP : APP-C
+ * ONAP : APPC
* ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
* ================================================================================
+ * Copyright (C) 2017 Amdocs
+ * =============================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
+ *
+ * ECOMP is a trademark and service mark of AT&T Intellectual Property.
* ============LICENSE_END=========================================================
*/
public class TestSaveRunningConfig /* extends AbstractDGTestCase */{
- //private final static Logger logger = LoggerFactory.getLogger(TestGetParams.class);
- private static final EELFLogger logger = EELFManager.getInstance().getLogger(TestSaveRunningConfig.class);
- public static String SaveRunningConfigXML = "src/main/resources/xml/APPC_SaveRunningConfig.xml";
+ //private final static Logger logger = LoggerFactory.getLogger(TestGetParams.class);
+ private static final EELFLogger logger = EELFManager.getInstance().getLogger(TestSaveRunningConfig.class);
+ public static String SaveRunningConfigXML = "src/main/resources/xml/APPC_SaveRunningConfig.xml";
/*
- @Test
- public void testSaveRunningConfigSuccess() {
- try {
+ @Test
+ public void testSaveRunningConfigSuccess() {
+ try {
+
+ String propertyfileName = "APPC/SaveRunningConfig/SaveRunningConfig_Success.properties";
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
- String propertyfileName = "APPC/SaveRunningConfig/SaveRunningConfig_Success.properties";
- Map<String, Object> serviceReferences = new HashMap<String, Object>();
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { SaveRunningConfigXML };
- // Register Call graphs
- String injectGraphXmls[] = new String[] { SaveRunningConfigXML };
+ GraphKey graphKey = new GraphKey("APPC", null, "SaveRunningConfig", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
- GraphKey graphKey = new GraphKey("APPC", null, "SaveRunningConfig", null);
- DGTestCase tc = new DGTestCase(graphKey);
- tc.setInjectGraphXmls(injectGraphXmls);
- tc.setServiceReferences(serviceReferences);
- tc.setPropertyfileName(propertyfileName);
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
- SvcLogicContext ctx = new SvcLogicContext();
- processTestCase(tc, ctx);
-
- } catch (Exception e) {
- e.printStackTrace();
- }
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
- }
+ }
- @Test
- public void testSaveRunningConfigFailure() {
- try {
+ @Test
+ public void testSaveRunningConfigFailure() {
+ try {
- String propertyfileName = "APPC/SaveRunningConfig/SaveRunningConfig_Failure.properties";
- Map<String, Object> serviceReferences = new HashMap<String, Object>();
+ String propertyfileName = "APPC/SaveRunningConfig/SaveRunningConfig_Failure.properties";
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
- // Register Call graphs
- String injectGraphXmls[] = new String[] { SaveRunningConfigXML };
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { SaveRunningConfigXML };
- GraphKey graphKey = new GraphKey("APPC", null, "SaveRunningConfig", null);
- DGTestCase tc = new DGTestCase(graphKey);
- tc.setInjectGraphXmls(injectGraphXmls);
- tc.setServiceReferences(serviceReferences);
- tc.setPropertyfileName(propertyfileName);
+ GraphKey graphKey = new GraphKey("APPC", null, "SaveRunningConfig", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
- SvcLogicContext ctx = new SvcLogicContext();
- processTestCase(tc, ctx);
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
- } catch (Exception e) {
- e.printStackTrace();
- }
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
- }
+ }
- @Test
- public void testSaveRunningUploadConfigFailure() {
- try {
+ @Test
+ public void testSaveRunningUploadConfigFailure() {
+ try {
- String propertyfileName = "APPC/SaveRunningConfig/UploadConfig_Failure.properties";
- Map<String, Object> serviceReferences = new HashMap<String, Object>();
+ String propertyfileName = "APPC/SaveRunningConfig/UploadConfig_Failure.properties";
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
- // Register Call graphs
- String injectGraphXmls[] = new String[] { SaveRunningConfigXML };
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { SaveRunningConfigXML };
- GraphKey graphKey = new GraphKey("APPC", null, "SaveRunningConfig", null);
- DGTestCase tc = new DGTestCase(graphKey);
- tc.setInjectGraphXmls(injectGraphXmls);
- tc.setServiceReferences(serviceReferences);
- tc.setPropertyfileName(propertyfileName);
+ GraphKey graphKey = new GraphKey("APPC", null, "SaveRunningConfig", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
- SvcLogicContext ctx = new SvcLogicContext();
- processTestCase(tc, ctx);
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
- } catch (Exception e) {
- e.printStackTrace();
- }
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
- }
+ }
*/
/*-
* ============LICENSE_START=======================================================
- * ONAP : APP-C
+ * ONAP : APPC
* ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
* ================================================================================
+ * Copyright (C) 2017 Amdocs
+ * =============================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
+ *
+ * ECOMP is a trademark and service mark of AT&T Intellectual Property.
* ============LICENSE_END=========================================================
*/
public class TestSetStatus /* extends AbstractDGTestCase */ {
- //private final static Logger logger = LoggerFactory.getLogger(TestGetParams.class);
- private static final EELFLogger logger = EELFManager.getInstance().getLogger(TestSetStatus.class);
- public static String SetStatusXML = "src/main/resources/xml/APPC_SetStatus.xml";
+ //private final static Logger logger = LoggerFactory.getLogger(TestGetParams.class);
+ private static final EELFLogger logger = EELFManager.getInstance().getLogger(TestSetStatus.class);
+ public static String SetStatusXML = "src/main/resources/xml/APPC_SetStatus.xml";
/*
- @Test
- public void testSetStatusSuccess() {
- try {
+ @Test
+ public void testSetStatusSuccess() {
+ try {
+
+ String propertyfileName = "APPC/SetStatus/SetStatus_Success.properties";
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
- String propertyfileName = "APPC/SetStatus/SetStatus_Success.properties";
- Map<String, Object> serviceReferences = new HashMap<String, Object>();
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { SetStatusXML };
- // Register Call graphs
- String injectGraphXmls[] = new String[] { SetStatusXML };
+ GraphKey graphKey = new GraphKey("APPC", null, "SetStatus", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
- GraphKey graphKey = new GraphKey("APPC", null, "SetStatus", null);
- DGTestCase tc = new DGTestCase(graphKey);
- tc.setInjectGraphXmls(injectGraphXmls);
- tc.setServiceReferences(serviceReferences);
- tc.setPropertyfileName(propertyfileName);
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
- SvcLogicContext ctx = new SvcLogicContext();
- processTestCase(tc, ctx);
-
- } catch (Exception e) {
- e.printStackTrace();
- }
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
- }
+ }
- @Test
- public void testSetStatusAaiFailure() {
- try {
+ @Test
+ public void testSetStatusAaiFailure() {
+ try {
- String propertyfileName = "APPC/SetStatus/SetStatus_AaiFailure.properties";
- Map<String, Object> serviceReferences = new HashMap<String, Object>();
+ String propertyfileName = "APPC/SetStatus/SetStatus_AaiFailure.properties";
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
- // Register Call graphs
- String injectGraphXmls[] = new String[] { SetStatusXML };
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { SetStatusXML };
- GraphKey graphKey = new GraphKey("APPC", null, "SetStatus", null);
- DGTestCase tc = new DGTestCase(graphKey);
- tc.setInjectGraphXmls(injectGraphXmls);
- tc.setServiceReferences(serviceReferences);
- tc.setPropertyfileName(propertyfileName);
+ GraphKey graphKey = new GraphKey("APPC", null, "SetStatus", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
- SvcLogicContext ctx = new SvcLogicContext();
- processTestCase(tc, ctx);
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
- } catch (Exception e) {
- e.printStackTrace();
- }
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
- }
+ }
- @Test
- public void testSetStatusFailure() {
- try {
+ @Test
+ public void testSetStatusFailure() {
+ try {
- String propertyfileName = "APPC/SetStatus/SetStatus_SaveRunningFailure.properties";
- Map<String, Object> serviceReferences = new HashMap<String, Object>();
+ String propertyfileName = "APPC/SetStatus/SetStatus_SaveRunningFailure.properties";
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
- // Register Call graphs
- String injectGraphXmls[] = new String[] { SetStatusXML };
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { SetStatusXML };
- GraphKey graphKey = new GraphKey("APPC", null, "SetStatus", null);
- DGTestCase tc = new DGTestCase(graphKey);
- tc.setInjectGraphXmls(injectGraphXmls);
- tc.setServiceReferences(serviceReferences);
- tc.setPropertyfileName(propertyfileName);
+ GraphKey graphKey = new GraphKey("APPC", null, "SetStatus", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
- SvcLogicContext ctx = new SvcLogicContext();
- processTestCase(tc, ctx);
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
- } catch (Exception e) {
- e.printStackTrace();
- }
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
- }
+ }
*/
/*-
* ============LICENSE_START=======================================================
- * ONAP : APP-C
+ * ONAP : APPC
* ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
* ================================================================================
+ * Copyright (C) 2017 Amdocs
+ * =============================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
+ *
+ * ECOMP is a trademark and service mark of AT&T Intellectual Property.
* ============LICENSE_END=========================================================
*/
public class TestUpdateAaiInfo /* extends AbstractDGTestCase */ {
- //private final static Logger logger = LoggerFactory.getLogger(TestGetParams.class);
- private static final EELFLogger logger = EELFManager.getInstance().getLogger(TestUpdateAaiInfo.class);
- public static String UpdateAaiInfoXML = "src/main/resources/xml/APPC_UpdateAaiInfo.xml";
+ //private final static Logger logger = LoggerFactory.getLogger(TestGetParams.class);
+ private static final EELFLogger logger = EELFManager.getInstance().getLogger(TestUpdateAaiInfo.class);
+ public static String UpdateAaiInfoXML = "src/main/resources/xml/APPC_UpdateAaiInfo.xml";
/*
- @Test
- public void testUpdateAaiInfoSuccess() {
- try {
+ @Test
+ public void testUpdateAaiInfoSuccess() {
+ try {
+
+ String propertyfileName = "APPC/UpdateAaiInfo/Update_Success.properties";
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
+
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { UpdateAaiInfoXML };
+
+
+ Map<String, Object> resourceReferences = new HashMap<String, Object>();
+
+
+ resourceReferences.put("org.openecomp.sdnc.sli.aai.AAIService", new MockAaiResource());
+
+ GraphKey graphKey = new GraphKey("APPC", null, "UpdateAaiInfo", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
+ tc.setResourceReferences(resourceReferences);
- String propertyfileName = "APPC/UpdateAaiInfo/Update_Success.properties";
- Map<String, Object> serviceReferences = new HashMap<String, Object>();
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
- // Register Call graphs
- String injectGraphXmls[] = new String[] { UpdateAaiInfoXML };
-
- Map<String, Object> resourceReferences = new HashMap<String, Object>();
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
-
- resourceReferences.put("org.onap.ccsdk.sli.adaptors.aai.AAIService", new MockAaiResource());
+ }
- GraphKey graphKey = new GraphKey("APPC", null, "UpdateAaiInfo", null);
- DGTestCase tc = new DGTestCase(graphKey);
- tc.setInjectGraphXmls(injectGraphXmls);
- tc.setServiceReferences(serviceReferences);
- tc.setPropertyfileName(propertyfileName);
- tc.setResourceReferences(resourceReferences);
- SvcLogicContext ctx = new SvcLogicContext();
- processTestCase(tc, ctx);
+ @Test
+ public void testUpdateAaiInfoFail() {
+ try {
- } catch (Exception e) {
- e.printStackTrace();
- }
+ String propertyfileName = "APPC/UpdateAaiInfo/Update_Fail.properties";
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
- }
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { UpdateAaiInfoXML };
- @Test
- public void testUpdateAaiInfoFail() {
- try {
- String propertyfileName = "APPC/UpdateAaiInfo/Update_Fail.properties";
- Map<String, Object> serviceReferences = new HashMap<String, Object>();
+ GraphKey graphKey = new GraphKey("APPC", null, "UpdateAaiInfo", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
+ Map<String, Object> resourceReferences = new HashMap<String, Object>();
+ tc.setResourceReferences(resourceReferences);
- // Register Call graphs
- String injectGraphXmls[] = new String[] { UpdateAaiInfoXML };
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
- GraphKey graphKey = new GraphKey("APPC", null, "UpdateAaiInfo", null);
- DGTestCase tc = new DGTestCase(graphKey);
- tc.setInjectGraphXmls(injectGraphXmls);
- tc.setServiceReferences(serviceReferences);
- tc.setPropertyfileName(propertyfileName);
-
- Map<String, Object> resourceReferences = new HashMap<String, Object>();
- tc.setResourceReferences(resourceReferences);
-
- SvcLogicContext ctx = new SvcLogicContext();
- processTestCase(tc, ctx);
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
-
+ }
- } catch (Exception e) {
- e.printStackTrace();
- }
- }
+ @Test
+ public void testGetVnfcRefFail() {
+ try {
+ String propertyfileName = "APPC/UpdateAaiInfo/GetVnfcRef_Fail.properties";
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
- @Test
- public void testGetVnfcRefFail() {
- try {
- String propertyfileName = "APPC/UpdateAaiInfo/GetVnfcRef_Fail.properties";
- Map<String, Object> serviceReferences = new HashMap<String, Object>();
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { UpdateAaiInfoXML };
- // Register Call graphs
- String injectGraphXmls[] = new String[] { UpdateAaiInfoXML };
+ GraphKey graphKey = new GraphKey("APPC", null, "UpdateAaiInfo", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
+ Map<String, Object> resourceReferences = new HashMap<String, Object>();
+ tc.setResourceReferences(resourceReferences);
- GraphKey graphKey = new GraphKey("APPC", null, "UpdateAaiInfo", null);
- DGTestCase tc = new DGTestCase(graphKey);
- tc.setInjectGraphXmls(injectGraphXmls);
- tc.setServiceReferences(serviceReferences);
- tc.setPropertyfileName(propertyfileName);
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
- Map<String, Object> resourceReferences = new HashMap<String, Object>();
- tc.setResourceReferences(resourceReferences);
-
- SvcLogicContext ctx = new SvcLogicContext();
- processTestCase(tc, ctx);
-
- } catch (Exception e) {
- e.printStackTrace();
- }
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
- }
+ }
*/
}
/*-
* ============LICENSE_START=======================================================
- * ONAP : APP-C
+ * ONAP : APPC
* ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
* ================================================================================
+ * Copyright (C) 2017 Amdocs
+ * =============================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
+ *
+ * ECOMP is a trademark and service mark of AT&T Intellectual Property.
* ============LICENSE_END=========================================================
*/
/*-
* ============LICENSE_START=======================================================
- * ONAP : APP-C
+ * ONAP : APPC
* ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
* ================================================================================
+ * Copyright (C) 2017 Amdocs
+ * =============================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
+ *
+ * ECOMP is a trademark and service mark of AT&T Intellectual Property.
* ============LICENSE_END=========================================================
*/
/*-
* ============LICENSE_START=======================================================
- * ONAP : APP-C
+ * ONAP : APPC
* ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
* ================================================================================
+ * Copyright (C) 2017 Amdocs
+ * =============================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
+ *
+ * ECOMP is a trademark and service mark of AT&T Intellectual Property.
* ============LICENSE_END=========================================================
*/
###
# ============LICENSE_START=======================================================
-# ONAP : APP-C
+# ONAP : APPC
# ================================================================================
-# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
# ================================================================================
+# Copyright (C) 2017 Amdocs
+# =============================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
# ============LICENSE_END=========================================================
###
-input.vnf-host-ip-address=135.1.1.1
-input.device-authentication.USER-NAME=root
-input.device-authentication.PASSWORD = !bootstrap
+input.vnf-host-ip-address=
+input.device-authentication.USER-NAME=
+input.device-authentication.PASSWORD =
org.onap.appc.ccadaptor.ConfigComponentAdaptor.get.outCome=failure
-org.onap.appc.ccadaptor.ConfigComponentAdaptor.get.params.assertEquals.host=135.1.1.1
-org.onap.appc.ccadaptor.ConfigComponentAdaptor.get.params.assertEquals.loginId=root
-org.onap.appc.ccadaptor.ConfigComponentAdaptor.get.params.assertEquals.password=!bootstrap
+org.onap.appc.ccadaptor.ConfigComponentAdaptor.get.params.assertEquals.host=
+org.onap.appc.ccadaptor.ConfigComponentAdaptor.get.params.assertEquals.loginId=
+org.onap.appc.ccadaptor.ConfigComponentAdaptor.get.params.assertEquals.password=
assertEquals.error-code=401
assertEquals.error-message=Configuration Failed. No configuration success or error file found on the device
assertEquals.i=9
-
+
###
# ============LICENSE_START=======================================================
-# ONAP : APP-C
+# ONAP : APPC
# ================================================================================
-# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
# ================================================================================
+# Copyright (C) 2017 Amdocs
+# =============================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
# ============LICENSE_END=========================================================
###
-input.vnf-host-ip-address=135.1.1.1
-input.device-authentication.USER-NAME=root
-input.device-authentication.PASSWORD = !bootstrap
+input.vnf-host-ip-address=
+input.device-authentication.USER-NAME=
+input.device-authentication.PASSWORD =
input.configfilereference-success.TARGET-FILE-PATH=/tmp
org.onap.appc.ccadaptor.ConfigComponentAdaptor.get.outCome=success
-org.onap.appc.ccadaptor.ConfigComponentAdaptor.get.params.assertEquals.host=135.1.1.1
-org.onap.appc.ccadaptor.ConfigComponentAdaptor.get.params.assertEquals.loginId=root
-org.onap.appc.ccadaptor.ConfigComponentAdaptor.get.params.assertEquals.password=!bootstrap
+org.onap.appc.ccadaptor.ConfigComponentAdaptor.get.params.assertEquals.host=
+org.onap.appc.ccadaptor.ConfigComponentAdaptor.get.params.assertEquals.loginId=
+org.onap.appc.ccadaptor.ConfigComponentAdaptor.get.params.assertEquals.password=
org.onap.appc.ccadaptor.ConfigComponentAdaptor.get.params.assertEquals.fullPathFileName=/tmp
-
-
-
assertEquals.error-code=400
assertEquals.error-message=SUCCESS - request has been processed successfully
assertEquals.i=1
-
-
###
# ============LICENSE_START=======================================================
-# ONAP : APP-C
+# ONAP : APPC
# ================================================================================
-# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
# ================================================================================
+# Copyright (C) 2017 Amdocs
+# =============================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
# ============LICENSE_END=========================================================
###
input.configfilereference-success.TARGET-FILE-PATH=SuccessFile
input.configfilereference-failure.TARGET-FILE-PATH=FailureFile
-input.vnf-host-ip-address=135.2.2.2
+input.vnf-host-ip-address=
###
# ============LICENSE_START=======================================================
-# ONAP : APP-C
+# ONAP : APPC
# ================================================================================
-# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
# ================================================================================
+# Copyright (C) 2017 Amdocs
+# =============================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
# ============LICENSE_END=========================================================
###
input.configfilereference-success.TARGET-FILE-PATH=SuccessFile
input.configfilereference-failure.TARGET-FILE-PATH=FailureFile
input.configfilereference-log.TARGET-FILE-PATH=FailureLogFile
-input.vnf-host-ip-address=135.1.1.1
+input.vnf-host-ip-address=
input.fileContents=ERRORLOG
org.onap.sdnc.config.generator.pattern.PatternNode.parseErrorLog.outCome=failure
org.onap.sdnc.config.generator.pattern.PatternNode.parseErrorLog.params.assertEquals.logData=ERRORLOG
###
# ============LICENSE_START=======================================================
-# ONAP : APP-C
+# ONAP : APPC
# ================================================================================
-# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
# ================================================================================
+# Copyright (C) 2017 Amdocs
+# =============================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
# ============LICENSE_END=========================================================
###
input.configfilereference-success.TARGET-FILE-PATH=SuccessFile
input.configfilereference-failure.TARGET-FILE-PATH=FailureFile
input.configfilereference-log.TARGET-FILE-PATH=FailureLogFile
-input.vnf-host-ip-address=135.1.1.1
+input.vnf-host-ip-address=
input.fileContents=ERRORLOG
org.onap.sdnc.config.generator.pattern.PatternNode.parseErrorLog.outCome=success
###
# ============LICENSE_START=======================================================
-# ONAP : APP-C
+# ONAP : APPC
# ================================================================================
-# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
# ================================================================================
+# Copyright (C) 2017 Amdocs
+# =============================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
# ============LICENSE_END=========================================================
###
org.onap.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.tmp.commonConfigInfo.status=success
org.onap.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.DEVICE-AUTHENTICATION-ID = 3
org.onap.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.VNF-TYPE=vUSP - Metaswitch vSBC
-org.onap.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.USER-NAME=root
-org.onap.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.PASSWORD = !bootstrap
+org.onap.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.USER-NAME=
+org.onap.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.PASSWORD =
org.onap.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.PORT-NUMBER = 22
org.onap.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.tmp.deviceinterfaceprotocol.DEVICE-INTERFACE-PROTOCOL-ID = 4
###
# ============LICENSE_START=======================================================
-# ONAP : APP-C
+# ONAP : APPC
# ================================================================================
-# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
# ================================================================================
+# Copyright (C) 2017 Amdocs
+# =============================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
# ============LICENSE_END=========================================================
###
###
# ============LICENSE_START=======================================================
-# ONAP : APP-C
+# ONAP : APPC
# ================================================================================
-# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
# ================================================================================
+# Copyright (C) 2017 Amdocs
+# =============================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
# ============LICENSE_END=========================================================
###
org.onap.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.outCome=success
org.onap.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.DEVICE-AUTHENTICATION-ID = 3
org.onap.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.VNF-TYPE=vUSP - Metaswitch vSBC
-org.onap.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.USER-NAME=root
-org.onap.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.PASSWORD = !bootstrap
+org.onap.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.USER-NAME=
+org.onap.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.PASSWORD =
org.onap.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.PORT-NUMBER = 22
org.onap.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.tmp.deviceinterfaceprotocol.DEVICE-INTERFACE-PROTOCOL-ID = 4
###
# ============LICENSE_START=======================================================
-# ONAP : APP-C
+# ONAP : APPC
# ================================================================================
-# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
# ================================================================================
+# Copyright (C) 2017 Amdocs
+# =============================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
# ============LICENSE_END=========================================================
###
###
# ============LICENSE_START=======================================================
-# ONAP : APP-C
+# ONAP : APPC
# ================================================================================
-# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
# ================================================================================
+# Copyright (C) 2017 Amdocs
+# =============================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
# ============LICENSE_END=========================================================
###
input.config-type=
-input.vnf-host-ip-address=135.1.1.1
-input.device-authentication.USER-NAME=root
-input.device-authentication.PASSWORD = !bootstrap
+input.vnf-host-ip-address=
+input.device-authentication.USER-NAME=
+input.device-authentication.PASSWORD =
input.device-authentication.PORT-NUMBER = 22
input.tmp.deviceinterfaceprotocol.PROTOCOL = CLI
input.deviceconfig-file-content=DUMMYFILECONTENT
APPC.GenerateConfig.outCome=success
-assertEquals.host-ip-address=135.1.1.1
-assertEquals.device-login=root
-
-assertEquals.device-password=!bootstrap
+assertEquals.host-ip-address=
+assertEquals.device-login=
+
+assertEquals.device-password=
assertEquals.port-number=22
assertEquals.protocol=CLI
assertEquals.device-config=DUMMYFILECONTENT
assertEquals.tmp.message=Download Failure : 401 : ISBC Config Failed
-
###
# ============LICENSE_START=======================================================
-# ONAP : APP-C
+# ONAP : APPC
# ================================================================================
-# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
# ================================================================================
+# Copyright (C) 2017 Amdocs
+# =============================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
# ============LICENSE_END=========================================================
###
input.config-type=
-input.vnf-host-ip-address=135.1.1.1
-input.device-authentication.USER-NAME=root
-input.device-authentication.PASSWORD = !bootstrap
+input.vnf-host-ip-address=
+input.device-authentication.USER-NAME=
+input.device-authentication.PASSWORD =
input.device-authentication.PORT-NUMBER = 22
input.tmp.deviceinterfaceprotocol.PROTOCOL = CLI
input.deviceconfig-file-content=DUMMYFILECONTENT
input.tmp.configureactiondg.DOWNLOAD-CONFIG-DG=DownloadIsbcConfig
-
-
# DG properties
APPC.DownloadIsbcConfig.outCome=success
APPC.GenerateConfig.outCome=success
APPC.ProcessParameterDefinition.outCome=success
assertEquals.error-code=400
-assertEquals.host-ip-address=135.1.1.1
-assertEquals.device-login=root
-
-assertEquals.device-password=!bootstrap
+assertEquals.host-ip-address=
+assertEquals.device-login=
+assertEquals.device-password=
assertEquals.port-number=22
assertEquals.protocol=CLI
assertEquals.device-config=DUMMYFILECONTENT
-
-
###
# ============LICENSE_START=======================================================
-# ONAP : APP-C
+# ONAP : APPC
# ================================================================================
-# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
# ================================================================================
+# Copyright (C) 2017 Amdocs
+# =============================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
# ============LICENSE_END=========================================================
###
input.config-type=template
-input.vnf-host-ip-address=135.1.1.1
-input.device-authentication.USER-NAME=root
-input.device-authentication.PASSWORD = !bootstrap
+input.vnf-host-ip-address=
+input.device-authentication.USER-NAME=
+input.device-authentication.PASSWORD =
input.device-authentication.PORT-NUMBER = 22
input.tmp.deviceinterfaceprotocol.PROTOCOL = CLI
input.deviceconfig-file-content=DUMMYFILECONTENT
#ProcessParameterDefinition
APPC.ProcessParameterDefinition.outCome=success
-assertEquals.host-ip-address=135.1.1.1
-assertEquals.device-login=root
-
-assertEquals.device-password=!bootstrap
+assertEquals.host-ip-address=
+assertEquals.device-login=
+
+assertEquals.device-password=
assertEquals.port-number=22
assertEquals.protocol=CLI
assertEquals.device-config=DUMMYFILECONTENT
assertEquals.tmp.message=Download Failure : 401 : ISBC Config Failed
-
-
###
# ============LICENSE_START=======================================================
-# ONAP : APP-C
+# ONAP : APPC
# ================================================================================
-# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
# ================================================================================
+# Copyright (C) 2017 Amdocs
+# =============================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
# ============LICENSE_END=========================================================
###
input.config-type=template
-input.vnf-host-ip-address=135.1.1.1
-input.device-authentication.USER-NAME=root
-input.device-authentication.PASSWORD = !bootstrap
+input.vnf-host-ip-address=
+input.device-authentication.USER-NAME=
+input.device-authentication.PASSWORD =
input.device-authentication.PORT-NUMBER = 22
input.tmp.deviceinterfaceprotocol.PROTOCOL = CLI
input.deviceconfig-file-content=DUMMYFILECONTENT
APPC.ProcessParameterDefinition.outCome=success
assertEquals.error-code=400
-assertEquals.host-ip-address=135.1.1.1
-assertEquals.device-login=root
-
-assertEquals.device-password=!bootstrap
+assertEquals.host-ip-address=
+assertEquals.device-login
+assertEquals.device-password=
assertEquals.port-number=22
assertEquals.protocol=CLI
assertEquals.device-config=DUMMYFILECONTENT
-
-
###
# ============LICENSE_START=======================================================
-# ONAP : APP-C
+# ONAP : APPC
# ================================================================================
-# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
# ================================================================================
+# Copyright (C) 2017 Amdocs
+# =============================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
# ============LICENSE_END=========================================================
###
input.config-type=
-input.vnf-host-ip-address=135.1.1.1
-input.device-authentication.USER-NAME=root
-input.device-authentication.PASSWORD = !bootstrap
+input.vnf-host-ip-address=
+input.device-authentication.USER-NAME=
+input.device-authentication.PASSWORD =
input.device-authentication.PORT-NUMBER = 22
input.tmp.deviceinterfaceprotocol.PROTOCOL = CLI
input.deviceconfig-file-content=DUMMYFILECONTENT
-
-
-
APPC.GenerateConfig.outCome=failure
assertNull.host-ip-address
assertNull.port-number
assertNull.protocol
assertNull.device-config
-
-
-
-
-
###
# ============LICENSE_START=======================================================
-# ONAP : APP-C
+# ONAP : APPC
# ================================================================================
-# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
# ================================================================================
+# Copyright (C) 2017 Amdocs
+# =============================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
# ============LICENSE_END=========================================================
###
input.config-type=template
-input.vnf-host-ip-address=135.1.1.1
-input.device-authentication.USER-NAME=root
-input.device-authentication.PASSWORD = !bootstrap
+input.vnf-host-ip-address=
+input.device-authentication.USER-NAME=
+input.device-authentication.PASSWORD =
input.device-authentication.PORT-NUMBER = 22
input.tmp.deviceinterfaceprotocol.PROTOCOL = CLI
input.deviceconfig-file-content=DUMMYFILECONTENT
assertNull.port-number
assertNull.protocol
assertNull.device-config
-
-
-
-
-
###
# ============LICENSE_START=======================================================
-# ONAP : APP-C
+# ONAP : APPC
# ================================================================================
-# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
# ================================================================================
+# Copyright (C) 2017 Amdocs
+# =============================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
# ============LICENSE_END=========================================================
###
org.onap.appc.data.services.node.ConfigResourceNode.getTemplate.config-template.error-message=Unable to get template
assertEquals.error-code=401
assertEquals.error-message=Unable to get template
-
-
-
-
###
# ============LICENSE_START=======================================================
-# ONAP : APP-C
+# ONAP : APPC
# ================================================================================
-# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
# ================================================================================
+# Copyright (C) 2017 Amdocs
+# =============================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
# ============LICENSE_END=========================================================
###
input.device-config=tcfile:///cli_config_content.txt
-input.host-ip-address=135.1.1.1
-input.device-login=root
-input.device-password = !bootstrap
+input.host-ip-address=
+input.device-login=
+input.device-password =
input.port-number = 22
input.vnf-type = vUSP - Metaswitch vSBC
assertEquals.error-code=401
assertNotNull.error-message
-
-
###
# ============LICENSE_START=======================================================
-# ONAP : APP-C
+# ONAP : APPC
# ================================================================================
-# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
# ================================================================================
+# Copyright (C) 2017 Amdocs
+# =============================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
# ============LICENSE_END=========================================================
###
input.device-config=tcfile:///cli_config_content.txt
-input.host-ip-address=135.1.1.1
-input.device-login=root
-input.device-password = !bootstrap
+input.host-ip-address=
+input.device-login=
+input.device-password =
input.port-number = 22
input.vnf-type = vUSP - Metaswitch vSBC
assertEquals.error-code=401
assertNotNull.error-message
-
-
###
# ============LICENSE_START=======================================================
-# ONAP : APP-C
+# ONAP : APPC
# ================================================================================
-# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
# ================================================================================
+# Copyright (C) 2017 Amdocs
+# =============================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
# ============LICENSE_END=========================================================
###
# To initialise DG Context before execution
-# input.<Context Variable Name>= XXXXX
-input.host-ip-address=135.1.1.1
-input.device-login=root
-input.device-password = !bootstrap
+# input.<Context Variable Name>= XXXXX
+input.host-ip-address=
+input.device-login=
+input.device-password =
input.port-number = 22
input.vnf-type = vUSP - Metaswitch vSBC
# To populate the context variable from file content
# SQL Resource Node
#----------------------------
#<get-resource
-# plugin='org.onap.ccsdk.sli.resource.sql.SqlResource'
-# resource='SQL'
-# key="SELECT TEMPLATE FROM DOWNLOAD_CONFIG_TEMPLATE WHERE vnf_type = $vnf-type ;"
+#plugin='org.onap.ccsdk.sli.resource.sql.SqlResource'
+# resource='SQL'
+# key="SELECT TEMPLATE FROM DOWNLOAD_CONFIG_TEMPLATE WHERE vnf_type = $vnf-type ;"
# force='true'
-# pfx='download-config-template'>
+# pfx='download-config-template'>
-# To define the SQL execution Status <Prefix>.outCome= SUCCESS | FAILURE | NOT_FOUND
+# To define the SQL execution Status <Prefix>.outCome= SUCCESS | FAILURE | NOT_FOUND
download-config-template.outCome=SUCCESS
-# To assert SQL execution node context param <Prefix>.<assertEquals | assertNull | assertNull >.<Context Variable Name>= XXXXX
+# To assert SQL execution node context param <Prefix>.<assertEquals | assertNull | assertNull >.<Context Variable Name>= XXXXX
download-config-template.assertEquals.vnf-type = vUSP - Metaswitch vSBC
-# To Populate the SQL executionoutput <Prefix>.<Context Variable Name>= XXXXX, In this case
-# after executing SQL query, I expect the response should be stored in the DG context variable name download-config-template.TEMPLATE
+# To Populate the SQL executionoutput <Prefix>.<Context Variable Name>= XXXXX, In this case
+# after executing SQL query, I expect the response should be stored in the DG context variable name download-config-template.TEMPLATE
download-config-template.download-config-template.TEMPLATE=tcfile:///download_cli_config_template.txt
# Configure Node
#<parameter name="Port_number" value="`$port-number`" />
org.onap.appc.ccadaptor.ConfigComponentAdaptor.DownloadCliConfig.outCome=success
-# To assert execution/configure node context param <Plugin Name>.<Key / Method Name>.params.<assertEquals | assertNull | assertNull >.<Context Variable Name>= XXXXX
+# To assert execution/configure node context param <Plugin Name>.<Key / Method Name>.params.<assertEquals | assertNull | assertNull >.<Context Variable Name>= XXXXX
org.onap.appc.ccadaptor.ConfigComponentAdaptor.DownloadCliConfig.params.assertEquals.Port_number=22
-# To assert execution/configure node context param <Plugin Name>.<Key / Method Name>.<assertEquals | assertNull | assertNull >.<Context Variable Name>= XXXXX
+# To assert execution/configure node context param <Plugin Name>.<Key / Method Name>.<assertEquals | assertNull | assertNull >.<Context Variable Name>= XXXXX
org.onap.appc.ccadaptor.ConfigComponentAdaptor.DownloadCliConfig.assertEquals.vnf-type = vUSP - Metaswitch vSBC
-# To assert DG Context after execution
-# <assertEquals | assertNull | assertNull >.<Context Variable Name>= XXXXX
+# To assert DG Context after execution
+# <assertEquals | assertNull | assertNull >.<Context Variable Name>= XXXXX
assertNull.error-code
assertNull.error-message
-
###
# ============LICENSE_START=======================================================
-# ONAP : APP-C
+# ONAP : APPC
# ================================================================================
-# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
# ================================================================================
+# Copyright (C) 2017 Amdocs
+# =============================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
# ============LICENSE_END=========================================================
###
###
# ============LICENSE_START=======================================================
-# ONAP : APP-C
+# ONAP : APPC
# ================================================================================
-# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
# ================================================================================
+# Copyright (C) 2017 Amdocs
+# =============================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
# ============LICENSE_END=========================================================
###
org.onap.appc.data.services.node.ConfigResourceNode.getConfigFileReference.outCome=success
-input.vnf-host-ip-address=135.1.1.1
-input.device-authentication.USER-NAME=root
-input.device-authentication.PASSWORD = !bootstrap
+input.vnf-host-ip-address=
+input.device-authentication.USER-NAME=
+input.device-authentication.PASSWORD =
input.deviceconfig-file-content=DUMMYFILECONTENT
input.configfilereference-deviceconfig.TARGET-FILE-PATH=/tmp
org.onap.appc.ccadaptor.ConfigComponentAdaptor.put.outCome=success
-org.onap.appc.ccadaptor.ConfigComponentAdaptor.put.params.assertEquals.host=135.1.1.1
-org.onap.appc.ccadaptor.ConfigComponentAdaptor.put.params.assertEquals.loginId=root
-org.onap.appc.ccadaptor.ConfigComponentAdaptor.put.params.assertEquals.password=!bootstrap
+org.onap.appc.ccadaptor.ConfigComponentAdaptor.put.params.assertEquals.host=
+org.onap.appc.ccadaptor.ConfigComponentAdaptor.put.params.assertEquals.loginId=
+org.onap.appc.ccadaptor.ConfigComponentAdaptor.put.params.assertEquals.password=
org.onap.appc.ccadaptor.ConfigComponentAdaptor.put.params.assertEquals.data=DUMMYFILECONTENT
org.onap.appc.ccadaptor.ConfigComponentAdaptor.put.params.assertEquals.fullPathFileName=/tmp
APPC.CheckConfigStatus.outCome=success
-
assertNull.error-code
assertNull.error-message
-
###
# ============LICENSE_START=======================================================
-# ONAP : APP-C
+# ONAP : APPC
# ================================================================================
-# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
# ================================================================================
+# Copyright (C) 2017 Amdocs
+# =============================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
# ============LICENSE_END=========================================================
###
-input.vnf-host-ip-address=135.1.1.1
-input.device-authentication.USER-NAME=root
-input.device-authentication.PASSWORD = !bootstrap
+input.vnf-host-ip-address=
+input.device-authentication.USER-NAME=
+input.device-authentication.PASSWORD =
input.deviceconfig-file-content=DUMMYFILECONTENT
input.configfilereference-deviceconfig.TARGET-FILE-PATH=/tmp
org.onap.appc.data.services.node.ConfigResourceNode.getConfigFileReference.outCome=success
org.onap.appc.ccadaptor.ConfigComponentAdaptor.put.outCome=failure
-org.onap.appc.ccadaptor.ConfigComponentAdaptor.put.params.assertEquals.host=135.1.1.1
-org.onap.appc.ccadaptor.ConfigComponentAdaptor.put.params.assertEquals.loginId=root
-org.onap.appc.ccadaptor.ConfigComponentAdaptor.put.params.assertEquals.password=!bootstrap
+org.onap.appc.ccadaptor.ConfigComponentAdaptor.put.params.assertEquals.host=
+org.onap.appc.ccadaptor.ConfigComponentAdaptor.put.params.assertEquals.loginId=
+org.onap.appc.ccadaptor.ConfigComponentAdaptor.put.params.assertEquals.password=
org.onap.appc.ccadaptor.ConfigComponentAdaptor.put.params.assertEquals.data=DUMMYFILECONTENT
org.onap.appc.ccadaptor.ConfigComponentAdaptor.put.params.assertEquals.fullPathFileName=/tmp
###
# ============LICENSE_START=======================================================
-# ONAP : APP-C
+# ONAP : APPC
# ================================================================================
-# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
# ================================================================================
+# Copyright (C) 2017 Amdocs
+# =============================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
# ============LICENSE_END=========================================================
###
###
# ============LICENSE_START=======================================================
-# ONAP : APP-C
+# ONAP : APPC
# ================================================================================
-# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
# ================================================================================
+# Copyright (C) 2017 Amdocs
+# =============================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
# ============LICENSE_END=========================================================
###
assertEquals.file-category1=configuration_block
assertEquals.file-category2=config_data
assertNotNull.tmp.merge.mergedData
-
-
-
###
# ============LICENSE_START=======================================================
-# ONAP : APP-C
+# ONAP : APPC
# ================================================================================
-# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
# ================================================================================
+# Copyright (C) 2017 Amdocs
+# =============================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
# ============LICENSE_END=========================================================
###
###
# ============LICENSE_START=======================================================
-# ONAP : APP-C
+# ONAP : APPC
# ================================================================================
-# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
# ================================================================================
+# Copyright (C) 2017 Amdocs
+# =============================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
# ============LICENSE_END=========================================================
###
###
# ============LICENSE_START=======================================================
-# ONAP : APP-C
+# ONAP : APPC
# ================================================================================
-# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
# ================================================================================
+# Copyright (C) 2017 Amdocs
+# =============================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
# ============LICENSE_END=========================================================
###
###
# ============LICENSE_START=======================================================
-# ONAP : APP-C
+# ONAP : APPC
# ================================================================================
-# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
# ================================================================================
+# Copyright (C) 2017 Amdocs
+# =============================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
# ============LICENSE_END=========================================================
###
###
# ============LICENSE_START=======================================================
-# ONAP : APP-C
+# ONAP : APPC
# ================================================================================
-# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
# ================================================================================
+# Copyright (C) 2017 Amdocs
+# =============================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
# ============LICENSE_END=========================================================
###
###
# ============LICENSE_START=======================================================
-# ONAP : APP-C
+# ONAP : APPC
# ================================================================================
-# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
# ================================================================================
+# Copyright (C) 2017 Amdocs
+# =============================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
# ============LICENSE_END=========================================================
###
org.onap.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.outCome=success
org.onap.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.DEVICE-AUTHENTICATION-ID = 3
org.onap.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.VNF-TYPE=vUSP - Metaswitch vSBC
-org.onap.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.USER-NAME=root
-org.onap.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.PASSWORD = !bootstrap
+org.onap.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.USER-NAME=
+org.onap.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.PASSWORD =
org.onap.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.PORT-NUMBER = 22
org.onap.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.tmp.deviceinterfaceprotocol.DEVICE-INTERFACE-PROTOCOL-ID = 4
APPC.GetAaiInfo.outCome=success
assertNull.config-type
-assertEquals.device-authentication.USER-NAME=root
+assertEquals.device-authentication.USER-NAME=
assertEquals.template-name=
assertNotNull.configuration
assertNotNull.configuration-params
###
# ============LICENSE_START=======================================================
-# ONAP : APP-C
+# ONAP : APPC
# ================================================================================
-# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
# ================================================================================
+# Copyright (C) 2017 Amdocs
+# =============================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
# ============LICENSE_END=========================================================
###
org.onap.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.outCome=success
org.onap.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.DEVICE-AUTHENTICATION-ID = 3
org.onap.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.VNF-TYPE=vUSP - Metaswitch vSBC
-org.onap.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.USER-NAME=root
-org.onap.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.PASSWORD = !bootstrap
+org.onap.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.USER-NAME=
+org.onap.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.PASSWORD =
org.onap.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.PORT-NUMBER = 22
org.onap.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.tmp.deviceinterfaceprotocol.DEVICE-INTERFACE-PROTOCOL-ID = 4
assertNull.config-type
-assertEquals.device-authentication.USER-NAME=root
+assertEquals.device-authentication.USER-NAME=
assertEquals.template-name=
assertNotNull.configuration
assertNotNull.configuration-params
-
-
###
# ============LICENSE_START=======================================================
-# ONAP : APP-C
+# ONAP : APPC
# ================================================================================
-# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
# ================================================================================
+# Copyright (C) 2017 Amdocs
+# =============================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
# ============LICENSE_END=========================================================
###
assertEquals.configuration-params=
assertEquals.error-code=401
assertEquals.error-message=getCommonConfigInfoFailure
-
-
-
-
-
-
-
###
# ============LICENSE_START=======================================================
-# ONAP : APP-C
+# ONAP : APPC
# ================================================================================
-# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
# ================================================================================
+# Copyright (C) 2017 Amdocs
+# =============================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
# ============LICENSE_END=========================================================
###
org.onap.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.outCome=success
org.onap.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.DEVICE-AUTHENTICATION-ID = 3
org.onap.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.VNF-TYPE=vUSP - Metaswitch vSBC
-org.onap.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.USER-NAME=root
-org.onap.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.PASSWORD = !bootstrap
+org.onap.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.USER-NAME=
+org.onap.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.PASSWORD =
org.onap.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.PORT-NUMBER = 22
org.onap.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.tmp.deviceinterfaceprotocol.DEVICE-INTERFACE-PROTOCOL-ID = 4
org.onap.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.tmp.deviceinterfaceprotocol.DG-RPC = getDeviceRunningConfig
assertEquals.config-type=template
-assertEquals.device-authentication.USER-NAME=root
+assertEquals.device-authentication.USER-NAME=
assertNotNull.configuration-params
###
# ============LICENSE_START=======================================================
-# ONAP : APP-C
+# ONAP : APPC
# ================================================================================
-# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
# ================================================================================
+# Copyright (C) 2017 Amdocs
+# =============================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
# ============LICENSE_END=========================================================
###
org.onap.sdnc.config.generator.convert.ConvertNode.convertJson2DGContext.tmp.convertnode.error-message=Conversion to DG Context Failed
assertEquals.error-code=401
assertEquals.error-message=Conversion to DG Context Failed
-
-
-
-
###
# ============LICENSE_START=======================================================
-# ONAP : APP-C
+# ONAP : APPC
# ================================================================================
-# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
# ================================================================================
+# Copyright (C) 2017 Amdocs
+# =============================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
# ============LICENSE_END=========================================================
###
input.input.action=Configure
input.input.payload=tcfile://payload_restore_config.json
-
-
APPC.GetAaiInfo.outCome=success
org.onap.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.outCome=success
org.onap.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.DEVICE-AUTHENTICATION-ID = 3
org.onap.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.VNF-TYPE=vUSP - Metaswitch vSBC
-org.onap.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.USER-NAME=root
-org.onap.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.PASSWORD = !bootstrap
+org.onap.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.USER-NAME=
+org.onap.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.PASSWORD =
org.onap.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.PORT-NUMBER = 22
org.onap.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.tmp.deviceinterfaceprotocol.DEVICE-INTERFACE-PROTOCOL-ID = 4
org.onap.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.tmp.deviceinterfaceprotocol.MODULE = appc
org.onap.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.tmp.deviceinterfaceprotocol.DG-RPC = getDeviceRunningConfig
-
assertEquals.config-type=template
-assertEquals.device-authentication.USER-NAME=root
+assertEquals.device-authentication.USER-NAME=
assertEquals.template-name=
assertNull.configuration
assertEquals.configuration-params=
-
-
-
###
# ============LICENSE_START=======================================================
-# ONAP : APP-C
+# ONAP : APPC
# ================================================================================
-# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
# ================================================================================
+# Copyright (C) 2017 Amdocs
+# =============================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
# ============LICENSE_END=========================================================
###
org.onap.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.outCome=success
org.onap.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.DEVICE-AUTHENTICATION-ID = 3
org.onap.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.VNF-TYPE=vUSP - Metaswitch vSBC
-org.onap.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.USER-NAME=root
-org.onap.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.PASSWORD = !bootstrap
+org.onap.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.USER-NAME=
+org.onap.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.PASSWORD =
org.onap.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.PORT-NUMBER = 22
org.onap.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.tmp.deviceinterfaceprotocol.DEVICE-INTERFACE-PROTOCOL-ID = 4
org.onap.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.tmp.deviceinterfaceprotocol.DG-RPC = getDeviceRunningConfig
assertEquals.config-type=template
-assertEquals.device-authentication.USER-NAME=root
+assertEquals.device-authentication.USER-NAME=
assertEquals.template-name=vISBC-ssc-change_template1
###
# ============LICENSE_START=======================================================
-# ONAP : APP-C
+# ONAP : APPC
# ================================================================================
-# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
# ================================================================================
+# Copyright (C) 2017 Amdocs
+# =============================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
# ============LICENSE_END=========================================================
###
input.config.vnf-name=
input.config.protocol=CHEF
input.config.host-ip-address=localhost
-input.config.user-name=brinda
-input.config.password=brinda123
+input.config.user-name=
+input.config.password=
input.config.port-number=80
org.onap.appc.data.services.node.ConfigResourceNode.getConfigFilesByVnfVmNCategory.outCome=failure
###
# ============LICENSE_START=======================================================
-# ONAP : APP-C
+# ONAP : APPC
# ================================================================================
-# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
# ================================================================================
+# Copyright (C) 2017 Amdocs
+# =============================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
# ============LICENSE_END=========================================================
###
input.config.vnf-name=
input.config.protocol=CHEF
input.config.host-ip-address=localhost
-input.config.user-name=brinda
-input.config.password=brinda123
+input.config.user-name=
+input.config.password=
input.config.port-number=80
org.onap.appc.data.services.node.ConfigResourceNode.getConfigFilesByVnfVmNCategory.outCome=Other
###
# ============LICENSE_START=======================================================
-# ONAP : APP-C
+# ONAP : APPC
# ================================================================================
-# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
# ================================================================================
+# Copyright (C) 2017 Amdocs
+# =============================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
# ============LICENSE_END=========================================================
###
input.config.vnf-name=
input.config.protocol=CHEF
input.config.host-ip-address=localhost
-input.config.user-name=brinda
-input.config.password=brinda123
+input.config.user-name=
+input.config.password=
input.config.port-number=80
org.onap.appc.data.services.node.ConfigResourceNode.getConfigFilesByVnfVmNCategory.outCome=success
###
# ============LICENSE_START=======================================================
-# ONAP : APP-C
+# ONAP : APPC
# ================================================================================
-# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
# ================================================================================
+# Copyright (C) 2017 Amdocs
+# =============================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
# ============LICENSE_END=========================================================
###
input.config.vnf-name=
input.config.protocol=CHEF
input.config.host-ip-address=localhost
-input.config.user-name=brinda
-input.config.password=brinda123
+input.config.user-name=
+input.config.password=
input.config.port-number=80
org.onap.appc.data.services.node.ConfigResourceNode.getConfigFilesByVnfVmNCategory.outCome=success
###
# ============LICENSE_START=======================================================
-# ONAP : APP-C
+# ONAP : APPC
# ================================================================================
-# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
# ================================================================================
+# Copyright (C) 2017 Amdocs
+# =============================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
# ============LICENSE_END=========================================================
###
###
# ============LICENSE_START=======================================================
-# ONAP : APP-C
+# ONAP : APPC
# ================================================================================
-# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
# ================================================================================
+# Copyright (C) 2017 Amdocs
+# =============================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
# ============LICENSE_END=========================================================
###
###
# ============LICENSE_START=======================================================
-# ONAP : APP-C
+# ONAP : APPC
# ================================================================================
-# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
# ================================================================================
+# Copyright (C) 2017 Amdocs
+# =============================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
# ============LICENSE_END=========================================================
###
###
# ============LICENSE_START=======================================================
-# ONAP : APP-C
+# ONAP : APPC
# ================================================================================
-# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
# ================================================================================
+# Copyright (C) 2017 Amdocs
+# =============================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
# ============LICENSE_END=========================================================
###
###
# ============LICENSE_START=======================================================
-# ONAP : APP-C
+# ONAP : APPC
# ================================================================================
-# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
# ================================================================================
+# Copyright (C) 2017 Amdocs
+# =============================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
# ============LICENSE_END=========================================================
###
###
# ============LICENSE_START=======================================================
-# ONAP : APP-C
+# ONAP : APPC
# ================================================================================
-# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
# ================================================================================
+# Copyright (C) 2017 Amdocs
+# =============================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
# ============LICENSE_END=========================================================
###
org.onap.appc.data.services.node.ConfigResourceNode.getTemplate.outCome=success
org.onap.appc.data.services.node.ConfigResourceNode.getTemplate.parameter-definitions.file-content=tcfile://noinstarparams_pd.yaml
-
-
-assertEquals.configuration-params={ "LOCAL_ACCESS_IP_ADDR": "192.168.30.1", "LOCAL_BILLING_IP_ADDR": "192.168.30.1","REMOTE_CORE_ALT_IP_ADDR": "fd00:f4d5:ea06:1:0:110:136:254","REMOTE_BILLING_IP_ADDR": "192.168.30.1","CORE_NETWORK_PLEN": "32"}
-
+assertEquals.configuration-params={ "LOCAL_ACCESS_IP_ADDR": "192.168.30.1", "LOCAL_BILLING_IP_ADDR": "192.168.30.1","REMOTE_CORE_ALT_IP_ADDR": "0:0:0:0:192:168:30:1","REMOTE_BILLING_IP_ADDR": "192.168.30.1","CORE_NETWORK_PLEN": "32"}
###
# ============LICENSE_START=======================================================
-# ONAP : APP-C
+# ONAP : APPC
# ================================================================================
-# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
# ================================================================================
+# Copyright (C) 2017 Amdocs
+# =============================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
# ============LICENSE_END=========================================================
###
org.onap.appc.instar.node.InstarClientNode.getInstarInfo.tmp.instarValues.INSTAR-KEY-VALUES=tcfile://instar_values.json
-#To assert execution/configure node context param <Plugin Name>.<Key / Method Name>.params.<assertEquals | assertNull | assertNull >.<Context Variable Name>= XXXXX
+#To assert execution/configure node context param <Plugin Name>.<Key / Method Name>.params.<assertEquals | assertNull | assertNull >.<Context Variable Name>= XXXXX
org.onap.appc.dg.common.VNFConfigurator.storeConfig.outCome=success
org.onap.appc.dg.common.VNFConfigurator.storeConfig.params.assertEquals.uniqueId=1234
org.onap.appc.dg.common.VNFConfigurator.storeConfig.params.assertEquals.requestId=requestid
-org.onap.appc.dg.common.VNFConfigurator.storeConfig.params.assertEquals.configJSON={"LOCAL_BILLING_IP_ADDR":"192.168.30.1","LOCAL_ACCESS_IP_ADDR":"192.168.30.1","CORE_NETWORK_PLEN":"32","LOCAL_CORE_ALT_IP_ADDR":"DummyInstarIP1","REMOTE_CORE_ALT_IP_ADDR":"fd00:f4d5:ea06:1:0:110:136:254","REMOTE_ACCESS_IP_ADDR":"DummyInstarIP2","REMOTE_BILLING_IP_ADDR":"192.168.30.1"}
+org.onap.appc.dg.common.VNFConfigurator.storeConfig.params.assertEquals.configJSON={"LOCAL_BILLING_IP_ADDR":"192.168.30.1","LOCAL_ACCESS_IP_ADDR":"192.168.30.1","CORE_NETWORK_PLEN":"32","LOCAL_CORE_ALT_IP_ADDR":"DummyInstarIP1","REMOTE_CORE_ALT_IP_ADDR":"0:0:0:0:192:168:30:1","REMOTE_ACCESS_IP_ADDR":"DummyInstarIP2","REMOTE_BILLING_IP_ADDR":"192.168.30.1"}
org.onap.appc.data.services.node.ConfigResourceNode.saveConfigTransactionLog.outCome=true
org.onap.appc.dg.common.DCAEReporterPlugin.report.outCome=true
-assertEquals.configuration-params={"LOCAL_BILLING_IP_ADDR":"192.168.30.1","LOCAL_ACCESS_IP_ADDR":"192.168.30.1","CORE_NETWORK_PLEN":"32","LOCAL_CORE_ALT_IP_ADDR":"DummyInstarIP1","REMOTE_CORE_ALT_IP_ADDR":"fd00:f4d5:ea06:1:0:110:136:254","REMOTE_ACCESS_IP_ADDR":"DummyInstarIP2","REMOTE_BILLING_IP_ADDR":"192.168.30.1"}
+assertEquals.configuration-params={"LOCAL_BILLING_IP_ADDR":"192.168.30.1","LOCAL_ACCESS_IP_ADDR":"192.168.30.1","CORE_NETWORK_PLEN":"32","LOCAL_CORE_ALT_IP_ADDR":"DummyInstarIP1","REMOTE_CORE_ALT_IP_ADDR":"0:0:0:0:192:168:30:1","REMOTE_ACCESS_IP_ADDR":"DummyInstarIP2","REMOTE_BILLING_IP_ADDR":"192.168.30.1"}
assertEquals.INSTAR.keys=["LOCAL_CORE_ALT_IP_ADDR","REMOTE_ACCESS_IP_ADDR"]
###
# ============LICENSE_START=======================================================
-# ONAP : APP-C
+# ONAP : APPC
# ================================================================================
-# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
# ================================================================================
+# Copyright (C) 2017 Amdocs
+# =============================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
# ============LICENSE_END=========================================================
###
org.onap.appc.instar.node.InstarClientNode.getInstarInfo.tmp.instarValues.INSTAR-KEY-VALUES=tcfile://instar_values.json
-#To assert execution/configure node context param <Plugin Name>.<Key / Method Name>.params.<assertEquals | assertNull | assertNull >.<Context Variable Name>= XXXXX
+#To assert execution/configure node context param <Plugin Name>.<Key / Method Name>.params.<assertEquals | assertNull | assertNull >.<Context Variable Name>= XXXXX
org.onap.appc.dg.common.VNFConfigurator.storeConfig.outCome=failure
org.onap.appc.dg.common.VNFConfigurator.storeConfig.tmp.mdSalSave.ERROR_MESSAGE=MDSAL ERROR
org.onap.appc.dg.common.VNFConfigurator.storeConfig.params.assertEquals.uniqueId=1234
org.onap.appc.dg.common.VNFConfigurator.storeConfig.params.assertEquals.requestId=requestid
-org.onap.appc.dg.common.VNFConfigurator.storeConfig.params.assertEquals.configJSON={"LOCAL_BILLING_IP_ADDR":"192.168.30.1","LOCAL_ACCESS_IP_ADDR":"192.168.30.1","CORE_NETWORK_PLEN":"32","LOCAL_CORE_ALT_IP_ADDR":"DummyInstarIP1","REMOTE_CORE_ALT_IP_ADDR":"fd00:f4d5:ea06:1:0:110:136:254","REMOTE_ACCESS_IP_ADDR":"DummyInstarIP2","REMOTE_BILLING_IP_ADDR":"192.168.30.1"}
+org.onap.appc.dg.common.VNFConfigurator.storeConfig.params.assertEquals.configJSON={"LOCAL_BILLING_IP_ADDR":"192.168.30.1","LOCAL_ACCESS_IP_ADDR":"192.168.30.1","CORE_NETWORK_PLEN":"32","LOCAL_CORE_ALT_IP_ADDR":"DummyInstarIP1","REMOTE_CORE_ALT_IP_ADDR":"0:0:0:0:192:168:30:1","REMOTE_ACCESS_IP_ADDR":"DummyInstarIP2","REMOTE_BILLING_IP_ADDR":"192.168.30.1"}
org.onap.appc.data.services.node.ConfigResourceNode.saveConfigTransactionLog.outCome=true
org.onap.appc.dg.common.DCAEReporterPlugin.report.outCome=true
-assertEquals.configuration-params={"LOCAL_BILLING_IP_ADDR":"192.168.30.1","LOCAL_ACCESS_IP_ADDR":"192.168.30.1","CORE_NETWORK_PLEN":"32","LOCAL_CORE_ALT_IP_ADDR":"DummyInstarIP1","REMOTE_CORE_ALT_IP_ADDR":"fd00:f4d5:ea06:1:0:110:136:254","REMOTE_ACCESS_IP_ADDR":"DummyInstarIP2","REMOTE_BILLING_IP_ADDR":"192.168.30.1"}
+assertEquals.configuration-params={"LOCAL_BILLING_IP_ADDR":"192.168.30.1","LOCAL_ACCESS_IP_ADDR":"192.168.30.1","CORE_NETWORK_PLEN":"32","LOCAL_CORE_ALT_IP_ADDR":"DummyInstarIP1","REMOTE_CORE_ALT_IP_ADDR":"0:0:0:0:192:168:30:1","REMOTE_ACCESS_IP_ADDR":"DummyInstarIP2","REMOTE_BILLING_IP_ADDR":"192.168.30.1"}
assertEquals.INSTAR.keys=["LOCAL_CORE_ALT_IP_ADDR","REMOTE_ACCESS_IP_ADDR"]
assertEquals.dcae-error-message=MDSAL ERROR
###
# ============LICENSE_START=======================================================
-# ONAP : APP-C
+# ONAP : APPC
# ================================================================================
-# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
# ================================================================================
+# Copyright (C) 2017 Amdocs
+# =============================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
# ============LICENSE_END=========================================================
###
###
# ============LICENSE_START=======================================================
-# ONAP : APP-C
+# ONAP : APPC
# ================================================================================
-# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
# ================================================================================
+# Copyright (C) 2017 Amdocs
+# =============================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
# ============LICENSE_END=========================================================
###
###
# ============LICENSE_START=======================================================
-# ONAP : APP-C
+# ONAP : APPC
# ================================================================================
-# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
# ================================================================================
+# Copyright (C) 2017 Amdocs
+# =============================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
# ============LICENSE_END=========================================================
###
input.vm-name=ibcx0001vm001
input.vnf-type=ISBC
-input.vnf-host-ip-address=135.1.1.1
+input.vnf-host-ip-address=
-input.device-authentication.USER-NAME=root
-input.device-authentication.PASSWORD = !bootstrap
+input.device-authentication.USER-NAME=
+input.device-authentication.PASSWORD =
input.device-authentication.PORT-NUMBER = 22
input.tmp.deviceinterfaceprotocol.PROTOCOL = CLI
input.deviceconfig-file-content=DUMMYFILECONTENT
assertEquals.config.vnf-type=ISBC
-assertEquals.config.host-ip-address=135.1.1.1
+assertEquals.config.host-ip-address=
-assertEquals.config.user-name=root
-assertEquals.config.password = !bootstrap
+assertEquals.config.user-name=
+assertEquals.config.password =
assertEquals.config.port-number = 22
assertEquals.config.protocol = CLI
###
# ============LICENSE_START=======================================================
-# ONAP : APP-C
+# ONAP : APPC
# ================================================================================
-# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
# ================================================================================
+# Copyright (C) 2017 Amdocs
+# =============================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
# ============LICENSE_END=========================================================
###
input.vm-name=ibcx0001vm001
input.vnf-type=ISBC
-input.vnf-host-ip-address=135.1.1.1
+input.vnf-host-ip-address=
-input.device-authentication.USER-NAME=root
-input.device-authentication.PASSWORD = !bootstrap
+input.device-authentication.USER-NAME=
+input.device-authentication.PASSWORD =
input.device-authentication.PORT-NUMBER = 22
input.tmp.deviceinterfaceprotocol.PROTOCOL = CLI
input.deviceconfig-file-content=DUMMYFILECONTENT
assertEquals.config.vnf-type=ISBC
-assertEquals.config.host-ip-address=135.1.1.1
+assertEquals.config.host-ip-address=
-assertEquals.config.user-name=root
-assertEquals.config.password = !bootstrap
+assertEquals.config.user-name=
+assertEquals.config.password =
assertEquals.config.port-number = 22
assertEquals.config.protocol = CLI
###
# ============LICENSE_START=======================================================
-# ONAP : APP-C
+# ONAP : APPC
# ================================================================================
-# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
# ================================================================================
+# Copyright (C) 2017 Amdocs
+# =============================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
# ============LICENSE_END=========================================================
###
input.vm-name=ibcx0001vm001
input.vnf-type=ISBC
-input.vnf-host-ip-address=135.1.1.1
+input.vnf-host-ip-address=
-input.device-authentication.USER-NAME=root
-input.device-authentication.PASSWORD = !bootstrap
+input.device-authentication.USER-NAME=
+input.device-authentication.PASSWORD =
input.device-authentication.PORT-NUMBER = 22
input.tmp.deviceinterfaceprotocol.PROTOCOL = CLI
input.deviceconfig-file-content=DUMMYFILECONTENT
assertEquals.config.vnf-type=ISBC
-assertEquals.config.host-ip-address=135.1.1.1
+assertEquals.config.host-ip-address=
-assertEquals.config.user-name=root
-assertEquals.config.password = !bootstrap
+assertEquals.config.user-name=
+assertEquals.config.password =
assertEquals.config.port-number = 22
assertEquals.config.protocol = CLI
###
# ============LICENSE_START=======================================================
-# ONAP : APP-C
+# ONAP : APPC
# ================================================================================
-# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
# ================================================================================
+# Copyright (C) 2017 Amdocs
+# =============================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
# ============LICENSE_END=========================================================
###
###
# ============LICENSE_START=======================================================
-# ONAP : APP-C
+# ONAP : APPC
# ================================================================================
-# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
# ================================================================================
+# Copyright (C) 2017 Amdocs
+# =============================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
# ============LICENSE_END=========================================================
###
###
# ============LICENSE_START=======================================================
-# ONAP : APP-C
+# ONAP : APPC
# ================================================================================
-# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
# ================================================================================
+# Copyright (C) 2017 Amdocs
+# =============================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
# ============LICENSE_END=========================================================
###
###
# ============LICENSE_START=======================================================
-# ONAP : APP-C
+# ONAP : APPC
# ================================================================================
-# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
# ================================================================================
+# Copyright (C) 2017 Amdocs
+# =============================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
# ============LICENSE_END=========================================================
###
###
# ============LICENSE_START=======================================================
-# ONAP : APP-C
+# ONAP : APPC
# ================================================================================
-# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
# ================================================================================
+# Copyright (C) 2017 Amdocs
+# =============================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
# ============LICENSE_END=========================================================
###
###
# ============LICENSE_START=======================================================
-# ONAP : APP-C
+# ONAP : APPC
# ================================================================================
-# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
# ================================================================================
+# Copyright (C) 2017 Amdocs
+# =============================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
# ============LICENSE_END=========================================================
###
###
# ============LICENSE_START=======================================================
-# ONAP : APP-C
+# ONAP : APPC
# ================================================================================
-# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
# ================================================================================
+# Copyright (C) 2017 Amdocs
+# =============================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
# ============LICENSE_END=========================================================
###
###
# ============LICENSE_START=======================================================
-# ONAP : APP-C
+# ONAP : APPC
# ================================================================================
-# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
# ================================================================================
+# Copyright (C) 2017 Amdocs
+# =============================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
# ============LICENSE_END=========================================================
###
com.att.appc.config.generator.node.ConfigResourceNode.getCommonConfigInfo.tmp.commonConfigInfo.status=success
com.att.appc.config.generator.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.DEVICE-AUTHENTICATION-ID = 3
com.att.appc.config.generator.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.VNF-TYPE=vUSP - Metaswitch vSBC
-com.att.appc.config.generator.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.USER-NAME=root
-com.att.appc.config.generator.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.PASSWORD = !bootstrap
+com.att.appc.config.generator.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.USER-NAME=
+com.att.appc.config.generator.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.PASSWORD =
com.att.appc.config.generator.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.PORT-NUMBER = 22
com.att.appc.config.generator.node.ConfigResourceNode.getCommonConfigInfo.tmp.deviceinterfaceprotocol.DEVICE-INTERFACE-PROTOCOL-ID = 4
###
# ============LICENSE_START=======================================================
-# ONAP : APP-C
+# ONAP : APPC
# ================================================================================
-# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
# ================================================================================
+# Copyright (C) 2017 Amdocs
+# =============================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
# ============LICENSE_END=========================================================
###
-/*-
- * ============LICENSE_START=======================================================
- * ONAP : APP-C
- * ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
- * ================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * ============LICENSE_END=========================================================
- */
-
{
- "LOCAL_CORE_ALT_IP_ADDR": "DummyInstarIP1",
- "REMOTE_ACCESS_IP_ADDR": "DummyInstarIP2"
-
+ "LOCAL_CORE_ALT_IP_ADDR": "DummyInstarIP1",
+ "REMOTE_ACCESS_IP_ADDR": "DummyInstarIP2"
}
-/*-
- * ============LICENSE_START=======================================================
- * ONAP : APP-C
- * ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
- * ================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * ============LICENSE_END=========================================================
- */
-
{
- "request-parameters": {
- "vnf-type": "ISBC",
- "vnf-host-ip-address": "135.21.166.39",
- "service-instance-id": "ibcx0001vm001",
- "site-location": "Middletown",
- "vnf-name": "ibcx0001v",
- "vm": [
- {
- "vm-name": "ibcx0001vm001",
- "vnfc": [
- {
- "vnfc-name": "ibcx0001vm001ssc001",
- "vnfc-function-code": "ssc",
- "vnfc-type": "vISBC – ssc",
- "ipaddress-v4-oam-vip": "12.1.1.1",
- "pair-number": "ibcx0001vm001ssc001pair"
- }
- ]
- },
- {
- "vm-name": "ibcx0001vm002",
- "vnfc": [
- {
- "vnfc-name": "ibcx0001vm002ssc001",
- "vnfc-function-code": "ssc",
- "vnfc-type": "vISBC – ssc",
- "pair-number": "ibcx0001vm002ssc001pair"
- }
- ]
- }
- ]
- },
- "configuration-parameters": {
- "node0_hostname" : "appc-host",
- "node0_backup_router_address": "2001:1890:1253::192:168:100:1",
- "node0_tacplus_server_name1": "servername1",
- "node0_tacplus_server_name2": "servername2"
- }
+ "request-parameters": {
+ "vnf-type": "ISBC",
+ "vnf-host-ip-address": "192.168.16.3",
+ "service-instance-id": "ibcx0001vm001",
+ "site-location": "SomePlace",
+ "vnf-name": "ibcx0001v",
+ "vm": [
+ {
+ "vm-name": "ibcx0001vm001",
+ "vnfc": [
+ {
+ "vnfc-name": "ibcx0001vm001ssc001",
+ "vnfc-function-code": "ssc",
+ "vnfc-type": "vISBC – ssc",
+ "ipaddress-v4-oam-vip": "192.168.1.1",
+ "pair-number": "ibcx0001vm001ssc001pair"
+ }
+ ]
+ },
+ {
+ "vm-name": "ibcx0001vm002",
+ "vnfc": [
+ {
+ "vnfc-name": "ibcx0001vm002ssc001",
+ "vnfc-function-code": "ssc",
+ "vnfc-type": "vISBC – ssc",
+ "pair-number": "ibcx0001vm002ssc001pair"
+ }
+ ]
+ }
+ ]
+ },
+ "configuration-parameters": {
+ "node0_hostname": "appc-host",
+ "node0_backup_router_address": "0:0:0::192:168:100:1",
+ "node0_tacplus_server_name1": "servername1",
+ "node0_tacplus_server_name2": "servername2"
+ }
}
-/*-
- * ============LICENSE_START=======================================================
- * ONAP : APP-C
- * ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
- * ================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * ============LICENSE_END=========================================================
- */
-
{
- "request-parameters": {
- "vnf-type": "ISBC",
- "vnf-host-ip-address": "135.21.166.39",
- "service-instance-id": "ibcx0001vm001",
- "site-location": "Middletown",
- "vnf-name": "ibcx0001v",
- "vm": [
- {
- "vm-name": "ibcx0001vm001",
- "vnfc": [
- {
- "vnfc-name": "ibcx0001vm001ssc001",
- "vnfc-function-code": "ssc",
- "vnfc-type": "vISBC – ssc",
- "ipaddress-v4-oam-vip": "12.1.1.1",
- "group-notation": "ibcx0001vm001ssc001pair"
- }
- ]
- },
- {
- "vm-name": "ibcx0001vm002",
- "vnfc": [
- {
- "vnfc-name": "ibcx0001vm002ssc001",
- "vnfc-function-code": "ssc",
- "vnfc-type": "vISBC – ssc",
- "group-notation": "ibcx0001vm002ssc001pair"
- }
- ]
- }
- ]
- },
- "configuration": {
- "configuration-string": "config\r\nsystem\r\nservice-interface serv1\r\nipv4\r\ngateway-ip-address 12.12.12.12\r\n"
- },
- "configuration-parameters": {
- "LOCAL_ACCESS_IP_ADDR": "192.168.30.1",
- "LOCAL_CORE_ALT_IP_ADDR": "fd00:f4d5:ea06:1:0:110:136:254",
- "LOCAL_BILLING_IP_ADDR": "192.168.30.1",
- "REMOTE_ACCESS_IP_ADDR": "192.168.30.1",
- "REMOTE_CORE_ALT_IP_ADDR": "fd00:f4d5:ea06:1:0:110:136:254",
- "REMOTE_BILLING_IP_ADDR": "192.168.30.1",
- "CORE_NETWORK_PLEN": "32",
- "CORE_NETWORK_ALT_PLEN": "126",
- "CORE_NETWORK_DEFAULT_GATEWAY": "192.168.30.1",
- "CORE_NETWORK_ALT_DEFAULT_GATEWAY": "fd00:f4d5:ea06:1:0:110:136:254",
- "ACCESS_NETWORK_PLEN": "32",
- "ACCESS_NETWORK_ALT_PLEN": "126",
- "ACCESS_NETWORK_DEFAULT_GATEWAY": "135.25.69.147",
- "ACCESS_NETWORK_ALT_DEFAULT_GATEWAY": "fd00:f4d5:ea06:1:0:110:136:254",
- "BILLING_NETWORK_PLEN": "32",
- "BILLING_NETWORK_DEFAULT_GATEWAY": "135.25.69.147",
- "VIRT_CORE_IP_ADDR": "135.25.69.147",
- "VIRT_CORE_ALT_IP_ADDR": "fd00:f4d5:ea06:1:0:110:136:254",
- "VIRT_ACCESS_IP_ADDR": "135.25.69.147",
- "VIRT_ACCESS_ALT_IP_ADDR": "fd00:f4d5:ea06:1:0:110:136:254",
- "VIRT_BILLING_IP_ADDR": "135.25.69.147",
- "DNS_SERVERS": "135.25.69.147",
- "SNMP_CLIENT_1": "135.25.69.147",
- "SNMP_CLIENT_2": "135.25.69.147",
- "SNMP_COMMUNITY_STRING_CLIENT1": "135.25.69.147",
- "SNMP_COMMUNITY_STRING_CLIENT2": "135.25.69.147",
- "BILLING_SERVER_1": "135.25.69.147",
- "BILLING_SERVER_2": "135.25.69.147",
- "IMS_CORE_ALT_IP_ADDR1": "135.25.69.147",
- "IMS_CORE_ALT_IP_ADDR2": "135.25.69.147",
- "IMS_CORE_ALT_IP_ADDR3": "135.25.69.147",
- "IMS_CORE_ALT_IP_ADDR4": "135.25.69.147",
- "OAM_VIP_HOSTNAME": "135.25.69.147",
- "DG_APP_SERVER1": "135.25.69.147",
- "DG_APP_SERVER2": "135.25.69.147",
- "CTS_IP_RANGE": "135.25.69.147",
- "CTS_PREFIX_LENGTH": "26",
- "LICENSE_KEY": "AQGpAQA/AQAEAAANBAIAGY1mwTCGq0adcFTpiuwgDxAFwlmxPP8TYmQDAAEBBAAABQAEVwMAAAYABFhR3QAHAARXAwAAAgFkAQAoAQABBAIAB0MwMjc1MTgDAAL//wYAB0wwMTEwMDEHAAQAAAABCQABAAIBNgEBMwEAAQECAAEAAwAEAAGGoAQABP////8FAASAADTfBgAE/////wcAFAEABkcuNzI5QQIABAAAE4gDAAEBBwARAQADQU1SAgAEAAATiAMAAQEHABQBAAZBTVItV0ICAAQAABOIAwABAQsABAABhqAMAB4BABBJTlNUX0lTQ19TQV9WSVJUAgAEAAAAZAMAAQEMAB4BABBJTlNUX0lTQ19IQV9WSVJUAgAEAAAAZAMAAQEMAB4BABBJTlNUX1NTQ19TQV9WSVJUAgAEAAAAZAMAAQEMAB4BABBJTlNUX1NTQ19IQV9WSVJUAgAEAAAAZAMAAQEMAB4BABBJTlNUX01TQ19TQV9WSVJUAgAEAAAAZAMAAQEMAB4BABBJTlNUX01TQ19IQV9WSVJUAgAEAAAAZAMAAQG8N/Kba2f53+Rj7bN0En1MmpFrvPo+QBSk0smG9XCVZ8lmwYTCggTSLdHDG8kR1/AsSz7nr3v87H+4GIuY+Ktjw7Ug1a8xhBRUabSjz5pOm34ZZwG8uC38sbgVfIXEZJd+jukvAijyRqnrud5MX24vozW/tVMYj4GHCmrdc176tA==",
- "LIC_SERVER_BYPASS_URI": "file:///var/opt/MetaSwitch/craft/ftp/META-L011001-20170316.byp"
- }
+ "request-parameters": {
+ "vnf-type": "ISBC",
+ "vnf-host-ip-address": "135.21.166.39",
+ "service-instance-id": "ibcx0001vm001",
+ "site-location": "Middletown",
+ "vnf-name": "ibcx0001v",
+ "vm": [
+ {
+ "vm-name": "ibcx0001vm001",
+ "vnfc": [
+ {
+ "vnfc-name": "ibcx0001vm001ssc001",
+ "vnfc-function-code": "ssc",
+ "vnfc-type": "vISBC – ssc",
+ "ipaddress-v4-oam-vip": "12.1.1.1",
+ "group-notation": "ibcx0001vm001ssc001pair"
+ }
+ ]
+ },
+ {
+ "vm-name": "ibcx0001vm002",
+ "vnfc": [
+ {
+ "vnfc-name": "ibcx0001vm002ssc001",
+ "vnfc-function-code": "ssc",
+ "vnfc-type": "vISBC – ssc",
+ "group-notation": "ibcx0001vm002ssc001pair"
+ }
+ ]
+ }
+ ]
+ },
+ "configuration": {
+ "configuration-string": "config\r\nsystem\r\nservice-interface serv1\r\nipv4\r\ngateway-ip-address 12.12.12.12\r\n"
+ },
+ "configuration-parameters": {
+ "LOCAL_ACCESS_IP_ADDR": "192.168.30.1",
+ "LOCAL_CORE_ALT_IP_ADDR": "fd00:f4d5:ea06:1:0:110:136:254",
+ "LOCAL_BILLING_IP_ADDR": "192.168.30.1",
+ "REMOTE_ACCESS_IP_ADDR": "192.168.30.1",
+ "REMOTE_CORE_ALT_IP_ADDR": "fd00:f4d5:ea06:1:0:110:136:254",
+ "REMOTE_BILLING_IP_ADDR": "192.168.30.1",
+ "CORE_NETWORK_PLEN": "32",
+ "CORE_NETWORK_ALT_PLEN": "126",
+ "CORE_NETWORK_DEFAULT_GATEWAY": "192.168.30.1",
+ "CORE_NETWORK_ALT_DEFAULT_GATEWAY": "fd00:f4d5:ea06:1:0:110:136:254",
+ "ACCESS_NETWORK_PLEN": "32",
+ "ACCESS_NETWORK_ALT_PLEN": "126",
+ "ACCESS_NETWORK_DEFAULT_GATEWAY": "135.25.69.147",
+ "ACCESS_NETWORK_ALT_DEFAULT_GATEWAY": "fd00:f4d5:ea06:1:0:110:136:254",
+ "BILLING_NETWORK_PLEN": "32",
+ "BILLING_NETWORK_DEFAULT_GATEWAY": "135.25.69.147",
+ "VIRT_CORE_IP_ADDR": "135.25.69.147",
+ "VIRT_CORE_ALT_IP_ADDR": "fd00:f4d5:ea06:1:0:110:136:254",
+ "VIRT_ACCESS_IP_ADDR": "135.25.69.147",
+ "VIRT_ACCESS_ALT_IP_ADDR": "fd00:f4d5:ea06:1:0:110:136:254",
+ "VIRT_BILLING_IP_ADDR": "135.25.69.147",
+ "DNS_SERVERS": "135.25.69.147",
+ "SNMP_CLIENT_1": "135.25.69.147",
+ "SNMP_CLIENT_2": "135.25.69.147",
+ "SNMP_COMMUNITY_STRING_CLIENT1": "135.25.69.147",
+ "SNMP_COMMUNITY_STRING_CLIENT2": "135.25.69.147",
+ "BILLING_SERVER_1": "135.25.69.147",
+ "BILLING_SERVER_2": "135.25.69.147",
+ "IMS_CORE_ALT_IP_ADDR1": "135.25.69.147",
+ "IMS_CORE_ALT_IP_ADDR2": "135.25.69.147",
+ "IMS_CORE_ALT_IP_ADDR3": "135.25.69.147",
+ "IMS_CORE_ALT_IP_ADDR4": "135.25.69.147",
+ "OAM_VIP_HOSTNAME": "135.25.69.147",
+ "DG_APP_SERVER1": "135.25.69.147",
+ "DG_APP_SERVER2": "135.25.69.147",
+ "CTS_IP_RANGE": "135.25.69.147",
+ "CTS_PREFIX_LENGTH": "26",
+ "LICENSE_KEY": "AQGpAQA/AQAEAAANBAIAGY1mwTCGq0adcFTpiuwgDxAFwlmxPP8TYmQDAAEBBAAABQAEVwMAAAYABFhR3QAHAARXAwAAAgFkAQAoAQABBAIAB0MwMjc1MTgDAAL//wYAB0wwMTEwMDEHAAQAAAABCQABAAIBNgEBMwEAAQECAAEAAwAEAAGGoAQABP////8FAASAADTfBgAE/////wcAFAEABkcuNzI5QQIABAAAE4gDAAEBBwARAQADQU1SAgAEAAATiAMAAQEHABQBAAZBTVItV0ICAAQAABOIAwABAQsABAABhqAMAB4BABBJTlNUX0lTQ19TQV9WSVJUAgAEAAAAZAMAAQEMAB4BABBJTlNUX0lTQ19IQV9WSVJUAgAEAAAAZAMAAQEMAB4BABBJTlNUX1NTQ19TQV9WSVJUAgAEAAAAZAMAAQEMAB4BABBJTlNUX1NTQ19IQV9WSVJUAgAEAAAAZAMAAQEMAB4BABBJTlNUX01TQ19TQV9WSVJUAgAEAAAAZAMAAQEMAB4BABBJTlNUX01TQ19IQV9WSVJUAgAEAAAAZAMAAQG8N/Kba2f53+Rj7bN0En1MmpFrvPo+QBSk0smG9XCVZ8lmwYTCggTSLdHDG8kR1/AsSz7nr3v87H+4GIuY+Ktjw7Ug1a8xhBRUabSjz5pOm34ZZwG8uC38sbgVfIXEZJd+jukvAijyRqnrud5MX24vozW/tVMYj4GHCmrdc176tA==",
+ "LIC_SERVER_BYPASS_URI": "file:///var/opt/MetaSwitch/craft/ftp/META-L011001-20170316.byp"
+ }
}
-/*-
- * ============LICENSE_START=======================================================
- * ONAP : APP-C
- * ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
- * ================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * ============LICENSE_END=========================================================
- */
-
{
- "request-parameters": {
- "vnf-type": "ISBC",
- "vnf-host-ip-address": "135.21.166.39",
- "service-instance-id": "ibcx0001vm001",
- "site-location": "Middletown",
- "vnf-name": "ibcx0001v",
- "vm": [
- {
- "vm-name": "ibcx0001vm001",
- "vnfc": [
- {
- "vnfc-name": "ibcx0001vm001ssc001",
- "vnfc-function-code": "ssc",
- "vnfc-type": "vISBC – ssc",
- "ipaddress-v4-oam-vip": "12.1.1.1",
- "group-notation": "ibcx0001vm001ssc001pair"
- }
- ]
- },
- {
- "vm-name": "ibcx0001vm002",
- "vnfc": [
- {
- "vnfc-name": "ibcx0001vm002ssc001",
- "vnfc-function-code": "ssc",
- "vnfc-type": "vISBC – ssc",
- "group-notation": "ibcx0001vm002ssc001pair"
- }
- ]
- }
- ]
- },
- "configuration": {
- "configuration-json": {
- "config": {
- "group": {
- "interface": "interface1"
- }
- }
- }
- },
- "configuration-parameters": {
- "LOCAL_ACCESS_IP_ADDR": "192.168.30.1",
- "LOCAL_CORE_ALT_IP_ADDR": "fd00:f4d5:ea06:1:0:110:136:254",
- "LOCAL_BILLING_IP_ADDR": "192.168.30.1",
- "REMOTE_ACCESS_IP_ADDR": "192.168.30.1",
- "REMOTE_CORE_ALT_IP_ADDR": "fd00:f4d5:ea06:1:0:110:136:254",
- "REMOTE_BILLING_IP_ADDR": "192.168.30.1",
- "CORE_NETWORK_PLEN": "32",
- "CORE_NETWORK_ALT_PLEN": "126",
- "CORE_NETWORK_DEFAULT_GATEWAY": "192.168.30.1",
- "CORE_NETWORK_ALT_DEFAULT_GATEWAY": "fd00:f4d5:ea06:1:0:110:136:254",
- "ACCESS_NETWORK_PLEN": "32",
- "ACCESS_NETWORK_ALT_PLEN": "126",
- "ACCESS_NETWORK_DEFAULT_GATEWAY": "135.25.69.147",
- "ACCESS_NETWORK_ALT_DEFAULT_GATEWAY": "fd00:f4d5:ea06:1:0:110:136:254",
- "BILLING_NETWORK_PLEN": "32",
- "BILLING_NETWORK_DEFAULT_GATEWAY": "135.25.69.147",
- "VIRT_CORE_IP_ADDR": "135.25.69.147",
- "VIRT_CORE_ALT_IP_ADDR": "fd00:f4d5:ea06:1:0:110:136:254",
- "VIRT_ACCESS_IP_ADDR": "135.25.69.147",
- "VIRT_ACCESS_ALT_IP_ADDR": "fd00:f4d5:ea06:1:0:110:136:254",
- "VIRT_BILLING_IP_ADDR": "135.25.69.147",
- "DNS_SERVERS": "135.25.69.147",
- "SNMP_CLIENT_1": "135.25.69.147",
- "SNMP_CLIENT_2": "135.25.69.147",
- "SNMP_COMMUNITY_STRING_CLIENT1": "135.25.69.147",
- "SNMP_COMMUNITY_STRING_CLIENT2": "135.25.69.147",
- "BILLING_SERVER_1": "135.25.69.147",
- "BILLING_SERVER_2": "135.25.69.147",
- "IMS_CORE_ALT_IP_ADDR1": "135.25.69.147",
- "IMS_CORE_ALT_IP_ADDR2": "135.25.69.147",
- "IMS_CORE_ALT_IP_ADDR3": "135.25.69.147",
- "IMS_CORE_ALT_IP_ADDR4": "135.25.69.147",
- "OAM_VIP_HOSTNAME": "135.25.69.147",
- "DG_APP_SERVER1": "135.25.69.147",
- "DG_APP_SERVER2": "135.25.69.147",
- "CTS_IP_RANGE": "135.25.69.147",
- "CTS_PREFIX_LENGTH": "26",
- "LICENSE_KEY": "AQGpAQA/AQAEAAANBAIAGY1mwTCGq0adcFTpiuwgDxAFwlmxPP8TYmQDAAEBBAAABQAEVwMAAAYABFhR3QAHAARXAwAAAgFkAQAoAQABBAIAB0MwMjc1MTgDAAL//wYAB0wwMTEwMDEHAAQAAAABCQABAAIBNgEBMwEAAQECAAEAAwAEAAGGoAQABP////8FAASAADTfBgAE/////wcAFAEABkcuNzI5QQIABAAAE4gDAAEBBwARAQADQU1SAgAEAAATiAMAAQEHABQBAAZBTVItV0ICAAQAABOIAwABAQsABAABhqAMAB4BABBJTlNUX0lTQ19TQV9WSVJUAgAEAAAAZAMAAQEMAB4BABBJTlNUX0lTQ19IQV9WSVJUAgAEAAAAZAMAAQEMAB4BABBJTlNUX1NTQ19TQV9WSVJUAgAEAAAAZAMAAQEMAB4BABBJTlNUX1NTQ19IQV9WSVJUAgAEAAAAZAMAAQEMAB4BABBJTlNUX01TQ19TQV9WSVJUAgAEAAAAZAMAAQEMAB4BABBJTlNUX01TQ19IQV9WSVJUAgAEAAAAZAMAAQG8N/Kba2f53+Rj7bN0En1MmpFrvPo+QBSk0smG9XCVZ8lmwYTCggTSLdHDG8kR1/AsSz7nr3v87H+4GIuY+Ktjw7Ug1a8xhBRUabSjz5pOm34ZZwG8uC38sbgVfIXEZJd+jukvAijyRqnrud5MX24vozW/tVMYj4GHCmrdc176tA==",
- "LIC_SERVER_BYPASS_URI": "file:///var/opt/MetaSwitch/craft/ftp/META-L011001-20170316.byp"
- }
+ "request-parameters": {
+ "vnf-type": "ISBC",
+ "vnf-host-ip-address": "135.21.166.39",
+ "service-instance-id": "ibcx0001vm001",
+ "site-location": "Middletown",
+ "vnf-name": "ibcx0001v",
+ "vm": [
+ {
+ "vm-name": "ibcx0001vm001",
+ "vnfc": [
+ {
+ "vnfc-name": "ibcx0001vm001ssc001",
+ "vnfc-function-code": "ssc",
+ "vnfc-type": "vISBC – ssc",
+ "ipaddress-v4-oam-vip": "12.1.1.1",
+ "group-notation": "ibcx0001vm001ssc001pair"
+ }
+ ]
+ },
+ {
+ "vm-name": "ibcx0001vm002",
+ "vnfc": [
+ {
+ "vnfc-name": "ibcx0001vm002ssc001",
+ "vnfc-function-code": "ssc",
+ "vnfc-type": "vISBC – ssc",
+ "group-notation": "ibcx0001vm002ssc001pair"
+ }
+ ]
+ }
+ ]
+ },
+ "configuration": {
+ "configuration-json": {
+ "config": {
+ "group": {
+ "interface": "interface1"
+ }
+ }
+ }
+ },
+ "configuration-parameters": {
+ "LOCAL_ACCESS_IP_ADDR": "192.168.30.1",
+ "LOCAL_CORE_ALT_IP_ADDR": "fd00:f4d5:ea06:1:0:110:136:254",
+ "LOCAL_BILLING_IP_ADDR": "192.168.30.1",
+ "REMOTE_ACCESS_IP_ADDR": "192.168.30.1",
+ "REMOTE_CORE_ALT_IP_ADDR": "fd00:f4d5:ea06:1:0:110:136:254",
+ "REMOTE_BILLING_IP_ADDR": "192.168.30.1",
+ "CORE_NETWORK_PLEN": "32",
+ "CORE_NETWORK_ALT_PLEN": "126",
+ "CORE_NETWORK_DEFAULT_GATEWAY": "192.168.30.1",
+ "CORE_NETWORK_ALT_DEFAULT_GATEWAY": "fd00:f4d5:ea06:1:0:110:136:254",
+ "ACCESS_NETWORK_PLEN": "32",
+ "ACCESS_NETWORK_ALT_PLEN": "126",
+ "ACCESS_NETWORK_DEFAULT_GATEWAY": "135.25.69.147",
+ "ACCESS_NETWORK_ALT_DEFAULT_GATEWAY": "fd00:f4d5:ea06:1:0:110:136:254",
+ "BILLING_NETWORK_PLEN": "32",
+ "BILLING_NETWORK_DEFAULT_GATEWAY": "135.25.69.147",
+ "VIRT_CORE_IP_ADDR": "135.25.69.147",
+ "VIRT_CORE_ALT_IP_ADDR": "fd00:f4d5:ea06:1:0:110:136:254",
+ "VIRT_ACCESS_IP_ADDR": "135.25.69.147",
+ "VIRT_ACCESS_ALT_IP_ADDR": "fd00:f4d5:ea06:1:0:110:136:254",
+ "VIRT_BILLING_IP_ADDR": "135.25.69.147",
+ "DNS_SERVERS": "135.25.69.147",
+ "SNMP_CLIENT_1": "135.25.69.147",
+ "SNMP_CLIENT_2": "135.25.69.147",
+ "SNMP_COMMUNITY_STRING_CLIENT1": "135.25.69.147",
+ "SNMP_COMMUNITY_STRING_CLIENT2": "135.25.69.147",
+ "BILLING_SERVER_1": "135.25.69.147",
+ "BILLING_SERVER_2": "135.25.69.147",
+ "IMS_CORE_ALT_IP_ADDR1": "135.25.69.147",
+ "IMS_CORE_ALT_IP_ADDR2": "135.25.69.147",
+ "IMS_CORE_ALT_IP_ADDR3": "135.25.69.147",
+ "IMS_CORE_ALT_IP_ADDR4": "135.25.69.147",
+ "OAM_VIP_HOSTNAME": "135.25.69.147",
+ "DG_APP_SERVER1": "135.25.69.147",
+ "DG_APP_SERVER2": "135.25.69.147",
+ "CTS_IP_RANGE": "135.25.69.147",
+ "CTS_PREFIX_LENGTH": "26",
+ "LICENSE_KEY": "AQGpAQA/AQAEAAANBAIAGY1mwTCGq0adcFTpiuwgDxAFwlmxPP8TYmQDAAEBBAAABQAEVwMAAAYABFhR3QAHAARXAwAAAgFkAQAoAQABBAIAB0MwMjc1MTgDAAL//wYAB0wwMTEwMDEHAAQAAAABCQABAAIBNgEBMwEAAQECAAEAAwAEAAGGoAQABP////8FAASAADTfBgAE/////wcAFAEABkcuNzI5QQIABAAAE4gDAAEBBwARAQADQU1SAgAEAAATiAMAAQEHABQBAAZBTVItV0ICAAQAABOIAwABAQsABAABhqAMAB4BABBJTlNUX0lTQ19TQV9WSVJUAgAEAAAAZAMAAQEMAB4BABBJTlNUX0lTQ19IQV9WSVJUAgAEAAAAZAMAAQEMAB4BABBJTlNUX1NTQ19TQV9WSVJUAgAEAAAAZAMAAQEMAB4BABBJTlNUX1NTQ19IQV9WSVJUAgAEAAAAZAMAAQEMAB4BABBJTlNUX01TQ19TQV9WSVJUAgAEAAAAZAMAAQEMAB4BABBJTlNUX01TQ19IQV9WSVJUAgAEAAAAZAMAAQG8N/Kba2f53+Rj7bN0En1MmpFrvPo+QBSk0smG9XCVZ8lmwYTCggTSLdHDG8kR1/AsSz7nr3v87H+4GIuY+Ktjw7Ug1a8xhBRUabSjz5pOm34ZZwG8uC38sbgVfIXEZJd+jukvAijyRqnrud5MX24vozW/tVMYj4GHCmrdc176tA==",
+ "LIC_SERVER_BYPASS_URI": "file:///var/opt/MetaSwitch/craft/ftp/META-L011001-20170316.byp"
+ }
}
-/*-
- * ============LICENSE_START=======================================================
- * ONAP : APP-C
- * ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
- * ================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * ============LICENSE_END=========================================================
- */
-
{
- "request-parameters": {
- "vnf-type": "ISBC",
- "vnf-host-ip-address": "135.21.166.39",
- "service-instance-id": "ibcx0001vm001",
- "site-location": "Middletown",
- "vnf-name": "ibcx0001v",
- "vm": [
- {
- "vm-name": "ibcx0001vm001",
- "vnfc": [
- {
- "vnfc-name": "ibcx0001vm001ssc001",
- "vnfc-function-code": "ssc",
- "vnfc-type": "vISBC – ssc",
- "ipaddress-v4-oam-vip": "12.1.1.1",
- "pair-number": "ibcx0001vm001ssc001pair"
- }
- ]
- },
- {
- "vm-name": "ibcx0001vm002",
- "vnfc": [
- {
- "vnfc-name": "ibcx0001vm002ssc001",
- "vnfc-function-code": "ssc",
- "vnfc-type": "vISBC – ssc",
- "pair-number": "ibcx0001vm002ssc001pair"
- }
- ]
- }
- ]
- },
- "configuration-parameters": {
- "LOCAL_ACCESS_IP_ADDR": "192.168.30.1",
- "LOCAL_CORE_ALT_IP_ADDR": "fd00:f4d5:ea06:1:0:110:136:254",
- "LOCAL_BILLING_IP_ADDR": "192.168.30.1",
- "REMOTE_ACCESS_IP_ADDR": "192.168.30.1",
- "REMOTE_CORE_ALT_IP_ADDR": "fd00:f4d5:ea06:1:0:110:136:254",
- "REMOTE_BILLING_IP_ADDR": "192.168.30.1",
- "CORE_NETWORK_PLEN": "32",
- "CORE_NETWORK_ALT_PLEN": "126",
- "CORE_NETWORK_DEFAULT_GATEWAY": "192.168.30.1",
- "CORE_NETWORK_ALT_DEFAULT_GATEWAY": "fd00:f4d5:ea06:1:0:110:136:254",
- "ACCESS_NETWORK_PLEN": "32",
- "ACCESS_NETWORK_ALT_PLEN": "126",
- "ACCESS_NETWORK_DEFAULT_GATEWAY": "135.25.69.147",
- "ACCESS_NETWORK_ALT_DEFAULT_GATEWAY": "fd00:f4d5:ea06:1:0:110:136:254",
- "BILLING_NETWORK_PLEN": "32",
- "BILLING_NETWORK_DEFAULT_GATEWAY": "135.25.69.147",
- "VIRT_CORE_IP_ADDR": "135.25.69.147",
- "VIRT_CORE_ALT_IP_ADDR": "fd00:f4d5:ea06:1:0:110:136:254",
- "VIRT_ACCESS_IP_ADDR": "135.25.69.147",
- "VIRT_ACCESS_ALT_IP_ADDR": "fd00:f4d5:ea06:1:0:110:136:254",
- "VIRT_BILLING_IP_ADDR": "135.25.69.147",
- "DNS_SERVERS": "135.25.69.147",
- "SNMP_CLIENT_1": "135.25.69.147",
- "SNMP_CLIENT_2": "135.25.69.147",
- "SNMP_COMMUNITY_STRING_CLIENT1": "135.25.69.147",
- "SNMP_COMMUNITY_STRING_CLIENT2": "135.25.69.147",
- "BILLING_SERVER_1": "135.25.69.147",
- "BILLING_SERVER_2": "135.25.69.147",
- "IMS_CORE_ALT_IP_ADDR1": "135.25.69.147",
- "IMS_CORE_ALT_IP_ADDR2": "135.25.69.147",
- "IMS_CORE_ALT_IP_ADDR3": "135.25.69.147",
- "IMS_CORE_ALT_IP_ADDR4": "135.25.69.147",
- "OAM_VIP_HOSTNAME": "135.25.69.147",
- "DG_APP_SERVER1": "135.25.69.147",
- "DG_APP_SERVER2": "135.25.69.147",
- "CTS_IP_RANGE": "135.25.69.147",
- "CTS_PREFIX_LENGTH": "26",
- "LICENSE_KEY": "AQGpAQA/AQAEAAANBAIAGY1mwTCGq0adcFTpiuwgDxAFwlmxPP8TYmQDAAEBBAAABQAEVwMAAAYABFhR3QAHAARXAwAAAgFkAQAoAQABBAIAB0MwMjc1MTgDAAL//wYAB0wwMTEwMDEHAAQAAAABCQABAAIBNgEBMwEAAQECAAEAAwAEAAGGoAQABP////8FAASAADTfBgAE/////wcAFAEABkcuNzI5QQIABAAAE4gDAAEBBwARAQADQU1SAgAEAAATiAMAAQEHABQBAAZBTVItV0ICAAQAABOIAwABAQsABAABhqAMAB4BABBJTlNUX0lTQ19TQV9WSVJUAgAEAAAAZAMAAQEMAB4BABBJTlNUX0lTQ19IQV9WSVJUAgAEAAAAZAMAAQEMAB4BABBJTlNUX1NTQ19TQV9WSVJUAgAEAAAAZAMAAQEMAB4BABBJTlNUX1NTQ19IQV9WSVJUAgAEAAAAZAMAAQEMAB4BABBJTlNUX01TQ19TQV9WSVJUAgAEAAAAZAMAAQEMAB4BABBJTlNUX01TQ19IQV9WSVJUAgAEAAAAZAMAAQG8N/Kba2f53+Rj7bN0En1MmpFrvPo+QBSk0smG9XCVZ8lmwYTCggTSLdHDG8kR1/AsSz7nr3v87H+4GIuY+Ktjw7Ug1a8xhBRUabSjz5pOm34ZZwG8uC38sbgVfIXEZJd+jukvAijyRqnrud5MX24vozW/tVMYj4GHCmrdc176tA==",
- "LIC_SERVER_BYPASS_URI": "file:///var/opt/MetaSwitch/craft/ftp/META-L011001-20170316.byp"
- }
+ "request-parameters": {
+ "vnf-type": "ISBC",
+ "vnf-host-ip-address": "192.168.16.3",
+ "service-instance-id": "ibcx0001vm001",
+ "site-location": "SomePlace",
+ "vnf-name": "ibcx0001v",
+ "vm": [
+ {
+ "vm-name": "ibcx0001vm001",
+ "vnfc": [
+ {
+ "vnfc-name": "ibcx0001vm001ssc001",
+ "vnfc-function-code": "ssc",
+ "vnfc-type": "vISBC – ssc",
+ "ipaddress-v4-oam-vip": "192.168.1.1",
+ "pair-number": "ibcx0001vm001ssc001pair"
+ }
+ ]
+ },
+ {
+ "vm-name": "ibcx0001vm002",
+ "vnfc": [
+ {
+ "vnfc-name": "ibcx0001vm002ssc001",
+ "vnfc-function-code": "ssc",
+ "vnfc-type": "vISBC – ssc",
+ "pair-number": "ibcx0001vm002ssc001pair"
+ }
+ ]
+ }
+ ]
+ },
+ "configuration-parameters": {
+ "LOCAL_ACCESS_IP_ADDR": "192.168.30.1",
+ "LOCAL_CORE_ALT_IP_ADDR": "0:0:0:0:192:168:30:1",
+ "LOCAL_BILLING_IP_ADDR": "192.168.30.1",
+ "REMOTE_ACCESS_IP_ADDR": "192.168.30.1",
+ "REMOTE_CORE_ALT_IP_ADDR": "0:0:0:0:192:168:30:1",
+ "REMOTE_BILLING_IP_ADDR": "192.168.30.1",
+ "CORE_NETWORK_PLEN": "32",
+ "CORE_NETWORK_ALT_PLEN": "126",
+ "CORE_NETWORK_DEFAULT_GATEWAY": "192.168.30.1",
+ "CORE_NETWORK_ALT_DEFAULT_GATEWAY": "0:0:0:0:192:168:30:1",
+ "ACCESS_NETWORK_PLEN": "32",
+ "ACCESS_NETWORK_ALT_PLEN": "126",
+ "ACCESS_NETWORK_DEFAULT_GATEWAY": "192.168.6.14",
+ "ACCESS_NETWORK_ALT_DEFAULT_GATEWAY": "0:0:0:0:192:168:30:1",
+ "BILLING_NETWORK_PLEN": "32",
+ "BILLING_NETWORK_DEFAULT_GATEWAY": "192.168.6.14",
+ "VIRT_CORE_IP_ADDR": "192.168.6.14",
+ "VIRT_CORE_ALT_IP_ADDR": "0:0:0:0:192:168:30:1",
+ "VIRT_ACCESS_IP_ADDR": "192.168.6.14",
+ "VIRT_ACCESS_ALT_IP_ADDR": "0:0:0:0:192:168:30:1",
+ "VIRT_BILLING_IP_ADDR": "192.168.6.14",
+ "DNS_SERVERS": "192.168.6.14",
+ "SNMP_CLIENT_1": "192.168.6.14",
+ "SNMP_CLIENT_2": "192.168.6.14",
+ "SNMP_COMMUNITY_STRING_CLIENT1": "192.168.6.14",
+ "SNMP_COMMUNITY_STRING_CLIENT2": "192.168.6.14",
+ "BILLING_SERVER_1": "192.168.6.14",
+ "BILLING_SERVER_2": "192.168.6.14",
+ "IMS_CORE_ALT_IP_ADDR1": "192.168.6.14",
+ "IMS_CORE_ALT_IP_ADDR2": "192.168.6.14",
+ "IMS_CORE_ALT_IP_ADDR3": "192.168.6.14",
+ "IMS_CORE_ALT_IP_ADDR4": "192.168.6.14",
+ "OAM_VIP_HOSTNAME": "192.168.6.14",
+ "DG_APP_SERVER1": "192.168.6.14",
+ "DG_APP_SERVER2": "192.168.6.14",
+ "CTS_IP_RANGE": "192.168.6.14",
+ "CTS_PREFIX_LENGTH": "26",
+ "LICENSE_KEY": "Abcdefghijklmnop123456789",
+ "LIC_SERVER_BYPASS_URI": "file:///var/opt/MetaSwitch/craft/ftp/META-L011001-20170316.byp"
+ }
}
-/*-
- * ============LICENSE_START=======================================================
- * ONAP : APP-C
- * ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
- * ================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * ============LICENSE_END=========================================================
- */
-
{
- "request-parameters": {
- "vnf-type": "ISBC",
- "vnf-host-ip-address": "135.21.166.39",
- "service-instance-id": "ibcx0001vm001",
- "site-location": "Middletown",
- "vnf-name": "ibcx0001v",
- "vm": [
- {
- "vm-name": "ibcx0001vm001",
- "vnfc": [
- {
- "vnfc-name": "ibcx0001vm001ssc001",
- "vnfc-function-code": "ssc",
- "vnfc-type": "vISBC – ssc",
- "ipaddress-v4-oam-vip": "12.1.1.1",
- "pair-number": "ibcx0001vm001ssc001pair"
- }
- ]
- },
- {
- "vm-name": "ibcx0001vm002",
- "vnfc": [
- {
- "vnfc-name": "ibcx0001vm002ssc001",
- "vnfc-function-code": "ssc",
- "vnfc-type": "vISBC – ssc",
- "pair-number": "ibcx0001vm002ssc001pair"
- }
- ]
- }
- ]
- }
+ "request-parameters": {
+ "vnf-type": "ISBC",
+ "vnf-host-ip-address": "192.168.16.3",
+ "service-instance-id": "ibcx0001vm001",
+ "site-location": "SomePlace",
+ "vnf-name": "ibcx0001v",
+ "vm": [
+ {
+ "vm-name": "ibcx0001vm001",
+ "vnfc": [
+ {
+ "vnfc-name": "ibcx0001vm001ssc001",
+ "vnfc-function-code": "ssc",
+ "vnfc-type": "vISBC – ssc",
+ "ipaddress-v4-oam-vip": "192.168.1.1",
+ "pair-number": "ibcx0001vm001ssc001pair"
+ }
+ ]
+ },
+ {
+ "vm-name": "ibcx0001vm002",
+ "vnfc": [
+ {
+ "vnfc-name": "ibcx0001vm002ssc001",
+ "vnfc-function-code": "ssc",
+ "vnfc-type": "vISBC – ssc",
+ "pair-number": "ibcx0001vm002ssc001pair"
+ }
+ ]
+ }
+ ]
+ }
}
-/*-
- * ============LICENSE_START=======================================================
- * ONAP : APP-C
- * ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
- * ================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * ============LICENSE_END=========================================================
- */
-
{
- "request-parameters": {
- "vnf-type": "ISBC",
- "vnf-host-ip-address": "135.21.166.39",
- "service-instance-id": "ibcx0001vm001",
- "site-location": "Middletown",
- "vnf-name": "ibcx0001v",
- "vm": [
- {
- "vm-name": "ibcx0001vm001",
- "vnfc": [
- {
- "vnfc-name": "ibcx0001vm001ssc001",
- "vnfc-function-code": "ssc",
- "vnfc-type": "vISBC – ssc",
- "ipaddress-v4-oam-vip": "12.1.1.1",
- "group-notation": "ibcx0001vm001ssc001pair"
- }
- ]
- },
- {
- "vm-name": "ibcx0001vm002",
- "vnfc": [
- {
- "vnfc-name": "ibcx0001vm002ssc001",
- "vnfc-function-code": "ssc",
- "vnfc-type": "vISBC – ssc",
- "group-notation": "ibcx0001vm002ssc001pair"
- }
- ]
- }
- ],
- "template-name": "vISBC-ssc-change_template1"
-
- }
+ "request-parameters": {
+ "vnf-type": "ISBC",
+ "vnf-host-ip-address": "192.168.16.3",
+ "service-instance-id": "ibcx0001vm001",
+ "site-location": "SomePlace",
+ "vnf-name": "ibcx0001v",
+ "vm": [
+ {
+ "vm-name": "ibcx0001vm001",
+ "vnfc": [
+ {
+ "vnfc-name": "ibcx0001vm001ssc001",
+ "vnfc-function-code": "ssc",
+ "vnfc-type": "vISBC – ssc",
+ "ipaddress-v4-oam-vip": "192.168.1.1",
+ "group-notation": "ibcx0001vm001ssc001pair"
+ }
+ ]
+ },
+ {
+ "vm-name": "ibcx0001vm002",
+ "vnfc": [
+ {
+ "vnfc-name": "ibcx0001vm002ssc001",
+ "vnfc-function-code": "ssc",
+ "vnfc-type": "vISBC – ssc",
+ "group-notation": "ibcx0001vm002ssc001pair"
+ }
+ ]
+ }
+ ],
+ "template-name": "vISBC-ssc-change_template1"
+ }
}
-/*-
- * ============LICENSE_START=======================================================
- * ONAP : APP-C
- * ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
- * ================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * ============LICENSE_END=========================================================
- */
-
-{ "LOCAL_ACCESS_IP_ADDR": "192.168.30.1", "LOCAL_BILLING_IP_ADDR": "192.168.30.1","REMOTE_CORE_ALT_IP_ADDR": "fd00:f4d5:ea06:1:0:110:136:254","REMOTE_BILLING_IP_ADDR": "192.168.30.1","CORE_NETWORK_PLEN": "32"}
+{
+ "LOCAL_ACCESS_IP_ADDR": "192.168.30.1",
+ "LOCAL_BILLING_IP_ADDR": "192.168.30.1",
+ "REMOTE_CORE_ALT_IP_ADDR": "0:0:0:0:192:168:30:1",
+ "REMOTE_BILLING_IP_ADDR": "192.168.30.1",
+ "CORE_NETWORK_PLEN": "32"
+}
-/*-
- * ============LICENSE_START=======================================================
- * ONAP : APP-C
- * ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
- * ================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * ============LICENSE_END=========================================================
- */
-
{
- "node0_hostname" : "appc-host",
- "node0_backup_router_address": "2001:1890:1253::192:168:100:1",
- "node0_tacplus_server_name1": "servername1",
+ "node0_hostname": "appc-host",
+ "node0_backup_router_address": "0:0:0:0:192:168:100:1",
+ "node0_tacplus_server_name1": "servername1",
"node0_tacplus_server_name2": "servername2"
-
}
<!--
============LICENSE_START=======================================================
- ONAP : APP-C
+ ONAP : APPC
================================================================================
- Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+ Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
================================================================================
+ Copyright (C) 2017 Amdocs
+ =============================================================================
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
+
+ ECOMP is a trademark and service mark of AT&T Intellectual Property.
============LICENSE_END=========================================================
-->
<configuration xmlns="http://xml.juniper.net/xnm/1.1/xnm"
- xmlns:a="http://xml.juniper.net/junos/15.1X49/junos">
- <version>15.1X49-D50.3</version>
- <groups>
- <name>node0</name>
- <system>
- <host-name>$node0_hostname</host-name>
- <backup-router>
- <address>$node0_backup_router_address</address>
- <destination>0.0.0.0/0</destination>
- </backup-router>
- <tacplus-server>
- <name>$node0_tacplus_server_name1</name>
- <source-address>$node0_tacplus_server_source_address1
- </source-address>
- </tacplus-server>
- <tacplus-server>
- <name>$node0_tacplus_server_name2</name>
- <source-address>$node0_tacplus_server_source_address1
- </source-address>
- </tacplus-server>
- </system>
- </groups>
-
+ xmlns:a="http://xml.juniper.net/junos/15.1X49/junos">
+ <version>15.1X49-D50.3</version>
+ <groups>
+ <name>node0</name>
+ <system>
+ <host-name>$node0_hostname</host-name>
+ <backup-router>
+ <address>$node0_backup_router_address</address>
+ <destination>0.0.0.0/0</destination>
+ </backup-router>
+ <tacplus-server>
+ <name>$node0_tacplus_server_name1</name>
+ <source-address>$node0_tacplus_server_source_address1
+ </source-address>
+ </tacplus-server>
+ <tacplus-server>
+ <name>$node0_tacplus_server_name2</name>
+ <source-address>$node0_tacplus_server_source_address1
+ </source-address>
+ </tacplus-server>
+ </system>
+ </groups>
+
</configuration>
<features name="sdnc-dg-loader-${project.version}" xmlns="http://karaf.apache.org/xmlns/features/v1.2.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://karaf.apache.org/xmlns/features/v1.2.0 http://karaf.apache.org/xmlns/features/v1.2.0">
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://karaf.apache.org/xmlns/features/v1.2.0 http://karaf.apache.org/xmlns/features/v1.2.0">
- <repository>mvn:org.opendaylight.mdsal/features-mdsal/${odl.mdsal.version}/xml/features</repository>
- <feature name='sdnc-dg-loader' description="SDNC DG Loader"
- version='${project.version}'>
- <!-- Most applications will have a dependency on the ODL MD-SAL Broker -->
- <feature>odl-mdsal-broker</feature>
- <feature>sdnc-sli</feature>
- <bundle>mvn:commons-lang/commons-lang/2.6</bundle>
- <bundle>wrap:mvn:com.att.eelf/eelf-core/${eelf.version}</bundle>
- <bundle>mvn:ch.qos.logback/logback-core/${logback.version}</bundle>
- <bundle>mvn:ch.qos.logback/logback-classic/${logback.version}</bundle>
- <bundle>mvn:org.onap.appc.plugins/dg-loader-provider/${project.version}</bundle>
- </feature>
+ <repository>mvn:org.opendaylight.mdsal/features-mdsal/${odl.mdsal.version}/xml/features</repository>
+ <feature name='sdnc-dg-loader' description="SDNC DG Loader"
+ version='${project.version}'>
+ <!-- Most applications will have a dependency on the ODL MD-SAL Broker -->
+ <feature>odl-mdsal-broker</feature>
+ <feature>sdnc-sli</feature>
+ <bundle>mvn:commons-lang/commons-lang/2.6</bundle>
+ <bundle>wrap:mvn:com.att.eelf/eelf-core/${eelf.version}</bundle>
+ <bundle>mvn:ch.qos.logback/logback-core/${logback.version}</bundle>
+ <bundle>mvn:ch.qos.logback/logback-classic/${logback.version}</bundle>
+ <bundle>mvn:org.onap.appc.plugins/dg-loader-provider/${project.version}</bundle>
+ </feature>
</features>
<artifactId>jcl-over-slf4j</artifactId>
</dependency>
<dependency>
- <groupId>org.powermock</groupId>
+ <groupId>org.powermock</groupId>
<artifactId>powermock-api-mockito</artifactId>
<version>1.6.4</version>
<scope>test</scope>
/*-
* ============LICENSE_START=======================================================
- * ONAP : APP-C
+ * ONAP : APPC
* ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
* ================================================================================
+ * Copyright (C) 2017 Amdocs
+ * =============================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
+ *
+ * ECOMP is a trademark and service mark of AT&T Intellectual Property.
* ============LICENSE_END=========================================================
*/
/*-
* ============LICENSE_START=======================================================
- * ONAP : APP-C
+ * ONAP : APPC
* ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
* ================================================================================
+ * Copyright (C) 2017 Amdocs
+ * =============================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
+ *
+ * ECOMP is a trademark and service mark of AT&T Intellectual Property.
* ============LICENSE_END=========================================================
*/
/*-
* ============LICENSE_START=======================================================
- * ONAP : APP-C
+ * ONAP : APPC
* ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
* ================================================================================
* Copyright (C) 2017 Amdocs
* =============================================================================
/*-
* ============LICENSE_START=======================================================
- * ONAP : APP-C
+ * ONAP : APPC
* ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
* ================================================================================
* Copyright (C) 2017 Amdocs
* =============================================================================
###
# ============LICENSE_START=======================================================
-# ONAP : APP-C
+# ONAP : APPC
# ================================================================================
-# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
# ================================================================================
+# Copyright (C) 2017 Amdocs
+# =============================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
# ============LICENSE_END=========================================================
###
/*-
* ============LICENSE_START=======================================================
- * ONAP : APP-C
+ * ONAP : APPC
* ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
* ================================================================================
+ * Copyright (C) 2017 Amdocs
+ * =============================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
+ *
+ * ECOMP is a trademark and service mark of AT&T Intellectual Property.
* ============LICENSE_END=========================================================
*/
xmlStr += node.xml;
startTag = getStartTag(node);
//special handling for break node
- if(xmlStr != undefined && xmlStr != null && xmlStr.trim() == "<break>"){
- fullXmlStr += "<break/>";
- }else{
- fullXmlStr +=xmlStr;
- }
+ if(xmlStr != undefined && xmlStr != null && xmlStr.trim() == "<break>"){
+ fullXmlStr += "<break/>";
+ }else{
+ fullXmlStr +=xmlStr;
+ }
/*
if(level > 0){
var spacing = Array(level).join(" ");
//append end tag
if (startTag != "") {
- if(startTag != "break"){
- fullXmlStr += "</" + startTag + ">";
- }
+ if(startTag != "break"){
+ fullXmlStr += "</" + startTag + ">";
+ }
/*
if(level >0){
var spacing = Array(level).join(" ");
###
# ============LICENSE_START=======================================================
-# ONAP : APP-C
+# ONAP : APPC
# ================================================================================
-# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
# ================================================================================
+# Copyright (C) 2017 Amdocs
+# =============================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
# ============LICENSE_END=========================================================
###
}
- @Override
+
public void registerNodeType(String nodeType) throws SvcLogicException {
// TODO Auto-generated method stub
}
- @Override
public void unregisterNodeType(String nodeType) throws SvcLogicException {
// TODO Auto-generated method stub
}
- @Override
+
public boolean isValidNodeType(String nodeType) throws SvcLogicException {
// TODO Auto-generated method stub
return true;
public void delete(String module, String rpc, String version, String mode)
throws SvcLogicException {
// TODO Auto-generated method stub
-
}
@Override
public void activate(SvcLogicGraph graph) throws SvcLogicException {
// TODO Auto-generated method stub
-
+ }
+ public void activate(String module, String rpc, String version, String mode)
+ throws SvcLogicException {
+ // TODO Auto-generated method stub
}
}
-[{\r
- "id": "1606180e.6254c",\r
- "type": "dgstart",\r
- "name": "DGSTART",\r
- "outputs": 1,\r
- "x": 494.75,\r
- "y": 149.75,\r
- "z": "7174441c.9fb7f4",\r
- "wires": [\r
- ["f650067e.2ad7e"]\r
- ]\r
-}, {\r
- "id": "f650067e.2ad7e",\r
- "type": "service-logic",\r
- "name": "Appc 4.0.0",\r
- "module": "Appc",\r
- "version": "4.0.0",\r
- "comments": "",\r
- "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='Appc' version='4.0.0'>",\r
- "outputs": 1,\r
- "x": 642.75,\r
- "y": 151.75,\r
- "z": "7174441c.9fb7f4",\r
- "wires": [\r
- ["10b2117c.ee118f"]\r
- ]\r
-}, {\r
- "id": "e928ee64.3762c",\r
- "type": "block",\r
- "name": "block",\r
- "xml": "<block>\n",\r
- "atomic": "false",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 952.75,\r
- "y": 145.75,\r
- "z": "7174441c.9fb7f4",\r
- "wires": [\r
- ["342ce050.4a2fe8"]\r
- ]\r
-}, {\r
- "id": "342ce050.4a2fe8",\r
- "type": "returnSuccess",\r
- "name": "return success",\r
- "xml": "<return status='success'>\n\n",\r
- "comments": "",\r
- "x": 1115.75,\r
- "y": 146.75,\r
- "z": "7174441c.9fb7f4",\r
- "wires": []\r
-}, {\r
- "id": "10b2117c.ee118f",\r
- "type": "method",\r
- "name": "unitTest",\r
- "xml": "<method rpc='unitTestDG' mode='sync'>\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 815.75,\r
- "y": 147.75,\r
- "z": "7174441c.9fb7f4",\r
- "wires": [\r
- ["e928ee64.3762c"]\r
- ]\r
-}]\r
+[\r
+ {\r
+ "id": "1606180e.6254c",\r
+ "type": "dgstart",\r
+ "name": "DGSTART",\r
+ "outputs": 1,\r
+ "x": 494.75,\r
+ "y": 149.75,\r
+ "z": "7174441c.9fb7f4",\r
+ "wires": [\r
+ [\r
+ "f650067e.2ad7e"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "f650067e.2ad7e",\r
+ "type": "service-logic",\r
+ "name": "Appc 4.0.0",\r
+ "module": "Appc",\r
+ "version": "4.0.0",\r
+ "comments": "",\r
+ "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='Appc' version='4.0.0'>",\r
+ "outputs": 1,\r
+ "x": 642.75,\r
+ "y": 151.75,\r
+ "z": "7174441c.9fb7f4",\r
+ "wires": [\r
+ [\r
+ "10b2117c.ee118f"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "e928ee64.3762c",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 952.75,\r
+ "y": 145.75,\r
+ "z": "7174441c.9fb7f4",\r
+ "wires": [\r
+ [\r
+ "342ce050.4a2fe8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "342ce050.4a2fe8",\r
+ "type": "returnSuccess",\r
+ "name": "return success",\r
+ "xml": "<return status='success'>\n\n",\r
+ "comments": "",\r
+ "x": 1115.75,\r
+ "y": 146.75,\r
+ "z": "7174441c.9fb7f4",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "10b2117c.ee118f",\r
+ "type": "method",\r
+ "name": "unitTest",\r
+ "xml": "<method rpc='unitTestDG' mode='sync'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 815.75,\r
+ "y": 147.75,\r
+ "z": "7174441c.9fb7f4",\r
+ "wires": [\r
+ [\r
+ "e928ee64.3762c"\r
+ ]\r
+ ]\r
+ }\r
+]\r