This is an automated email from the ASF dual-hosted git repository.

spacewander pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/apisix-java-plugin-runner.git


The following commit(s) were added to refs/heads/main by this push:
     new 75ae97d  fix: adjust the code location of built-in plugins and custom 
plugins (#31)
75ae97d is described below

commit 75ae97d9e4cf8af8fefe99204b095e259afa7405
Author: tzssangglass <[email protected]>
AuthorDate: Tue Jun 15 14:40:15 2021 +0800

    fix: adjust the code location of built-in plugins and custom plugins (#31)
---
 docs/development.md                                |  2 +-
 runner-plugin/pom.xml                              | 13 ++++++++++++-
 .../apisix/plugin/runner/filter/package-info.java  | 22 ++++++++++++++++++++++
 3 files changed, 35 insertions(+), 2 deletions(-)

diff --git a/docs/development.md b/docs/development.md
index 7fb1892..76393ed 100644
--- a/docs/development.md
+++ b/docs/development.md
@@ -26,7 +26,7 @@ to learn how to extend `PluginFilter`, define the order, 
rewrite requests and st
 
 ####  Code Location
 
-You need to put the code in 
[runner-plugin-sdk](https://github.com/apache/apisix-java-plugin-runner/tree/main/runner-plugin-sdk/src/main/java/org/apache/apisix/plugin/runner)
+You need to put the code in 
[runner-plugin](https://github.com/apache/apisix-java-plugin-runner/tree/main/runner-plugin/src/main/java/org/apache/apisix/plugin/runner/filter)
 so that the `apisix-java-plugin-runner.jar` will contain the filter 
implementation class you wrote when you package it.
 
 ####  The order of filter execution
diff --git a/runner-plugin/pom.xml b/runner-plugin/pom.xml
index 607e364..5f5a93b 100644
--- a/runner-plugin/pom.xml
+++ b/runner-plugin/pom.xml
@@ -37,10 +37,21 @@
             <artifactId>apisix-runner-plugin-sdk</artifactId>
             <version>0.1.0-SNAPSHOT</version>
         </dependency>
-
+        <dependency>
+            <groupId>com.google.code.gson</groupId>
+            <artifactId>gson</artifactId>
+        </dependency>
         <dependency>
             <groupId>org.projectlombok</groupId>
             <artifactId>lombok</artifactId>
         </dependency>
+        <dependency>
+            <groupId>org.springframework</groupId>
+            <artifactId>spring-context</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>io.projectreactor</groupId>
+            <artifactId>reactor-core</artifactId>
+        </dependency>
     </dependencies>
 </project>
\ No newline at end of file
diff --git 
a/runner-plugin/src/main/java/org/apache/apisix/plugin/runner/filter/package-info.java
 
b/runner-plugin/src/main/java/org/apache/apisix/plugin/runner/filter/package-info.java
new file mode 100644
index 0000000..3c8ea59
--- /dev/null
+++ 
b/runner-plugin/src/main/java/org/apache/apisix/plugin/runner/filter/package-info.java
@@ -0,0 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/**
+ * build-in plugins and custom plugins are stored here
+ */
+
+package org.apache.apisix.plugin.runner.filter;

Reply via email to