Skip to content
Permalink
Browse files
auth: add resource metrics_read (#114)
Change-Id: Ifee0e06acfbe3390720f874e9e5ce88356d06060
  • Loading branch information
javeme committed Feb 8, 2021
1 parent efb0368 commit d0e99b2e7ca68fbe2a59a3bd1c0d9b38766800ca
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
@@ -5,7 +5,7 @@

<groupId>com.baidu.hugegraph</groupId>
<artifactId>hugegraph-client</artifactId>
<version>1.9.1</version>
<version>1.9.2</version>
<packaging>jar</packaging>

<name>hugegraph-client</name>
@@ -113,7 +113,7 @@
<manifestEntries>
<!-- Must be on one line, otherwise the automatic
upgrade script cannot replace the version number -->
<Implementation-Version>1.9.1.0</Implementation-Version>
<Implementation-Version>1.9.2.0</Implementation-Version>
</manifestEntries>
</archive>
</configuration>
@@ -57,6 +57,8 @@ public enum HugeResourceType {

TARGET,

METRICS,

ROOT;

public boolean match(HugeResourceType type) {
@@ -274,7 +274,6 @@ public void testKneighborPostWithVertex() {
@Test
public void testKneighborPostWithLabel() {
Object markoId = getVertexId("person", "name", "marko");
Object rippleId = getVertexId("software", "name", "ripple");
Object joshId = getVertexId("person", "name", "josh");
Object lopId = getVertexId("software", "name", "lop");
Object vadasId = getVertexId("person", "name", "vadas");
@@ -336,7 +335,6 @@ public void testKneighborPostWithDirection() {
Object joshId = getVertexId("person", "name", "josh");
Object lopId = getVertexId("software", "name", "lop");
Object vadasId = getVertexId("person", "name", "vadas");
Object peterId = getVertexId("person", "name", "peter");

KneighborRequest.Builder builder = KneighborRequest.builder();
builder.source(markoId);
@@ -369,7 +367,6 @@ public void testKneighborPostWithProperties() {
Object rippleId = getVertexId("software", "name", "ripple");
Object joshId = getVertexId("person", "name", "josh");
Object lopId = getVertexId("software", "name", "lop");
Object vadasId = getVertexId("person", "name", "vadas");
Object peterId = getVertexId("person", "name", "peter");

KneighborRequest.Builder builder = KneighborRequest.builder();
@@ -362,7 +362,6 @@ public void testKoutPostWithVertex() {
@Test
public void testKoutPostWithLabel() {
Object markoId = getVertexId("person", "name", "marko");
Object rippleId = getVertexId("software", "name", "ripple");
Object joshId = getVertexId("person", "name", "josh");
Object lopId = getVertexId("software", "name", "lop");
Object vadasId = getVertexId("person", "name", "vadas");
@@ -422,7 +421,6 @@ public void testKoutPostWithDirection() {
Object joshId = getVertexId("person", "name", "josh");
Object lopId = getVertexId("software", "name", "lop");
Object vadasId = getVertexId("person", "name", "vadas");
Object peterId = getVertexId("person", "name", "peter");

KoutRequest.Builder builder = KoutRequest.builder();
builder.source(markoId);
@@ -455,7 +453,6 @@ public void testKoutPostWithProperties() {
Object rippleId = getVertexId("software", "name", "ripple");
Object joshId = getVertexId("person", "name", "josh");
Object lopId = getVertexId("software", "name", "lop");
Object vadasId = getVertexId("person", "name", "vadas");
Object peterId = getVertexId("person", "name", "peter");

KoutRequest.Builder builder = KoutRequest.builder();

0 comments on commit d0e99b2

Please sign in to comment.