-
Notifications
You must be signed in to change notification settings - Fork 42
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
Implement connection management, gremlin query, execute histroy and g… #3
Conversation
…remlin collection
hubble-be/src/main/java/com/baidu/hugegraph/advisor/ExceptionAdvisor.java
Outdated
Show resolved
Hide resolved
hubble-be/src/main/java/com/baidu/hugegraph/advisor/ExceptionAdvisor.java
Outdated
Show resolved
Hide resolved
hubble-be/src/main/java/com/baidu/hugegraph/advisor/ExceptionAdvisor.java
Outdated
Show resolved
Hide resolved
hubble-be/src/main/java/com/baidu/hugegraph/advisor/MessageSourceHandler.java
Outdated
Show resolved
Hide resolved
hubble-be/src/main/java/com/baidu/hugegraph/advisor/ResponseAdvisor.java
Outdated
Show resolved
Hide resolved
@GetMapping("common") | ||
public UserInfo common(@RequestParam(value = "lang", | ||
defaultValue = "en_US") | ||
String lang, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add RequestParam style
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what means?
hubble-be/src/main/java/com/baidu/hugegraph/entity/AdjacentQuery.java
Outdated
Show resolved
Hide resolved
hubble-be/src/main/java/com/baidu/hugegraph/service/GraphConnectionService.java
Outdated
Show resolved
Hide resolved
hubble-be/src/main/java/com/baidu/hugegraph/service/GremlinCollectionService.java
Outdated
Show resolved
Hide resolved
hubble-be/src/main/java/com/baidu/hugegraph/util/EntityUtil.java
Outdated
Show resolved
Hide resolved
Codecov Report
@@ Coverage Diff @@
## master #3 +/- ##
=========================================
Coverage ? 22.85%
Complexity ? 79
=========================================
Files ? 41
Lines ? 840
Branches ? 116
=========================================
Hits ? 192
Misses ? 623
Partials ? 25
Continue to review full report at Codecov.
|
hubble-be/src/main/java/com/baidu/hugegraph/advisor/ExceptionAdvisor.java
Outdated
Show resolved
Hide resolved
hubble-be/src/main/java/com/baidu/hugegraph/controller/SettingController.java
Outdated
Show resolved
Hide resolved
hubble-be/src/main/java/com/baidu/hugegraph/service/GraphConnectionService.java
Outdated
Show resolved
Hide resolved
hubble-be/src/main/java/com/baidu/hugegraph/service/GremlinQueryService.java
Outdated
Show resolved
Hide resolved
hubble-be/src/main/java/com/baidu/hugegraph/service/GremlinQueryService.java
Outdated
Show resolved
Hide resolved
hubble-be/src/main/java/com/baidu/hugegraph/service/GremlinQueryService.java
Show resolved
Hide resolved
hubble-be/src/main/java/com/baidu/hugegraph/service/GremlinQueryService.java
Outdated
Show resolved
Hide resolved
3633960
to
a3fb82c
Compare
hubble-be/src/test/java/com/baidu/hugegraph/controller/GraphConnectionControllerTest.java
Outdated
Show resolved
Hide resolved
hubble-be/src/test/java/com/baidu/hugegraph/controller/GraphConnectionControllerTest.java
Outdated
Show resolved
Hide resolved
3827b4f
to
6310478
Compare
hubble-be/src/main/java/com/baidu/hugegraph/HugeGraphHubble.java
Outdated
Show resolved
Hide resolved
hubble-be/src/main/java/com/baidu/hugegraph/advisor/ExceptionAdvisor.java
Outdated
Show resolved
Hide resolved
hubble-be/src/main/java/com/baidu/hugegraph/advisor/ExceptionAdvisor.java
Outdated
Show resolved
Hide resolved
@RequestMapping("gremlin-collections") | ||
public class GremlinCollectionController extends BaseController { | ||
|
||
private static final String NAME_REGEX = "[A-Za-z0-9_]{1,50}"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why not same as GRAPH_REGEX in GraphConnectionController
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
prd doc required
…remlin collection