Using RestApiCallNode instead of RestconfApiCallNode and updating templates accordingly.
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / sotn_nni / GENERIC-RESOURCE-API_sotn-get-otn-tunnel-path-from-oof.json
index c785b72..044737f 100644 (file)
         "wires": [\r
             [\r
                 "dd179bba.27e578",\r
-                "a736e107.ab857",\r
                 "51dd454b.e64094",\r
-                "e9ba305b.3f7b08"\r
+                "e9ba305b.3f7b08",\r
+                "a736e107.ab857"\r
             ]\r
         ]\r
     },\r
         "z": "5b68e0d.bd97b2",\r
         "wires": []\r
     },\r
-    {\r
-        "id": "a736e107.ab857",\r
-        "type": "get-resource",\r
-        "name": "get-resource src tp",\r
-        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"p-interface\" \n\t\tkey=\"pnf.pnf-name = $tmp.src-pnf-name\n\t\t    AND p-interface.interface-name = $tmp.cross-link.src-ltpId\"\n        pfx='tmp.aai.src-tp' local-only='false' >\n    \n        <!--AND depth = '0'\"-->\n\n\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 2359.5001220703125,\r
-        "y": 529,\r
-        "z": "5b68e0d.bd97b2",\r
-        "wires": [\r
-            [\r
-                "30082dde.5085da",\r
-                "a603f43.0659d88",\r
-                "ed057305.d13bc"\r
-            ]\r
-        ]\r
-    },\r
     {\r
         "id": "30082dde.5085da",\r
         "type": "success",\r
         "id": "51dd454b.e64094",\r
         "type": "get-resource",\r
         "name": "get-resource dst tp",\r
-        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"p-interface\" \n\t\tkey=\"pnf.pnf-name = $tmp.src-pnf-name\n\t\t    AND p-interface.interface-name = $tmp.cross-link.src-ltpId\"\n        pfx='tmp.aai.dst-tp' local-only='false' >\n    \n        <!--AND depth = '0'\"-->\n\n\n",\r
+        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"p-interface\" \n\t\tkey=\"pnf.pnf-name = $tmp.dst-pnf-name\n\t\t    AND p-interface.interface-name = $tmp.cross-link.dst-ltpId\"\n        pfx='tmp.aai.dst-tp' local-only='false' >\n    \n        <!--AND depth = '0'\"-->\n\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 2313.5001220703125,\r
                 "66a31e69.f659b8"\r
             ]\r
         ]\r
+    },\r
+    {\r
+        "id": "a736e107.ab857",\r
+        "type": "get-resource",\r
+        "name": "get-resource src tp",\r
+        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"p-interface\" \n\t\tkey=\"pnf.pnf-name = $tmp.src-pnf-name\n\t\t    AND p-interface.interface-name = $tmp.cross-link.src-ltpId\"\n        pfx='tmp.aai.src-tp' local-only='false' >\n    \n        <!--AND depth = '0'\"-->\n\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2359.5001220703125,\r
+        "y": 529,\r
+        "z": "5b68e0d.bd97b2",\r
+        "wires": [\r
+            [\r
+                "30082dde.5085da",\r
+                "a603f43.0659d88",\r
+                "ed057305.d13bc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "85e1ebfe.ba8e78",\r
+        "type": "comment",\r
+        "name": "among all ttps, find the one that has relationship to p-interface (TODO: check node/pnf is the same between this p-interface's pnf and the ttp's pnf)",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 5703,\r
+        "y": 377,\r
+        "z": "5b68e0d.bd97b2",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "1ff536a0.bad579",\r
+        "type": "comment",\r
+        "name": "among all ttps, find the one that has relationship to p-interface (TODO: check node/pnf is the same between this p-interface's pnf and the ttp's pnf)",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 5697,\r
+        "y": 749,\r
+        "z": "5b68e0d.bd97b2",\r
+        "wires": []\r
     }\r
 ]
\ No newline at end of file