You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2020/08/11 02:44:01 UTC

[GitHub] [shardingsphere-elasticjob] terrymanu commented on a change in pull request #1357: Add Http job doc

terrymanu commented on a change in pull request #1357:
URL: https://github.com/apache/shardingsphere-elasticjob/pull/1357#discussion_r468294089



##########
File path: docs/content/user-manual/elasticjob-lite/configuration/props.cn.md
##########
@@ -35,3 +35,19 @@ ElasticJob 提供属性配置的方式为不同类型的作业提供定制化配
 | *名称*               | *数据类型*   | *说明*           | *默认值*  |
 | ------------------- | ----------- | ---------------- | -------- |
 | script.command.line | String      | 脚本内容或运行路径 | -        |
+
+### HTTP作业
+
+类型:HTTP
+
+可配置属性:
+
+| *名称*                | *数据类型*   | *说明*             |  *默认值*  |
+| -------------------  | ----------- | ----------------   | --------  |
+| http.url             | String      | http请求url         | -          |
+| http.method          | String      | http请求方法        | -         |
+| http.data            | String      | http请求数据        | -         |
+| http.connect.timeout | String      | http连接超时        | 3000ms    |
+| http.read.timeout    | String      | http读超时          | 5000ms    |

Review comment:
       `http. read.timeout` should be rename to `http.connect. read.milliseconds`

##########
File path: docs/content/user-manual/elasticjob-lite/configuration/props.cn.md
##########
@@ -35,3 +35,19 @@ ElasticJob 提供属性配置的方式为不同类型的作业提供定制化配
 | *名称*               | *数据类型*   | *说明*           | *默认值*  |
 | ------------------- | ----------- | ---------------- | -------- |
 | script.command.line | String      | 脚本内容或运行路径 | -        |
+
+### HTTP作业
+
+类型:HTTP
+
+可配置属性:
+
+| *名称*                | *数据类型*   | *说明*             |  *默认值*  |
+| -------------------  | ----------- | ----------------   | --------  |
+| http.url             | String      | http请求url         | -          |
+| http.method          | String      | http请求方法        | -         |
+| http.data            | String      | http请求数据        | -         |
+| http.connect.timeout | String      | http连接超时        | 3000ms    |

Review comment:
       `http.connect.timeout` should be rename to `http.connect.timeout.milliseconds`




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org