{"adoption": {"forks": 588, "observed_at": "2026-08-28T04:03:17.956395+00:00", "stars": 1031}, "canonical_url": "https://ross.abutalabs.com/products/leave-sample", "card": {"archived": false, "artifact_type": "learning-resource", "description": "本代码来源于极客时间《DDD实战》专栏。", "domain": ["developer-tools", "backend", "tutorials", "apis"], "enriched": true, "function": ["web-framework", "database", "middleware"], "health_score": 69, "homepage": "http://gk.link/a/10nH6", "language": "Java", "license": null, "license_family": "other", "maturity": "maintenance", "member_repos": ["ouchuangxin/leave-sample"], "name": "ouchuangxin/leave-sample", "platform": ["jvm", "self-hosted"], "pushed_at": "2026-05-06T11:58:43+00:00", "repo": "ouchuangxin/leave-sample", "stars": 1031, "tags": ["ddd", "domain-driven-design", "sample-code", "spring-boot", "postgresql", "microservices", "geektime", "leave-management", "event-storming", "chinese", "docker"], "topics": [], "urls": [], "use_cases": ["learn domain-driven design with a real Java codebase", "see how to structure a DDD microservice with Spring Boot", "understand aggregate roots, entities, and value objects in practice", "study domain event persistence and publishing patterns", "learn DDD layered architecture (domain, application, infrastructure, interface)", "reference example for splitting a monolith into microservices", "see DTO/DO/PO object conversion across layers"], "what_it_is": "Sample Java/Spring Boot code accompanying the Geek Time 'DDD in Practice' course, demonstrating a leave-approval microservice designed with Domain-Driven Design. It illustrates aggregates, repositories, domain events, layered architecture, and inter-service communication with PostgreSQL persistence.", "when_to_avoid": ["you need production-ready leave/attendance software", "you need a maintained library with a license and active support", "you work outside the Java/Spring ecosystem"], "when_to_choose": ["you are learning DDD and want a worked Java example", "you follow the Geek Time DDD course and need its companion code", "you want a reference for repository, factory, and domain event patterns in Spring Boot"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/leave-sample", "repo": "ouchuangxin/leave-sample", "role": "main", "score": 69}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:03:17.956395+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T07:07:28.892413+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4dc2626c41abe657c1fe7b321798d730ab31c65d06612035e73a328facc2a4ca", "fetched_at": "2026-08-28T04:03:17.956395+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ouchuangxin/leave-sample"}, {"content_hash": "04b007906bb6d773034d6bed8b2cf43faf4cab9f2cc98323917cf9348eac9eaf", "fetched_at": "2026-08-29T13:06:54.056972+00:00", "kind": "homepage", "missing": false, "url": "http://gk.link/a/10nH6"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:03:17.956395+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T07:07:28.892413+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4dc2626c41abe657c1fe7b321798d730ab31c65d06612035e73a328facc2a4ca", "fetched_at": "2026-08-28T04:03:17.956395+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ouchuangxin/leave-sample"}, {"content_hash": "04b007906bb6d773034d6bed8b2cf43faf4cab9f2cc98323917cf9348eac9eaf", "fetched_at": "2026-08-29T13:06:54.056972+00:00", "kind": "homepage", "missing": false, "url": "http://gk.link/a/10nH6"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T07:07:28.892413+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4dc2626c41abe657c1fe7b321798d730ab31c65d06612035e73a328facc2a4ca", "fetched_at": "2026-08-28T04:03:17.956395+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ouchuangxin/leave-sample"}, {"content_hash": "04b007906bb6d773034d6bed8b2cf43faf4cab9f2cc98323917cf9348eac9eaf", "fetched_at": "2026-08-29T13:06:54.056972+00:00", "kind": "homepage", "missing": false, "url": "http://gk.link/a/10nH6"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:03:17.956395+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:03:17.956395+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:03:17.956395+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T07:07:28.892413+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4dc2626c41abe657c1fe7b321798d730ab31c65d06612035e73a328facc2a4ca", "fetched_at": "2026-08-28T04:03:17.956395+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ouchuangxin/leave-sample"}, {"content_hash": "04b007906bb6d773034d6bed8b2cf43faf4cab9f2cc98323917cf9348eac9eaf", "fetched_at": "2026-08-29T13:06:54.056972+00:00", "kind": "homepage", "missing": false, "url": "http://gk.link/a/10nH6"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:03:17.956395+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:03:17.956395+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T07:07:28.892413+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4dc2626c41abe657c1fe7b321798d730ab31c65d06612035e73a328facc2a4ca", "fetched_at": "2026-08-28T04:03:17.956395+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ouchuangxin/leave-sample"}, {"content_hash": "04b007906bb6d773034d6bed8b2cf43faf4cab9f2cc98323917cf9348eac9eaf", "fetched_at": "2026-08-29T13:06:54.056972+00:00", "kind": "homepage", "missing": false, "url": "http://gk.link/a/10nH6"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:03:17.956395+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:03:17.956395+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:03:17.956395+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T07:07:28.892413+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4dc2626c41abe657c1fe7b321798d730ab31c65d06612035e73a328facc2a4ca", "fetched_at": "2026-08-28T04:03:17.956395+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ouchuangxin/leave-sample"}, {"content_hash": "04b007906bb6d773034d6bed8b2cf43faf4cab9f2cc98323917cf9348eac9eaf", "fetched_at": "2026-08-29T13:06:54.056972+00:00", "kind": "homepage", "missing": false, "url": "http://gk.link/a/10nH6"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:03:17.956395+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:03:17.956395+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T07:07:28.892413+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4dc2626c41abe657c1fe7b321798d730ab31c65d06612035e73a328facc2a4ca", "fetched_at": "2026-08-28T04:03:17.956395+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ouchuangxin/leave-sample"}, {"content_hash": "04b007906bb6d773034d6bed8b2cf43faf4cab9f2cc98323917cf9348eac9eaf", "fetched_at": "2026-08-29T13:06:54.056972+00:00", "kind": "homepage", "missing": false, "url": "http://gk.link/a/10nH6"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T07:07:28.892413+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4dc2626c41abe657c1fe7b321798d730ab31c65d06612035e73a328facc2a4ca", "fetched_at": "2026-08-28T04:03:17.956395+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ouchuangxin/leave-sample"}, {"content_hash": "04b007906bb6d773034d6bed8b2cf43faf4cab9f2cc98323917cf9348eac9eaf", "fetched_at": "2026-08-29T13:06:54.056972+00:00", "kind": "homepage", "missing": false, "url": "http://gk.link/a/10nH6"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T07:07:28.892413+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4dc2626c41abe657c1fe7b321798d730ab31c65d06612035e73a328facc2a4ca", "fetched_at": "2026-08-28T04:03:17.956395+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ouchuangxin/leave-sample"}, {"content_hash": "04b007906bb6d773034d6bed8b2cf43faf4cab9f2cc98323917cf9348eac9eaf", "fetched_at": "2026-08-29T13:06:54.056972+00:00", "kind": "homepage", "missing": false, "url": "http://gk.link/a/10nH6"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T07:07:28.892413+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4dc2626c41abe657c1fe7b321798d730ab31c65d06612035e73a328facc2a4ca", "fetched_at": "2026-08-28T04:03:17.956395+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ouchuangxin/leave-sample"}, {"content_hash": "04b007906bb6d773034d6bed8b2cf43faf4cab9f2cc98323917cf9348eac9eaf", "fetched_at": "2026-08-29T13:06:54.056972+00:00", "kind": "homepage", "missing": false, "url": "http://gk.link/a/10nH6"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 81, "longevity": 100, "rhythm": 35}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": ["no_releases", "no_license"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 2437, "days_push": 119, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 69, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}