+ "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",