Uploaded image for project: 'HPCC'
  1. HPCC
  2. HPCC-13286 RESTFul Roxie
  3. HPCC-15284

Add roxie support for Adaptive REST

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.0.0
    • Component/s: Roxie
    • Labels:
      None

      Description

      Roxie now supports quite a few protocol formats for calling queries.

      As expected we define a standard way of interacting with roxie over any given protocol / format.

      Adaptive REST is intended to allow roxie to recieve requests however they may be formatted when using HTTP-GET, FormPost, JSON or XML.

      That is if a user wants roxie to be able to recieve or reply with messages that match some external standard this feature should allow it.

      We do require that the URL to make the call be formatted in a particular way.

      The URL will tell roxie which stored input to pass the entire request into, and /or which output to use to render the entire response.

      Example URL: http://roxieip:9876/roxie1/myquery/xml/input('mystored.Row')/result('myresult.row')/tag('name')?field1=abc&field2=xyz

      Would be the equivalent of calling roxie via xml like this:

      <myquery>
      <mystored>
      <Row>
      <field1>abc</field1>
      <field1>abc</field1>
      </Row>
      </mystored>
      </myquery>

      And will only return the first row of the output "myresult" with the root tag "name".

      <name>
      <fielda>123</fielda>
      <fieldb>1000</fieldb>
      </name>

        Attachments

          Activity

            People

            • Assignee:
              afishbeck Anthony Fishbeck
              Reporter:
              afishbeck Anthony Fishbeck
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: