hwyzleo opened a new issue #49:
URL: https://github.com/apache/apisix-go-plugin-runner/issues/49
I have got the go-runner and put it in the apisix container. when i restart
the apisix, i can see the log in console like
register plugin fault-injection
register plugin limit-req
register plugin say
register plugin sign-verify (mine)
and i try to set the route with mine plugin like
```
{
"uri": "/message/header",
"name": "show header",
"methods": [
"POST"
],
"host": "mp.test.com",
"plugins": {
"ext-plugin-pre-req": {
"conf": [
{
"name": "sign-verify",
"value":
"{\"verify_endpoint\":\"http://service.message:8080/signVerify\"}"
},
{
"name": "say",
"value": "{\"body\":\"say something\"}"
}
]
},
"proxy-rewrite": {
"uri": "/header"
}
},
"upstream_id": "382988546614493882",
"labels": {
"API_VERSION": "V1"
},
"status": 1
}
```
when i visit the route, upstream can response, but plugin sign-verify and
say do not trigger.
how it happen?
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]