properties.json 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304
  1. {
  2. "current_parameters": {
  3. "label": "",
  4. "elyra_filename": "",
  5. "elyra_runtime_image": null,
  6. "elyra_cpu": null,
  7. "elyra_gpu": null,
  8. "elyra_memory": null,
  9. "elyra_mounted_volumes": [],
  10. "elyra_outputs": [],
  11. "elyra_env_vars": [],
  12. "elyra_kubernetes_secrets": [],
  13. "elyra_dependencies": [],
  14. "elyra_include_subdirectories": false
  15. },
  16. "parameters": [
  17. {
  18. "id": "label"
  19. },
  20. {
  21. "id": "elyra_filename"
  22. },
  23. {
  24. "id": "elyra_runtime_image"
  25. },
  26. {
  27. "id": "elyra_cpu"
  28. },
  29. {
  30. "id": "elyra_gpu"
  31. },
  32. {
  33. "id": "elyra_memory"
  34. },
  35. {
  36. "id": "elyra_dependencies"
  37. },
  38. {
  39. "id": "elyra_include_subdirectories"
  40. },
  41. {
  42. "id": "elyra_env_vars"
  43. },
  44. {
  45. "id": "elyra_kubernetes_secrets"
  46. },
  47. {
  48. "id": "elyra_outputs"
  49. },
  50. {
  51. "id": "elyra_mounted_volumes"
  52. }
  53. ],
  54. "uihints": {
  55. "id": "nodeProperties",
  56. "parameter_info": [
  57. {
  58. "parameter_ref": "label",
  59. "control": "custom",
  60. "custom_control_id": "StringControl",
  61. "label": {
  62. "default": "Label"
  63. },
  64. "description": {
  65. "default": "A custom label for the node.",
  66. "placement": "on_panel"
  67. },
  68. "data": {}
  69. },
  70. {
  71. "parameter_ref": "elyra_filename",
  72. "control": "custom",
  73. "custom_control_id": "StringControl",
  74. "label": {
  75. "default": "Filename"
  76. },
  77. "description": {
  78. "default": "The path to the Notebook.",
  79. "placement": "on_panel"
  80. },
  81. "data": {
  82. "format": "file",
  83. "required": true,
  84. "extensions": [".ipynb"]
  85. }
  86. },
  87. {
  88. "parameter_ref": "elyra_runtime_image",
  89. "control": "custom",
  90. "custom_control_id": "EnumControl",
  91. "label": {
  92. "default": "Runtime Image"
  93. },
  94. "description": {
  95. "default": "Container image used as execution environment.",
  96. "placement": "on_panel"
  97. },
  98. "data": {
  99. "items": [],
  100. "required": true
  101. }
  102. },
  103. {
  104. "parameter_ref": "elyra_cpu",
  105. "control": "custom",
  106. "custom_control_id": "NumberControl",
  107. "label": {
  108. "default": "CPU"
  109. },
  110. "description": {
  111. "default": "For CPU-intensive workloads, you can choose more than 1 CPU (e.g. 1.5).",
  112. "placement": "on_panel"
  113. },
  114. "data": {
  115. "minimum": 0,
  116. "maximum": 99
  117. }
  118. },
  119. {
  120. "parameter_ref": "elyra_gpu",
  121. "control": "custom",
  122. "custom_control_id": "NumberControl",
  123. "label": {
  124. "default": "GPU"
  125. },
  126. "description": {
  127. "default": "For GPU-intensive workloads, you can choose more than 1 GPU. Must be an integer.",
  128. "placement": "on_panel"
  129. },
  130. "data": {
  131. "minimum": 0,
  132. "maximum": 99
  133. }
  134. },
  135. {
  136. "parameter_ref": "elyra_memory",
  137. "control": "custom",
  138. "custom_control_id": "NumberControl",
  139. "label": {
  140. "default": "RAM(GB)"
  141. },
  142. "description": {
  143. "default": "The total amount of RAM specified.",
  144. "placement": "on_panel"
  145. },
  146. "data": {
  147. "minimum": 0,
  148. "maximum": 99
  149. }
  150. },
  151. {
  152. "parameter_ref": "elyra_dependencies",
  153. "control": "custom",
  154. "custom_control_id": "StringArrayControl",
  155. "label": {
  156. "default": "File Dependencies"
  157. },
  158. "description": {
  159. "default": "Local file dependencies that need to be copied to remote execution environment.",
  160. "placement": "on_panel"
  161. },
  162. "data": {
  163. "placeholder": "*.py",
  164. "format": "file"
  165. }
  166. },
  167. {
  168. "parameter_ref": "elyra_include_subdirectories",
  169. "control": "custom",
  170. "custom_control_id": "BooleanControl",
  171. "label": {
  172. "default": "Include Subdirectories",
  173. "placement": "on_panel"
  174. },
  175. "data": {
  176. "description": "Recursively include subdirectories when submitting a pipeline (This may increase submission time)."
  177. }
  178. },
  179. {
  180. "parameter_ref": "elyra_env_vars",
  181. "control": "custom",
  182. "custom_control_id": "StringArrayControl",
  183. "label": {
  184. "default": "Environment Variables"
  185. },
  186. "description": {
  187. "default": "Environment variables to be set on the execution environment.",
  188. "placement": "on_panel"
  189. },
  190. "data": {
  191. "placeholder": "env_var=VALUE",
  192. "canRefresh": true,
  193. "keyValueEntries": true
  194. }
  195. },
  196. {
  197. "parameter_ref": "elyra_kubernetes_secrets",
  198. "control": "custom",
  199. "custom_control_id": "StringArrayControl",
  200. "label": {
  201. "default": "Kubernetes Secrets"
  202. },
  203. "description": {
  204. "default": "Kubernetes secrets to make available as environment variables to this node. The secret name and key given must be present in the Kubernetes namespace where the node is executed or this node will not run.",
  205. "placement": "on_panel"
  206. },
  207. "data": {
  208. "placeholder": "env_var=secret-name:secret-key",
  209. "keyValueEntries": true
  210. }
  211. },
  212. {
  213. "parameter_ref": "elyra_outputs",
  214. "control": "custom",
  215. "custom_control_id": "StringArrayControl",
  216. "label": {
  217. "default": "Output Files"
  218. },
  219. "description": {
  220. "default": "Files generated during execution that will become available to all subsequent pipeline steps.",
  221. "placement": "on_panel"
  222. },
  223. "data": {
  224. "placeholder": "*.csv"
  225. }
  226. },
  227. {
  228. "parameter_ref": "elyra_mounted_volumes",
  229. "control": "custom",
  230. "custom_control_id": "StringArrayControl",
  231. "label": {
  232. "default": "Data Volumes"
  233. },
  234. "description": {
  235. "default": "Volumes to be mounted in this node. The specified Persistent Volume Claims must exist in the Kubernetes namespace where the node is executed or this node will not run.",
  236. "placement": "on_panel"
  237. },
  238. "data": {
  239. "placeholder": "/mount/path=pvc-name",
  240. "keyValueEntries": true
  241. }
  242. }
  243. ],
  244. "group_info": [
  245. {
  246. "id": "nodeGroupInfo",
  247. "type": "panels",
  248. "group_info": [
  249. {
  250. "id": "label",
  251. "type": "controls",
  252. "parameter_refs": ["label"]
  253. },
  254. {
  255. "id": "elyra_filename",
  256. "type": "controls",
  257. "parameter_refs": ["elyra_filename"]
  258. },
  259. {
  260. "id": "elyra_runtime_image",
  261. "type": "controls",
  262. "parameter_refs": ["elyra_runtime_image"]
  263. },
  264. {
  265. "id": "elyra_resources",
  266. "type": "controls",
  267. "parameter_refs": ["elyra_cpu", "elyra_gpu", "elyra_memory"]
  268. },
  269. {
  270. "id": "elyra_dependencies",
  271. "type": "controls",
  272. "parameter_refs": ["elyra_dependencies"]
  273. },
  274. {
  275. "id": "elyra_include_subdirectories",
  276. "type": "controls",
  277. "parameter_refs": ["elyra_include_subdirectories"]
  278. },
  279. {
  280. "id": "elyra_env_vars",
  281. "type": "controls",
  282. "parameter_refs": ["elyra_env_vars"]
  283. },
  284. {
  285. "id": "elyra_kubernetes_secrets",
  286. "type": "controls",
  287. "parameter_refs": ["elyra_kubernetes_secrets"]
  288. },
  289. {
  290. "id": "elyra_outputs",
  291. "type": "controls",
  292. "parameter_refs": ["elyra_outputs"]
  293. },
  294. {
  295. "id": "elyra_mounted_volumes",
  296. "type": "controls",
  297. "parameter_refs": ["elyra_mounted_volumes"]
  298. }
  299. ]
  300. }
  301. ]
  302. },
  303. "resources": {}
  304. }