{"ref":"artifact:miyasuta-cap-reuse-html5","page":"/artifacts/miyasuta-cap-reuse-html5","json":"/artifacts/miyasuta-cap-reuse-html5.json","generated":"2026-10-26","drafted_with_ai":true,"entity":{"id":"miyasuta-cap-reuse-html5","name":"cap-reuse-html5","artifact_type":"sample","ecosystem":"cap","serves_ecosystems":["btp"],"domain":"ui-and-frontend-bridge","origin_ring":"independent","description":{"one_line":"A Fiori elements app uploaded to the HTML5 Application Repository together with a `cdm.json`, and a second repository instance on the `app-runtime` plan behind a subaccount destination pointing at `/applications/cdm/cap-reuse-html5`.","short":"Fiori elements app in the HTML5 Application Repository with cdm.json","what_it_solves":"The app's `build:cf` script copies `workzone/cdm.json` into `dist` after the UI5 preload build, and the `com.sap.application.content` module uploads `miyasutamanagebooks.zip` and `cdm.json` together to the `app-host` instance of the [SAP HTML5 Application Repository service for SAP BTP](artifact:btp-html5-application-repository). A second instance of that service, on the `app-runtime` plan, backs a subaccount destination named `cap_reuse_html5_cdm` whose url is written out in full as `https://html5-apps-repo-rt.cfapps.us10.hana.ondemand.com/applications/cdm/cap-reuse-html5`; a comment in the descriptor records why, that `${default-domain}` resolves to `us10-001` on the trial while the repository runtime's domain is `us10`. The `cdm.json` holds a catalog and a workpage, each carrying one visualization with `appId: miyasuta.managebooks` and `vizId: Books-manage`. A second content module creates the instance destinations, one for the app host and one `OAuth2UserTokenExchange` against xsuaa, and the README is the CAP scaffold's own.","when_not_to_use":"The subaccount destination's url names the us10 trial's repository runtime, so another region or subaccount needs it rewritten before the descriptor deploys."},"links":{"repo":"https://github.com/miyasuta/cap-reuse-html5"},"compat":{"runtimes":["node"],"deployment":["cf"]},"demonstrates":["capability:launchpad-content","capability:app-hosting"],"requires":[{"ref":"artifact:btp-html5-application-repository","for":"Two instances of it: an app-host the app and its cdm.json are uploaded to, and an app-runtime instance the subaccount destination reads the content descriptor from.","sources":[{"url":"https://raw.githubusercontent.com/miyasuta/cap-reuse-html5/main/mta.yaml","title":"miyasuta/cap-reuse-html5 — mta.yaml, resources","checked":"2026-10-15","quote":"- name: cap-reuse-html5_html_repo_host\n  type: org.cloudfoundry.managed-service\n  parameters:\n    service: html5-apps-repo\n    service-name: cap-reuse-html5-html5-app-host-service\n    service-plan: app-host"}]},{"ref":"artifact:btp-destination","for":"The destination service holds both the instance destinations the content module creates and the subaccount destination that points at the content descriptor.","sources":[{"url":"https://raw.githubusercontent.com/miyasuta/cap-reuse-html5/main/mta.yaml","title":"miyasuta/cap-reuse-html5 — mta.yaml, resources","checked":"2026-10-15","quote":"- name: cap-reuse-html5-destination-service\n  type: org.cloudfoundry.managed-service\n  parameters:\n    config:\n      HTML5Runtime_enabled: true"}]}],"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":"poor","evidence":"pushed 2024-09, 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":"8 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":0,"unit":"watching"}]},"signals":{"crawled_at":"2026-10-25","npm":"not published under this name","stars":0,"forks":0,"open_issues":0,"archived":false,"pushed_at":"2024-09-08","license_spdx":null,"org_owned":false,"default_branch":"main","created_at":"2024-09-06T21:22:38Z","open_prs":0,"tree_truncated":false,"test_files":8,"workflows":0,"other_ci":false,"readme_bytes":674,"docs_files":0,"changelog":false,"license_file":false,"dts_files":0,"first_commit":"2024-09-06","last_commit":"2024-09-08","commits":3,"contributors":1,"readme_path":"README.md","readme_sha":"dbac29eb1594d1dd9e9cd90a11879f1495caa4b6","repo_read":"2026-10-25"},"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":[]}}