+ "x": 3505.4999084472656,
+ "y": 412.0000238418579,
+ "z": "b55dc3b9.0674e8",
+ "wires": []
+ },
+ {
+ "id": "464505a9.92b4fc",
+ "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 queryTokenID\" />\n",
+ "comments": "",
+ "x": 2504.7557830810547,
+ "y": 1015.0284881591797,
+ "z": "b55dc3b9.0674e8",
+ "wires": []
+ },
+ {
+ "id": "69e343d2.09328c",
+ "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": 2634.3925018310547,
+ "y": 1137.846694946289,
+ "z": "b55dc3b9.0674e8",
+ "wires": []
+ },
+ {
+ "id": "97d94787.251f08",
+ "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= \"ipv4-oam-address\" value = \"169.254.236.13\"/>\n<parameter name= \"in-maint\" value = \"false\" />\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": 2279.533456802368,
+ "y": 1579.0320892333984,
+ "z": "b55dc3b9.0674e8",
+ "wires": [
+ [
+ "a3497f20.d7ea3",
+ "9efe9955.3e7888",
+ "58b775d1.206ccc"
+ ]
+ ]
+ },
+ {
+ "id": "a3497f20.d7ea3",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2515.7553119659424,
+ "y": 1450.920846939087,
+ "z": "b55dc3b9.0674e8",
+ "wires": [
+ [
+ "bebc769c.0837e8"
+ ]
+ ]
+ },
+ {
+ "id": "9efe9955.3e7888",
+ "type": "failure",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2526.7311305999756,
+ "y": 1510.9367032051086,
+ "z": "b55dc3b9.0674e8",
+ "wires": [
+ [
+ "e37c929.c92107"
+ ]
+ ]
+ },
+ {
+ "id": "bebc769c.0837e8",
+ "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": 2751.8978595733643,
+ "y": 1450.4923119544983,
+ "z": "b55dc3b9.0674e8",
+ "wires": []
+ },
+ {
+ "id": "e37c929.c92107",
+ "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": 2746.778657913208,
+ "y": 1511.4130177497864,
+ "z": "b55dc3b9.0674e8",
+ "wires": []
+ },
+ {
+ "id": "58b775d1.206ccc",
+ "type": "outcome",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2520.34193611145,
+ "y": 1576.0631833076477,
+ "z": "b55dc3b9.0674e8",
+ "wires": [
+ [
+ "23816cea.e07514"
+ ]
+ ]
+ },
+ {
+ "id": "23816cea.e07514",
+ "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": 2728.3421897888184,
+ "y": 1574.0633125305176,
+ "z": "b55dc3b9.0674e8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "116359fa.597806",
+ "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.accessID`\" />\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": 2261.032783508301,
+ "y": 1742.0319175720215,
+ "z": "b55dc3b9.0674e8",
+ "wires": [
+ [
+ "835155a5.b67df8",
+ "c341fca3.24318",
+ "eea59fae.70bf9"
+ ]
+ ]
+ },
+ {
+ "id": "835155a5.b67df8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2491.5082931518555,
+ "y": 1673.3965210914612,
+ "z": "b55dc3b9.0674e8",
+ "wires": [
+ [
+ "ce09f6b.b604008"
+ ]
+ ]
+ },
+ {
+ "id": "c341fca3.24318",
+ "type": "failure",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2503.4844551086426,
+ "y": 1743.4124546051025,
+ "z": "b55dc3b9.0674e8",
+ "wires": [
+ [
+ "356aae98.7445f2"
+ ]
+ ]
+ },
+ {
+ "id": "ce09f6b.b604008",
+ "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": 2731.6510887145996,
+ "y": 1671.9680228233337,
+ "z": "b55dc3b9.0674e8",
+ "wires": []
+ },
+ {
+ "id": "356aae98.7445f2",
+ "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": 2728.531988143921,
+ "y": 1742.8886909484863,
+ "z": "b55dc3b9.0674e8",
+ "wires": []
+ },
+ {
+ "id": "eea59fae.70bf9",
+ "type": "outcome",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2498.0951652526855,
+ "y": 1813.5388941764832,
+ "z": "b55dc3b9.0674e8",
+ "wires": [
+ [
+ "8a223ca4.509e4"
+ ]
+ ]
+ },
+ {
+ "id": "8a223ca4.509e4",
+ "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": 2709.0951652526855,
+ "y": 1813.5388941764832,
+ "z": "b55dc3b9.0674e8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f837852c.dfc578",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1974.6670570373535,
+ "y": 1453.0006408691406,
+ "z": "b55dc3b9.0674e8",
+ "wires": [
+ [
+ "97d94787.251f08",
+ "116359fa.597806",
+ "306a1b6e.90a264",
+ "53d01937.c7f688"
+ ]
+ ]
+ },
+ {
+ "id": "306a1b6e.90a264",
+ "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": 2263.667526245117,
+ "y": 1457.3336334228516,
+ "z": "b55dc3b9.0674e8",
+ "wires": []
+ },
+ {
+ "id": "53d01937.c7f688",
+ "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": 2282.0319061279297,
+ "y": 1376.0315399169922,
+ "z": "b55dc3b9.0674e8",
+ "wires": [
+ [
+ "d511316d.80f4c"
+ ]
+ ]
+ },
+ {
+ "id": "d511316d.80f4c",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2520.031665802002,
+ "y": 1377.0315704345703,
+ "z": "b55dc3b9.0674e8",
+ "wires": [
+ [
+ "350eef68.69f9e"
+ ]
+ ]
+ },
+ {
+ "id": "350eef68.69f9e",
+ "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": 2707.0317211151123,
+ "y": 1376.031478881836,
+ "z": "b55dc3b9.0674e8",
+ "wires": [
+ [
+ "abdff798.71d8c8"
+ ]
+ ]
+ },
+ {
+ "id": "52dff766.2dd2d8",
+ "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": 3039.031784057617,
+ "y": 1374.0315399169922,
+ "z": "b55dc3b9.0674e8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "abdff798.71d8c8",
+ "type": "outcome",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2874.031660079956,
+ "y": 1375.031509399414,
+ "z": "b55dc3b9.0674e8",
+ "wires": [
+ [
+ "52dff766.2dd2d8"
+ ]
+ ]
+ },
+ {
+ "id": "95ed41fa.e44ec",
+ "type": "set",
+ "name": "set:variables",
+ "xml": "<set>\n<parameter name='prop.bbs.serviceID' value=\"`$service-result.accessE2Eservice.serviceID`\"/>\n",
+ "comments": "",
+ "x": 3257.031536102295,
+ "y": 1227.031421661377,
+ "z": "b55dc3b9.0674e8",
+ "wires": []
+ },
+ {
+ "id": "fa43c07a.448fc",
+ "type": "set",
+ "name": "set:variables",
+ "xml": "<set>\n<parameter name='prop.bbs.serviceID' value=\"HSI20190330\"/>\n\n",
+ "comments": "",
+ "x": 1953.3333740234375,
+ "y": 1216.3333740234375,
+ "z": "b55dc3b9.0674e8",