ui5-community / ui5-ecosystem-showcase

A repository showcasing the UI5 tooling extensibility to combine OSS tools for UI5 application development.
https://ui5-community.github.io/ui5-ecosystem-showcase/
Other
194 stars 93 forks source link

@sap/approuter user-api is not accessible #1094

Closed robbymanis closed 1 month ago

robbymanis commented 1 month ago

Describe the bug Routes that use the sap-approuter-userapi service provided by the underlying @sap/approuter do not work.

Format validation failed (A route requires access to html5-apps-repo-rt service but the service is not bound.)

To Reproduce Steps to reproduce the behavior:

  1. Create an xs-json file that uses a route, such as:
{
    "source": "^/user-api/currentUser$",
    "target": "/currentUser",
    "service": "sap-approuter-userapi"
},
  1. Create a default-env.json and provide the xsuaa service credentials.
  2. Start server.

Expected behavior html5-apps-repo-rt service should be available as it is provided by the @sap/approuter

Screenshots If applicable, add screenshots to help explain your problem.

Image