Skip to Content
0
Aug 10, 2023 at 01:21 PM

CAP Deployment to BTP Cloud Foundry error in Auth Service

36 Views Last edit Aug 10, 2023 at 01:26 PM 3 rev

I try to deploy an CAP application (bookshop example) to our BTP Cloud Foundry instance.

bookshop-db is created without error.

bookshop-auth is not created because of an error:

Service broker error: Service broker xsuaa failed with: Error creating application null 

(Error parsing xs-security.json data: Inconsistent xs-security.json: 

Invalid xsappname "bookshop-<GlobalAccountName>_<Cf-Org>-<Cf-Space>": 

May only include characters 'a'-'z', 'A'-'Z', '0'-'9', '_', '-', '\', and '/'.)<br>

The xsappname is automatically created from the app name ("bookshop" and Global Account Name, Cloud Foundry Org and Space). Our Global Account Name contains special characters (german umlaut).

The xs-scurity.json looks like this:

{ "scopes": [ { "name": "$XSAPPNAME.admin", "description": "admin" } ], "attributes": [], "role-templates": [ { "name": "admin", "description": "generated", "scope-references": [ "$XSAPPNAME.admin" ], "attribute-references": [] } ]}

Is it possible to set the name without automatic use of the BTP global account name, which seems not work because of the special characters?