Commit Graph

79 Commits

Author SHA1 Message Date
liningrui 3fa1965bf3 HugeGraph-925: Fixed bug that rest server can't bind ip
Change-Id: Ib0745f6c502b26fa8a543eb0ab3a04f823c76bb2
2018-08-09 18:16:36 +08:00
Zhangmei Li 6861fb9001 HugeGraph-922: should catch NoSuchElementException instead of NotFoundException
Change-Id: I51abe866428e28c069c587191faccc2d5a73bad6
2018-08-09 18:16:35 +08:00
liningrui 0c88c3269f HugeGraph-919: Add condition query for vertex/edge list API
Change-Id: I1e3fee37b0fa6808767d41b4651ad8cf360baac4
2018-08-09 18:16:35 +08:00
liningrui 7fe6b43e93 HugeGraph-569: Make restserver and gremlinserver share cache
Change-Id: I2e31f165433141c0e4887db9f21666b99b7d4eb2
2018-08-09 18:16:34 +08:00
zhangyi51 52d9ae66b4 hugegraph-900 fix bug that 500 with NoSuchElementException
Change-Id: Ic835e0b086c24e232d5c11b9a657a96d1a0080e0
2018-08-09 18:16:33 +08:00
liningrui bffa544a70 HugeGraph-894: Add vertex/edge update api to addProperty and removeProperty
Change-Id: Ic2c559399ae50b89e8ad8a1a8283b074d0769424
2018-08-09 18:16:33 +08:00
liningrui f9acad20b7 HugeGraph-896: Add jsonProperty annotation to constraint the field name of api internal json class
Change-Id: Iee2035fa469facc7f9c540f21156708dccddfc95
2018-08-09 18:16:32 +08:00
Zhangmei Li 1632a24096 HugeGraph-883: fix perf-example1 not exit after finished
Change-Id: I78b7c0f54286c4ee8f01a2d394c0af1e5e526bae
2018-08-09 18:16:31 +08:00
zhangyi51 df84cb4a6b hugegraph-879 make hugeserver not return exception stacktrace to client
Change-Id: I4849c8d791c20d6cce640e26240f4c0c5f55ccca
2018-08-09 18:16:29 +08:00
liningrui bb38da2aea HugeGraph-863: Modify tips when append edgelabel with 'null' sourceLabel/targetLabel
Change-Id: Id36c220623f3500a9a0f5309fe7293cb0e53e3dd
2018-08-09 18:16:29 +08:00
liningrui 50ad6da1b8 HugeGraph-854: Let delete schema by rest api throw exception when pass error id
Change-Id: If47d2fd1b3134909639abf300a270b78f2a1fe6c
2018-08-09 18:16:28 +08:00
liningrui b7d046585d HugeGraph-846: Fixed bug that create indexlabel with illegal basetype will return 500 status
Change-Id: Ib7c81213811db89b6b153bb640b41d2692ae1b2b
2018-08-09 18:16:27 +08:00
liningrui bb52c2ec74 HugeGraph-835: Add check on source and target label when creating edge by single api
Change-Id: I80461e3fb27e4d06262d317a9ee86a65c3de0651
2018-08-09 18:16:27 +08:00
Zhangmei Li 4bfe40d0ba HugeGraph-131: clean up some warnings
also improve some code format

Change-Id: I23d92fdc7aa642169fc6ba01654387c6d9774e4b
2018-08-09 18:16:26 +08:00
zhangyi51 10463fb313 hugegraph-396 continue to improve variables implementation
1. default not return hidden shcema and graph data
2. implement variables api

