Commit Graph

1673 Commits

Author SHA1 Message Date
dependabot[bot] dba13c2354
chore(deps): bump org.springframework.boot:spring-boot
Bumps [org.springframework.boot:spring-boot](https://github.com/spring-projects/spring-boot) from 2.5.14 to 2.7.18.
- [Release notes](https://github.com/spring-projects/spring-boot/releases)
- [Commits](https://github.com/spring-projects/spring-boot/compare/v2.5.14...v2.7.18)

---
updated-dependencies:
- dependency-name: org.springframework.boot:spring-boot
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-19 15:28:13 +00:00
V_Galaxy 43cae1d2e3
feat(pd): integrate `pd-core` into hugegraph (#2478)
The corresponding tests will be merged after pd-service

subtask of https://github.com/apache/incubator-hugegraph/issues/2265

---

During the code review, I found the following issues:

1. Similar functionality appears multiple times, such as stub connection-related code, with redundancy between `PDClient.StubProxy` and `AbstractClientStubProxy`.
2. Package partitioning:
    1. `PDPulse`, `PDPulseImpl` should in `pulse`
    2. `PDWatch`, `PDWatchImpl` should in `watch`
3. Unused code, see below

---------

Co-authored-by: imbajin <jin@apache.org>
2024-04-19 23:27:46 +08:00
Peng Junzhi b4bc1f066a
feat(store): integrate `store-rocksdb` submodule (#2513)
TODO: delete "hugegraph-store/hg-store-rocksdb/src/main/java/place-holder.txt" later

---------

Co-authored-by: imbajin <jin@apache.org>
2024-04-19 11:11:44 +08:00
Hongjun Li 7d335b2c72
chore: config *.md max length (#2525) 2024-04-16 21:15:39 +08:00
Emmanuel Ferdman 543bbfeb74
fix: update resource references (#2522) 2024-04-16 15:10:49 +08:00
Liu Xiao 906112c080
chore: make IDEA support IssueNavigationLink and add icon (#2521) 2024-04-15 15:31:12 +08:00
V_Galaxy 6be756919b
fix(server): avoid overriding backend config in gremlin example script (#2519) 2024-04-14 23:57:07 +08:00
V_Galaxy 3783247c74
fix(server): switch rocksdb backend to memory when executing gremlin example (#2518) 2024-04-12 16:32:08 +08:00
imbajin 1228dec04d fix: maven rat plugin exist partial failure
fix: maven rat plugin exist partial failure
2024-04-05 23:53:09 +08:00
Peng Junzhi d0a3ccc045 feat(store): integrate `store-test` submodule 2024-04-05 23:53:09 +08:00
Peng Junzhi 6c72ca5f63 feat(store): integrate `store-client` submodule 2024-04-05 23:53:09 +08:00
Peng Junzhi f0d9d12ca7 feat(store): integrate `store-grpc` submodule 2024-04-05 23:53:09 +08:00
Peng Junzhi e605f732e2 feat(store): integrate `store-common` submodule 2024-04-05 23:53:09 +08:00
Peng Junzhi 52f3d64b6a refact: prepare for integrating store modules 2024-04-05 23:53:09 +08:00
VGalaxies 3a1618faa2 feat(pd): integrate `pd-client` submodule 2024-04-04 17:37:15 +08:00
VGalaxies bd1d9db77b feat(pd): integrate `pd-test` submodule
prepare tests for `pd-common`
2024-04-04 17:37:15 +08:00
VGalaxies b5d9dd2f02 feat(pd): integrate `pd-common` submodule 2024-04-04 17:37:15 +08:00
VGalaxies a560a6efee feat(pd): integrate `pd-grpc` submodule 2024-04-04 17:37:15 +08:00
VGalaxies 37e4405c04 refact: prepare for integrating pd modules
1. prepare pom and CI for pd-client, pd-common, pd-grpc and pd-test
2. drop support for java8
2024-04-04 17:37:15 +08:00
Peng Junzhi 483bca52ef
chore: remove required ci with java8 (#2503) 2024-04-03 23:17:30 +08:00
Simon Cheung 27cf52b007
chore: add swagger-ui LICENSE relative files (#2495)
* Create LICENSE-swagger-ui.txt
* Update NOTICE
2024-03-30 14:17:17 +08:00
imbajin 6a4041e21c chore: upgrade to 1.3.0 (last major version support Java8)
fix
2024-03-22 10:51:57 +08:00
imbajin 713d88d1fd refact: enhance auth logic
fix
2024-03-22 10:51:57 +08:00
imbajin ef8f6128a3 fix: multi graph error in rocksdb with same path/fd 2024-03-22 10:51:57 +08:00
SunnyBoy-WYH 277f76ef03
chore(server): clear context after req done (#2470)
Co-authored-by: vaughn.zhang <vaughn.zhang@zoom.us>
Co-authored-by: imbajin <jin@apache.org>
2024-03-19 17:43:33 +08:00
Bond 7b33574fd0
feat: added the OpenTelemetry trace support (#2477)
TODO: we need enhance our shell experience
---------

Co-authored-by: imbajin <jin@apache.org>
Co-authored-by: VGalaxies <vgalaxies@apache.org>
2024-03-15 17:30:16 +08:00
vaughn c09982b0df
fix(auth): enhance the URL check (#2422)
Co-authored-by: imbajin <jin@apache.org>
2024-03-09 21:04:30 +08:00
V_Galaxy eb6570c992
fix(server): 'serverStarted' error when execute gremlin example (#2473) 2024-03-05 15:21:42 +08:00
SunnyBoy-WYH 6861ed5e94
fix(server): fix the bug which promtheus cant collect hg metric (#2462) 2024-03-03 13:05:10 +08:00
SunnyBoy-WYH 3f127f01f1
fix(server): add tip for gremlin api NPE with empty query (#2467)
fix #2426
2024-03-02 01:23:01 +08:00
Hongjun Li 2e3adcde02
chore: Add a newline formatting configuration and a comment for warning (#2464)
- Add a newline formatting configuration
- Add a comment for the IDEA unsupported warning about `continuation_indent_size`
2024-02-29 20:35:52 +08:00
Hongjun Li 47a68f098a
chore: refine the hg-style.xml specification (#2457)
- Change the maximum wrap text length for XML to 120 (via `hg-style.xml`)
- Add a blank line between method definitions, inner class definitions, and static code blocks (via `hg-style.xml`)
- Add `<p>` tags to Javadoc blank lines (via `hg-style.xml`)
- `.xml` file leaves a blank line at the end (via `.editorconfig`)
- Class declaration requires a blank line before and after each line (via `hg-style.xml`)
- Javadoc line comment not in line (via `hg-style.xml`)
- `.properties` file leaves empty lines (via `hg-style.xml`)
- `.yaml` file braces `{}`, brackets `[]` remove spaces (via `hg-style.xml`)
2024-02-27 12:53:29 +08:00
Z-HUANT d0f63c8ac3
feat(api): optimize adjacent-edges query (#2408)
Relevant issue: #2255

Gremlin Query: For adjacency edge queries, if a vertex does not belong to the adjacent vertices of this edge, filter out that vertex.

---------

Co-authored-by: imbajin <jin@apache.org>
2024-02-26 12:29:13 +08:00
M dfee5bf6aa
fix(server): remove extra blank lines (#2459)
* remove extra blank lines in api

* remove extra blank lines in core

* remove extra blank lines in scylladb
2024-02-25 11:45:00 +08:00
Jermy Li eef3b355f6
chore: unify to call SchemaLabel.getLabelId() (#2458)
Change-Id: I31bcc0d1ee99f3c443f8f4f0d458e06ca89977ef
2024-02-24 22:45:23 +08:00
V_Galaxy bc421bb197
chore: improve license header checker confs and pre-check header when validating (#2445)
* improve license header checker confs

* typo

* verify -> validate

* update rat exclude files

* empty commit

* update rat exclude files

* update rat exclude files
2024-02-23 16:42:01 +08:00
V_Galaxy f6da2ee6cb
fix: protobuf file header (#2448) 2024-02-23 16:39:30 +08:00
M e79f1a5e73
fix(server): clean up the code (#2456)
- replace `size() == 0` with `isEmpty()`
- remove unnecessary unboxing
- remove unnecessary boxing
- replace for loop with enhanced for loop
- replace lambda with method reference
2024-02-22 17:26:15 +08:00
M 5cb9aad6ee
fix: format and clean code in modules (#2439)
Format & clean code in submodels:

1. API
2. Scylladb
3. Postgresql
4. Rocksdb
5. Palo
6. Mysql
7. Hbase
8. Cassandra
9. Test

---------

Co-authored-by: imbajin <jin@apache.org>
2024-02-20 17:22:54 +08:00
M 0b70e897f0
fix: format and clean code in core module (#2440) 2024-02-20 17:22:28 +08:00
M 0ee9a9b788
fix: format and clean code in dist and example modules (#2441) 2024-02-20 17:22:07 +08:00
M 75867796b7
fix(server): unify the license headers (#2438)
subtask of #2435

---------

Co-authored-by: imbajin <jin@apache.org>
Co-authored-by: VGalaxies <vgalaxies@apache.org>
2024-02-07 12:53:57 +08:00
Peng Junzhi 3f7dc2a8b2
fix(server): make CacheManager constructor private to satisfy the singleton pattern (#2432) 2024-02-01 23:58:44 +08:00
SunnyBoy-WYH 1d4532cd62
chore(server): update swagger info for default server profile (#2423) 2024-01-28 14:03:38 +08:00
Dandelion b980df8697
fix(chore): remove zgc in dockerfile for ARM env (#2421)
* remove zgc

* Apply suggestions from code review

Co-authored-by: imbajin <jin@apache.org>

* add comment for hugegraph-server.sh

* fix enable-auth.sh

* init store in entrypoint

* use flag file to skip re-init

* delete tar.gz

* simply dockerfile

* mvn optimize

* simply dockerfile

* add init log in docker

---------

Co-authored-by: imbajin <jin@apache.org>
2024-01-26 16:48:41 +08:00
Z-HUANT 1dd0580d30
fix(server): reinitialize the progress to set up graph auth friendly (#2411) 2024-01-17 20:56:25 +08:00
Dandelion de5904a600
feat: support docker use the auth when starting (#2403)
- allow user to set env for docker to set auth mode
- download keystore when package
- fix a curl error (also use curl first in `function` download)

---------

Co-authored-by: imbajin <jin@apache.org>
2024-01-15 20:50:24 +08:00
imbajin 57cd0e8dd7
doc: enhance NOTICE info to keep it clear (#2409) 2024-01-09 18:44:08 +08:00
Caican Cai 7965aac70d
chore: add license link (#2398) 2024-01-04 12:50:24 +08:00
xiaoleizi2016 cf9ba8b310
fix(core): task restore interrupt problem on restart server (#2401)
* Update StandardTaskScheduler.java
2023-12-29 12:04:54 +08:00