Commit Graph

19 Commits

Author SHA1 Message Date
arabot777
9106401521
feat(plugin): add degradation switch for ext-plugin (#5897)
Co-authored-by: tzssangglass <tzssangglass@gmail.com>
Co-authored-by: 罗泽轩 <spacewanderlzx@gmail.com>
Co-authored-by: liushan03 <liushan03@meicai.cn>
2021-12-28 09:39:20 +08:00
tzssangglass
e7ceda0387
feat(ext-plugin): support to get request body (#5600) 2021-11-29 10:41:06 +08:00
罗泽轩
6798a7ce12
feat: use lock to ensure fetching token from shdict always (#5263) 2021-10-18 20:43:50 +08:00
tzssangglass
4395d708e9
feat(ext-plugin): avoid sending conf request more times (#5183) 2021-10-18 09:04:19 +08:00
罗泽轩
b72404f643
feat(ext-plugin): support ExtraInfo (#4835)
* feat(ext-plugin): support ExtraInfo

Signed-off-by: spacewander <spacewanderlzx@gmail.com>

* ensure to use str

Signed-off-by: spacewander <spacewanderlzx@gmail.com>

* fix test

Signed-off-by: spacewander <spacewanderlzx@gmail.com>

* ws

Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-08-18 13:20:33 +08:00
罗泽轩
1b247c8e1e
feat(ext-plugin): send the idempotent key when preparing conf (#4736) 2021-08-03 12:20:44 +08:00
tzssangglass
316d23074f
fix(ext-plugin): avoid using 0 as the default http status code (#4734) 2021-08-03 10:15:17 +08:00
罗泽轩
eea3d84eba
fix(ext-plugin): should use separate tokens for {pre,post}-req (#4458)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-06-23 21:45:56 -04:00
罗泽轩
68711e443d
feat(ext-plugin): stop the runner with SIGTERM (#4367) 2021-06-11 13:04:42 +08:00
罗泽轩
2feb48f4a0
test: make t/plugin/ext-plugin/sanity.t stable (#4407)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-06-11 08:45:31 +08:00
罗泽轩
62ceab5710
fix(ext-plugin): missing schema check (#4359)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-06-03 09:39:51 +08:00
罗泽轩
619ac84c88
fix(ext-plugin): when token is stale, refresh token and try again (#4345) 2021-06-01 19:46:26 +08:00
罗泽轩
5ebc4f65c1
fix(ext-plugin): pass environment variables (#4349)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-06-01 18:43:42 +08:00
罗泽轩
916041d9ab
feat(ext-plugin): respawn with delay to avoid flushing error log (#4283)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-05-21 09:48:11 +08:00
罗泽轩
dd5f93b70b
chore: avoid creating lrucache twice (#4220)
Also refactor part of the code.

Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-05-12 09:46:34 +08:00
罗泽轩
ffed4383f1
feat(ext-plugin): implement the http-req-call protocol (#4183) 2021-05-06 10:07:56 +08:00
罗泽轩
50e9bfa54e
feat(ext-plugin): handle error response (#4179)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-05-06 10:00:12 +08:00
罗泽轩
624f59fc78
feat: step 3, manage the plugin runner (#4163)
* feat: step 3, manage the plugin runner
* feat: step 4, add prepare_conf protocol
2021-05-04 10:41:08 +08:00
罗泽轩
f3b057609f
feat(ext-plugin): step 2, add basic structure (#4119)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-04-29 11:07:05 +08:00