pipeline_with_supernode.json 9.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333
  1. {
  2. "doc_type": "pipeline",
  3. "version": "3.0",
  4. "json_schema": "http://api.dataplatform.ibm.com/schemas/common-pipeline/pipeline-flow/pipeline-flow-v3-schema.json",
  5. "id": "582f2dd2-b329-4bfd-8326-3e0dc8c69744",
  6. "primary_pipeline": "f757f14a-4494-46b5-bb27-aeaa8a065477",
  7. "pipelines": [
  8. {
  9. "id": "f757f14a-4494-46b5-bb27-aeaa8a065477",
  10. "nodes": [
  11. {
  12. "id": "db9f3f5b-b2e3-4824-aadd-c1c6bf652534",
  13. "type": "execution_node",
  14. "op": "execute-notebook-node",
  15. "app_data": {
  16. "label": "generate-contributions",
  17. "component_parameters": {
  18. "outputs": ["community_contributions.csv"],
  19. "dependencies": [],
  20. "filename": "demo-pipelines/generate-contributions.ipynb",
  21. "runtime_image": "elyra/tensorflow:1.15.2-py3",
  22. "env_vars": []
  23. },
  24. "ui_data": {
  25. "label": "generate-contributions",
  26. "image": "useDefaultIcon",
  27. "x_pos": 84,
  28. "y_pos": -48,
  29. "description": "Notebook file"
  30. }
  31. },
  32. "inputs": [
  33. {
  34. "id": "inPort",
  35. "app_data": {
  36. "ui_data": {
  37. "cardinality": {
  38. "min": 0,
  39. "max": 1
  40. },
  41. "label": "Input Port"
  42. }
  43. }
  44. }
  45. ],
  46. "outputs": [
  47. {
  48. "id": "outPort",
  49. "app_data": {
  50. "ui_data": {
  51. "cardinality": {
  52. "min": 0,
  53. "max": -1
  54. },
  55. "label": "Output Port"
  56. }
  57. }
  58. }
  59. ]
  60. },
  61. {
  62. "id": "f6584209-6f22-434f-9820-41327b6c749d",
  63. "type": "execution_node",
  64. "op": "execute-notebook-node",
  65. "app_data": {
  66. "label": "generate-stats",
  67. "component_parameters": {
  68. "outputs": ["community_stats.csv"],
  69. "dependencies": [],
  70. "filename": "demo-pipelines/generate-stats.ipynb",
  71. "runtime_image": "elyra/tensorflow:1.15.2-py3",
  72. "env_vars": []
  73. },
  74. "ui_data": {
  75. "label": "generate-stats",
  76. "image": "useDefaultIcon",
  77. "x_pos": 90,
  78. "y_pos": 239,
  79. "description": "Notebook file"
  80. }
  81. },
  82. "inputs": [
  83. {
  84. "id": "inPort",
  85. "app_data": {
  86. "ui_data": {
  87. "label": ""
  88. }
  89. }
  90. }
  91. ],
  92. "outputs": [
  93. {
  94. "id": "outPort",
  95. "app_data": {
  96. "ui_data": {
  97. "label": ""
  98. }
  99. }
  100. }
  101. ]
  102. },
  103. {
  104. "id": "7628306d-2cc2-405c-94a1-fe42c95567a1",
  105. "type": "execution_node",
  106. "op": "execute-notebook-node",
  107. "app_data": {
  108. "label": "data_science_aws",
  109. "component_parameters": {
  110. "filename": "demo-pipelines/data_science_aws.ipynb",
  111. "runtime_image": "elyra/tensorflow:1.15.2-py3",
  112. "env_vars": [],
  113. "include_subdirectories": false
  114. },
  115. "ui_data": {
  116. "label": "data_science_aws",
  117. "image": "useDefaultIcon",
  118. "x_pos": 814.85107421875,
  119. "y_pos": 104.74483108520508,
  120. "description": "Notebook file"
  121. }
  122. },
  123. "inputs": [
  124. {
  125. "id": "inPort",
  126. "app_data": {
  127. "ui_data": {
  128. "cardinality": {
  129. "min": 0,
  130. "max": -1
  131. },
  132. "label": "Input Port"
  133. }
  134. },
  135. "links": [
  136. {
  137. "id": "ed8932e5-6296-411a-9761-461f9878b626",
  138. "node_id_ref": "3fbe0f25-c7d0-4ee6-b1b6-a5f5f633252f",
  139. "port_id_ref": "079c0e12-eb5f-4fcc-983b-09e011869fee_outPort"
  140. }
  141. ]
  142. }
  143. ],
  144. "outputs": [
  145. {
  146. "id": "outPort",
  147. "app_data": {
  148. "ui_data": {
  149. "cardinality": {
  150. "min": 0,
  151. "max": -1
  152. },
  153. "label": "Output Port"
  154. }
  155. }
  156. }
  157. ]
  158. },
  159. {
  160. "id": "3fbe0f25-c7d0-4ee6-b1b6-a5f5f633252f",
  161. "type": "super_node",
  162. "subflow_ref": {
  163. "pipeline_id_ref": "82ddb72e-8246-4c6b-b901-6af9d12f4bba"
  164. },
  165. "app_data": {
  166. "ui_data": {
  167. "label": "Supernode",
  168. "image": "useDefaultIcon",
  169. "x_pos": 397,
  170. "y_pos": 17,
  171. "description": "This supernode was created by common-canvas.",
  172. "is_expanded": true
  173. }
  174. },
  175. "inputs": [
  176. {
  177. "id": "079c0e12-eb5f-4fcc-983b-09e011869fee_inPort",
  178. "subflow_node_ref": "6c0236de-cca6-4764-982f-af65c349dfa7",
  179. "app_data": {
  180. "ui_data": {
  181. "label": "Binding port for supernode"
  182. }
  183. },
  184. "links": [
  185. {
  186. "id": "0805d0ce-69ad-41ab-95a8-3e176f4dc711",
  187. "node_id_ref": "db9f3f5b-b2e3-4824-aadd-c1c6bf652534",
  188. "port_id_ref": "outPort"
  189. },
  190. {
  191. "id": "0988be85-347f-472a-9389-934d5e613563",
  192. "node_id_ref": "f6584209-6f22-434f-9820-41327b6c749d",
  193. "port_id_ref": "outPort"
  194. }
  195. ]
  196. }
  197. ],
  198. "outputs": [
  199. {
  200. "id": "079c0e12-eb5f-4fcc-983b-09e011869fee_outPort",
  201. "subflow_node_ref": "1b76e3f3-0c5b-480f-92c5-b08327d07b41",
  202. "app_data": {
  203. "ui_data": {
  204. "label": "Binding port for supernode"
  205. }
  206. }
  207. }
  208. ]
  209. }
  210. ],
  211. "app_data": {
  212. "name": "super-node-test",
  213. "runtime": "kfp",
  214. "runtime_config": "kfp-yukked1",
  215. "ui_data": {
  216. "comments": []
  217. },
  218. "version": 1
  219. },
  220. "runtime_ref": ""
  221. },
  222. {
  223. "id": "82ddb72e-8246-4c6b-b901-6af9d12f4bba",
  224. "nodes": [
  225. {
  226. "id": "079c0e12-eb5f-4fcc-983b-09e011869fee",
  227. "type": "execution_node",
  228. "op": "execute-notebook-node",
  229. "app_data": {
  230. "label": "overview",
  231. "component_parameters": {
  232. "filename": "demo-pipelines/overview.ipynb",
  233. "runtime_image": "elyra/tensorflow:1.15.2-py3"
  234. },
  235. "ui_data": {
  236. "label": "overview",
  237. "image": "useDefaultIcon",
  238. "x_pos": 397,
  239. "y_pos": 17,
  240. "description": "Notebook file"
  241. }
  242. },
  243. "inputs": [
  244. {
  245. "id": "inPort",
  246. "app_data": {
  247. "ui_data": {
  248. "label": ""
  249. }
  250. },
  251. "links": [
  252. {
  253. "id": "9698f70b-75b6-403d-8a4f-98b6b5d7dfbf",
  254. "node_id_ref": "6c0236de-cca6-4764-982f-af65c349dfa7",
  255. "port_id_ref": "output_079c0e12-eb5f-4fcc-983b-09e011869fee_inPort"
  256. }
  257. ]
  258. }
  259. ],
  260. "outputs": [
  261. {
  262. "id": "outPort",
  263. "app_data": {
  264. "ui_data": {
  265. "label": ""
  266. }
  267. }
  268. }
  269. ]
  270. },
  271. {
  272. "id": "6c0236de-cca6-4764-982f-af65c349dfa7",
  273. "type": "binding",
  274. "app_data": {
  275. "ui_data": {
  276. "label": "Binding",
  277. "x_pos": 237,
  278. "y_pos": 17,
  279. "description": "Supernode binding node"
  280. }
  281. },
  282. "outputs": [
  283. {
  284. "id": "output_079c0e12-eb5f-4fcc-983b-09e011869fee_inPort",
  285. "app_data": {
  286. "ui_data": {
  287. "label": "Binding port for supernode"
  288. }
  289. }
  290. }
  291. ]
  292. },
  293. {
  294. "id": "1b76e3f3-0c5b-480f-92c5-b08327d07b41",
  295. "type": "binding",
  296. "app_data": {
  297. "ui_data": {
  298. "label": "Binding",
  299. "x_pos": 637,
  300. "y_pos": 17,
  301. "description": "Supernode binding node"
  302. }
  303. },
  304. "inputs": [
  305. {
  306. "id": "input_079c0e12-eb5f-4fcc-983b-09e011869fee_outPort",
  307. "app_data": {
  308. "ui_data": {
  309. "label": "Binding port for supernode"
  310. }
  311. },
  312. "links": [
  313. {
  314. "id": "b49aecca-be81-470d-9a39-af651c97ddbc",
  315. "node_id_ref": "079c0e12-eb5f-4fcc-983b-09e011869fee",
  316. "port_id_ref": "outPort"
  317. }
  318. ]
  319. }
  320. ]
  321. }
  322. ],
  323. "app_data": {
  324. "ui_data": {
  325. "comments": []
  326. },
  327. "version": 5
  328. },
  329. "runtime_ref": ""
  330. }
  331. ],
  332. "schemas": []
  333. }