7 Replies Latest reply on Jan 21, 2019 3:17 AM by tamarm

    Teiid spring boot exposing OData and also other rest controllers

    tamarm

      Hi,

       

      I want to expose OData4 in my microservice, and also expose other endpoints which doesn't related to OData(for example - Spring boot actuator endpoints like health check)

      I defined server.context-path: /api/odata in my bootstrap.yml file.

      Accessing to <my-server-url>/api/odata/health returns the follow response:

      <error xmlns="http://docs.oasis-open.org/odata/ns/metadata">

       

      <code>null</code>

       

       

      <message>

       

      Cannot find EntitySet, Singleton, ActionImport or FunctionImport with name 'health'.

      </message>

      </error>

       

       

      Please advice how to configure it if possible,

      Thanks