+[\r
+ {\r
+ "id": "2908a6da.b2a8ca",\r
+ "type": "dgstart",\r
+ "name": "DGSTART",\r
+ "outputs": 1,\r
+ "x": 79.11666870117188,\r
+ "y": 100.11666870117188,\r
+ "z": "be85a121.0dcb68",\r
+ "wires": [\r
+ [\r
+ "995f28f7.17ac08"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "995f28f7.17ac08",\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": 236.11666870117188,\r
+ "y": 100.11666870117188,\r
+ "z": "be85a121.0dcb68",\r
+ "wires": [\r
+ [\r
+ "13428bfe.c24b7c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "13428bfe.c24b7c",\r
+ "type": "method",\r
+ "name": "RebootVM",\r
+ "xml": "<method rpc='RebootVM' mode='sync'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 434.1166687011719,\r
+ "y": 102.11666870117188,\r
+ "z": "be85a121.0dcb68",\r
+ "wires": [\r
+ [\r
+ "bf97077a.524938"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "37f23061.4a84c",\r
+ "type": "success",\r
+ "name": "SUCCESS",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 802.1166381835938,\r
+ "y": 312.11663818359375,\r
+ "z": "be85a121.0dcb68",\r
+ "wires": [\r
+ [\r
+ "2916b3cf.482764"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "25a4b4ec.294ce4",\r
+ "type": "other",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 811.1166381835938,\r
+ "y": 191.11663818359375,\r
+ "z": "be85a121.0dcb68",\r
+ "wires": [\r
+ [\r
+ "5491c1ea.b5ae1"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "bd19dd70.f3047",\r
+ "type": "returnSuccess",\r
+ "name": "return success",\r
+ "xml": "<return status='success'>\n<parameter name='error-message' value='`$error-message`' />",\r
+ "comments": "",\r
+ "x": 1358.1166381835938,\r
+ "y": 284.11663818359375,\r
+ "z": "be85a121.0dcb68",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "2bac0636.1502ca",\r
+ "type": "returnFailure",\r
+ "name": "return failure",\r
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='`$error-message`' />",\r
+ "comments": "",\r
+ "x": 1119.1166381835938,\r
+ "y": 191.11663818359375,\r
+ "z": "be85a121.0dcb68",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "2916b3cf.482764",\r
+ "type": "switchNode",\r
+ "name": "switch status",\r
+ "xml": "<switch test='`$REBOOT_STATUS`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 995.1166381835938,\r
+ "y": 313.11663818359375,\r
+ "z": "be85a121.0dcb68",\r
+ "wires": [\r
+ [\r
+ "21120d2e.1cbe7a",\r
+ "cdc5d6c9.13f118"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "21120d2e.1cbe7a",\r
+ "type": "success",\r
+ "name": "SUCCESS",\r
+ "xml": "<outcome value='SUCCESS'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1177.1166381835938,\r
+ "y": 283.11663818359375,\r
+ "z": "be85a121.0dcb68",\r
+ "wires": [\r
+ [\r
+ "bd19dd70.f3047"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "cdc5d6c9.13f118",\r
+ "type": "outcome",\r
+ "name": "ERROR",\r
+ "xml": "<outcome value='Other'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1169.1166381835938,\r
+ "y": 442.11663818359375,\r
+ "z": "be85a121.0dcb68",\r
+ "wires": [\r
+ [\r
+ "3bf641fb.7fe476"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "3bf641fb.7fe476",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1302.1166381835938,\r
+ "y": 443.11663818359375,\r
+ "z": "be85a121.0dcb68",\r
+ "wires": [\r
+ [\r
+ "9329c487.eecde",\r
+ "cd3bd4e.e949528"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "9329c487.eecde",\r
+ "type": "returnFailure",\r
+ "name": "return failure",\r
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='`$error-message`' />\n",\r
+ "comments": "",\r
+ "x": 1437.1166381835938,\r
+ "y": 484.1166687011719,\r
+ "z": "be85a121.0dcb68",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "5491c1ea.b5ae1",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 967.1166381835938,\r
+ "y": 191.11663818359375,\r
+ "z": "be85a121.0dcb68",\r
+ "wires": [\r
+ [\r
+ "2bac0636.1502ca"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "16882635.3581a2",\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=\"`'input.payload = ' + $input.payload`\" />\n<parameter name=\"field3\" value=\"`'vm-id in context=' + $vm-id`\" />\n<parameter name=\"field4\" value=\"`'rebootype in context=' + $type`\" />\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 801.2333679199219,\r
+ "y": 132.11666870117188,\r
+ "z": "be85a121.0dcb68",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "bf97077a.524938",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 622.9833374023438,\r
+ "y": 160.98333740234375,\r
+ "z": "be85a121.0dcb68",\r
+ "wires": [\r
+ [\r
+ "16882635.3581a2",\r
+ "8ea85be7.1c77e8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "cd3bd4e.e949528",\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=\"field3\" value=\"`'error-message = ' + $error-message`\" />\n<parameter name=\"field4\" value=\"`'error-code = ' + $error_code`\" />",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1426.9833374023438,\r
+ "y": 414.98333740234375,\r
+ "z": "be85a121.0dcb68",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "8ea85be7.1c77e8",\r
+ "type": "execute",\r
+ "name": "RebootVM",\r
+ "xml": "<execute plugin='org.onap.appc.adapter.iaas.ProviderAdapter' method='rebootServer'>\n<parameter name=\"org.onap.appc.provider.name\" value=\"OpenStack\" />\n<parameter name=\"org.onap.appc.instance.url\" value=\"`$vm-id`\" />\n<parameter name=\"org.onap.appc.identity.url\" value=\"`$identity-url`\" />\n<parameter name=\"org.onap.appc.reboot.type\" value=\"`$type`\" />\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 639.1166381835938,\r
+ "y": 246.11666870117188,\r
+ "z": "be85a121.0dcb68",\r
+ "wires": [\r
+ [\r
+ "25a4b4ec.294ce4",\r
+ "37f23061.4a84c"\r
+ ]\r
+ ]\r
+ }\r
+]