Skip to content
This repository has been archived by the owner on Jan 29, 2019. It is now read-only.

Commit

Permalink
#30 API: Expose index stats. Elastic index statistics
Browse files Browse the repository at this point in the history
  • Loading branch information
arturalbov committed May 31, 2018
1 parent c56f604 commit 2682567
Show file tree
Hide file tree
Showing 51 changed files with 1,812 additions and 11 deletions.
14 changes: 12 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ buildscript {
}

repositories {
maven {
url "$rootDir/libs"
}
mavenCentral()
jcenter()
maven { url 'https://dl.bintray.com/kotlin/kotlin-dev/' }
Expand Down Expand Up @@ -71,6 +74,9 @@ allprojects {

buildscript {
repositories {
maven {
url "$rootDir/libs"
}
maven { url 'https://plugins.gradle.org/m2/' }
}
}
Expand Down Expand Up @@ -114,6 +120,9 @@ subprojects {
}

repositories {
maven {
url "$rootDir/libs"
}
jcenter()
mavenCentral()
maven { url 'https://repo.spring.io/libs-milestone' }
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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'
Expand Down Expand Up @@ -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'
}
}

Expand Down
Empty file.
107 changes: 107 additions & 0 deletions libs/com/strapdata/elasticsearch/client/rest/5.5.0/rest-5.5.0.pom
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>com.strapdata.elasticsearch.client</groupId>
<artifactId>rest</artifactId>
<version>5.5.0</version>
<dependencies>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
<version>4.5.2</version>
<scope>compile</scope>
<exclusions>
<exclusion>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpcore</artifactId>
</exclusion>
<exclusion>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
</exclusion>
<exclusion>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpcore</artifactId>
<version>4.4.5</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpasyncclient</artifactId>
<version>4.1.2</version>
<scope>compile</scope>
<exclusions>
<exclusion>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpcore</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpcore-nio</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
</exclusion>
<exclusion>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
</exclusion>
<exclusion>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpcore-nio</artifactId>
<version>4.4.5</version>
<scope>compile</scope>
<exclusions>
<exclusion>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpcore</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
<version>1.10</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
<version>1.1.3</version>
<scope>compile</scope>
</dependency>
</dependencies>
<inceptionYear>2015</inceptionYear>
<licenses>
<license>
<name>The Apache Software License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
</license>
</licenses>
<developers>
<developer>
<name>Strapdata</name>
<url>http://www.strapdata.com</url>
</developer>
</developers>
<name>rest</name>
<description>Elasticsearch subproject :client:rest</description>
<url>https://github.com/strapdata/elassandra</url>
<scm>
<url>git@github.com:strapdata/elassandra.git</url>
</scm>
</project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<metadata>
<groupId>com.strapdata.elasticsearch.client</groupId>
<artifactId>rest</artifactId>
<versioning>
<release>5.5.0</release>
<versions>
<version>5.5.0</version>
</versions>
<lastUpdated>20180531134336</lastUpdated>
</versioning>
</metadata>
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>com.strapdata.elasticsearch.client</groupId>
<artifactId>sniffer</artifactId>
<version>5.5.0</version>
<dependencies>
<dependency>
<groupId>com.strapdata.elasticsearch.client</groupId>
<artifactId>rest</artifactId>
<version>5.5.0</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
<version>4.5.2</version>
<scope>compile</scope>
<exclusions>
<exclusion>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpcore</artifactId>
</exclusion>
<exclusion>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
</exclusion>
<exclusion>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpcore</artifactId>
<version>4.4.5</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
<version>1.10</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
<version>1.1.3</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
<version>2.8.6</version>
<scope>compile</scope>
</dependency>
</dependencies>
<inceptionYear>2015</inceptionYear>
<licenses>
<license>
<name>The Apache Software License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
</license>
</licenses>
<developers>
<developer>
<name>Strapdata</name>
<url>http://www.strapdata.com</url>
</developer>
</developers>
<name>sniffer</name>
<description>Elasticsearch subproject :client:sniffer</description>
<url>https://github.com/strapdata/elassandra</url>
<scm>
<url>git@github.com:strapdata/elassandra.git</url>
</scm>
</project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<metadata>
<groupId>com.strapdata.elasticsearch.client</groupId>
<artifactId>sniffer</artifactId>
<versioning>
<release>5.5.0</release>
<versions>
<version>5.5.0</version>
</versions>
<lastUpdated>20180531134337</lastUpdated>
</versioning>
</metadata>
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>com.strapdata.elasticsearch.client</groupId>
<artifactId>transport</artifactId>
<version>5.5.0</version>
<dependencies>
<dependency>
<groupId>com.strapdata.elasticsearch</groupId>
<artifactId>elasticsearch</artifactId>
<version>5.5.0</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.strapdata.elasticsearch.plugin</groupId>
<artifactId>transport-netty3-client</artifactId>
<version>5.5.0</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.strapdata.elasticsearch.plugin</groupId>
<artifactId>transport-netty4-client</artifactId>
<version>5.5.0</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.strapdata.elasticsearch.plugin</groupId>
<artifactId>reindex-client</artifactId>
<version>5.5.0</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.strapdata.elasticsearch.plugin</groupId>
<artifactId>lang-mustache-client</artifactId>
<version>5.5.0</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.strapdata.elasticsearch.plugin</groupId>
<artifactId>percolator-client</artifactId>
<version>5.5.0</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.strapdata.elasticsearch.plugin</groupId>
<artifactId>parent-join-client</artifactId>
<version>5.5.0</version>
<scope>compile</scope>
</dependency>
</dependencies>
<inceptionYear>2015</inceptionYear>
<licenses>
<license>
<name>The Apache Software License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
</license>
</licenses>
<developers>
<developer>
<name>Strapdata</name>
<url>http://www.strapdata.com</url>
</developer>
</developers>
<name>transport</name>
<description>Elasticsearch subproject :client:transport</description>
<url>https://github.com/strapdata/elassandra</url>
<scm>
<url>git@github.com:strapdata/elassandra.git</url>
</scm>
</project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<metadata>
<groupId>com.strapdata.elasticsearch.client</groupId>
<artifactId>transport</artifactId>
<versioning>
<release>5.5.0</release>
<versions>
<version>5.5.0</version>
</versions>
<lastUpdated>20180531134351</lastUpdated>
</versioning>
</metadata>
Binary file not shown.
Loading

0 comments on commit 2682567

Please sign in to comment.