Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Let vertex and edge adapt simple json properties #37

Merged
merged 2 commits into from
Mar 13, 2019

Conversation

Linary
Copy link
Contributor

@Linary Linary commented Feb 20, 2019

Implement #36

Change-Id: I500976931c50fbab384dbd71dbd839aa69dc42d3

@Linary Linary force-pushed the adapt-simple-json-props branch from 5cff071 to 2e8c2e8 Compare February 21, 2019 02:18
@Linary Linary force-pushed the adapt-simple-json-props branch 2 times, most recently from bc69094 to 6412011 Compare March 5, 2019 03:13
@@ -96,7 +96,7 @@ private void initManagers(RestClient client, String graph) {
private void checkServerApiVersion() {
VersionUtil.Version apiVersion = VersionUtil.Version.of(
this.version.getApiVersion());
VersionUtil.check(apiVersion, "0.32", "0.33",
VersionUtil.check(apiVersion, "0.34", "0.35",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why skip api version 0.33

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

0.33 is customized path api

@@ -17,7 +17,7 @@

private final ObjectMapper mapper;

public VertexDeserializer() {
private VertexDeserializer() {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add some comments

@Linary Linary force-pushed the adapt-simple-json-props branch 3 times, most recently from c032c0f to 363df59 Compare March 13, 2019 02:53
Implement #36

Change-Id: I500976931c50fbab384dbd71dbd839aa69dc42d3
@Linary Linary force-pushed the adapt-simple-json-props branch from 363df59 to b652ff5 Compare March 13, 2019 03:12
@codecov
Copy link

codecov bot commented Mar 13, 2019

Codecov Report

❗ No coverage uploaded for pull request base (master@ef118ea). Click here to learn what that means.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master      #37   +/-   ##
=========================================
  Coverage          ?   72.47%           
  Complexity        ?      459           
=========================================
  Files             ?       90           
  Lines             ?     2016           
  Branches          ?      115           
=========================================
  Hits              ?     1461           
  Misses            ?      469           
  Partials          ?       86
Impacted Files Coverage Δ Complexity Δ
...m/baidu/hugegraph/structure/gremlin/ResultSet.java 67.56% <ø> (ø) 10 <0> (?)
...in/java/com/baidu/hugegraph/client/RestClient.java 87.5% <ø> (ø) 6 <0> (?)
...m/baidu/hugegraph/serializer/PathDeserializer.java 80% <ø> (ø) 9 <0> (?)
...in/java/com/baidu/hugegraph/driver/HugeClient.java 61.7% <100%> (ø) 9 <0> (?)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ef118ea...362609e. Read the comment docs.

zhoney
zhoney previously approved these changes Mar 13, 2019
+ "\"city\": \"Shanghai\","
+ "\"name\": \"peter\","
+ "\"age\": 29"
+ "}"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add test for list/set property

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

now list/set property will be parsed into a list

Change-Id: I3decf4857478a9a6e5d3e0a87a931a8136ca8469
@Linary Linary force-pushed the adapt-simple-json-props branch from dfed778 to 362609e Compare March 13, 2019 06:50
@zhoney zhoney merged commit 892325d into master Mar 13, 2019
@zhoney zhoney deleted the adapt-simple-json-props branch March 13, 2019 07:00
zhoney pushed a commit to zhoney/hugegraph-client that referenced this pull request Sep 19, 2019
Let vertex and edge adapt simple json properties

Implement hugegraph#36

Change-Id: I500976931c50fbab384dbd71dbd839aa69dc42d3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants