fix(cf-deploy-config-writer): align xs-security.json with CDS convention#4532
fix(cf-deploy-config-writer): align xs-security.json with CDS convention#4532
Conversation
…ml config with CDS convention
Remove xsappname and tenant-mode from xs-security.json; these now live
exclusively in the XSUAA resource config block in mta.yaml, matching
the output of `cds add mta`. The standalone router addUaa() now includes
the config block using the \${org}-\${space} variable pattern.
Closes #3080
🦋 Changeset detectedLatest commit: f4e4f48 The changes in this PR will be included in the next version bump. This PR includes changesets to release 3 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Code reviewFound 2 issues:
🤖 Generated with Claude Code - If this code review was useful, please react with 👍. Otherwise, react with 👎. |
- Remove conditional from addManagedUAAWithSecurity so xsappname/tenant-mode config block is always emitted, matching addUaa() behavior and removing reliance on xs-security.json as a fallback - Update stale xs-security.json snapshots in cf-deploy-config-sub-generator and deploy-config-sub-generator to reflect template changes - Add both sub-generator packages to changeset
…line snapshot Remove path and service-name from app-router test fixture YAML files and update inline xs-security.json snapshot to reflect current writer output
…d resource-manager - Remove stale 'dirname' import from @sap-ux/project-access in mta-deployment.ts - Move CloudFoundryServiceType import from constants to types in resource-manager.ts - Update cf-deploy-config-sub-generator fixtures and snapshots to reflect new XSUAA config (xsappname uses org/space, adds path and service-name)
…rnary lint errors
…icit any errors in mta-config files
| mtaVersion: '1.0.0' | ||
| }; | ||
| const mtaExtTemplate = readFileSync(join(__dirname, `../../templates/app/${FileName.MtaExtYaml}`), 'utf-8'); | ||
| writeFileSync(mtaExtFilePath, render(mtaExtTemplate, mtaExt)); |
…from PR These files (mta-deployment.ts, destination-manager.ts, resource-manager.ts, router-configurator.ts, mta-context.ts) belong to a separate refactor branch and were accidentally included in this PR.
|



Summary
Closes #3080
Test plan