Jermy Li
26c4498463
fix permission overflow from return results ( #969 )
...
* fix permission overflow from return results
also:
* hide private methods and fields for reflection that require permissions
* delete stale index of task directly
add HugeGraph.java and TaskScheduler.java: separate commits to avoid no git diff
implement: #209
Change-Id: Iccfbd47c213e1e13122190d1242778031e8a957c
2020-04-24 15:42:43 +08:00
Jermy Li
17417dfff5
implement users store and access control ( #749 )
...
* support users auth
* implement authenticate()
* support fine-grained access control
* add permission access edge label
* fix admin
* support gremlin permission details control
* commit manually
* fix some errors of new code
* use BCrypt to check password
implement: #209
Change-Id: I6492c284b6677b9dd1ef545aaf08c5d6e5cf8ad7
2020-04-23 17:14:22 +08:00
Jermy Li
9166c269fe
Fix rocksdb oom with g.V().hasLabel().count() ( #823 )
...
* fix iter gloabal
* Manually close the iterators
* catch locks in every batch
* limit iterator to list
* improve cache iter
* fix system index-label graph() return null
* add QueryResults.one() method
* fix BatchIdHolder dead loop with batchSize=0
* fix test iterators don't be closed
* add option query.batch_size
* force limit BatchIdHolder.all()
* adapt ListIterator.list() return Collection<T>
* set default value of check_customized_id_exist option to false
* fix cassandra oom
* fix offset bug
* Increase limit for intersection
* fix check subRows().size() <= INLINE_BATCH_SIZE
Change-Id: I13daaa513b2f5ddc69bcae4d548f263ad1f5b08d
2020-03-13 13:57:55 +08:00
Jermy Li
4e17916fd0
allow rest api to query vertices & edges with multi properties by paging ( #759 )
...
implemented: #658
Change-Id: Ic803bc5d11bbd77d8d2b8b7c3cc247cdd5d7781e
2019-11-27 19:15:23 +08:00
Jermy Li
0a0578fdb9
support rest api timeout ( #674 )
...
implement: #665
Change-Id: Id6b36904494a57e18d67bb73db8ce906858d9cb1
2019-09-02 14:25:28 +08:00
Linary
b01549a579
Not allowed perform sensitive operations via gremlin ( #176 )
...
Implement #145
Change-Id: I9a590fe40d3b5a808b569ed0af8fd83214a2941a
2019-07-29 14:21:40 +08:00
imbajin
3fcfce2bb7
Support batch updating elements' property by multiple strategy ( #493 )
...
support strategies:
SUM, BIGGER, SMALLER on Number or Date
UNION, INTERSECTION, APPEND, ELIMINATE on Collection
2019-07-23 18:36:49 +08:00
Jermy Li
b63277e583
improve error message with readable HugeType ( #546 )
...
Change-Id: I633eee63fe9458cdc910f977fccec8fd0109f1d2
2019-06-03 18:05:23 +08:00
Linary
abebfac25c
Add api white list and rate limiter for gc ( #522 )
...
Also add ProfileAPI
Change-Id: Ia7ac5dc5d7d91676701738f2a0ae5073f9ceb01e
2019-05-31 17:06:40 +08:00
Zhangmei Li
13ed27b8d9
HugeGraph-1337: let delete api of vertex&edge return 400 if id is invalid
...
Change-Id: If80eee5b83165e1ca100c3b89be1ffee5c993511
2018-08-09 20:23:01 +08:00
liningrui
3bdb0e0991
HugeGraph-1273: Add metrics API to monitor status of HugeGraphServer
...
Change-Id: I5fe0db33e21c3e45df798f91d8e0b3e9c952dd1e
2018-08-09 18:17:34 +08:00
Zhangmei Li
975dc0e717
HugeGraph-1168: limit the max length of vertex id to 128 bytes
...
Change-Id: Ia8e76dc5a7b88a4d1b68ca6026ae48697533d9b0
2018-08-09 18:17:10 +08:00
Zhangmei Li
855db21169
HugeGraph-81: improve error check for API module
...
Change-Id: I23ee58b7cd9ed38245550c63b228c3fab277d62e
2018-08-09 18:17:04 +08:00
liningrui
08606cc72c
HugeGraph-1056: Fixed bug that batch body contain null will throw NPE
...
Change-Id: I762aef4aa2b543de2f614a30e704f3b5cffbd156
2018-08-09 18:16:59 +08:00
liningrui
c49e55182f
HugeGraph-1057: Fixed bug that allow label empty when update vertex/edge properties
...
Change-Id: Ia7ce74d3daab16ab4b0896fd7c3c43f685740d6f
2018-08-09 18:16:58 +08:00
liningrui
be842036f3
HugeGraph-956: Support customize string/number id strategy
...
Change-Id: Ib911fc23d4aeb471daf73cb362e69e3ddebaba94
2018-08-09 18:16:55 +08:00
liningrui
a9f5406d68
HugeGraph-1032: Still exposed schema name to client instead id
...
Change-Id: I6a1d964cdfa84fd3428833146a5e138e55d2b0df
2018-08-09 18:16:52 +08:00
Zhangmei Li
e9a1d68ca4
HugeGraph-1006: Nitpick to refine NotFoundException message to avoid duplicate string
...
Change-Id: I1e03280139470451ddaa8a832670082c90a7e0b1
2018-08-09 18:16:48 +08:00
liningrui
797b3b3c8c
HugeGraph-982: Commit manually after operation create, update and delete in API
...
Change-Id: I40a4b973ac7bac2414209dcfbbd6fb1bce7b9880
2018-08-09 18:16:46 +08:00
liningrui
77c950aa6b
HugeGraph-589: Add schema id for all schema element
...
Change-Id: I5b348acebc35cbd7b864a2a4ad8bb47bd9a5d631
2018-08-09 18:16:44 +08:00
liningrui
8a9897656e
HugeGraph-939: Add check for query param 'action'
...
Change-Id: Iaf8bd6ff6c7d0ef55f015ca66c7e9d839f61107a
2018-08-09 18:16:41 +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
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
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
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
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
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
acc45a72a9
HugeGraph-508: Add license on hugegraph(core) code.
...
Change-Id: Icdb89818798a8408f294b615782c9f68856f09c5
2018-08-09 18:15:35 +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
e85798fba6
HugeGraph-123: let property keep its own type after parse from json
...
Change-Id: Ie497cf04b7803efc6886ba6ceda6101a7356d5a4
2018-08-09 18:14:46 +08:00
liningrui
d474d27d7c
HugeGraph-91: add schema restful api
...
Change-Id: I5b58ab4b7399decef5c33fc226a4a1d24e6d3758
2018-08-09 18:14:46 +08:00
Zhangmei Li
ab76fd5e32
HugeGraph-90: implement rest api for vertex/edge
...
Change-Id: I73e455b40da43797e1b8b2abc7065429c2c6c8fa
2018-08-09 18:14:43 +08:00
Zhangmei Li
bc1cbb3a7e
HugeGraph-89: implement rest framework based on jersey
...
Change-Id: I89d033abcec4398ed08e1c8cd261757a4a9b78cd
2018-08-09 18:14:42 +08:00