Exposing an application to the central application router supposes the creation of subaccount level destinations requiring the organization manager authorizations.
Open the SAP Business Technology Platform Cockpit
-
Open Service Instances.
-
Select Authorization & Trust Management.
-
Search for your XSUAA service e.g. type
test-<something_unique>
. -
Click
>
on the right side of the row containing your service. -
If there is no service key, create a new one (click three dots in the upper right corner).
-
Copy the name of a service key.
-
Open Connectivity > Destinations.
-
Click New Destination
-
Select Service Instance
-
Service Instance: Select the XSUAA service created with your mta. For example,
test-<something_unique>-uaa
-
Name: Give it a meaningful name e.g.
test-<something_unique>-uaa
-
Click Next.
-
Click New Property and add
ServiceKeyName
and paste the name copied before. For example,test-<something_unique>-uaa-service-key
-
Click New Property and add
sap.cloud.service: test-<something_unique>
-
Click Save.
-
Open Instances and Subscriptions.
-
Select HTML5 Application Repository
-
Search for your service e.g.
type test-<something_unique>
-
Click on the
>
on the right side in the row with the service withPlan app-host
-
If there is no service key, create one (click on three dots in the upper right corner)
-
Copy the name of a service keyCopy
-
Open Connectivity > Destinations.
-
Click New Destination
-
Select Service Instance
-
Service Instance: Select the HTML5 Repository service created with your mta. For example,
test-<something_unique>-html5-repo-host
-
Name: Give it a meaningful name e.g.
test-<something_unique>-html5-repo-host
-
Click Next.
-
Click New Property and add
ServiceKeyName
and paste the name you copied before. For example,test-<something_unique>-deployer-<something_unique>-html5-repo-host-credentials
-
Change the suggested property:
sap.cloud.service
totest-<something_unique>
(same as for xsuaa service destination) -
Click Save.
-
Open HTML5 Application.
-
Search for your app(s)
test-<something_unique>
-
Click on your application
test<something_unique>ztravel
Open the manifest.json file of your application and add the parameter below to the root node:
"sap.cloud": {
"public": true,
"service": "test-<something_unique>"
}
Rebuild and deploy your mta project.
If you do not execute the steps above, then you will be able to configure the application to work in cFLP but it will fail with an error when it is loaded.