Commit Graph

125 Commits

Author SHA1 Message Date
SunnyBoy-WYH 869fc81811
feat(api): support embedded arthas agent in hugegraph-server (#2278) 2023-10-20 10:15:51 +08:00
vaughn 267ff6d3a8
chore: async remove left index shouldn't effect query (#2199) 2023-04-19 21:19:01 +08:00
青年 b385c45c35
chore:remove copyright in license header (#2090)
Co-authored-by: imbajin <jin@apache.org>
2023-01-13 23:26:52 +08:00
imbajin 9cbb61862c
chore: prepare for apache v1.0.0 release (#2048)
* chore: apache release

* chore: update release script & remove redundant pom config
2022-12-14 17:52:01 +08:00
青年 df05b2b1b0
let sub-modules use revision (#2039) 2022-11-30 00:32:17 +08:00
imbajin d340420341 refact(cassandra): update pom & ApiVersion & fix style
TODO: and we need also check the 0.69 in pom
2022-11-23 21:16:14 +08:00
青年 67a689c86c refact: adapt all to apache package and dependencies (Breaking Changes) 2022-11-23 21:16:14 +08:00
青年 8abf3d5524
chore: support check license header with RAT & fill the gaps (#1988) 2022-10-26 19:43:41 +08:00
seagle 98dc91efef
fix protobuf Checkstyle (#1881) 2022-06-08 19:17:07 +08:00
wangyao 335f0ea4f0
feat: support swagger UI to viewing API (#1880)
implement #1879
Co-authored-by: Yao Wang <wangyao_yewu@cmss.chinamobile.com>
2022-05-16 20:19:00 +08:00
Jade Peng cd09304f39
feat: support query data by use cypher language (#1866)
implement #1748

Co-authored-by: jadepeng <jqpeng@iflytek.com>
2022-05-12 14:38:56 +08:00
zyxxoo 85b01b2333
chore: java 11 version support (#1653) 2022-04-25 19:13:30 +08:00
Jermy Li 8d52abb2a0
HugeGraph-622: Bump up to version 0.13.0 (#1740) 2022-04-21 14:15:46 +08:00
zhoney f19acccbf1
upgrade rpc and common version to 2.0.1 (#1719)
Change-Id: If90b56013b04f1e72de18dcd733471ef42955f98
2021-12-31 20:07:07 +08:00
Linary d213166eb2
Support to create graph dynamically (#1065)
* Support to create graph dynamically
* merge gremlin-server graphs and specified graphs
* Just use graphs directory as the graph source
* use notify() instead of call() of Eventhub for graph add/remove
* merge clone graph into create graph

Implement #165

Change-Id: I03d3e606d6292acec46a7725094c05fe84a6c9cd

Co-authored-by: zhangyi51 <zhangyi51@baidu.com>
2021-12-24 19:25:11 +08:00
zhoney 69ac3cc072
support schema-api to return all schema of a graph (#1567)
* upgrade api version to 0.66

Change-Id: I37ca09dcedfd81612f470ef8661effe35323c223
2021-08-18 14:52:03 +08:00
zhoney ef37b3ac96
support olap writeback for cassandra and rocksdb (#1506)
* support olap writeback for cassandra and rocksdb
* add olap property key tests
* clear vertex cache when olap pk changed
* support config data disk for olap pk when using rocksdb backend
* rename read frequency to write type

Change-Id: I947c3a96eb7aa67ee9eff5f7fb248e9f4539e91b
2021-07-22 23:53:49 +08:00
zyxxoo 6bff777a51
feat: support auth-project api (#1504) 2021-07-07 14:35:48 +08:00
ShouJing 9ee9fe12f3
feat: implement auth login + token (#1500) 2021-06-24 22:50:53 +08:00
Jermy Li bc9a5a85a4
Add compact api for rocksdb/cassandra/hbase backend (#1378)
* add compact api for rocksdb/cassandra/hbase backend
* increase and standardize some metrics
* increase metrics for cassandra/hbase and unify display format
* fix codecov missing some files coverage by jacococli
* add ScyllaDBMetrics
* make cassandra compact in the scope of keyspace

Change-Id: I26660b28b64089f3b636020e721659db3466267b
2021-06-11 15:57:20 +08:00
imbajin de81038c21
refact: unify naming of degree for oltp algorithms (#1433)
* refact: remove redundant packaging
* refact: keep compatible with degree in 'step'
* update api version to 0.61
2021-05-12 14:15:05 +08:00
Jermy Li acaeb3a43e
import hugegraph-rpc component (#1397)
Change-Id: Ia5fe99a116e7282d7ed34b8bc1d345996c9870a3
2021-04-16 16:15:36 +08:00
Linary 39b9474eda
Let snapshot saved disk same as rocksdb data path (#1392)
* The goal is to ensure that snapshots can be generated in hard link
* Add create and resume snapshot API
* Use checkpoint when resume snapshot
* Refactor some code in RocksDBStdSessions

Change-Id: I88b39003107652f6ff8eae071e88dc888dd21959
2021-04-01 18:05:49 +08:00
Linary e05850b5d5
Upgrade version to 0.12.0 (#1372)
Change-Id: Ia7eab6e7c88816234204ec6e60fc807f25e71212
2021-03-26 18:00:34 +08:00
xuliguov5 7f63b57043
Add multi-node auth information sharing function (#1350)
* Add multi-node auth information sharing function
* Exclude sofa rpc and other projects with the same jar package, and Optimize some code.
2021-02-10 17:20:01 +08:00
zhoney 59a680c9b3
Support graph read mode and set list aggregate property (#1332)
* add GraphReadMode
* add ReadFrequency
* support aggregate type set and list
* upgrade api version to 0.59

Change-Id: I5db5a1bc91c14b659bbba27c2ad15b40245bc62a
2021-01-14 22:11:10 +08:00
zhoney d5cc79b329
Custom kout/kneighbor, multi-node-shortest-path, jaccard-similar and template paths (#1174)
* Add customized kout/kneighbor, template path, multi-node-shortest-path and jaccard similar
* fix OLTP algorithm not check if source/target vertex exist (#1156)
* support customized kout and kneighbor
* support multi node shortest path API
* support template paths api
* support jaccard similars find oltp api
* use multi-thread to accelerate
* big depth and both direction use multi threads, otherwise single threead
* fix shortest path api NLP
* Szzq paths improve (#51)
* template path use concurrent HashSet to save paths in concurrent mode
* support property filter for paths api
* fix configuration not supported with auth (#55)
* template path supports repeat times args (#57)
* paths supports nearest args
* oltp multiple threads reuse
* add multiple thread depth config
* fix group perperty can't be empty
* upgrade api version to 58
* move customized kout/kneighbor to kout/kneighbor
* move jaccard similar into jaccard similarity
* fix kout/kneighbor withVertex not work
* rebase ramtable
* extract common traverser from template paths traversers
* extract path traverser for template paths and collection paths
* normalize traverser

implements: #1173

Change-Id: I85aa1d4274554d65f85a0deb7ac596e65dbb503b
2020-10-28 17:58:45 +08:00
Linary accc27fc9b
Solve some dependency conflicts (#54) (#1184)
Change-Id: I86f0a7800e19acb6356e9e603605cb03eff1d30d
2020-09-22 09:09:17 +08:00
Linary 2df4f680d4
Update cache from raft StateMachine (#1119)
Change-Id: I743de35eb35409ebf4ff2507564cfe2c82c79fe9
2020-07-29 18:07:37 +08:00
zhoney 3cac836005
add rebuild(boolean) for index label create (#1106)
implements: #1105

Change-Id: I6d399bf0d90f6c91ab64c2bdd01edcb4a35c0a50
2020-07-24 17:55:52 +08:00
Jermy Li 395435ced0
Show schema status in schema API (#1035)
fix #800

Change-Id: I08b0e1c642915b739a152a54e84972e82843bc5a
2020-06-17 19:25:18 +08:00
zhoney 31c1288715
support results count for kneighbor/kout/rings (#995)
* support count api to accelerate kneighbor/kout count

implement: #994

Change-Id: Ieb7702a1bb8304391585704469cc7c7f6b07f565
2020-05-26 19:40:58 +08:00
zhoney cadc15ab86
support ttl for vertex and edge (#794)
* support edgeLabel ttl
* extract async deletion from serializer to GraphIndexTransaction
* change HugeIndex structure
* support vertex label ttl
* move expired objects delete out of gtx
* get now time from tx
* add ttl filed in BackendEntry for Cassandra and Hbase
* set tx openedTime in setOpened() of transaction

implemented: #295

Change-Id: I16a762c5aa850f14cbd554d29fb8592db87e7619
2020-05-14 11:07:38 +08:00
Jermy Li 409bdbb83b
add grant permission api (#985)
* add grant permission api
* upgrade version to 0.11.1
* share usermanager

Change-Id: I58e6e5a8c950ad74fc1ccbcee8e8ca28d48a27e9
2020-05-11 15:33:41 +08:00
Jermy Li a24f7ecdd4
Support range query for rest api like P.gt(18)/P.lt(3.14) (#782)
implement: #781

Change-Id: I4a4b8a78708dff1a27d0168b27b77958ee9fcfde
2020-04-06 19:49:06 +08:00
zhoney 04607d01b8
add 5 TP algorithm (#919)
1. same neighbors
2. jaccard similarity
3. all shortest paths
4. weighted shortest path
5. single source shortest paths

Change-Id: I84788b5145fadb91b8b0d97c66c2f62e12c8294e
2020-04-05 19:05:21 +08:00
Linary 4f46a851c3
Upgrade jackson version to 2.10.2 (#859)
Change-Id: Ia78865af2d6eb4ab890f6a432690856619226b41
2020-02-24 13:09:00 +08:00
Linary ef68289633 Record create time when create schema (#746)
Change-Id: I8a1156d4262969c1b287f1eac999614549d81b3a
2019-12-24 17:37:51 +08:00
zhoney 60ab1d8cd0 support fusiform similarity API (#671)
implemented: #670

Change-Id: I3b3bc58716b9cb4d88fa5dfe0975773310a74d5a
2019-11-27 17:00:26 +08:00
Linary dbf5eb53cb Upgrade version to 0.11.0 (#739)
Change-Id: I565dbbe34f746ca5d7fed0f29bdd6e0bf46b4675
2019-11-11 14:24:13 +08:00
Linary 2eae9c393a Support get schema by names (#686)
Change-Id: Id188751189ddd651a32604fb364410bcf857745d
2019-10-14 15:56:07 +08:00
zhoney 00faffdf74 support aggregate property (#693)
implemented: #691

Change-Id: I340d7be28090718537e1a531147f1e1155a1beb5
2019-10-12 17:32:28 +08:00
Jermy Li 3ef07e0e38 fix uuid serialize (#694)
Change-Id: I4615dacacdc818302563e11bd58c616a3b1cef03
2019-09-27 11:27:07 +08:00
imbajin 9d8ceb4dfc Optimize update logic & add a new strategy (#673)
1. if original data is not null but new data is null, use original data instead of null
2. add update strategy "OVERRIDE"
2019-09-24 20:26:07 +08:00
Linary 1c062b8947 Upgrade tinkerpop version to 3.4.3 (#648)
Change-Id: I5443b6a05eea74205a373f093dad27536e04f0be
2019-09-12 19:04:30 +08:00
Linary 94c2d34ce8 Support to verify license (#645)
Change-Id: Ia3fb6b38a032442e1d8bf7cee4d7b4032dc219df
2019-09-09 20:58:41 +08:00
zhoney 1e01920552 support unique index (#636)
implemented: #633

Change-Id: I753a81d0d47b0d7979563d5a9f41d368e06a5b33
2019-08-19 21:27:42 +08:00
zhoney 0e66c64fec support shard-index and vertex + sortkey prefix query (#574)
implemented: #270 and #398

Change-Id: I444b67b7f57a18fd32c29d54d776cf411ccd847a
2019-08-06 11:16:52 +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
zhoney 8d23665a40 Add source_in_ring args for rings API (#528)
fixed: #523
Change-Id: If8c5cc4d8678f847ce4a5f0388e56aae465d3ea6
2019-07-01 22:01:24 +08:00