Skip to content

Commit

Permalink
Upgrade version to 0.11.0 (#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
Linary authored Jan 19, 2021
1 parent a882a8d commit a965d17
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 7 deletions.
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<groupId>com.baidu.hugegraph</groupId>
<artifactId>hugegraph-studio</artifactId>
<packaging>pom</packaging>
<version>0.10.0</version>
<version>0.11.0</version>
<modules>
<module>studio-api</module>
<module>studio-dist</module>
Expand All @@ -25,7 +25,7 @@
<compiler.target>1.8</compiler.target>
<log4j2.version>2.8.2</log4j2.version>
<junit.version>4.12</junit.version>
<hugegraph.client.version>1.8.0</hugegraph.client.version>
<hugegraph.client.version>1.9.1</hugegraph.client.version>
<guava.version>21.0</guava.version>
<commons.lang3.version>3.6</commons.lang3.version>
<tomcat.version>8.5.40</tomcat.version>
Expand Down
2 changes: 1 addition & 1 deletion studio-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>hugegraph-studio</artifactId>
<groupId>com.baidu.hugegraph</groupId>
<version>0.10.0</version>
<version>0.11.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>studio-api</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
package com.baidu.hugegraph.studio.board;

import com.baidu.hugegraph.driver.HugeClient;
import com.baidu.hugegraph.driver.HugeClientBuilder;
import com.baidu.hugegraph.studio.config.StudioApiConfig;

public final class HugeClientWrapper {
Expand All @@ -40,7 +41,10 @@ public static HugeClient get(StudioApiConfig config) {
private HugeClientWrapper() {}

private static HugeClient newHugeClient(StudioApiConfig config) {
return new HugeClient(config.getGraphServerUrl(), config.getGraphName(),
config.getClientTimeout());
HugeClientBuilder builder;
builder = new HugeClientBuilder(config.getGraphServerUrl(),
config.getGraphName());
builder.configTimeout(config.getClientTimeout());
return builder.build();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,6 @@ public static StudioApiOptions instance() {
"The suffixes of gremlin statement which should be " +
"appended limit()",
disallowEmpty(),
String.class,
".V()", ".E()"
);

Expand Down
2 changes: 1 addition & 1 deletion studio-dist/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>hugegraph-studio</artifactId>
<groupId>com.baidu.hugegraph</groupId>
<version>0.10.0</version>
<version>0.11.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down

0 comments on commit a965d17

Please sign in to comment.