You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When implementing ORD for a CAP service developed in Java, the generation of JSON descriptions at CDS build time works properly: /src/main/resources/ord/open-resource-discovery.json
/srv/src/main/resources/ord/srv.json
However, in BTP environment, it was not possible to access the ORD entry-point at runtime. Instead of returning JSON for the [base URL]/.well-known/open-resource-discovery URL as expected, the message "Not found" is displayed.
When implementing ORD for a CAP service developed in Java, the generation of JSON descriptions at CDS build time works properly:
/src/main/resources/ord/open-resource-discovery.json
/srv/src/main/resources/ord/srv.json
However, in BTP environment, it was not possible to access the ORD entry-point at runtime. Instead of returning JSON for the [base URL]/.well-known/open-resource-discovery URL as expected, the message "Not found" is displayed.
The whole step by step procedure to implement ORD, especially the update of the srv/pom.xml file, is described here: https://wiki.one.int.sap/wiki/pages/viewpage.action?pageId=5054189656
This has been demonstrated to work for a local URL like http://localhost:4004/.well-known/open-resource-discovery
So, at the current state, we might need to serve own routes through adapting Java servlets - which is less convenient.
We could demonstrate that this problem is not caused by missing route in the Approuter (
https://github.wdf.sap.corp/CloudConso/grdc-approuter/blob/main/approuter/xs-app.json).
During CDS build, in the logs, we cannot see the expected line:
"Servlet OrdServlet mapped to /.well-known/open-resource-discovery"
Related issue: #114
The text was updated successfully, but these errors were encountered: