| description | Use when modifying deployment, auth, or routing config in MyHANAApp. Enforces cross-file consistency for XSUAA, AppRouter routes, and MTA destination wiring. |
|---|---|
| name | Deployment Config Safety Checks |
| applyTo | solution/MyHANAApp/mta.yaml, solution/MyHANAApp/xs-security.json, solution/MyHANAApp/app/router/xs-app.json, solution/MyHANAApp/package.json |
When changing auth, routing, or deployment settings, verify consistency across all related files:
solution/MyHANAApp/mta.yamlmust provide destinationsrv-apifor the AppRouter module.solution/MyHANAApp/app/router/xs-app.jsonmust route backend traffic to destinationsrv-api.
solution/MyHANAApp/package.jsonshould keepcds.requires.auth = xsuaaunless intentionally changed.solution/MyHANAApp/xs-security.jsonshould remain aligned with expected XSUAA setup.- AppRouter routes requiring backend/API access should use
authenticationType: xsuaaas intended.
- Prefer minimal diffs; avoid unrelated formatting changes.
- State cross-file impact in the PR/summary when config changes affect runtime behavior.
- If one file changes and related files are not updated, explicitly document why no sync change is needed.