SSSherg edited a comment on issue #79:
URL: 
https://github.com/apache/apisix-java-plugin-runner/issues/79#issuecomment-957028214


   use RewriteRequestDemoFilter. just only add two log.info()
   only one route configured :
   `{
     "uri": "/data-processing-center/*",
     "name": "prod_httpserver-ingress-getall_rule-getall",
     "desc": "Created by apisix-ingress-controller, DO NOT modify it manually",
     "plugins": {
       "ext-plugin-pre-req": {
         "conf": [
           {
             "name": "RewriteRequestDemoFilter",
             "value": "bar"
           }
         ]
       },
       "jwt-auth": {
         "disable": true
       }
     },
     "upstream_id": "33ffc6f3",
     "labels": {
       "managed-by": "apisix-ingress-controller"
     },
     "status": 1
   }`
   The test Url : 
http://192.168.96.137:30371/data-processing-center/config/findAll
   when set     "jwt-auth": {"disable": true }  return normal result and no log 
  (RewriteRequestDemoFilter======filter)
   when set     "jwt-auth": {"disable": false }  return  {"message":"Missing 
JWT token in request"}
   It seems to RewriteRequestDemoFilter have failed
   


-- 
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]


Reply via email to