diff --git a/plugin/example/src/main/java/io/edurt/datacap/plugin/example/ExamplePluginModule.java b/plugin/example/src/main/java/io/edurt/datacap/plugin/example/ExamplePluginModule.java
index 291996e0..1badc3ac 100644
--- a/plugin/example/src/main/java/io/edurt/datacap/plugin/example/ExamplePluginModule.java
+++ b/plugin/example/src/main/java/io/edurt/datacap/plugin/example/ExamplePluginModule.java
@@ -19,7 +19,7 @@ public class ExamplePluginModule
@Override
public PluginType getType()
{
- return PluginType.SOURCE;
+ return PluginType.JDBC;
}
@Override
diff --git a/plugin/http/cratedb/pom.xml b/plugin/http/cratedb/pom.xml
new file mode 100644
index 00000000..1e67c4a0
--- /dev/null
+++ b/plugin/http/cratedb/pom.xml
@@ -0,0 +1,56 @@
+
+
+
+ datacap-plugin-http
+ io.edurt.datacap.plugin.http
+ 1.2.0-SNAPSHOT
+
+ 4.0.0
+
+ datacap-plugin-http-cratedb
+ DataCap plugin for http (CrateDB)
+
+
+ 2.6.0
+ http-cratedb
+
+
+
+
+ io.edurt.datacap
+ datacap-spi
+ provided
+
+
+ commons-beanutils
+ commons-beanutils
+
+
+
+
+
+
+ maven-assembly-plugin
+ ${assembly-plugin.version}
+
+ ${plugin.name}
+
+ ../../../configure/assembly/assembly-plugin.xml
+
+ ../../../dist/plugins/${plugin.name}
+
+
+
+ make-assembly
+ package
+
+ single
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/plugin/http/cratedb/src/main/java/io/edurt/datacap/plugin/http/cratedb/CrateDBAdapter.java b/plugin/http/cratedb/src/main/java/io/edurt/datacap/plugin/http/cratedb/CrateDBAdapter.java
new file mode 100644
index 00000000..415c182a
--- /dev/null
+++ b/plugin/http/cratedb/src/main/java/io/edurt/datacap/plugin/http/cratedb/CrateDBAdapter.java
@@ -0,0 +1,80 @@
+package io.edurt.datacap.plugin.http.cratedb;
+
+import io.edurt.datacap.spi.adapter.HttpAdapter;
+import io.edurt.datacap.spi.connection.HttpConfigure;
+import io.edurt.datacap.spi.connection.HttpConnection;
+import io.edurt.datacap.spi.connection.http.HttpClient;
+import io.edurt.datacap.spi.connection.http.HttpMethod;
+import io.edurt.datacap.spi.json.JSON;
+import io.edurt.datacap.spi.model.Response;
+import io.edurt.datacap.spi.model.Time;
+import lombok.extern.slf4j.Slf4j;
+import org.apache.commons.beanutils.BeanUtils;
+import org.apache.commons.lang3.ObjectUtils;
+
+import java.util.ArrayList;
+import java.util.Date;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+
+@Slf4j
+public class CrateDBAdapter
+ extends HttpAdapter
+{
+ public CrateDBAdapter(HttpConnection httpConnection)
+ {
+ super(httpConnection);
+ }
+
+ @Override
+ public Response handlerExecute(String content)
+ {
+ Time processorTime = new Time();
+ processorTime.setStart(new Date().getTime());
+ Response response = this.httpConnection.getResponse();
+ HttpConfigure httpConfigure = new HttpConfigure();
+ if (response.getIsConnected()) {
+ List headers = new ArrayList<>();
+ List types = new ArrayList<>();
+ List