{"ref":"artifact:miyasuta-cap-principal-propagation","page":"/artifacts/miyasuta-cap-principal-propagation","json":"/artifacts/miyasuta-cap-principal-propagation.json","generated":"2026-11-15","drafted_with_ai":true,"entity":{"id":"miyasuta-cap-principal-propagation","name":"cap-principal-propagation","artifact_type":"sample","ecosystem":"cap","domain":"integration-and-messaging","origin_ring":"independent","description":{"one_line":"An on-premise ABAP OData V2 service read through a named destination and the [SAP Connectivity service](artifact:btp-connectivity), with a Fiori elements list report and an approuter in front of the CAP service.","short":"On-premise ABAP OData V2 service read from CAP over Connectivity","what_it_solves":"`cds.requires` declares `ZEPM_REF_APPS_PO_APV_SRV` as `kind: odata-v2` against the model imported into `srv/external`, with `credentials.destination: 'abaptrialPP'` and the path `/sap/opu/odata/sap/EPM_REF_APPS_PO_APV_SRV` under both `[hybrid]` and `[production]`, and `csrf` and `csrfInBatch` both set. `MyService.PurchaseOrders` is a projection on the imported entity, and its one `READ` handler runs `req.query` against that connection. The MTA binds `connectivity` and `destination` on the `lite` plan and xsuaa to the service module, and the approuter in `app/router` forwards the auth token to it. The destination is not in the repository, so which authentication type it is configured with is outside what the project states; the README is the CAP scaffold's own and the repository's name is what names the subject."},"links":{"repo":"https://github.com/miyasuta/cap-principal-propagation"},"compat":{"runtimes":["node"],"deployment":["cf"]},"demonstrates":["capability:destinations","capability:service-integration"],"requires":[{"ref":"artifact:btp-destination","for":"The remote service's credentials name a destination rather than an address, and the MTA binds a destination instance to the service module.","sources":[{"url":"https://raw.githubusercontent.com/miyasuta/cap-principal-propagation/main/package.json","title":"miyasuta/cap-principal-propagation — package.json","checked":"2026-10-15","quote":"\"credentials\": { \"destination\": \"abaptrialPP\", \"path\": \"/sap/opu/odata/sap/EPM_REF_APPS_PO_APV_SRV\" }"}]},{"ref":"artifact:btp-connectivity","for":"The MTA binds a connectivity instance to the service module, which is what reaches an on-premise system through the Cloud Connector.","sources":[{"url":"https://raw.githubusercontent.com/miyasuta/cap-principal-propagation/main/mta.yaml","title":"miyasuta/cap-principal-propagation — mta.yaml","checked":"2026-10-15","quote":"- name: cap-principal-propagation-connectivity\n    type: org.cloudfoundry.managed-service\n    parameters:\n      service: connectivity\n      service-plan: lite"}]},{"ref":"artifact:sap-approuter","for":"The deployment includes an approuter module in front of the CAP service, configured to forward the auth token to it.","sources":[{"url":"https://raw.githubusercontent.com/miyasuta/cap-principal-propagation/main/mta.yaml","title":"miyasuta/cap-principal-propagation — mta.yaml","checked":"2026-10-15","quote":"type: approuter.nodejs"}]}],"maintainers":["actor:mio-yasutake"],"contributors":["actor:mio-yasutake"],"use_as":"reference","provenance":{"discovered_via":[{"source":"source:github","channel":"miyasuta"}],"first_seen":"2026-10-15"},"drafted_with_ai":true},"effective_normative_relations":[],"readings":{"liveness":[{"label":"Maintenance","tier":"unknown","evidence":"no release data"},{"label":"Continuity","tier":"fair","evidence":"one contributor, personally owned"},{"label":"Repository","tier":"fair","evidence":"pushed 2025-08, not archived"}],"compatibility":[{"label":"Declared for","tier":"fair","evidence":"nothing declared"},{"label":"Survived majors","tier":"unknown","evidence":"no release dates"},{"label":"Maintainer's CI","tier":"fair","evidence":"no CI configured"}],"practice":[{"label":"Tests","tier":"good","evidence":"9 test files"},{"label":"Docs","tier":"poor","evidence":"README 1 KB"},{"label":"Changelog","tier":"fair","evidence":"none in the repo"}],"reach":[{"value":null,"unit":"installs/week"},{"value":3,"unit":"watching"}]},"signals":{"crawled_at":"2026-11-13","npm":"not published under this name","stars":3,"forks":0,"open_issues":0,"archived":false,"pushed_at":"2025-08-12","license_spdx":null,"org_owned":false,"default_branch":"main","created_at":"2025-08-12T20:39:39Z","open_prs":0,"tree_truncated":false,"test_files":9,"workflows":0,"other_ci":false,"readme_bytes":674,"docs_files":0,"changelog":false,"license_file":false,"dts_files":0,"first_commit":"2025-08-05","last_commit":"2025-08-12","commits":2,"contributors":1,"readme_path":"README.md","readme_sha":"dbac29eb1594d1dd9e9cd90a11879f1495caa4b6","repo_read":"2026-11-13","language":"HTML"},"edges":{"maintainers":[{"ref":"actor:mio-yasutake","name":"Mio Yasutake","json":"/actors/mio-yasutake.json"}],"contributors":[{"ref":"actor:mio-yasutake","name":"Mio Yasutake","json":"/actors/mio-yasutake.json"}],"explained_by":[],"alternative_to_this":[],"needed_by":[],"available_via":[],"parts":[],"add_ons":[],"answered_through_parts":[]}}