1.28. # GET /api/datadevelopment/workflowaction¶
工作流信息
## 参数
名称 | 类型 | 是否必传 | 备注 |
——– | —– | —- | ——|
workflow_id | int | Y | 工作流id |
action_id | int | Y | 工作流节点id |
## 返回
名称 | 类型 | 是否必传 | 备注 |
——– | —– | —- | ——|
nodes | array | Y | 工作流节点list,仅含一个工作流节点,且主要传输的是它的配置属性,而非位置参数 |
nodes.#.action_id | int | Y | 工作流节点id,可以不用显示,用于前端回传 |
nodes.#.action_name | string | Y | 节点名称,该action_name即后端存储并标识的name,不再单独设立中文名称 |
nodes.#.type | int | Y | 节点类型,1-Spark ; 2-Hadoop ; 3-Shell ; 4-fork ; 待补充完善 |
nodes.#.comment | string | Y | 节点描述 |
nodes.#.okto | string | Y | 节点成功后,下一步节点位置,可选start,end,fail及其他节点id |
nodes.#.common_parm | array | Y | 节点配置list |
nodes.#.common_parm.#.spark_master| string | N | |
nodes.#.common_parm.#.spark_mode| string | N | |
nodes.#.common_parm.#.spark_name| string | N | |
nodes.#.common_parm.#.spark_class| string | N | |
nodes.#.common_parm.#.spark_jar| string | N | |
nodes.#.common_parm.#.spark_arg| array | N | |
nodes.#.common_parm.#.hive_jdbcURL| string | N | |
nodes.#.common_parm.#.hive_property| string | N | |
nodes.#.common_parm.#.hive_script| string | N | |
nodes.#.common_parm.#.hive_param| array | N | |
nodes.#.common_parm.#.mr_property| array | N | |