4 Replies Latest reply on Jan 17, 2019 11:08 PM by Ramesh Reddy

    Teiid spring boot exposing OData and also other rest controllers

    Tamar Meron Newbie



      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">







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





      Please advice how to configure it if possible,