+ },
+ {
+ "id": "c90fe181.73329",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error failed to call createAccessConnectivityService\" />\n",
+ "comments": "",
+ "x": 1915.4235076904297,
+ "y": 847.846700668335,
+ "z": "f135a623.0543d8",
+ "wires": []
+ },
+ {
+ "id": "45b79ec3.5bbd2",
+ "type": "save",
+ "name": "save:generic-vnf",
+ "xml": "<save plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" resource=\"generic-vnf\" key=\"generic-vnf.vnf-id = $vnf-id\" >\n<parameter name= \"vnf-id\" value = \"`$vnf-id`\"/>\n<parameter name= \"vnf-name\" value = \"`$vnf-name`\"/>\n<parameter name= \"vnf-type\" value = \"AccessConnectivity\"/>\n<parameter name= \"service-id\" value = \"`$network-topology-operation-input.service-information.service-id`\"/>\n<parameter name= \"prov-status\" value = \"ACTIVE\"/>\n<parameter name= \"orchestration-status\" value = \"Active\"/>\n<parameter name= \"is-closed-loop-disabled\" value = \"false\" />\n<parameter name= \"model-invariant-id\" value = \"`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`\"/>\n<parameter name= \"model-version-id\" value = \"`$network-topology-operation-input.network-information.onap-model-information.model-uuid`\"/>\n<parameter name= \"model-customization-id\" value = \"`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1560.5644626617432,
+ "y": 1289.0320949554443,
+ "z": "f135a623.0543d8",
+ "wires": [
+ [
+ "9720d237.9ab5a",
+ "ea7c0871.ebdfc8",
+ "9a4cfbb2.d3a8d8"
+ ]
+ ]
+ },
+ {
+ "id": "9720d237.9ab5a",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1796.7863178253174,
+ "y": 1160.9208526611328,
+ "z": "f135a623.0543d8",
+ "wires": [
+ [
+ "bbf8d78d.8c6dd8"
+ ]
+ ]
+ },
+ {
+ "id": "ea7c0871.ebdfc8",
+ "type": "failure",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1807.7621364593506,
+ "y": 1220.9367089271545,
+ "z": "f135a623.0543d8",
+ "wires": [
+ [
+ "f882f752.137d88"
+ ]
+ ]
+ },
+ {
+ "id": "bbf8d78d.8c6dd8",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Failure calling AAI to save generic-vnf\" />\n",
+ "comments": "",
+ "x": 2032.9288654327393,
+ "y": 1160.4923176765442,
+ "z": "f135a623.0543d8",
+ "wires": []
+ },
+ {
+ "id": "f882f752.137d88",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"generic-vnf instance does not exist in AAI\" />\n",
+ "comments": "",
+ "x": 2027.809663772583,
+ "y": 1221.4130234718323,
+ "z": "f135a623.0543d8",
+ "wires": []
+ },
+ {
+ "id": "9a4cfbb2.d3a8d8",
+ "type": "outcome",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1801.3729419708252,
+ "y": 1286.0631890296936,
+ "z": "f135a623.0543d8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6292b001.56889",
+ "type": "record",
+ "name": "log file",
+ "xml": " <record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n <parameter name=\"file\" value=\"/opt/oak/logx.txt\" />\n <parameter name=\"field1\" value=\"save generic-vnf success!\" />\n ",
+ "comments": "",
+ "outputs": 1,
+ "x": 2009.3731956481934,
+ "y": 1284.0633182525635,
+ "z": "f135a623.0543d8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "10ba27d1.b765f8",
+ "type": "save",
+ "name": "save:metadata",
+ "xml": "<save plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" resource=\"service-instance:metadata\"\n key=\"service-instance.service-instance-id = $network-topology-operation-input.service-information.service-id \n\tAND customer.global-customer-id = $network-topology-operation-input.service-information.global-customer-id\n\t AND service-subscription.service-type = $network-topology-operation-input.service-information.subscription-service-type\n\t AND service-instance.service-instance-id = $network-topology-operation-input.service-information.service-instance-id\" force=\"true\" pfx=\"tmp.AnAI-data\"\n >\n <parameter name=\"metadata.metadatum[0].metaname\" value=\"remote-id\" />\n <parameter name=\"metadata.metadatum[0].metaval\" value=\"`$prop.bbs.remote_id`\" />\n <parameter name=\"metadata.metadatum[1].metaname\" value=\"controller-service-id\" />\n <parameter name=\"metadata.metadatum[1].metaval\" value=\"`$prop.bbs.serviceID`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1542.0637893676758,
+ "y": 1452.0319232940674,
+ "z": "f135a623.0543d8",
+ "wires": [
+ [
+ "b441478d.1f9148",
+ "17bb11c4.8fa90e",
+ "ebf9ce7d.2261c"
+ ]
+ ]
+ },
+ {
+ "id": "b441478d.1f9148",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1772.5392990112305,
+ "y": 1383.396526813507,
+ "z": "f135a623.0543d8",
+ "wires": [
+ [
+ "e654ba85.7dfa08"
+ ]
+ ]
+ },
+ {
+ "id": "17bb11c4.8fa90e",
+ "type": "failure",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1784.5154609680176,
+ "y": 1453.4124603271484,
+ "z": "f135a623.0543d8",
+ "wires": [
+ [
+ "332a3386.5895dc"
+ ]
+ ]
+ },
+ {
+ "id": "e654ba85.7dfa08",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Failure calling AAI to save metadatum\" />\n",
+ "comments": "",
+ "x": 2012.6820945739746,
+ "y": 1381.9680285453796,
+ "z": "f135a623.0543d8",
+ "wires": []
+ },
+ {
+ "id": "332a3386.5895dc",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"metadatum instance does not exist in AAI\" />\n",
+ "comments": "",
+ "x": 2009.562994003296,
+ "y": 1452.8886966705322,
+ "z": "f135a623.0543d8",
+ "wires": []
+ },
+ {
+ "id": "ebf9ce7d.2261c",
+ "type": "outcome",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1779.1261711120605,
+ "y": 1523.538899898529,
+ "z": "f135a623.0543d8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7d0a0f4c.3633b",
+ "type": "record",
+ "name": "log file",
+ "xml": " <record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n <parameter name=\"file\" value=\"/opt/oak/logx.txt\" />\n <parameter name=\"field1\" value=\"save metadatum success!\" />\n ",
+ "comments": "",
+ "outputs": 1,
+ "x": 1990.1261711120605,
+ "y": 1523.538899898529,
+ "z": "f135a623.0543d8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "da212c99.cb2c6",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1255.6980628967285,
+ "y": 1163.0006465911865,
+ "z": "f135a623.0543d8",
+ "wires": [
+ [
+ "45b79ec3.5bbd2",
+ "10ba27d1.b765f8",
+ "662db182.a7563",
+ "3313131f.0c8d1c",
+ "bd6ec8f4.04e3a8"
+ ]
+ ]
+ },
+ {
+ "id": "662db182.a7563",
+ "type": "set",
+ "name": "set:variables",
+ "xml": "<set>\n<parameter name='vnf-id' value=\"`$prop.random-data-list[3]`\"/>\n<parameter name='vnf-name' value=\"`'vnf-'+$prop.random-data-list[4]`\"/>\n",
+ "comments": "",
+ "x": 1544.6985321044922,
+ "y": 1167.3336391448975,
+ "z": "f135a623.0543d8",
+ "wires": []
+ },
+ {
+ "id": "3313131f.0c8d1c",
+ "type": "execute",
+ "name": "execute:generate",
+ "xml": " <execute plugin=\"org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils\" method=\"generateUUID\">\n <parameter name=\"ctx-destination\" value=\"prop.random-data\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1563.0629119873047,
+ "y": 1086.031545639038,
+ "z": "f135a623.0543d8",
+ "wires": [
+ [
+ "61f3386a.396d88"
+ ]
+ ]
+ },
+ {
+ "id": "61f3386a.396d88",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1801.062671661377,
+ "y": 1087.0315761566162,
+ "z": "f135a623.0543d8",
+ "wires": [
+ [
+ "1e9f0299.df61fd"
+ ]
+ ]
+ },
+ {
+ "id": "1e9f0299.df61fd",
+ "type": "execute",
+ "name": "execute",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n <parameter name=\"ctx_memory_result_key\" value=\"prop.random-data-list\"/>\n <parameter name=\"original_string\" value=\"`$prop.random-data`\"/>\n <parameter name=\"regex\" value=\"-\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1988.0627269744873,
+ "y": 1086.0314846038818,
+ "z": "f135a623.0543d8",
+ "wires": [
+ [
+ "4fbc1b9e.fffd34"
+ ]
+ ]
+ },
+ {
+ "id": "9e0485c3.32fc78",
+ "type": "record",
+ "name": "log file",
+ "xml": " <record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n <parameter name=\"file\" value=\"/opt/oak/logx.txt\" />\n <parameter name=\"field1\" value=\"`$prop.random-data`\" />\n ",
+ "comments": "",
+ "outputs": 1,
+ "x": 2320.062789916992,
+ "y": 1084.031545639038,
+ "z": "f135a623.0543d8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4fbc1b9e.fffd34",
+ "type": "outcome",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2155.062665939331,
+ "y": 1085.03151512146,
+ "z": "f135a623.0543d8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "568e0d0f.176924",
+ "type": "set",
+ "name": "set:variables",
+ "xml": "<set>\n<parameter name='prop.bbs.serviceID' value=\"`$service-result.accessE2Eservice.serviceID`\"/>\n",
+ "comments": "",
+ "x": 2538.06254196167,
+ "y": 937.0314273834229,
+ "z": "f135a623.0543d8",
+ "wires": []
+ },
+ {
+ "id": "cfb87bad.450ae8",
+ "type": "set",
+ "name": "set:variables",
+ "xml": "<set>\n<parameter name='prop.bbs.serviceID' value=\"HSI20190330\"/>\n\n",
+ "comments": "",
+ "x": 1234.3643798828125,
+ "y": 926.3333797454834,
+ "z": "f135a623.0543d8",
+ "wires": []
+ },
+ {
+ "id": "bd6ec8f4.04e3a8",
+ "type": "save",
+ "name": "save:relationship",
+ "xml": "<save plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" resource=\"service-instance:relationship-list\" \n key=\"service-instance.service-instance-id = $network-topology-operation-input.service-information.service-id\n AND customer.global-customer-id = $network-topology-operation-input.service-information.global-customer-id\n AND service-subscription.service-type = $network-topology-operation-input.service-information.subscription-service-type \n AND service-instance.service-instance-id = $network-topology-operation-input.service-information.service-instance-id\" force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"generic-vnf\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/generic-vnfs/generic-vnf/' + $vnf-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"generic-vnf.vnf-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$vnf-id`\" />\n ",
+ "comments": "",
+ "outputs": 1,
+ "x": 1548.53125,
+ "y": 1642.03125,
+ "z": "f135a623.0543d8",
+ "wires": [
+ [
+ "1578cba7.023b84",
+ "40fbebd2.9a7d24",
+ "af6b94b5.5bf458"
+ ]
+ ]
+ },
+ {
+ "id": "1578cba7.023b84",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1799.53125,
+ "y": 1595.03125,
+ "z": "f135a623.0543d8",
+ "wires": [
+ [
+ "26c2f8e7.5d2188"
+ ]
+ ]
+ },
+ {
+ "id": "40fbebd2.9a7d24",
+ "type": "failure",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1811.507411956787,
+ "y": 1665.0471835136414,
+ "z": "f135a623.0543d8",
+ "wires": [
+ [
+ "d32cb96a.5805d8"
+ ]
+ ]
+ },
+ {
+ "id": "26c2f8e7.5d2188",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Failure calling AAI to save metadatum\" />\n",
+ "comments": "",
+ "x": 2039.6740455627441,
+ "y": 1593.6027517318726,
+ "z": "f135a623.0543d8",
+ "wires": []
+ },
+ {
+ "id": "d32cb96a.5805d8",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"metadatum instance does not exist in AAI\" />\n",
+ "comments": "",
+ "x": 2036.5549449920654,
+ "y": 1664.5234198570251,
+ "z": "f135a623.0543d8",
+ "wires": []
+ },
+ {
+ "id": "af6b94b5.5bf458",
+ "type": "outcome",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1806.11812210083,
+ "y": 1735.173623085022,
+ "z": "f135a623.0543d8",
+ "wires": [
+ []
+ ]