Change-Id: I86a60bb6e284c4fdd09510805c6cb2ba33f365cb
2018-08-09 18:16:25 +08:00
liningrui 83b008880d HugeGraph-837: Fixed bug that user can pass any indexNames when create vertex/edge label
Change-Id: I1d0f90f51dd0a3ac628d6c0908a6c402d1aefe4a
2018-08-09 18:16:24 +08:00
liningrui 3b99070452 HugeGraph-797: Fixed bug that missing param check in hugegraph-api post body
Change-Id: I8d9424c25a512651c10c8e00aa13dd7341ff556c
2018-08-09 18:16:22 +08:00
liningrui 757b500c41 HugeGraph-795: Fixed bug that request body is null or empty will throw NullPointerException
Change-Id: I84f0f2b515e9eda141ecbee439f017f5645de14f
2018-08-09 18:16:20 +08:00
Zhangmei Li f328dbd6bb HugeGraph-661: fix can't query edges by BOTH from a vertex
Change-Id: I7ecae9e47cdcea7aec776ef222b88929aca5fa87
2018-08-09 18:16:18 +08:00
liningrui f2b36be530 HugeGraph-245: Add nullable-props for vertex label and edge label
Change-Id: Icaf77250f62472369846f539eac4e21777ba8f2a
2018-08-09 18:16:17 +08:00
liningrui b90d242f7d HugeGraph-784: Let EdgeApi return 400 status code When the source vertex or target vertex id passed to EdgeApi is illegal
Change-Id: I25c5fdb7e99b7b7b12b6c75c47c35d99ddbbe605
2018-08-09 18:16:16 +08:00
liningrui 8bd2d3fb9a HugeGraph-711: Fixed bug that create schema with the non-English name will show in garbled
Change-Id: I1489fdaffc936a8db9e46092ef1ef31fb17b1222
2018-08-09 18:16:10 +08:00
liningrui 55285ebadf HugeGraph-743: Let fetching schema methods throw NotFoundExeption instead of IllegalArgumentExceptionwhen failed
Also move some methods from class SchemaManger to class HugeGraph, these methods are used to fetch schema object by inner code.

