{"ref":"artifact:cap-java-cds-adapter-odata-v4","page":"/artifacts/cap-java-cds-adapter-odata-v4","json":"/artifacts/cap-java-cds-adapter-odata-v4.json","generated":"2026-10-26","drafted_with_ai":true,"entity":{"id":"cap-java-cds-adapter-odata-v4","name":"com.sap.cds:cds-adapter-odata-v4","artifact_type":"package","ecosystem":"cap","domain":"protocols-and-apis","origin_ring":"sap-official","description":{"one_line":"The OData V4 protocol adapter for CAP Java, auto-exposing every Application Service in the model at /odata/v4/<Service> without protocol code of its own, active by default in the CDS Maven Archetype.","short":"OData V4 protocol adapter for CAP Java Application Services","what_it_solves":"Maps inbound OData V4 requests onto CQN events for the CAP Java runtime, so every Application Service in the model is auto-exposed at /odata/v4/<Service> without protocol code of its own. Its version comes from [com.sap.cds:cds-services-bom](artifact:cap-java-cds-services-bom), the bill of materials that keeps every CAP Java module in sync; the adapter itself is added to srv/pom.xml with runtime scope, next to an application framework such as cds-framework-spring-boot. The CDS Maven Archetype activates it by default; passing -DodataVersion=v2 switches the archetype to [com.sap.cds:cds-adapter-odata-v2](artifact:cap-java-cds-adapter-odata-v2) instead, and a service can be served by both at once through the @protocols annotation. It stops at the protocol mapping: which services it exposes and what each entity does follow from the CDS model, not from the adapter."},"links":{"homepage":"https://central.sonatype.com/artifact/com.sap.cds/cds-adapter-odata-v4","docs":"https://cap.cloud.sap/docs/java/developing-applications/building#standard-modules"},"identity":{"license":"SAP DEVELOPER LICENSE AGREEMENT for CAP"},"source_available":false,"compat":{"runtimes":["java"]},"flavors":[{"key":"java","source":{"url":"https://repo1.maven.org/maven2/com/sap/cds/cds-adapter-odata-v4/5.1.1/cds-adapter-odata-v4-5.1.1.pom","title":"com.sap.cds:cds-adapter-odata-v4 — Maven POM","checked":"2026-09-19","quote":"OData V4 adapter for CDS Services Java"}}],"drafted_with_ai":true,"provides":[{"capability":"capability:odata","what_it_does":"Auto-exposes every Application Service in the CDS model as an OData V4 endpoint, mapping inbound requests onto CQN events for the CAP Java runtime to process.","sources":[{"url":"https://cap.cloud.sap/docs/java/developing-applications/building#standard-modules","title":"Building Applications — Java, capire","checked":"2026-09-19","quote":"Auto-exposes Application Services as OData V4 endpoints."},{"url":"https://repo1.maven.org/maven2/com/sap/cds/cds-adapter-odata-v4/5.1.1/cds-adapter-odata-v4-5.1.1.pom","title":"com.sap.cds:cds-adapter-odata-v4 — Maven POM","checked":"2026-09-19","quote":"OData V4 adapter for CDS Services Java"},{"url":"https://cap.cloud.sap/docs/java/cqn-services/application-services","title":"Application Services — Java, capire","checked":"2026-09-19","quote":"By default, a service is served by the protocols odata-v4 and odata-v2."}]}],"history":[{"date":"2026-09-19","field":"provides.what_it_does","from":null,"to":"Auto-exposes every Application Service in the CDS model as an OData V4 endpoint, mapping inbound requests onto CQN events for the CAP Java runtime to process.","reason":"New CAP Java protocol adapter discovered through capire and its Maven Central POM. Facts describe the pinned capire commit 8b8b5810 and the 5.1.1 release; not verified deployment compatibility."}],"provenance":{"discovered_via":[{"source":"source:curator"}],"first_seen":"2026-09-19"}},"effective_normative_relations":[],"readings":{"liveness":[{"label":"Maintenance","tier":"unknown","evidence":"no release data"},{"label":"Continuity","tier":"unknown","evidence":"no contributor data"},{"label":"Repository","tier":"unknown","evidence":"no repository data"}],"compatibility":[{"label":"Declared for","tier":"fair","evidence":"nothing declared"},{"label":"Survived majors","tier":"unknown","evidence":"no release dates"},{"label":"Maintainer's CI","tier":"unknown","evidence":"no repository data"}],"practice":[{"label":"Tests","tier":"unknown","evidence":"not crawled"},{"label":"Docs","tier":"unknown","evidence":"docs link declared, tree not read"},{"label":"Changelog","tier":"unknown","evidence":"not crawled"}],"reach":[{"value":null,"unit":"installs/week"},{"value":null,"unit":"watching"}]},"signals":{"crawled_at":"2026-10-24","npm":"not published under this name"},"edges":{"maintainers":[],"contributors":[],"explained_by":[],"alternative_to_this":[],"needed_by":[],"available_via":[],"parts":[],"add_ons":[],"answered_through_parts":[]}}