Cheol-Soon-Choi opened a new issue, #199: URL: https://github.com/apache/apisix-java-plugin-runner/issues/199
### Issue description **custom filter is not applied.** error.log is as below picture.  I am trying to deploy to vm using apisix-docker + apisix-java-plugin-runner. This was done with reference to the below. 1) https://apisix.apache.org/docs/apisix/2.15/getting-started/ 2) https://github.com/apache/apisix-java-plugin-runner/blob/release/0.3.0/docs/zh/quick-start.md -Detail step- 1. (ubuntu) git clone -b release/apisix-2.15.0 https://github.com/apache/apisix-docker.git 2. (local) git clone -b release/0.3.0 https://github.com/apache/apisix-java-plugin-runner.git 3. write custom plugins in local(macos)  4. (local) cd /apache/apisix-java-plugin-runner-release-0.3.0' and './mvnw package 5. (local) cd dist and Add Dockerfile <img width="822" alt="스크린샷 2022-10-07 오후 1 40 18" src="https://user-images.githubusercontent.com/79562672/194470707-ad75b869-195a-40b8-a92a-60af5ceb6c18.png"> 6. Transfer the dist folder(apache-apisix-java-plugin-runner-0.3.0-bin.tar.gz, Dockerfile) to ubuntu 7. (ubuntu) cd dist and docker build -t apache/apisix:2.15.0-alpine-with-java-plugin . 8. (ubuntu) Change the apisix image in docker-compose.yml <img width="394" alt="스크린샷 2022-10-07 오후 1 49 49" src="https://user-images.githubusercontent.com/79562672/194470063-0288a0d8-3f92-4feb-b915-a19053ce6f4c.png"> 9. (ubuntu) add the configure in config.yaml file <img width="740" alt="스크린샷 2022-10-07 오후 1 58 46" src="https://user-images.githubusercontent.com/79562672/194471338-8556d726-671a-448e-9f00-10b7070f410a.png"> 10. (ubuntu) chmod 777 -R example 11. (ubuntu) cd example and docker-compose up -d 12. (ubuntu) create route and upstream `curl "http://127.0.0.1:9080/apisix/admin/upstreams/99" -H "X-API-KEY: edd1c9f034335f136f87ad84b625c8f1" -X PUT -d ' { "type": "roundrobin", "nodes": { "10.70.190.49:80": 1 } }'` `curl "http://127.0.0.1:9080/apisix/admin/routes/99" -H "X-API-KEY: edd1c9f034335f136f87ad84b625c8f1" -X PUT -d ' { "methods": ["GET"], "uri": "/managesnsdata/*", "upstream_id": "99", "plugins": { "ext-plugin-pre-req": { "conf": [ { "name": "DemoFilter", "value":"{\"validate_header\":\"token\",\"rejected_code\":\"403\"}" } ] } } }'` 13. and then curl is called, the custom filter(DemoFilter) is not applied and it responds normally. How can i apply a filter? plz, review my step and solve this problem... Thank you in advance @tzssangglass ### Environment apisix-docker release/apisix-2.15.0 apisix-java-plugin-runner release/0.3.0 (local, ubuntu) JDK 11 local is macos Ubuntu 20.04.3 LTS -- 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]
