|
|
|
## 1.Source data_fetcher_plugin
|
|
|
|
1. 只要对于source 是url endpoint类型的source数据请求,返回响应数据
|
|
|
|
2. 目前提供了guzzle_http插件,请求http请求
|
|
|
|
|
|
|
|
## 2. 配置结构
|
|
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
data_fetcher_plugin: guzzle_http
|
|
|
|
http:
|
|
|
|
mehtod: GET
|
|
|
|
timeout: 15
|
|
|
|
query:
|
|
|
|
access_token:
|
|
|
|
headers:
|
|
|
|
Content-Type: "application/json"
|
|
|
|
json:
|
|
|
|
body:
|
|
|
|
auth:
|
|
|
|
....
|
|
|
|
```
|
|
|
|
|
|
|
|
## 3. 参数说明
|
|
|
|
|
|
|
|
具体参考 [http://docs.guzzlephp.org/en/stable/request-options.html](https://note.youdao.com/) 定义 |
|
|
|
\ No newline at end of file |