{"ref":"content:devtoberfest-2026-cap-level-data-federation","page":"/content/devtoberfest-2026-cap-level-data-federation","json":"/content/devtoberfest-2026-cap-level-data-federation.json","generated":"2026-10-28","drafted_with_ai":true,"entity":{"id":"devtoberfest-2026-cap-level-data-federation","title":"CAP-level Data Federation","content_type":"talk","url":"https://www.youtube.com/watch?v=0WJBxW5ZcjE","published":"2026-10-02","published_on":"source:youtube","author":"SAP Developers","summary":"A Devtoberfest 2026 session (CAP-31) on letting one CAP application read another's data as if it were local. The modelling half is the same for both answers, which is why the two technical edges hold: the provider defines an API service and exports it with CDS export as an npm package carrying the model, mock data and translated texts, the consumer imports it and puts consumption views on top, and only then is it wired either as service-level replication that copies the rows into local tables each time the server starts, or over the SAP HANA synonyms that [cds-federation-synonyms](artifact:cap-js-cds-federation-synonyms) generates, with HDI grants on the provider side and a service replacement that redirects each synonym from its mock table to the provider's container. It is worked through on [xflights](artifact:capire-xflights) and [xtravels](artifact:capire-xtravels), including the local run where CDS watch mocks the imported service from the CSV files inside the package.","short":"Letting one CAP app read another's data as if it were local","explains":[{"ref":"capability:replication","applies_to":{"ecosystems":["cap"]}},"artifact:cap-js-cds-federation-synonyms","artifact:capire-xflights","artifact:capire-xtravels"],"sources":[{"url":"https://www.youtube.com/watch?v=0WJBxW5ZcjE","title":"CAP-level Data Federation","checked":"2026-10-19","quote":"The point of cup data federation is what I've also written here. We have close or we want to have close access to distributed data. It shall look like the data as if the data was local."},{"url":"https://www.youtube.com/watch?v=0WJBxW5ZcjE","title":"CAP-level Data Federation","checked":"2026-10-19","quote":"So if we go back here I have here a link to a cup synonym plugin. So this is basically the the synonym approach is implemented in this plug-in."},{"url":"https://www.youtube.com/watch?v=0WJBxW5ZcjE","title":"CAP-level Data Federation","checked":"2026-10-19","quote":"for the sake of data federation we have cut the sflight application in half so we built an xflights application and a separate x travels application and the point is xflights basically is the master data application"},{"url":"https://www.youtube.com/watch?v=0WJBxW5ZcjE","title":"CAP-level Data Federation","checked":"2026-10-19","quote":"we have the extremels which basically is a travel um travel agency application where you can book travels and part of the travel is flight bookings and to do the flight bookings you of course need to have access to the master data"}],"provenance":{"discovered_via":[{"source":"source:youtube","channel":"devtoberfest-2026"}],"first_seen":"2026-10-19"},"drafted_with_ai":true},"readings":{"liveness":[{"label":"Checked against the source","tier":"unknown","evidence":"nobody has checked it"},{"label":"Source reachable","tier":"unknown","evidence":"not crawled"},{"label":"Age","tier":"good","evidence":"published this month"}],"compatibility":[{"label":"Version","tier":"unknown","evidence":"no version declared"},{"label":"Moved since?","tier":"good","evidence":"no recorded change after 2026-10-02"},{"label":"Findings","tier":"good","evidence":"none flagged"}],"reach":[{"value":null,"unit":"views"},{"value":null,"unit":"comments"},{"value":null,"unit":"likes"}]},"signals":null,"series":null,"edges":{"authors":[]}}