{"id":14987975,"url":"https://github.com/apache/incubator-hugegraph-commons","last_synced_at":"2025-04-12T13:51:24.324Z","repository":{"id":37964631,"uuid":"139543029","full_name":"apache/incubator-hugegraph-commons","owner":"apache","description":"(Archived Warning)Please visit \"apache/hugegraph\" repo instead","archived":false,"fork":false,"pushed_at":"2024-08-24T15:12:49.000Z","size":1027,"stargazers_count":29,"open_issues_count":1,"forks_count":45,"subscribers_count":14,"default_branch":"master","last_synced_at":"2025-04-10T11:58:53.825Z","etag":null,"topics":["common","graph","rpc"],"latest_commit_sha":null,"homepage":"https://github.com/apache/hugegraph/tree/master/hugegraph-commons","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/apache.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-07-03T07:11:40.000Z","updated_at":"2024-08-24T15:12:52.000Z","dependencies_parsed_at":"2024-05-28T09:02:40.240Z","dependency_job_id":"c63ea4ab-d862-4fe4-8527-df4ead06fb25","html_url":"https://github.com/apache/incubator-hugegraph-commons","commit_stats":{"total_commits":217,"total_committers":31,"mean_commits":7.0,"dds":0.728110599078341,"last_synced_commit":"e678d76d6b1ca08f520a2933cba1fc6d1415cee6"},"previous_names":["hugegraph/hugegraph-commons","hugegraph/hugegraph-common"],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apache%2Fincubator-hugegraph-commons","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apache%2Fincubator-hugegraph-commons/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apache%2Fincubator-hugegraph-commons/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apache%2Fincubator-hugegraph-commons/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/apache","download_url":"https://codeload.github.com/apache/incubator-hugegraph-commons/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248575690,"owners_count":21127247,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["common","graph","rpc"],"created_at":"2024-09-24T14:15:52.691Z","updated_at":"2025-04-12T13:51:24.305Z","avatar_url":"https://github.com/apache.png","language":"Java","readme":"\u003e [!WARNING]\n\u003e All contents of this repository have been migrated to https://github.com/apache/hugegraph/tree/master/hugegraph-commons. This repository will be archived soon.\n\n# hugegraph-commons\n\n[![License](https://img.shields.io/badge/license-Apache%202-0E78BA.svg)](https://www.apache.org/licenses/LICENSE-2.0.html)\n[![codecov](https://codecov.io/gh/hugegraph/hugegraph-common/branch/master/graph/badge.svg)](https://codecov.io/gh/hugegraph/hugegraph-common)\n[![Maven Central](https://maven-badges.herokuapp.com/maven-central/org.apache.hugegraph/hugegraph-common/badge.svg)](https://mvnrepository.com/artifact/org.apache.hugegraph/hugegraph-common)\n[![CodeQL](https://github.com/apache/incubator-hugegraph-commons/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/apache/incubator-hugegraph-commons/actions/workflows/codeql-analysis.yml)\n[![hugegraph-commons ci](https://github.com/apache/incubator-hugegraph-commons/actions/workflows/ci.yml/badge.svg)](https://github.com/apache/incubator-hugegraph-commons/actions/workflows/ci.yml)\n\n\nhugegraph-commons is a common module for [HugeGraph](https://github.com/apache/hugegraph) and its peripheral components.\nhugegraph-commons encapsulates locks, configurations, events, iterators, rest and some \nnumeric or collection util classes to simplify the development of HugeGraph and its components.\n\n## Components\n\n- Lock: atomic lock, key lock, lock group and lock manger\n- Config: register and load config option with security check\n- Event: listening and notification, do something asynchronously\n- Iterator: some iterators with extra functions, map, filter, extend, etc.\n- Rest: RESTful client implemented on OkHttp, POST, PUT, GET and DELETE\n- Util: performance analyzer, version checker, numeric and Collection utils, log and exception utils, etc.\n- Rpc: rpc component for inner module communication, currently it's based on [Sofa-RPC](https://github.com/sofastack/sofa-rpc)\n\nYou could use import the dependencies in `maven` like this:\n\n```xml\n  \u003cdependency\u003e\n       \u003cgroupId\u003eorg.apache.hugegraph\u003c/groupId\u003e\n       \u003cartifactId\u003ehugegraph-common\u003c/artifactId\u003e\n       \u003cversion\u003e1.2.0\u003c/version\u003e\n  \u003c/dependency\u003e\n```\n\n## Learn More\n\nThe [doc page](https://hugegraph.apache.org/docs/) contains more information about hugegraph modules.\n\nAnd here are links of other repositories:\n1. [hugegraph-server](https://github.com/apache/hugegraph) (graph's core component - OLTP server)\n2. [hugegraph-toolchain](https://github.com/apache/hugegraph-toolchain) (include loader/dashboard/tool/client)\n3. [hugegraph-computer](https://github.com/apache/hugegraph-computer) (graph processing system - OLAP)\n4. [hugegraph-website/doc](https://github.com/apache/hugegraph-doc) (include doc \u0026 website code)\n\n\n\n## Contributing\n\n- Welcome to contribute to HugeGraph, please see [How to Contribute](https://hugegraph.apache.org/docs/contribution-guidelines/contribute/) for more information.  \n- Note: It's recommended to use [GitHub Desktop](https://desktop.github.com/) to greatly simplify the PR and commit process.  \n- Thank you to all the people who already contributed to HugeGraph!\n\n[![contributors graph](https://contrib.rocks/image?repo=apache/hugegraph-commons)](https://github.com/apache/incubator-hugegraph-commons/graphs/contributors)\n\n## Licence\n\nSame as HugeGraph, hugegraph-commons are also licensed under [Apache 2.0](./LICENSE) License.\n\n### Contact Us\n\n---\n\n - [GitHub Issues](https://github.com/apache/incubator-hugegraph-commons/issues): Feedback on usage issues and functional requirements (quick response)\n - Feedback Email: [dev@hugegraph.apache.org](mailto:dev@hugegraph.apache.org) ([subscriber](https://hugegraph.apache.org/docs/contribution-guidelines/subscribe/) only)\n - WeChat public account: Apache HugeGraph, welcome to scan this QR code to follow us.\n\n \u003cimg src=\"https://raw.githubusercontent.com/apache/incubator-hugegraph-doc/master/assets/images/wechat.png\" alt=\"QR png\" width=\"350\"/\u003e\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapache%2Fincubator-hugegraph-commons","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapache%2Fincubator-hugegraph-commons","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapache%2Fincubator-hugegraph-commons/lists"}