cap-ui
An MTA that deploys a CAP service, a HANA HDI container and a Fiori elements app into the HTML5 Application Repository, with two destinations to the same CAP service configured side by side.
One com.sap.application.content module uploads miyasutabooksui.zip to the app-host instance of the SAP HTML5 Application Repository service for SAP BTPSAP HTML5 Application Repository service for SAP BTPStores built UI5 and HTML5 applications and serves them at runtime through the approuter, so an app ships no static server of its own.sap official, btp; a second creates the instance destinations, among them cap-ui-srv2, an OAuth2UserTokenExchange destination built from the xsuaa service key with HTML5.DynamicDestination: true. Beside it the destination service's own init_data creates cap-ui-srv3, NoAuthentication with HTML5.ForwardAuthToken: true against the same ~{srv-api/srv-url}, and a third variant is left commented out with the note that it needs a ServiceInstanceName, so the two routes to the service stand next to each other in one descriptor. The service module runs on @sap/cds ^6 with db.kind: hana-cloud and hdb, and app/books-ui carries its built dist in the repository. Two GitHub Actions workflows sit beside the project, main.yml, named "Build MTA & Deploy it to BTP", which checks out, sets up Node 18 and installs mbt and the dependencies, and merge-pr.yml, which runs pascalgn/automerge-action on pull requests to main.
Facts
Where it sits
Who is behind it
In the atlas: maintains 47, contributes to 47, wrote 10@miyasutamaintainer
What it declares
Every artifact
- Type
- Sample
- Origin
- Independently maintained
- Use as
- A reference
- Runtime
- Node.js
- Runs on
- Cloud Foundry
As a sample
- Form
- does not say
Connections
Hosting a frontend's built static files behind a login
Getting an application onto a runtime and keeping it there
Reaching remote systems without addresses or credentials in the code
Named, credentialed addresses of other systems resolved at runtime
Stores UI5 and HTML5 apps and serves them through the approuter
Download
README
quoted from miyasuta/cap-ui under MIT, readGetting Started
Welcome to your new project.
It contains these folders and files, following our recommended project layout:
| File or Folder | Purpose |
|---|---|
app/ | content for UI frontends goes here |
db/ | your domain models and data go here |
srv/ | your service models and code go here |
package.json | project metadata and configuration |
readme.md | this getting started guide |
Next Steps
- Open a new terminal and run
cds watch - (in VS Code simply choose Terminal > Run Task > cds watch)
- Start adding content, for example, a db/schema.cds.
Learn More
Learn more at https://cap.cloud.sap/docs/get-started/.
History
Details
Sources
Sources are graph entities: the same page may back several entries, and an unreachable source flags every row that rests on it.
Compatibility and provenance
History in the atlas
- First seen.
For your agent
- Ref
artifact:miyasuta-cap-ui- JSON
- /artifacts/miyasuta-cap-ui.json
- MCP
- Connecting an agent