{"id":21923812,"url":"https://github.com/soujava/data-tck-proposal","last_synced_at":"2026-04-18T19:32:29.647Z","repository":{"id":162385273,"uuid":"636951593","full_name":"soujava/data-tck-proposal","owner":"soujava","description":"The TCK proposal for Jakarta Data","archived":false,"fork":false,"pushed_at":"2023-05-08T17:55:13.000Z","size":81,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":14,"default_branch":"main","last_synced_at":"2025-10-05T09:20:56.758Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/soujava.png","metadata":{"files":{"readme":"README.adoc","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":"2023-05-06T04:07:27.000Z","updated_at":"2023-05-06T05:32:32.000Z","dependencies_parsed_at":null,"dependency_job_id":"9ca1e3a2-755e-482a-9fe8-582a182d42ce","html_url":"https://github.com/soujava/data-tck-proposal","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/soujava/data-tck-proposal","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soujava%2Fdata-tck-proposal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soujava%2Fdata-tck-proposal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soujava%2Fdata-tck-proposal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soujava%2Fdata-tck-proposal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/soujava","download_url":"https://codeload.github.com/soujava/data-tck-proposal/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soujava%2Fdata-tck-proposal/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31982619,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T17:30:12.329Z","status":"ssl_error","status_checked_at":"2026-04-18T17:29:59.069Z","response_time":103,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2024-11-28T21:12:52.128Z","updated_at":"2026-04-18T19:32:29.626Z","avatar_url":"https://github.com/soujava.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"= Data TCK Proposal\n:toc: auto\n\nThe Jakarta Data project, a part of the Jakarta EE ecosystem, aims to simplify the development of data-centric applications by providing a standard API for accessing and manipulating data from various sources. As with any standard, the Jakarta Data project requires a Technology Compatibility Kit (TCK) to ensure compliance and interoperability among different implementations. This document presents a proposal for the Jakarta Data TCK, focusing on delegating Dependency Injection (DI) and annotations to the vendors.\n\n== Instructions\n\n=== 1 Include the dependency:\n\n[source,xml]\n----\n\u003cdependency\u003e\n    \u003cgroupId\u003ebr.org.soujava.jakarta\u003c/groupId\u003e\n    \u003cartifactId\u003etck\u003c/artifactId\u003e\n    \u003cversion\u003e${project.version}\u003c/version\u003e\n    \u003cscope\u003etest\u003c/scope\u003e\n\u003c/dependency\u003e\n----\n\n=== 2 Implement both: the entity and the repository\n\nThis moment, be free to use either the entity's implementation annotation and the repository supplier.\n\n[source,java]\n----\n//vendor annotations\npublic class BookAnyVendor implements Book {\n\n}\n@Repository\npublic interface Library extends CrudRepository\u003cBookAnyVendor, String\u003e {\n}\n----\n\n\n=== 3 Implement the supplier\n\nOn this step implement the classes to create the entity and the DI engine.\n\n[source,java]\n----\npublic class BookVendorSupplier implements BookSupplier {\n    //implementation\n}\n\npublic class DISupplier implements ContainerSupplier {\n      //implementation\n}\n\n----\n\n=== 4 register SPI\n\nCreate the SPI to those suppliers.\n\n=== 5 append tests on the maven project\n\nInclude these suppliers at the maven test:\n\n[source,xml]\n----\n\u003cplugin\u003e\n    \u003cgroupId\u003eorg.apache.maven.plugins\u003c/groupId\u003e\n    \u003cartifactId\u003emaven-surefire-plugin\u003c/artifactId\u003e\n    \u003cversion\u003e${maven.surefire.plugin.version}\u003c/version\u003e\n    \u003cconfiguration\u003e\n        \u003cdependenciesToScan\u003e\n            \u003cdependency\u003ebr.org.soujava.jakarta:tck\u003c/dependency\u003e\n        \u003c/dependenciesToScan\u003e\n    \u003c/configuration\u003e\n\u003c/plugin\u003e\n----\n\n\n=== 6 run the tests\n\n\n[source,shell]\n----\nmvn clean test\n----","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoujava%2Fdata-tck-proposal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsoujava%2Fdata-tck-proposal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoujava%2Fdata-tck-proposal/lists"}