Change-Id: Ie6a5ba550a019819dbb2bbc5fb6fc4e1a6197e2c
2018-08-09 18:16:08 +08:00
Zhangmei Li 02e8427847 HugeGraph-735: set all APIs charset encoding to UTF-8
Change-Id: I6b57ae2bc20b3b136a178c86068d8e97a4e50b28
2018-08-09 18:16:06 +08:00
Zhangmei Li ad04a03ac2 HugeGraph-734: fix bug rest api return 500 if not found vertex/edge
Change-Id: I986650da2e1087e4cd0f2fc28a9ae50151890976
2018-08-09 18:16:06 +08:00
liningrui 27e3a02503 HugeGraph-694: Return origin schema object when append or eliminate schema
Change-Id: I042e62d999e7a136baf2d134c4a253f2931baa2b
2018-08-09 18:16:05 +08:00
Liu Jie ac1ff2002b HugeGraph-658: Consolidate exception logical at core-api
Change-Id: Iea2f770defa3323af47804db064595dba95855b9
Signed-off-by: Liu Jie <liujie23@baidu.com>
2018-08-09 18:16:02 +08:00
liningrui 7badc57a5c HugeGraph-694: Fixed bug that create schema should return origin object when use ifNotExist
Change-Id: I232db21eb83449f97cf5600cad3da8e212c403e3
2018-08-09 18:16:01 +08:00
liningrui db83246699 HugeGraph-645: Add empty line between license and package for hugegraph-server
Change-Id: I301b736be05cfb80524b004ed4af332d14262a68
2018-08-09 18:15:53 +08:00
liningrui 46e8d79cb7 HugeGraph-623: Replace logger to LOG for hugegraph-server
Change-Id: Ie734324f9b83a3411f833796cc531820667505ec
2018-08-09 18:15:52 +08:00
liningrui 35ddee75e9 HugeGraph-625: fixed bug that there is a line length of more than 80 characters in the license information for hugegraph-server
Change-Id: Ib923eea8aa996146ebb64932734ed4c929581cca
2018-08-09 18:15:51 +08:00
liningrui 48129d8bc7 HugeGraph-614: Add update api of vertexlabel and edgelabel to support append and eliminate action.
Change-Id: I1600287ff2e3a41eae0981b6e370c4e600cc6729
2018-08-09 18:15:50 +08:00
liningrui 127aaa7d54 HugeGraph-622: bump up core version from 0.2.3 to 0.3
Change-Id: If7fcef0773c446b1e8e182cfdad9b0b0e44343b2
2018-08-09 18:15:50 +08:00
Zhangmei Li e79e058ea8 HugeGraph-131: fix some warnings
Change-Id: Iec95db65c2939f64a9ea2425e933ae073f969576
2018-08-09 18:15:47 +08:00
liningrui b519e469fd HugeGraph-498: add id field in CreateVertex on vertex api.
Change-Id: Ief38b2d969602d205eb95ceb673fad3e78c3369f
2018-08-09 18:15:46 +08:00
liningrui 2cbda47819 HugeGraph-498: support three kind of id strategy
Change-Id: Ib67fb41ca93a9af5cdd4a351cf015e3699b9e2a5
2018-08-09 18:15:45 +08:00
Zhangmei Li 16093bc4a4 HugeGraph-410: improve code style for api/dist
Change-Id: If34a8f7b1743bd4a8c1c557700595c207d878de0
2018-08-09 18:15:44 +08:00
liningrui b3f216cd2b HugeGraph-162: add schema builder to seperate client and inner interface.
Change-Id: Iba292d7423a432f304d6d3e1700776e46d1a278f
2018-08-09 18:15:41 +08:00
Zhangmei Li f84c406cd2 HugeGraph-378: support add/remove property of a vertex/edge
Change-Id: Ie8703c45319bc80a9716eba878eea9949b1c8bd2
2018-08-09 18:15:41 +08:00
Zhangmei Li 129f25c434 HugeGraph-525: add versions check of components and api
Change-Id: Id99c661760f73216854b62197a53be4b786dc395
2018-08-09 18:15:39 +08:00
Zhangmei Li 823df463be Revert "HugeGraph-525: add versions check of components and api"
This reverts commit 4ba0c2b75b8d84f4426ec06905b823a134cd225c.
2018-08-09 18:15:38 +08:00
Zhangmei Li adf68830c7 HugeGraph-525: add versions check of components and api
Change-Id: I85aa37bf8721d71de79df8288044d3cc8d588bf0
2018-08-09 18:15:38 +08:00
Zhangmei Li 6243e88ed2 HugeGraph-540: fix bug: process not finished if failed to start hugeserver
Change-Id: I25cd57019798bfe579686f0acef4dc48fd8028eb
2018-08-09 18:15:37 +08:00
liningrui acc45a72a9 HugeGraph-508: Add license on hugegraph(core) code.
Change-Id: Icdb89818798a8408f294b615782c9f68856f09c5
2018-08-09 18:15:35 +08:00
Zhangmei Li 41cb8a646c HugeGraph-463: fix compress error for gremlin api if gremlin server not start
Change-Id: Ib4be80346e1d2c47bfa2bd5cc8ed89ca9991969e
2018-08-09 18:15:31 +08:00
liningrui 5e27596a34 HugeGraph-411: fixed bug that some message in checkNotNull statement are not correct
Change-Id: Ibda805139ec76165a272a186d05f28c60c2013e2
2018-08-09 18:15:30 +08:00
liningrui 2a5e5219fe HugeGraph-453: fixed bug that EdgeApi serialize and deserialize using different filed name
Change-Id: Id9da024d1c41b9044399b4caa1409a4900dc86a2
2018-08-09 18:15:30 +08:00
Zhangmei Li 7a9151b424 HugeGraph-390: compress/decompress batch api response/request
Change-Id: I7aa9c6ab4082f85dc576794d26e322a8394905ef
2018-08-09 18:15:29 +08:00
Zhangmei Li 487c2eae73 HugeGraph-410: improve code style for hugegraph-api
Change-Id: I853f97f206a3ec7ead724f541917a6a7e70fc87f
2018-08-09 18:15:27 +08:00
Zhangmei Li bffcbfc845 HugeGraph-33: improve log format for SchemaTransaction
Change-Id: I40d344314b1a9eb9b2e7867fd452d4a9e836f677
2018-08-09 18:15:23 +08:00