on 2020 Nov 17 7:48 AM
I am trying to deploy my mta application xsa. It is successfully deploying db and back-end module but it is failing while deploying the ui module with the error in log as:
SYS #2.0#2020 11 17 04:29:37:372#-03:00#INFO#/Configuration#####khlnp6jg##########khlnp6jg#PLAIN##Replacing $XSAPPNAME will not take place - 'xsappname' property not found in UAA configuration.# (9223372036854775792)[1605598177375] [APP/11-2] ERR /hana/shared/HD1/xs/app_working/as1-100-50/executionroot/32ab060b-947e-44d0-b0ed-8365a680170d/app/node_modules/@sap/approuter/lib/configuration.js:64 (9223372036854775793)[1605598177375] [APP/11-2] ERR throw new Error('No UAA service found');
my mta.yaml file is as follow
- name: testweb
type: html5
path: testweb
parameters:
disk-quota: 512M
memory: 256M
requires:
- name: test_uaa
- name: dest_testmigartion
- name: xsjs_api
group: destinations
properties:
forwardAuthToken: true
strictSSL: false
name: xsjs_api
url: '~{url}'
resources:
- name: test_uaa
type: org.cloudfoundry.existing-service
Help others by sharing your knowledge.
AnswerRequest clarification before answering.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I had similar problem and solved it by changing the service-plan to “default” instead of “application”
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Pavithra,
in my mta.yaml i have defined uaa like this:
modules:
- name: <name>_appRouter
type: approuter.nodejs
path: <name>_appRouter
parameters:
disk-quota: 256M
memory: 256M
requires:
- name: <name>_html5_repo_runtime
- name: uaa_<name>
- name: dest_<name>
- name: conn_<name>
- name: portal_resources_<name>
[...]
- name: uaa_<name>
parameters:
path: ./xs-security.json
service-plan: application
service: xsuaa
type: org.cloudfoundry.managed-service
in xs-security.json
{
"xsappname": "<name>",
"tenant-mode": "dedicated",
"description": "Security profile of called application",
"scopes": [
{
"name": "uaa.user",
"description": "UAA"
}
],
"role-templates": [
{
"name": "Token_Exchange",
"description": "UAA",
"scope-references": [
"uaa.user"
]
}
]
}
I hope I was helpful
bye.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
30 | |
9 | |
9 | |
9 | |
7 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.