Skip to content

Commit

Permalink
Updated to karios 1.3.0 and updated dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
brianhks committed Feb 25, 2022
1 parent 6379443 commit ac89557
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 6 deletions.
10 changes: 5 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>org.kairosdb</groupId>
<artifactId>kairos-remote</artifactId>
<version>1.2.0</version>
<version>1.3.0</version>
<packaging>jar</packaging>

<name>kairos-remote</name>
Expand Down Expand Up @@ -40,26 +40,26 @@
<dependency>
<groupId>org.kairosdb</groupId>
<artifactId>kairosdb</artifactId>
<version>1.2.0-1</version>
<version>1.3.0-1</version>
<scope>provided</scope>
</dependency>

<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpasyncclient</artifactId>
<version>4.1.4</version>
<version>4.1.5</version>
</dependency>

<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
<version>4.5.7</version>
<version>4.5.13</version>
</dependency>

<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.10</version>
<version>4.13.1</version>
<scope>test</scope>
</dependency>

Expand Down
18 changes: 18 additions & 0 deletions src/main/java/org/kairosdb/plugin/remote/FakeDatastore.java
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,22 @@ public TagSet queryMetricTags(DatastoreMetricQuery query) throws DatastoreExcept
{
return new TagSetImpl();
}

@Override
public void indexMetricTags(DatastoreMetricQuery datastoreMetricQuery) throws DatastoreException
{

}

@Override
public long getMinTimeValue()
{
return 0;
}

@Override
public long getMaxTimeValue()
{
return 0;
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package org.kairosdb.plugin.remote;

import org.kairosdb.core.datastore.ServiceKeyStore;
import org.kairosdb.core.datastore.ServiceKeyValue;
import org.kairosdb.core.exception.DatastoreException;

import java.util.Collections;
Expand All @@ -15,7 +16,7 @@ public void setValue(String service, String serviceKey, String key, String value
}

@Override
public String getValue(String service, String serviceKey, String key) throws DatastoreException
public ServiceKeyValue getValue(String service, String serviceKey, String key) throws DatastoreException
{
return null;
}
Expand Down Expand Up @@ -43,4 +44,10 @@ public void deleteKey(String service, String serviceKey, String key) throws Data
{

}

@Override
public Date getServiceKeyLastModifiedTime(String s, String s1) throws DatastoreException
{
return null;
}
}

0 comments on commit ac89557

Please sign in to comment.