I have a program that I have been iteratively deploying to BTP for months now, and today the update of the XSUAA service stopped working. I keep getting the following exception:
Error creating application cma-dev!t128205 (Error parsing xs-security.json data: Unrecognized field "role-template-reference"
I am at a loss; if I try to create the xsuaa service directly using the same xs-security.json file, the creation succeeds. But I would prefer deploying the MTA, since the deployment also creates a service key for the service, binds the service to my app, and undoubtedly other things behind the scenes that I am unaware of that ensure everything is nice and neat. Why would this error occur now?
This is a bare-bones xs-security.json and is copied below. The file is essentially identical to the one used in the end-to-end tutorial here.
Any hints are greatly appreciated. Alternatively, a list of everything that is being done (creation of service, service key, binding, and whatever else) that I can do manually if necessary.
{
"xsappname": "cma",
"tenant-mode": "dedicated",
"scopes": [
{
"name": "$XSAPPNAME.TakebackOrderViewer",
"description": "TakebackOrderViewer"
},
{
"name": "$XSAPPNAME.TakebackOrderManager",
"description": "TakebackOrderManager"
},
{
"name": "$XSAPPNAME.CMAnalyzerViewer",
"description": "CMAnalyzerViewer"
},
{
"name": "$XSAPPNAME.CMAnalyzerManager",
"description": "CMAnalyzerManager"
}
],
"attributes": [],
"role-templates": [
{
"name": "TakebackOrderViewer",
"description": "generated",
"scope-references": [
"$XSAPPNAME.TakebackOrderViewer"
],
"attribute-references": []
},
{
"name": "TakebackOrderManager",
"description": "generated",
"scope-references": [
"$XSAPPNAME.TakebackOrderManager"
],
"attribute-references": []
},
{
"name": "CMAnalyzerViewer",
"description": "generated",
"scope-references": [
"$XSAPPNAME.CMAnalyzerViewer"
],
"attribute-references": []
},
{
"name": "CMAnalyzerManager",
"description": "generated",
"scope-references": [
"$XSAPPNAME.CMAnalyzerManager"
],
"attribute-references": []
}
]
}