Hello everyone, my name is Eric Liu and I am a Google Summer of Code 2022
student working with ZhengSong Tu.


I want to optimize apisix-java-plugin-runner by deploying its JAR to Maven
Central, allowing users to build plugins without having to clone the source
code.

So far I have

   1.

   Deployed a test JAR to Maven Central under my GAV coordinates (
   https://search.maven.org/search?q=io.github.ericluoliu)
   2.

   Created a Demo Java Project (
   https://github.com/ericluoliu/DemoAPISIXJavaProject), demo includes:
   1.

      Main Class
      2.

      Demo Filter Class (implements PluginFilter)
      3.

      POM.xml including maven spring boot plugin and coordinates to *Maven
      Central JAR*
      4.

      Properties file
      3.

   Tested Demo Java Project by:
   1.

      Building executable JAR with command $mvn clean package
      2.

      Running java-plugin-runner-process (with appropriate environment
      variables) alongside APISIX process and using curl commands to verify
      communication between APISIX and java-plugin-runner over /tmp/socket.file


Releasing APISIX Java-Plugin-Runner to Maven would simplify the java-plugin
development process, increasing user productivity and drawing more
developers to both APISIX and apisix-java-plugin-runner. Relevant PR can be
found here: https://github.com/apache/apisix-java-plugin-runner/pull/153.

I would love to hear everyone's thoughts on this.
Thanks!
~Eric Liu

Reply via email to