Skip to Content
0
Nov 26, 2022 at 02:27 PM

How to bind html5-apps-repo-rt to local approuter for testing?

126 Views Last edit Nov 26, 2022 at 02:28 PM 2 rev

Dear experts,

I am running SAP Approuter (standalone, with some extensions) to access HTML5 UIs from the HTML5 repo. On BTP, this all works as expected.

However, I am stuck at trying to get this running locally for local development and testing of approuter. When I start my local instance, I am getting the error

'xs-app.json/routes/6: Format validation failed (A route requires access to html5-apps-repo-rt service but the service is not bound.)'

which makes sense, since I don't have the HTML5 repo bound locally.

For binding destinations and XSUAA I am using a default-env.json file locally to provide the VCAP_SERVICES variable:

{ "VCAP_SERVICES": { "xsuaa": [ { "name": "sidecar-uaa", "label": "xsuaa", "tags": ["xsuaa"], "credentials": { .....

But I can't figure out how to do the same for the HTML5 repo.

How can I bind the HTML5 repo service to a locally running instance of approuter?

Best regards,

Manuel