diff --git a/build.gradle b/build.gradle index 71bef1ba..d537b6e1 100644 --- a/build.gradle +++ b/build.gradle @@ -36,6 +36,9 @@ buildscript { } repositories { + maven { + url "$rootDir/libs" + } mavenCentral() jcenter() maven { url 'https://dl.bintray.com/kotlin/kotlin-dev/' } @@ -71,6 +74,9 @@ allprojects { buildscript { repositories { + maven { + url "$rootDir/libs" + } maven { url 'https://plugins.gradle.org/m2/' } } } @@ -114,6 +120,9 @@ subprojects { } repositories { + maven { + url "$rootDir/libs" + } jcenter() mavenCentral() maven { url 'https://repo.spring.io/libs-milestone' } @@ -158,7 +167,6 @@ subprojects { } dependency("org.ehcache:ehcache:$ehcacheVersion") - dependency("org.elasticsearch.client:transport:$elasticVersion") dependency "org.springframework.data:spring-data-cassandra:$springCassandraVersion" dependency "org.springframework.data:spring-data-commons:$springCassandraVersion" @@ -222,6 +230,7 @@ project(":common-kafka") { compile "org.springframework.kafka:spring-kafka" compile "org.apache.kafka:kafka-clients" + compile "javax.annotation:javax.annotation-api:1.3.2" testCompile 'org.apache.kafka:kafka_2.11' testCompile 'org.springframework:spring-test' @@ -260,9 +269,10 @@ project(":search-api") { compile 'org.springframework.boot:spring-boot-starter-webflux' compile 'org.springframework.boot:spring-boot-starter-reactor-netty' compile 'org.springframework.boot:spring-boot-starter-actuator' - compile 'org.elasticsearch.client:transport' compile 'io.micrometer:micrometer-registry-prometheus' compile 'io.micrometer:micrometer-core' + compile 'com.strapdata.elasticsearch:elasticsearch:5.5.0' + compile 'com.strapdata.elasticsearch.client:transport:5.5.0' } } diff --git a/libs/com/strapdata/elasticsearch/client/rest/5.5.0/rest-5.5.0.jar b/libs/com/strapdata/elasticsearch/client/rest/5.5.0/rest-5.5.0.jar new file mode 100644 index 00000000..e69de29b diff --git a/libs/com/strapdata/elasticsearch/client/rest/5.5.0/rest-5.5.0.pom b/libs/com/strapdata/elasticsearch/client/rest/5.5.0/rest-5.5.0.pom new file mode 100644 index 00000000..df54b700 --- /dev/null +++ b/libs/com/strapdata/elasticsearch/client/rest/5.5.0/rest-5.5.0.pom @@ -0,0 +1,107 @@ + + + 4.0.0 + com.strapdata.elasticsearch.client + rest + 5.5.0 + + + org.apache.httpcomponents + httpclient + 4.5.2 + compile + + + org.apache.httpcomponents + httpcore + + + commons-logging + commons-logging + + + commons-codec + commons-codec + + + + + org.apache.httpcomponents + httpcore + 4.4.5 + compile + + + org.apache.httpcomponents + httpasyncclient + 4.1.2 + compile + + + org.apache.httpcomponents + httpcore + + + org.apache.httpcomponents + httpcore-nio + + + org.apache.httpcomponents + httpclient + + + commons-logging + commons-logging + + + commons-codec + commons-codec + + + + + org.apache.httpcomponents + httpcore-nio + 4.4.5 + compile + + + org.apache.httpcomponents + httpcore + + + + + commons-codec + commons-codec + 1.10 + compile + + + commons-logging + commons-logging + 1.1.3 + compile + + + 2015 + + + The Apache Software License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + repo + + + + + Strapdata + http://www.strapdata.com + + + rest + Elasticsearch subproject :client:rest + https://github.com/strapdata/elassandra + + git@github.com:strapdata/elassandra.git + + diff --git a/libs/com/strapdata/elasticsearch/client/rest/maven-metadata-local.xml b/libs/com/strapdata/elasticsearch/client/rest/maven-metadata-local.xml new file mode 100644 index 00000000..34ef7c79 --- /dev/null +++ b/libs/com/strapdata/elasticsearch/client/rest/maven-metadata-local.xml @@ -0,0 +1,12 @@ + + + com.strapdata.elasticsearch.client + rest + + 5.5.0 + + 5.5.0 + + 20180531134336 + + diff --git a/libs/com/strapdata/elasticsearch/client/sniffer/5.5.0/sniffer-5.5.0.jar b/libs/com/strapdata/elasticsearch/client/sniffer/5.5.0/sniffer-5.5.0.jar new file mode 100644 index 00000000..e69de29b diff --git a/libs/com/strapdata/elasticsearch/client/sniffer/5.5.0/sniffer-5.5.0.pom b/libs/com/strapdata/elasticsearch/client/sniffer/5.5.0/sniffer-5.5.0.pom new file mode 100644 index 00000000..9e25c2c6 --- /dev/null +++ b/libs/com/strapdata/elasticsearch/client/sniffer/5.5.0/sniffer-5.5.0.pom @@ -0,0 +1,79 @@ + + + 4.0.0 + com.strapdata.elasticsearch.client + sniffer + 5.5.0 + + + com.strapdata.elasticsearch.client + rest + 5.5.0 + compile + + + org.apache.httpcomponents + httpclient + 4.5.2 + compile + + + org.apache.httpcomponents + httpcore + + + commons-logging + commons-logging + + + commons-codec + commons-codec + + + + + org.apache.httpcomponents + httpcore + 4.4.5 + compile + + + commons-codec + commons-codec + 1.10 + compile + + + commons-logging + commons-logging + 1.1.3 + compile + + + com.fasterxml.jackson.core + jackson-core + 2.8.6 + compile + + + 2015 + + + The Apache Software License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + repo + + + + + Strapdata + http://www.strapdata.com + + + sniffer + Elasticsearch subproject :client:sniffer + https://github.com/strapdata/elassandra + + git@github.com:strapdata/elassandra.git + + diff --git a/libs/com/strapdata/elasticsearch/client/sniffer/maven-metadata-local.xml b/libs/com/strapdata/elasticsearch/client/sniffer/maven-metadata-local.xml new file mode 100644 index 00000000..4ea99364 --- /dev/null +++ b/libs/com/strapdata/elasticsearch/client/sniffer/maven-metadata-local.xml @@ -0,0 +1,12 @@ + + + com.strapdata.elasticsearch.client + sniffer + + 5.5.0 + + 5.5.0 + + 20180531134337 + + diff --git a/libs/com/strapdata/elasticsearch/client/transport/5.5.0/transport-5.5.0.jar b/libs/com/strapdata/elasticsearch/client/transport/5.5.0/transport-5.5.0.jar new file mode 100644 index 00000000..234d2f69 Binary files /dev/null and b/libs/com/strapdata/elasticsearch/client/transport/5.5.0/transport-5.5.0.jar differ diff --git a/libs/com/strapdata/elasticsearch/client/transport/5.5.0/transport-5.5.0.pom b/libs/com/strapdata/elasticsearch/client/transport/5.5.0/transport-5.5.0.pom new file mode 100644 index 00000000..ee2eae96 --- /dev/null +++ b/libs/com/strapdata/elasticsearch/client/transport/5.5.0/transport-5.5.0.pom @@ -0,0 +1,71 @@ + + + 4.0.0 + com.strapdata.elasticsearch.client + transport + 5.5.0 + + + com.strapdata.elasticsearch + elasticsearch + 5.5.0 + compile + + + com.strapdata.elasticsearch.plugin + transport-netty3-client + 5.5.0 + compile + + + com.strapdata.elasticsearch.plugin + transport-netty4-client + 5.5.0 + compile + + + com.strapdata.elasticsearch.plugin + reindex-client + 5.5.0 + compile + + + com.strapdata.elasticsearch.plugin + lang-mustache-client + 5.5.0 + compile + + + com.strapdata.elasticsearch.plugin + percolator-client + 5.5.0 + compile + + + com.strapdata.elasticsearch.plugin + parent-join-client + 5.5.0 + compile + + + 2015 + + + The Apache Software License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + repo + + + + + Strapdata + http://www.strapdata.com + + + transport + Elasticsearch subproject :client:transport + https://github.com/strapdata/elassandra + + git@github.com:strapdata/elassandra.git + + diff --git a/libs/com/strapdata/elasticsearch/client/transport/maven-metadata-local.xml b/libs/com/strapdata/elasticsearch/client/transport/maven-metadata-local.xml new file mode 100644 index 00000000..65c25c9f --- /dev/null +++ b/libs/com/strapdata/elasticsearch/client/transport/maven-metadata-local.xml @@ -0,0 +1,12 @@ + + + com.strapdata.elasticsearch.client + transport + + 5.5.0 + + 5.5.0 + + 20180531134351 + + diff --git a/libs/com/strapdata/elasticsearch/elasticsearch/5.5.0/elasticsearch-5.5.0.jar b/libs/com/strapdata/elasticsearch/elasticsearch/5.5.0/elasticsearch-5.5.0.jar new file mode 100644 index 00000000..df6dcbce Binary files /dev/null and b/libs/com/strapdata/elasticsearch/elasticsearch/5.5.0/elasticsearch-5.5.0.jar differ diff --git a/libs/com/strapdata/elasticsearch/elasticsearch/5.5.0/elasticsearch-5.5.0.pom b/libs/com/strapdata/elasticsearch/elasticsearch/5.5.0/elasticsearch-5.5.0.pom new file mode 100644 index 00000000..23bcb354 --- /dev/null +++ b/libs/com/strapdata/elasticsearch/elasticsearch/5.5.0/elasticsearch-5.5.0.pom @@ -0,0 +1,467 @@ + + + 4.0.0 + com.strapdata.elasticsearch + elasticsearch + 5.5.0 + + + org.apache.lucene + lucene-core + 6.6.0 + compile + + + org.apache.lucene + lucene-analyzers-common + 6.6.0 + compile + + + org.apache.lucene + lucene-core + + + + + org.apache.lucene + lucene-backward-codecs + 6.6.0 + compile + + + org.apache.lucene + lucene-core + + + + + org.apache.lucene + lucene-grouping + 6.6.0 + compile + + + org.apache.lucene + lucene-core + + + org.apache.lucene + lucene-queries + + + + + org.apache.lucene + lucene-highlighter + 6.6.0 + compile + + + org.apache.lucene + lucene-analyzers-common + + + org.apache.lucene + lucene-core + + + org.apache.lucene + lucene-join + + + org.apache.lucene + lucene-memory + + + org.apache.lucene + lucene-queries + + + + + org.apache.lucene + lucene-join + 6.6.0 + compile + + + org.apache.lucene + lucene-core + + + + + org.apache.lucene + lucene-memory + 6.6.0 + compile + + + org.apache.lucene + lucene-core + + + + + org.apache.lucene + lucene-misc + 6.6.0 + compile + + + org.apache.lucene + lucene-core + + + + + org.apache.lucene + lucene-queries + 6.6.0 + compile + + + org.apache.lucene + lucene-core + + + + + org.apache.lucene + lucene-queryparser + 6.6.0 + compile + + + org.apache.lucene + lucene-core + + + org.apache.lucene + lucene-queries + + + org.apache.lucene + lucene-sandbox + + + + + org.apache.lucene + lucene-sandbox + 6.6.0 + compile + + + org.apache.lucene + lucene-core + + + + + org.apache.lucene + lucene-spatial + 6.6.0 + compile + + + org.apache.lucene + lucene-core + + + + + org.apache.lucene + lucene-spatial-extras + 6.6.0 + compile + + + org.apache.lucene + lucene-core + + + org.apache.lucene + lucene-misc + + + org.apache.lucene + lucene-queries + + + org.apache.lucene + lucene-spatial3d + + + org.locationtech.spatial4j + spatial4j + + + + + org.apache.lucene + lucene-spatial3d + 6.6.0 + compile + + + org.apache.lucene + lucene-core + + + + + org.apache.lucene + lucene-suggest + 6.6.0 + compile + + + org.apache.lucene + lucene-analyzers-common + + + org.apache.lucene + lucene-core + + + org.apache.lucene + lucene-queries + + + + + org.elasticsearch + securesm + 1.1 + compile + + + net.sf.jopt-simple + jopt-simple + 5.0.2 + compile + + + com.carrotsearch + hppc + 0.7.1 + compile + + + joda-time + joda-time + 2.9.5 + compile + + + org.yaml + snakeyaml + 1.15 + compile + + + com.fasterxml.jackson.core + jackson-core + 2.8.6 + compile + + + com.fasterxml.jackson.dataformat + jackson-dataformat-smile + 2.8.6 + compile + + + com.fasterxml.jackson.core + jackson-core + + + + + com.fasterxml.jackson.dataformat + jackson-dataformat-yaml + 2.8.6 + compile + + + com.fasterxml.jackson.core + jackson-core + + + org.yaml + snakeyaml + + + + + com.fasterxml.jackson.dataformat + jackson-dataformat-cbor + 2.8.6 + compile + + + com.fasterxml.jackson.core + jackson-core + + + + + com.tdunning + t-digest + 3.0 + compile + + + org.hdrhistogram + HdrHistogram + 2.1.9 + compile + + + org.locationtech.spatial4j + spatial4j + 0.6 + compile + true + + + com.vividsolutions + jts + 1.13 + compile + true + + + org.apache.logging.log4j + log4j-api + 2.8.2 + compile + + + org.apache.logging.log4j + log4j-core + 2.8.2 + compile + + + org.apache.logging.log4j + log4j-api + + + true + + + org.elasticsearch + jna + 4.4.0 + compile + + + com.google.guava + guava + 19.0 + compile + + + com.strapdata.cassandra + cassandra-all + 3.11.2 + compile + + + org.apache.httpcomponents + httpclient + 4.5.2 + compile + + + org.apache.httpcomponents + httpcore + + + commons-logging + commons-logging + + + commons-codec + commons-codec + + + + + org.apache.httpcomponents + httpcore + 4.4.5 + compile + + + commons-codec + commons-codec + 1.10 + compile + + + commons-logging + commons-logging + 1.1.3 + compile + + + io.netty + netty-all + 4.1.12.Final + compile + + + org.apache.logging.log4j + log4j-to-slf4j + 2.8.2 + compile + + + org.slf4j + slf4j-api + + + org.apache.logging.log4j + log4j-api + + + + + org.slf4j + slf4j-api + 1.7.25 + compile + true + + + org.javassist + javassist + 3.20.0-GA + compile + + + 2015 + + + The Apache Software License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + repo + + + + + Strapdata + http://www.strapdata.com + + + core + Elasticsearch subproject :core + https://github.com/strapdata/elassandra + + git@github.com:strapdata/elassandra.git + + diff --git a/libs/com/strapdata/elasticsearch/elasticsearch/maven-metadata-local.xml b/libs/com/strapdata/elasticsearch/elasticsearch/maven-metadata-local.xml new file mode 100644 index 00000000..444322ab --- /dev/null +++ b/libs/com/strapdata/elasticsearch/elasticsearch/maven-metadata-local.xml @@ -0,0 +1,12 @@ + + + com.strapdata.elasticsearch + elasticsearch + + 5.5.0 + + 5.5.0 + + 20180531134332 + + diff --git a/libs/com/strapdata/elasticsearch/plugin/lang-mustache-client/5.5.0/lang-mustache-client-5.5.0.jar b/libs/com/strapdata/elasticsearch/plugin/lang-mustache-client/5.5.0/lang-mustache-client-5.5.0.jar new file mode 100644 index 00000000..b6642b03 Binary files /dev/null and b/libs/com/strapdata/elasticsearch/plugin/lang-mustache-client/5.5.0/lang-mustache-client-5.5.0.jar differ diff --git a/libs/com/strapdata/elasticsearch/plugin/lang-mustache-client/5.5.0/lang-mustache-client-5.5.0.pom b/libs/com/strapdata/elasticsearch/plugin/lang-mustache-client/5.5.0/lang-mustache-client-5.5.0.pom new file mode 100644 index 00000000..918e58b1 --- /dev/null +++ b/libs/com/strapdata/elasticsearch/plugin/lang-mustache-client/5.5.0/lang-mustache-client-5.5.0.pom @@ -0,0 +1,77 @@ + + + 4.0.0 + com.strapdata.elasticsearch.plugin + lang-mustache-client + 5.5.0 + + + com.github.spullara.mustache.java + compiler + 0.9.3 + compile + + + com.strapdata.elasticsearch + elasticsearch + 5.5.0 + provided + + + org.locationtech.spatial4j + spatial4j + 0.6 + provided + + + com.vividsolutions + jts + 1.13 + provided + + + org.apache.logging.log4j + log4j-api + 2.8.2 + provided + + + org.apache.logging.log4j + log4j-core + 2.8.2 + provided + + + org.apache.logging.log4j + log4j-api + + + + + org.elasticsearch + jna + 4.4.0 + provided + + + 2015 + + + The Apache Software License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + repo + + + + + Strapdata + http://www.strapdata.com + + + lang-mustache + Mustache scripting integration for Elasticsearch + https://github.com/strapdata/elassandra + + git@github.com:strapdata/elassandra.git + + diff --git a/libs/com/strapdata/elasticsearch/plugin/lang-mustache-client/maven-metadata-local.xml b/libs/com/strapdata/elasticsearch/plugin/lang-mustache-client/maven-metadata-local.xml new file mode 100644 index 00000000..0018f9b7 --- /dev/null +++ b/libs/com/strapdata/elasticsearch/plugin/lang-mustache-client/maven-metadata-local.xml @@ -0,0 +1,12 @@ + + + com.strapdata.elasticsearch.plugin + lang-mustache-client + + 5.5.0 + + 5.5.0 + + 20180531134411 + + diff --git a/libs/com/strapdata/elasticsearch/plugin/lang-mustache/5.5.0/lang-mustache-5.5.0.jar b/libs/com/strapdata/elasticsearch/plugin/lang-mustache/5.5.0/lang-mustache-5.5.0.jar new file mode 100644 index 00000000..b6642b03 Binary files /dev/null and b/libs/com/strapdata/elasticsearch/plugin/lang-mustache/5.5.0/lang-mustache-5.5.0.jar differ diff --git a/libs/com/strapdata/elasticsearch/plugin/lang-mustache/5.5.0/lang-mustache-5.5.0.pom b/libs/com/strapdata/elasticsearch/plugin/lang-mustache/5.5.0/lang-mustache-5.5.0.pom new file mode 100644 index 00000000..4a826400 --- /dev/null +++ b/libs/com/strapdata/elasticsearch/plugin/lang-mustache/5.5.0/lang-mustache-5.5.0.pom @@ -0,0 +1,71 @@ + + + 4.0.0 + com.strapdata.elasticsearch.plugin + lang-mustache + 5.5.0 + + + com.github.spullara.mustache.java + compiler + 0.9.3 + compile + + + com.strapdata.elasticsearch + elasticsearch + 5.5.0 + provided + + + org.locationtech.spatial4j + spatial4j + 0.6 + provided + + + com.vividsolutions + jts + 1.13 + provided + + + org.apache.logging.log4j + log4j-api + 2.8.2 + provided + + + org.apache.logging.log4j + log4j-core + 2.8.2 + provided + + + org.apache.logging.log4j + log4j-api + + + + + org.elasticsearch + jna + 4.4.0 + provided + + + 2015 + + + The Apache Software License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + repo + + + + + Strapdata + http://www.strapdata.com + + + diff --git a/libs/com/strapdata/elasticsearch/plugin/lang-mustache/maven-metadata-local.xml b/libs/com/strapdata/elasticsearch/plugin/lang-mustache/maven-metadata-local.xml new file mode 100644 index 00000000..444a8cfe --- /dev/null +++ b/libs/com/strapdata/elasticsearch/plugin/lang-mustache/maven-metadata-local.xml @@ -0,0 +1,12 @@ + + + com.strapdata.elasticsearch.plugin + lang-mustache + + 5.5.0 + + 5.5.0 + + 20180531134411 + + diff --git a/libs/com/strapdata/elasticsearch/plugin/parent-join-client/5.5.0/parent-join-client-5.5.0.jar b/libs/com/strapdata/elasticsearch/plugin/parent-join-client/5.5.0/parent-join-client-5.5.0.jar new file mode 100644 index 00000000..08055647 Binary files /dev/null and b/libs/com/strapdata/elasticsearch/plugin/parent-join-client/5.5.0/parent-join-client-5.5.0.jar differ diff --git a/libs/com/strapdata/elasticsearch/plugin/parent-join-client/5.5.0/parent-join-client-5.5.0.pom b/libs/com/strapdata/elasticsearch/plugin/parent-join-client/5.5.0/parent-join-client-5.5.0.pom new file mode 100644 index 00000000..c049badf --- /dev/null +++ b/libs/com/strapdata/elasticsearch/plugin/parent-join-client/5.5.0/parent-join-client-5.5.0.pom @@ -0,0 +1,71 @@ + + + 4.0.0 + com.strapdata.elasticsearch.plugin + parent-join-client + 5.5.0 + + + com.strapdata.elasticsearch + elasticsearch + 5.5.0 + provided + + + org.locationtech.spatial4j + spatial4j + 0.6 + provided + + + com.vividsolutions + jts + 1.13 + provided + + + org.apache.logging.log4j + log4j-api + 2.8.2 + provided + + + org.apache.logging.log4j + log4j-core + 2.8.2 + provided + + + org.apache.logging.log4j + log4j-api + + + + + org.elasticsearch + jna + 4.4.0 + provided + + + 2015 + + + The Apache Software License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + repo + + + + + Strapdata + http://www.strapdata.com + + + parent-join + This module adds the support parent-child queries and aggregations + https://github.com/strapdata/elassandra + + git@github.com:strapdata/elassandra.git + + diff --git a/libs/com/strapdata/elasticsearch/plugin/parent-join-client/maven-metadata-local.xml b/libs/com/strapdata/elasticsearch/plugin/parent-join-client/maven-metadata-local.xml new file mode 100644 index 00000000..8f686a5e --- /dev/null +++ b/libs/com/strapdata/elasticsearch/plugin/parent-join-client/maven-metadata-local.xml @@ -0,0 +1,12 @@ + + + com.strapdata.elasticsearch.plugin + parent-join-client + + 5.5.0 + + 5.5.0 + + 20180531134411 + + diff --git a/libs/com/strapdata/elasticsearch/plugin/parent-join/5.5.0/parent-join-5.5.0.jar b/libs/com/strapdata/elasticsearch/plugin/parent-join/5.5.0/parent-join-5.5.0.jar new file mode 100644 index 00000000..08055647 Binary files /dev/null and b/libs/com/strapdata/elasticsearch/plugin/parent-join/5.5.0/parent-join-5.5.0.jar differ diff --git a/libs/com/strapdata/elasticsearch/plugin/parent-join/5.5.0/parent-join-5.5.0.pom b/libs/com/strapdata/elasticsearch/plugin/parent-join/5.5.0/parent-join-5.5.0.pom new file mode 100644 index 00000000..6a191e1c --- /dev/null +++ b/libs/com/strapdata/elasticsearch/plugin/parent-join/5.5.0/parent-join-5.5.0.pom @@ -0,0 +1,65 @@ + + + 4.0.0 + com.strapdata.elasticsearch.plugin + parent-join + 5.5.0 + + + com.strapdata.elasticsearch + elasticsearch + 5.5.0 + provided + + + org.locationtech.spatial4j + spatial4j + 0.6 + provided + + + com.vividsolutions + jts + 1.13 + provided + + + org.apache.logging.log4j + log4j-api + 2.8.2 + provided + + + org.apache.logging.log4j + log4j-core + 2.8.2 + provided + + + org.apache.logging.log4j + log4j-api + + + + + org.elasticsearch + jna + 4.4.0 + provided + + + 2015 + + + The Apache Software License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + repo + + + + + Strapdata + http://www.strapdata.com + + + diff --git a/libs/com/strapdata/elasticsearch/plugin/parent-join/maven-metadata-local.xml b/libs/com/strapdata/elasticsearch/plugin/parent-join/maven-metadata-local.xml new file mode 100644 index 00000000..12bbfd04 --- /dev/null +++ b/libs/com/strapdata/elasticsearch/plugin/parent-join/maven-metadata-local.xml @@ -0,0 +1,12 @@ + + + com.strapdata.elasticsearch.plugin + parent-join + + 5.5.0 + + 5.5.0 + + 20180531134411 + + diff --git a/libs/com/strapdata/elasticsearch/plugin/percolator-client/5.5.0/percolator-client-5.5.0.jar b/libs/com/strapdata/elasticsearch/plugin/percolator-client/5.5.0/percolator-client-5.5.0.jar new file mode 100644 index 00000000..12843a45 Binary files /dev/null and b/libs/com/strapdata/elasticsearch/plugin/percolator-client/5.5.0/percolator-client-5.5.0.jar differ diff --git a/libs/com/strapdata/elasticsearch/plugin/percolator-client/5.5.0/percolator-client-5.5.0.pom b/libs/com/strapdata/elasticsearch/plugin/percolator-client/5.5.0/percolator-client-5.5.0.pom new file mode 100644 index 00000000..51412b69 --- /dev/null +++ b/libs/com/strapdata/elasticsearch/plugin/percolator-client/5.5.0/percolator-client-5.5.0.pom @@ -0,0 +1,71 @@ + + + 4.0.0 + com.strapdata.elasticsearch.plugin + percolator-client + 5.5.0 + + + com.strapdata.elasticsearch + elasticsearch + 5.5.0 + provided + + + org.locationtech.spatial4j + spatial4j + 0.6 + provided + + + com.vividsolutions + jts + 1.13 + provided + + + org.apache.logging.log4j + log4j-api + 2.8.2 + provided + + + org.apache.logging.log4j + log4j-core + 2.8.2 + provided + + + org.apache.logging.log4j + log4j-api + + + + + org.elasticsearch + jna + 4.4.0 + provided + + + 2015 + + + The Apache Software License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + repo + + + + + Strapdata + http://www.strapdata.com + + + percolator + Percolator module adds capability to index queries and query these queries by specifying documents + https://github.com/strapdata/elassandra + + git@github.com:strapdata/elassandra.git + + diff --git a/libs/com/strapdata/elasticsearch/plugin/percolator-client/maven-metadata-local.xml b/libs/com/strapdata/elasticsearch/plugin/percolator-client/maven-metadata-local.xml new file mode 100644 index 00000000..5e780047 --- /dev/null +++ b/libs/com/strapdata/elasticsearch/plugin/percolator-client/maven-metadata-local.xml @@ -0,0 +1,12 @@ + + + com.strapdata.elasticsearch.plugin + percolator-client + + 5.5.0 + + 5.5.0 + + 20180531134411 + + diff --git a/libs/com/strapdata/elasticsearch/plugin/percolator/5.5.0/percolator-5.5.0.jar b/libs/com/strapdata/elasticsearch/plugin/percolator/5.5.0/percolator-5.5.0.jar new file mode 100644 index 00000000..12843a45 Binary files /dev/null and b/libs/com/strapdata/elasticsearch/plugin/percolator/5.5.0/percolator-5.5.0.jar differ diff --git a/libs/com/strapdata/elasticsearch/plugin/percolator/5.5.0/percolator-5.5.0.pom b/libs/com/strapdata/elasticsearch/plugin/percolator/5.5.0/percolator-5.5.0.pom new file mode 100644 index 00000000..a31a1948 --- /dev/null +++ b/libs/com/strapdata/elasticsearch/plugin/percolator/5.5.0/percolator-5.5.0.pom @@ -0,0 +1,65 @@ + + + 4.0.0 + com.strapdata.elasticsearch.plugin + percolator + 5.5.0 + + + com.strapdata.elasticsearch + elasticsearch + 5.5.0 + provided + + + org.locationtech.spatial4j + spatial4j + 0.6 + provided + + + com.vividsolutions + jts + 1.13 + provided + + + org.apache.logging.log4j + log4j-api + 2.8.2 + provided + + + org.apache.logging.log4j + log4j-core + 2.8.2 + provided + + + org.apache.logging.log4j + log4j-api + + + + + org.elasticsearch + jna + 4.4.0 + provided + + + 2015 + + + The Apache Software License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + repo + + + + + Strapdata + http://www.strapdata.com + + + diff --git a/libs/com/strapdata/elasticsearch/plugin/percolator/maven-metadata-local.xml b/libs/com/strapdata/elasticsearch/plugin/percolator/maven-metadata-local.xml new file mode 100644 index 00000000..176287d8 --- /dev/null +++ b/libs/com/strapdata/elasticsearch/plugin/percolator/maven-metadata-local.xml @@ -0,0 +1,12 @@ + + + com.strapdata.elasticsearch.plugin + percolator + + 5.5.0 + + 5.5.0 + + 20180531134411 + + diff --git a/libs/com/strapdata/elasticsearch/plugin/reindex-client/5.5.0/reindex-client-5.5.0.jar b/libs/com/strapdata/elasticsearch/plugin/reindex-client/5.5.0/reindex-client-5.5.0.jar new file mode 100644 index 00000000..7e38c65c Binary files /dev/null and b/libs/com/strapdata/elasticsearch/plugin/reindex-client/5.5.0/reindex-client-5.5.0.jar differ diff --git a/libs/com/strapdata/elasticsearch/plugin/reindex-client/5.5.0/reindex-client-5.5.0.pom b/libs/com/strapdata/elasticsearch/plugin/reindex-client/5.5.0/reindex-client-5.5.0.pom new file mode 100644 index 00000000..4cb28b28 --- /dev/null +++ b/libs/com/strapdata/elasticsearch/plugin/reindex-client/5.5.0/reindex-client-5.5.0.pom @@ -0,0 +1,77 @@ + + + 4.0.0 + com.strapdata.elasticsearch.plugin + reindex-client + 5.5.0 + + + com.strapdata.elasticsearch.client + rest + 5.5.0 + compile + + + com.strapdata.elasticsearch + elasticsearch + 5.5.0 + provided + + + org.locationtech.spatial4j + spatial4j + 0.6 + provided + + + com.vividsolutions + jts + 1.13 + provided + + + org.apache.logging.log4j + log4j-api + 2.8.2 + provided + + + org.apache.logging.log4j + log4j-core + 2.8.2 + provided + + + org.apache.logging.log4j + log4j-api + + + + + org.elasticsearch + jna + 4.4.0 + provided + + + 2015 + + + The Apache Software License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + repo + + + + + Strapdata + http://www.strapdata.com + + + reindex + The Reindex module adds APIs to reindex from one index to another or update documents in place. + https://github.com/strapdata/elassandra + + git@github.com:strapdata/elassandra.git + + diff --git a/libs/com/strapdata/elasticsearch/plugin/reindex-client/maven-metadata-local.xml b/libs/com/strapdata/elasticsearch/plugin/reindex-client/maven-metadata-local.xml new file mode 100644 index 00000000..e3ebf4a6 --- /dev/null +++ b/libs/com/strapdata/elasticsearch/plugin/reindex-client/maven-metadata-local.xml @@ -0,0 +1,12 @@ + + + com.strapdata.elasticsearch.plugin + reindex-client + + 5.5.0 + + 5.5.0 + + 20180531134411 + + diff --git a/libs/com/strapdata/elasticsearch/plugin/reindex/5.5.0/reindex-5.5.0.jar b/libs/com/strapdata/elasticsearch/plugin/reindex/5.5.0/reindex-5.5.0.jar new file mode 100644 index 00000000..7e38c65c Binary files /dev/null and b/libs/com/strapdata/elasticsearch/plugin/reindex/5.5.0/reindex-5.5.0.jar differ diff --git a/libs/com/strapdata/elasticsearch/plugin/reindex/5.5.0/reindex-5.5.0.pom b/libs/com/strapdata/elasticsearch/plugin/reindex/5.5.0/reindex-5.5.0.pom new file mode 100644 index 00000000..466d8451 --- /dev/null +++ b/libs/com/strapdata/elasticsearch/plugin/reindex/5.5.0/reindex-5.5.0.pom @@ -0,0 +1,71 @@ + + + 4.0.0 + com.strapdata.elasticsearch.plugin + reindex + 5.5.0 + + + com.strapdata.elasticsearch.client + rest + 5.5.0 + compile + + + com.strapdata.elasticsearch + elasticsearch + 5.5.0 + provided + + + org.locationtech.spatial4j + spatial4j + 0.6 + provided + + + com.vividsolutions + jts + 1.13 + provided + + + org.apache.logging.log4j + log4j-api + 2.8.2 + provided + + + org.apache.logging.log4j + log4j-core + 2.8.2 + provided + + + org.apache.logging.log4j + log4j-api + + + + + org.elasticsearch + jna + 4.4.0 + provided + + + 2015 + + + The Apache Software License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + repo + + + + + Strapdata + http://www.strapdata.com + + + diff --git a/libs/com/strapdata/elasticsearch/plugin/reindex/maven-metadata-local.xml b/libs/com/strapdata/elasticsearch/plugin/reindex/maven-metadata-local.xml new file mode 100644 index 00000000..67f093ce --- /dev/null +++ b/libs/com/strapdata/elasticsearch/plugin/reindex/maven-metadata-local.xml @@ -0,0 +1,12 @@ + + + com.strapdata.elasticsearch.plugin + reindex + + 5.5.0 + + 5.5.0 + + 20180531134411 + + diff --git a/libs/com/strapdata/elasticsearch/plugin/transport-netty3-client/5.5.0/transport-netty3-client-5.5.0.jar b/libs/com/strapdata/elasticsearch/plugin/transport-netty3-client/5.5.0/transport-netty3-client-5.5.0.jar new file mode 100644 index 00000000..f0272536 Binary files /dev/null and b/libs/com/strapdata/elasticsearch/plugin/transport-netty3-client/5.5.0/transport-netty3-client-5.5.0.jar differ diff --git a/libs/com/strapdata/elasticsearch/plugin/transport-netty3-client/5.5.0/transport-netty3-client-5.5.0.pom b/libs/com/strapdata/elasticsearch/plugin/transport-netty3-client/5.5.0/transport-netty3-client-5.5.0.pom new file mode 100644 index 00000000..9a0c7fb8 --- /dev/null +++ b/libs/com/strapdata/elasticsearch/plugin/transport-netty3-client/5.5.0/transport-netty3-client-5.5.0.pom @@ -0,0 +1,77 @@ + + + 4.0.0 + com.strapdata.elasticsearch.plugin + transport-netty3-client + 5.5.0 + + + io.netty + netty + 3.10.6.Final + compile + + + com.strapdata.elasticsearch + elasticsearch + 5.5.0 + provided + + + org.locationtech.spatial4j + spatial4j + 0.6 + provided + + + com.vividsolutions + jts + 1.13 + provided + + + org.apache.logging.log4j + log4j-api + 2.8.2 + provided + + + org.apache.logging.log4j + log4j-core + 2.8.2 + provided + + + org.apache.logging.log4j + log4j-api + + + + + org.elasticsearch + jna + 4.4.0 + provided + + + 2015 + + + The Apache Software License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + repo + + + + + Strapdata + http://www.strapdata.com + + + transport-netty3 + Netty 3 based transport implementation + https://github.com/strapdata/elassandra + + git@github.com:strapdata/elassandra.git + + diff --git a/libs/com/strapdata/elasticsearch/plugin/transport-netty3-client/maven-metadata-local.xml b/libs/com/strapdata/elasticsearch/plugin/transport-netty3-client/maven-metadata-local.xml new file mode 100644 index 00000000..5cb8e68d --- /dev/null +++ b/libs/com/strapdata/elasticsearch/plugin/transport-netty3-client/maven-metadata-local.xml @@ -0,0 +1,12 @@ + + + com.strapdata.elasticsearch.plugin + transport-netty3-client + + 5.5.0 + + 5.5.0 + + 20180531134411 + + diff --git a/libs/com/strapdata/elasticsearch/plugin/transport-netty3/5.5.0/transport-netty3-5.5.0.jar b/libs/com/strapdata/elasticsearch/plugin/transport-netty3/5.5.0/transport-netty3-5.5.0.jar new file mode 100644 index 00000000..f0272536 Binary files /dev/null and b/libs/com/strapdata/elasticsearch/plugin/transport-netty3/5.5.0/transport-netty3-5.5.0.jar differ diff --git a/libs/com/strapdata/elasticsearch/plugin/transport-netty3/5.5.0/transport-netty3-5.5.0.pom b/libs/com/strapdata/elasticsearch/plugin/transport-netty3/5.5.0/transport-netty3-5.5.0.pom new file mode 100644 index 00000000..1b62c390 --- /dev/null +++ b/libs/com/strapdata/elasticsearch/plugin/transport-netty3/5.5.0/transport-netty3-5.5.0.pom @@ -0,0 +1,71 @@ + + + 4.0.0 + com.strapdata.elasticsearch.plugin + transport-netty3 + 5.5.0 + + + io.netty + netty + 3.10.6.Final + compile + + + com.strapdata.elasticsearch + elasticsearch + 5.5.0 + provided + + + org.locationtech.spatial4j + spatial4j + 0.6 + provided + + + com.vividsolutions + jts + 1.13 + provided + + + org.apache.logging.log4j + log4j-api + 2.8.2 + provided + + + org.apache.logging.log4j + log4j-core + 2.8.2 + provided + + + org.apache.logging.log4j + log4j-api + + + + + org.elasticsearch + jna + 4.4.0 + provided + + + 2015 + + + The Apache Software License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + repo + + + + + Strapdata + http://www.strapdata.com + + + diff --git a/libs/com/strapdata/elasticsearch/plugin/transport-netty3/maven-metadata-local.xml b/libs/com/strapdata/elasticsearch/plugin/transport-netty3/maven-metadata-local.xml new file mode 100644 index 00000000..fa262e61 --- /dev/null +++ b/libs/com/strapdata/elasticsearch/plugin/transport-netty3/maven-metadata-local.xml @@ -0,0 +1,12 @@ + + + com.strapdata.elasticsearch.plugin + transport-netty3 + + 5.5.0 + + 5.5.0 + + 20180531134411 + + diff --git a/libs/com/strapdata/elasticsearch/plugin/transport-netty4-client/5.5.0/transport-netty4-client-5.5.0.jar b/libs/com/strapdata/elasticsearch/plugin/transport-netty4-client/5.5.0/transport-netty4-client-5.5.0.jar new file mode 100644 index 00000000..e430006f Binary files /dev/null and b/libs/com/strapdata/elasticsearch/plugin/transport-netty4-client/5.5.0/transport-netty4-client-5.5.0.jar differ diff --git a/libs/com/strapdata/elasticsearch/plugin/transport-netty4-client/5.5.0/transport-netty4-client-5.5.0.pom b/libs/com/strapdata/elasticsearch/plugin/transport-netty4-client/5.5.0/transport-netty4-client-5.5.0.pom new file mode 100644 index 00000000..de777849 --- /dev/null +++ b/libs/com/strapdata/elasticsearch/plugin/transport-netty4-client/5.5.0/transport-netty4-client-5.5.0.pom @@ -0,0 +1,71 @@ + + + 4.0.0 + com.strapdata.elasticsearch.plugin + transport-netty4-client + 5.5.0 + + + com.strapdata.elasticsearch + elasticsearch + 5.5.0 + provided + + + org.locationtech.spatial4j + spatial4j + 0.6 + provided + + + com.vividsolutions + jts + 1.13 + provided + + + org.apache.logging.log4j + log4j-api + 2.8.2 + provided + + + org.apache.logging.log4j + log4j-core + 2.8.2 + provided + + + org.apache.logging.log4j + log4j-api + + + + + org.elasticsearch + jna + 4.4.0 + provided + + + 2015 + + + The Apache Software License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + repo + + + + + Strapdata + http://www.strapdata.com + + + transport-netty4 + Netty 4 based transport implementation + https://github.com/strapdata/elassandra + + git@github.com:strapdata/elassandra.git + + diff --git a/libs/com/strapdata/elasticsearch/plugin/transport-netty4-client/maven-metadata-local.xml b/libs/com/strapdata/elasticsearch/plugin/transport-netty4-client/maven-metadata-local.xml new file mode 100644 index 00000000..dc6f9035 --- /dev/null +++ b/libs/com/strapdata/elasticsearch/plugin/transport-netty4-client/maven-metadata-local.xml @@ -0,0 +1,12 @@ + + + com.strapdata.elasticsearch.plugin + transport-netty4-client + + 5.5.0 + + 5.5.0 + + 20180531134411 + + diff --git a/libs/com/strapdata/elasticsearch/plugin/transport-netty4/5.5.0/transport-netty4-5.5.0.jar b/libs/com/strapdata/elasticsearch/plugin/transport-netty4/5.5.0/transport-netty4-5.5.0.jar new file mode 100644 index 00000000..e430006f Binary files /dev/null and b/libs/com/strapdata/elasticsearch/plugin/transport-netty4/5.5.0/transport-netty4-5.5.0.jar differ diff --git a/libs/com/strapdata/elasticsearch/plugin/transport-netty4/5.5.0/transport-netty4-5.5.0.pom b/libs/com/strapdata/elasticsearch/plugin/transport-netty4/5.5.0/transport-netty4-5.5.0.pom new file mode 100644 index 00000000..365aa17e --- /dev/null +++ b/libs/com/strapdata/elasticsearch/plugin/transport-netty4/5.5.0/transport-netty4-5.5.0.pom @@ -0,0 +1,65 @@ + + + 4.0.0 + com.strapdata.elasticsearch.plugin + transport-netty4 + 5.5.0 + + + com.strapdata.elasticsearch + elasticsearch + 5.5.0 + provided + + + org.locationtech.spatial4j + spatial4j + 0.6 + provided + + + com.vividsolutions + jts + 1.13 + provided + + + org.apache.logging.log4j + log4j-api + 2.8.2 + provided + + + org.apache.logging.log4j + log4j-core + 2.8.2 + provided + + + org.apache.logging.log4j + log4j-api + + + + + org.elasticsearch + jna + 4.4.0 + provided + + + 2015 + + + The Apache Software License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + repo + + + + + Strapdata + http://www.strapdata.com + + + diff --git a/libs/com/strapdata/elasticsearch/plugin/transport-netty4/maven-metadata-local.xml b/libs/com/strapdata/elasticsearch/plugin/transport-netty4/maven-metadata-local.xml new file mode 100644 index 00000000..588b227a --- /dev/null +++ b/libs/com/strapdata/elasticsearch/plugin/transport-netty4/maven-metadata-local.xml @@ -0,0 +1,12 @@ + + + com.strapdata.elasticsearch.plugin + transport-netty4 + + 5.5.0 + + 5.5.0 + + 20180531134411 + + diff --git a/search-api/src/main/kotlin/fund/cyber/api/search/SearchController.kt b/search-api/src/main/kotlin/fund/cyber/api/search/SearchController.kt index 6fec42d5..f814e4aa 100644 --- a/search-api/src/main/kotlin/fund/cyber/api/search/SearchController.kt +++ b/search-api/src/main/kotlin/fund/cyber/api/search/SearchController.kt @@ -48,6 +48,22 @@ class SearchController( ) } + @GetMapping("/search/stats") + fun searchStats() : Mono { + + val indicesStats = elasticClient.admin().indices().prepareStats().setStore(true).setDocs(true).execute().get() + + val indexSizeBytes = indicesStats.total.store.sizeInBytes + + val transactionsCount = indicesStats.indices + .filterKeys { indexName -> indexName.endsWith("tx", true)} + .values.map { txIndexStat -> txIndexStat.primaries.docs.count }.sum() + + val chains = indicesStats.indices.keys.map { indexName -> indexName.substringBefore(".") }.toSet() + + return Mono.just(SearchStatsResponse(chains.size, transactionsCount, indexSizeBytes)) + } + private fun prepareIndices(chains: Array, types: Array): Array { val chainsToFilter = if (chains.isEmpty()) arrayOf("*") else chains val typesToFilter = if (types.isEmpty()) arrayOf("*") else types diff --git a/search-api/src/main/kotlin/fund/cyber/api/search/SearchModel.kt b/search-api/src/main/kotlin/fund/cyber/api/search/SearchModel.kt index 3fbc03d3..8c2d2f26 100644 --- a/search-api/src/main/kotlin/fund/cyber/api/search/SearchModel.kt +++ b/search-api/src/main/kotlin/fund/cyber/api/search/SearchModel.kt @@ -4,19 +4,26 @@ import com.fasterxml.jackson.annotation.JsonRawValue data class ItemPreview( - val chain: String, - val entity: String, - @JsonRawValue val data: String + val chain: String, + val entity: String, + @JsonRawValue val data: String ) data class SearchResponse( - val query: String, - val page: Int, - val pageSize: Int, + val query: String, + val page: Int, + val pageSize: Int, - val totalHits: Long, - val searchTime: Long, //ms - val items: List + val totalHits: Long, + val searchTime: Long, //ms + val items: List +) + + +data class SearchStatsResponse( + val blockchains: Int, + val transactionsCount: Long, + val indexSizeBytes: Long )