Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-4035

Adapter for REST interface with query or path parameters

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      A typical microservice with a REST interface will be queryable by an HTTP GET with query parameters or path parameters, and return JSON.  It would be useful to have an adapter that allows access to this sort of interface.  One use case would be to allow a join between a database table and a table which represents the interface.  SQL "where" items could be mapped to specific query parameters or path parameters on the web API.

      So, for example,

          SELECT * from service.MyEndpoint where id=123;

      could get translated into

        GET http:/service/MyEndpoint/123

      or alternatively

        GET http://service/MyEndpoint?id=123

       The mapping between SQL terms and URL path would be specified in a model file.

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dhait David Hait
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: