Shared rules: root AGENTS.md. Paths here are relative to this module.
- Engine/schema/traversal:
hugegraph-core/src/main/java/org/apache/hugegraph/. - REST, auth and graph lifecycle:
hugegraph-api/src/main/java/org/apache/hugegraph/. - Backend contract:
hugegraph-core/src/main/java/org/apache/hugegraph/backend/store/BackendStore.java. - HStore adapter:
hugegraph-hstore/; distributed client lives in Store. - Shipped configs/scripts: distribution sources.
Graph configs are in
conf/graphs/; REST and Gremlin configs are inconf/.
Run from the repository root:
mvn test -pl hugegraph-server/hugegraph-test -am -P unit-test
mvn test -pl hugegraph-server/hugegraph-test -am -P core-test,rocksdb
mvn test -pl hugegraph-server/hugegraph-test -am -P api-test,rocksdb- Suite sources are in
hugegraph-test/src/main/java/, notsrc/test/java/. - Combine test and backend profiles. TinkerPop profiles:
tinkerpop-structure-test,tinkerpop-process-test. - Selection and suite registration: test POM.
- Service setup: Server CI; HStore setup: PD/Store CI.
- Struct has separate ID/query/serializer implementations. For format changes, inspect Struct and both read/write paths.
- Authentication spans REST and Gremlin; inspect both shipped configs when changing bootstrap.