This is an automated email from the ASF dual-hosted git repository.
imbajin pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/hugegraph-toolchain.git
from be7ef3aee fix(loader): preserve mapping and file semantics
new dad5f45d9 feat(hubble): unify compatibility and auth modes
new 554f92b6b fix(hubble): harden compatibility contracts
new f97aa8234 fix(hubble): restore management operations UX
new b3b2f0534 fix(hubble): enforce GraphSpace permission presets
new 84e3ef456 fix(ci): align coverage and quality checks
new 4ef08b628 fix(hubble): harden account template boundaries
new de0fd460c fix(hubble): secure scoped GraphSpace workflows
new ff1334c76 fix(hubble): complete legacy auth compatibility
new 485fbacb8 fix(hubble): clarify account cluster status
new 1c2900c62 fix(hubble): stabilize async task capabilities
new e237e6f06 fix(hubble): polish account navigation recovery
new 57dbc8606 fix(hubble): align operations and auth health
new e1f042928 fix(ci): finalize merged server integration
new 0f4e9f25a docs(hubble): add English product showcase
new dbd72fa0b fix(hubble): limit legacy password retention
new ea1984362 fix(ci): remove temporary server overrides
new a2b4db621 fix(hubble): cover PD token password handling
new d50c47e0d fix(hubble): restore Vermeer OLAP forms
new e0a954733 fix(hubble): align distributed health signals
new 010fb382f docs(hubble): add cluster overview showcase
new 9c86974c8 fix(hubble): close final auth and Store gaps
new 238c402e4 fix(hubble): complete final closeout
new 018c9b6ae fix(hubble): grant standalone account access
new 451abb1e4 fix(hubble): set standalone target URL
The 24 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.editorconfig | 4 +-
.github/actions/upload-coverage/action.yml | 1 +
.github/workflows/client-ci.yml | 2 +-
.github/workflows/hubble-ci.yml | 26 +-
.github/workflows/loader-ci.yml | 2 +-
.github/workflows/tools-ci.yml | 6 -
.serena/memories/README_INDEX.md | 2 +-
.serena/memories/code_style_and_conventions.md | 2 +-
AGENTS.md | 2 +-
README.md | 18 +-
.../org/apache/hugegraph/driver/AuthManager.java | 5 +
.../org/apache/hugegraph/driver/HugeClient.java | 86 ++-
.../hugegraph/driver/ServerCompatibility.java | 136 ++++
.../driver/HugeClientCompatibilityTest.java | 197 ++++++
.../hugegraph/driver/ServerCompatibilityTest.java | 73 ++
.../org/apache/hugegraph/unit/ManagerAPITest.java | 15 +-
.../org/apache/hugegraph/unit/UnitTestSuite.java | 4 +
hugegraph-hubble/.prettierrc | 2 +-
hugegraph-hubble/AGENTS.md | 21 +
hugegraph-hubble/README.md | 42 ++
.../docs/images/showcase/async-tasks.jpg | Bin 0 -> 63998 bytes
.../docs/images/showcase/gql-traversal.jpg | Bin 0 -> 76776 bytes
.../docs/images/showcase/home-workbench.jpg | Bin 0 -> 88896 bytes
.../docs/images/showcase/operations-overview.jpg | Bin 0 -> 149091 bytes
.../docs/images/showcase/schema-templates.jpg | Bin 0 -> 75969 bytes
.../java/org/apache/hugegraph/common/Constant.java | 9 +
.../org/apache/hugegraph/config/WebMvcConfig.java | 2 +
.../hugegraph/controller/BaseController.java | 130 +++-
.../hugegraph/controller/ConfigController.java | 69 +-
.../controller/algorithm/OlapAlgoController.java | 13 +
.../controller/algorithm/OltpAlgoController.java | 52 +-
.../controller/auth/AccessController.java | 10 +-
.../controller/auth/BelongController.java | 16 +-
.../controller/auth/GraphSpaceUserController.java | 76 +-
.../hugegraph/controller/auth/LoginController.java | 27 +
.../hugegraph/controller/auth/RoleController.java | 12 +-
.../controller/auth/TargetController.java | 12 +-
.../hugegraph/controller/auth/UserController.java | 17 +-
.../controller/graphs/GraphsController.java | 10 +-
.../controller/ingest/IngestController.java | 100 ++-
.../controller/langchain/LangChainController.java | 2 +-
.../controller/load/FileMappingController.java | 11 +
.../controller/load/FileUploadController.java | 4 +
.../controller/load/JobManagerController.java | 6 +-
.../controller/load/LoadTaskController.java | 7 +
.../controller/op/OperationsController.java | 3 +
.../controller/query/ExecuteHistoryController.java | 9 +-
.../query/GremlinCollectionController.java | 30 +-
.../controller/saas/SaasGraphViewController.java | 4 +-
.../controller/schema/SchemaController.java | 2 +-
.../controller/space/GraphSpaceController.java | 51 +-
.../controller/space/SchemaTemplateController.java | 30 +-
.../controller/space/VermeerController.java | 2 +-
.../apache/hugegraph/entity/auth/RoleEntity.java | 15 +-
.../apache/hugegraph/entity/auth/UserEntity.java | 7 +
.../hugegraph/handler/CustomInterceptor.java | 107 ++-
.../apache/hugegraph/handler/LoginInterceptor.java | 43 ++
.../hugegraph/service/HugeClientPoolService.java | 34 +-
.../service/algorithm/OlapAlgoService.java | 25 +-
.../hugegraph/service/auth/AuthContextService.java | 167 ++++-
.../hugegraph/service/auth/AuthModeService.java | 79 +++
.../service/auth/GraphSpaceUserService.java | 468 ++++++++++++-
.../auth/StandaloneAccountPermissionService.java | 204 ++++++
.../apache/hugegraph/service/auth/UserService.java | 438 +++++++++++-
.../hugegraph/service/graphs/GraphsService.java | 5 +-
.../hugegraph/service/load/JobManagerService.java | 34 +
.../service/op/DefaultOperationsDataService.java | 34 +-
.../service/op/LiveOperationsCollector.java | 413 +++++++++--
.../hugegraph/service/op/OperationsModels.java | 11 +
.../service/op/OperationsPayloadParser.java | 124 +++-
.../service/query/ExecuteHistoryService.java | 20 +-
.../service/query/GremlinCollectionService.java | 25 +-
.../hugegraph/service/space/GraphSpaceService.java | 282 ++++++--
.../src/main/resources/i18n/messages.properties | 12 +
.../main/resources/i18n/messages_zh_CN.properties | 12 +
.../auth/AccountMutationAuthorizationTest.java | 49 +-
.../GraphSpaceAuthMutationAuthorizationTest.java | 53 +-
.../auth/GraphSpaceAuthOwnershipTest.java | 126 +++-
.../controller/ingest/IngestControllerTest.java | 118 ++++
.../controller/space/GraphSpaceControllerTest.java | 147 ++++
.../SchemaTemplateControllerSecurityTest.java | 187 +++++
.../service/algorithm/OlapAlgoServiceTest.java | 90 +++
.../service/auth/AuthContextServiceTest.java | 196 +++++-
.../service/auth/AuthModeServiceTest.java | 55 ++
.../service/auth/GraphSpaceUserServiceTest.java | 772 ++++++++++++++++++++
.../StandaloneAccountPermissionServiceTest.java | 162 +++++
.../op/DefaultOperationsDataServiceTest.java | 144 ++++
.../service/op/LiveOperationsCollectorTest.java | 389 ++++++++++-
.../service/op/OperationsPayloadParserTest.java | 72 +-
.../service/space/GraphSpaceServiceTest.java | 297 ++++++++
.../apache/hugegraph/unit/AuthSecurityTest.java | 332 ++++++++-
.../unit/BaseControllerGremlinClientTest.java | 44 +-
.../hugegraph/unit/ConfigControllerTest.java | 181 +++++
.../hugegraph/unit/FileMappingDeletionTest.java | 27 +-
.../unit/GraphsControllerCanonicalTest.java | 52 +-
.../hugegraph/unit/GraphsServiceDefaultTest.java | 29 +
.../hugegraph/unit/LoaderScopeControllerTest.java | 29 +-
.../hugegraph/unit/OperationsControllerTest.java | 29 +
.../org/apache/hugegraph/unit/UnitTestSuite.java | 11 +
.../unit/UserServiceCompatibilityTest.java | 778 ++++++++++++++++++++-
hugegraph-hubble/hubble-fe/src/App.js | 89 ++-
hugegraph-hubble/hubble-fe/src/App.test.js | 229 +++++-
hugegraph-hubble/hubble-fe/src/api/analysis.js | 8 +
.../hubble-fe/src/api/auth-contract.test.js | 22 +
hugegraph-hubble/hubble-fe/src/api/auth.js | 29 +
.../src/api/request-error-semantics.test.js | 75 ++
hugegraph-hubble/hubble-fe/src/api/request.js | 19 +-
hugegraph-hubble/hubble-fe/src/auth/AuthContext.js | 10 +-
.../hubble-fe/src/auth/graphspaceAccess.js | 51 ++
.../hubble-fe/src/auth/graphspaceAccess.test.js | 48 ++
.../src/components/GraphContextSwitcher/index.js | 41 +-
.../components/GraphContextSwitcher/index.test.js | 54 +-
.../hubble-fe/src/components/Sidebar/index.ant.js | 15 +-
.../src/components/Sidebar/index.ant.test.js | 48 +-
.../hubble-fe/src/components/Topbar/index.ant.js | 86 ++-
.../components/Topbar/topbar-request-error.test.js | 49 +-
.../i18n/resources/en-US/components/common.json | 2 +-
.../src/i18n/resources/en-US/modules/analysis.json | 11 +-
.../src/i18n/resources/en-US/modules/pages.json | 119 +++-
.../i18n/resources/zh-CN/components/common.json | 2 +-
.../src/i18n/resources/zh-CN/modules/analysis.json | 11 +-
.../src/i18n/resources/zh-CN/modules/pages.json | 119 +++-
.../algorithmsForm/AlgorithmNameHeader/index.js | 6 +-
.../modules/algorithm/algorithmsForm/Home/index.js | 2 +
.../algorithm/algorithmsForm/MaxDepthItem/index.js | 3 +-
.../Olap/BetweennessCentrality/index.js | 2 +
.../Olap/BetweennessCentralityVermeer/index.js | 2 +
.../Olap/ClosenessCentrality/index.js | 2 +
.../Olap/ClosenessCentralityVermeer/index.js | 2 +
.../Olap/ClusterCoefficient/index.js | 2 +
.../algorithmsForm/Olap/DegreeCentrality/index.js | 2 +
.../Olap/DegreeCentralityVermeer/index.js | 2 +
.../Olap/FilterSubGraphMatching/index.js | 2 +
.../Olap/FilteredRingsDetection/index.js | 2 +
.../algorithm/algorithmsForm/Olap/KCore/index.js | 2 +
.../algorithmsForm/Olap/KCoreVermeer/index.js | 2 +
.../Olap/LabelPropagationAlgorithm/index.js | 2 +
.../Olap/LabelPropagationAlgorithmVermeer/index.js | 2 +
.../algorithm/algorithmsForm/Olap/Links/index.js | 2 +
.../algorithm/algorithmsForm/Olap/Louvain/index.js | 2 +
.../algorithmsForm/Olap/PageRank/index.js | 2 +
.../algorithmsForm/Olap/PageRankVermeer/index.js | 2 +
.../algorithmsForm/Olap/PersonalPageRank/index.js | 2 +
.../algorithmsForm/Olap/RingsDetection/index.js | 2 +
.../algorithmsForm/Olap/SSSPVermeer/index.js | 2 +
.../algorithmsForm/Olap/TriangleCount/index.js | 2 +
.../Olap/TriangleCountVermeer/index.js | 2 +
.../Olap/WeaklyConnectedComponent/index.js | 2 +
.../Olap/WeaklyConnectedComponentVermeer/index.js | 2 +
.../algorithm/algorithmsForm/OlapHome/index.js | 61 +-
.../algorithmsForm/OlapHome/index.test.js | 128 ++++
.../algorithmsForm/Oltp/AdamicAdar/index.js | 2 +
.../algorithmsForm/Oltp/AllPaths/index.js | 2 +
.../algorithmsForm/Oltp/Crosspoints/index.js | 5 +-
.../Oltp/CustomizedCrosspoints/Home/index.js | 2 +
.../Oltp/CustomizedPaths/Home/index.js | 5 +-
.../algorithm/algorithmsForm/Oltp/Egonet/index.js | 5 +-
.../algorithmsForm/Oltp/FindShortestPath/index.js | 5 +-
.../Oltp/FindShortestPathWithWeight/index.js | 2 +
.../Oltp/FusiformSimilarity/index.js | 2 +
.../Oltp/JaccardSimilarityGet/index.js | 2 +
.../Oltp/JaccardSimilarityPost/index.js | 2 +
.../algorithmsForm/Oltp/KneighborGet/index.js | 2 +
.../algorithmsForm/Oltp/KneighborPost/index.js | 5 +-
.../algorithm/algorithmsForm/Oltp/KoutGet/index.js | 2 +
.../algorithmsForm/Oltp/KoutPost/Home/index.js | 5 +-
.../Oltp/MultiNodesShortestPath/index.js | 5 +-
.../algorithmsForm/Oltp/NeighborRankApi/index.js | 2 +
.../algorithm/algorithmsForm/Oltp/Paths/index.js | 5 +-
.../algorithm/algorithmsForm/Oltp/RankApi/index.js | 4 +-
.../algorithm/algorithmsForm/Oltp/Rays/index.js | 5 +-
.../Oltp/ResourceAllocation/index.js | 2 +
.../algorithm/algorithmsForm/Oltp/Rings/index.js | 2 +
.../algorithmsForm/Oltp/SameNeighbors/index.js | 2 +
.../Oltp/SameNeighborsBatch/index.js | 2 +
.../algorithmsForm/Oltp/ShortestPath/index.js | 2 +
.../Oltp/SingleSourceShortestPath/index.js | 2 +
.../Oltp/TemplatePaths/Home/index.js | 2 +
.../algorithmsForm/PersistentForm/index.js | 20 +
.../algorithmsForm/PersistentForm/index.test.js | 82 ++-
.../algorithmsForm/algorithm-dom-props.test.js | 14 +
.../hubble-fe/src/modules/analysis/Home/index.js | 3 +
.../src/modules/analysis/QueryBar/Home/index.js | 5 +-
.../modules/analysis/QueryBar/Home/index.test.js | 15 +
.../src/modules/asyncTasks/Detail/index.js | 99 ++-
.../modules/asyncTasks/Detail/index.module.scss | 12 +
.../src/modules/asyncTasks/Detail/index.test.js | 104 +++
.../src/modules/asyncTasks/Result/index.js | 90 ++-
.../modules/asyncTasks/Result/index.module.scss | 12 +
.../src/modules/navigation/ConsoleItem/index.js | 14 +-
.../modules/navigation/ConsoleItem/index.test.js | 39 ++
.../src/modules/navigation/Home/index.module.scss | 4 +-
.../hubble-fe/src/pages/Account/EditLayer.js | 232 +++---
.../hubble-fe/src/pages/Account/SpaceAccess.js | 774 ++++++++++----------
.../src/pages/Account/SpaceAccess.test.js | 546 ++++++++++++++-
.../pages/Account/account-edit-recovery.test.js | 404 ++++++++++-
.../src/pages/Account/account-recovery.test.js | 163 ++++-
.../src/pages/Account/accountError.js} | 13 +-
.../hubble-fe/src/pages/Account/index.js | 224 ++++--
.../hubble-fe/src/pages/Account/pagedRecords.js | 74 ++
.../src/pages/Account/permissionPresets.js | 116 +++
.../src/pages/Account/permissionPresets.test.js | 103 +++
hugegraph-hubble/hubble-fe/src/pages/Graph/Card.js | 12 +-
.../hubble-fe/src/pages/Graph/Card.test.js | 22 +
.../src/pages/Graph/default-card-actions.test.js | 101 ++-
.../hubble-fe/src/pages/Graph/index.js | 105 +--
.../src/pages/Graph/inline-nickname-edit.test.js | 23 +-
.../hubble-fe/src/pages/GraphSpace/Card.js | 11 +-
.../hubble-fe/src/pages/GraphSpace/Card.test.js | 24 +
.../hubble-fe/src/pages/GraphSpace/EditLayer.js | 33 +-
.../src/pages/GraphSpace/EditLayer.test.js | 56 +-
.../hubble-fe/src/pages/GraphSpace/index.js | 4 +-
.../src/pages/GraphSpace/index.module.scss | 43 ++
.../hubble-fe/src/pages/Login/index.js | 20 +-
.../src/pages/Login/login-request-error.test.js | 38 +
.../hubble-fe/src/pages/Meta/Edge/index.js | 26 +-
.../hubble-fe/src/pages/Meta/ImageView.js | 231 +++---
.../hubble-fe/src/pages/Meta/ImageView.test.js | 40 ++
.../hubble-fe/src/pages/Meta/ListView.js | 10 +-
.../hubble-fe/src/pages/Meta/Property/index.js | 22 +-
.../hubble-fe/src/pages/Meta/Vertex/index.js | 26 +-
.../src/pages/Meta/meta-read-only.test.js | 141 ++++
hugegraph-hubble/hubble-fe/src/pages/My/index.js | 52 +-
.../hubble-fe/src/pages/My/my-recovery.test.js | 66 +-
.../hubble-fe/src/pages/Operations/NodeDetail.js | 263 +++----
.../src/pages/Operations/NodeDetail.test.js | 199 ++++--
.../hubble-fe/src/pages/Operations/Nodes.js | 10 +-
.../hubble-fe/src/pages/Operations/Nodes.test.js | 33 +-
.../hubble-fe/src/pages/Operations/Overview.js | 113 ++-
.../src/pages/Operations/Overview.test.js | 141 +++-
.../hubble-fe/src/pages/Operations/components.js | 144 +++-
.../src/pages/Operations/components.test.js | 74 +-
.../hubble-fe/src/pages/Operations/operations.scss | 62 +-
.../hubble-fe/src/pages/Operations/topology.js | 86 ++-
.../src/pages/Operations/topology.test.js | 80 +++
.../hubble-fe/src/pages/Schema/index.js | 54 +-
.../src/pages/Schema/schema-list-recovery.test.js | 99 +++
.../hubble-fe/src/pages/pd-error-owner.test.js | 5 +-
hugegraph-hubble/hubble-fe/src/routes/index.js | 26 +-
.../hubble-fe/src/routes/route-guard.test.js | 21 +-
hugegraph-hubble/hubble-fe/src/setupProxy.js | 8 +-
hugegraph-hubble/hubble-fe/src/setupProxy.test.js | 90 +++
hugegraph-hubble/hubble-fe/src/utils/config.js | 21 +-
.../gremlin.test.js => utils/config.test.js} | 27 +-
.../hubble-fe/src/utils/productMode.js | 3 -
.../hubble-fe/src/utils/productMode.test.js | 5 +-
hugegraph-hubble/hubble-fe/src/utils/rules.test.js | 31 +-
hugegraph-hubble/hubble-fe/src/utils/user.js | 14 +
tools/checkstyle.xml | 2 +-
249 files changed, 13874 insertions(+), 1763 deletions(-)
create mode 100644
hugegraph-client/src/main/java/org/apache/hugegraph/driver/ServerCompatibility.java
create mode 100644
hugegraph-client/src/test/java/org/apache/hugegraph/driver/HugeClientCompatibilityTest.java
create mode 100644
hugegraph-client/src/test/java/org/apache/hugegraph/driver/ServerCompatibilityTest.java
create mode 100644 hugegraph-hubble/AGENTS.md
create mode 100644 hugegraph-hubble/docs/images/showcase/async-tasks.jpg
create mode 100644 hugegraph-hubble/docs/images/showcase/gql-traversal.jpg
create mode 100644 hugegraph-hubble/docs/images/showcase/home-workbench.jpg
create mode 100644
hugegraph-hubble/docs/images/showcase/operations-overview.jpg
create mode 100644 hugegraph-hubble/docs/images/showcase/schema-templates.jpg
create mode 100644
hugegraph-hubble/hubble-be/src/main/java/org/apache/hugegraph/service/auth/AuthModeService.java
create mode 100644
hugegraph-hubble/hubble-be/src/main/java/org/apache/hugegraph/service/auth/StandaloneAccountPermissionService.java
create mode 100644
hugegraph-hubble/hubble-be/src/test/java/org/apache/hugegraph/controller/space/SchemaTemplateControllerSecurityTest.java
create mode 100644
hugegraph-hubble/hubble-be/src/test/java/org/apache/hugegraph/service/algorithm/OlapAlgoServiceTest.java
create mode 100644
hugegraph-hubble/hubble-be/src/test/java/org/apache/hugegraph/service/auth/AuthModeServiceTest.java
create mode 100644
hugegraph-hubble/hubble-be/src/test/java/org/apache/hugegraph/service/auth/GraphSpaceUserServiceTest.java
create mode 100644
hugegraph-hubble/hubble-be/src/test/java/org/apache/hugegraph/service/auth/StandaloneAccountPermissionServiceTest.java
create mode 100644
hugegraph-hubble/hubble-be/src/test/java/org/apache/hugegraph/unit/ConfigControllerTest.java
create mode 100644 hugegraph-hubble/hubble-fe/src/auth/graphspaceAccess.js
create mode 100644 hugegraph-hubble/hubble-fe/src/auth/graphspaceAccess.test.js
create mode 100644
hugegraph-hubble/hubble-fe/src/modules/algorithm/algorithmsForm/OlapHome/index.test.js
create mode 100644
hugegraph-hubble/hubble-fe/src/modules/asyncTasks/Detail/index.test.js
copy
hugegraph-hubble/{hubble-be/src/main/java/org/apache/hugegraph/exception/ForbiddenException.java
=> hubble-fe/src/pages/Account/accountError.js} (72%)
create mode 100644 hugegraph-hubble/hubble-fe/src/pages/Account/pagedRecords.js
create mode 100644
hugegraph-hubble/hubble-fe/src/pages/Account/permissionPresets.js
create mode 100644
hugegraph-hubble/hubble-fe/src/pages/Account/permissionPresets.test.js
create mode 100644
hugegraph-hubble/hubble-fe/src/pages/Meta/meta-read-only.test.js
create mode 100644 hugegraph-hubble/hubble-fe/src/setupProxy.test.js
copy
hugegraph-hubble/hubble-fe/src/{components/CodeEditor/syntax/gremlin.test.js =>
utils/config.test.js} (60%)