Uploaded image for project: 'FishEye'
  1. FishEye
  2. FE-1165

Rest API does not run EyeQL queries correctly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Answered
    • Medium
    • None
    • 1.6.6
    • Search
    • None

    Description

      Trying to run EyeQL queries through the REST API

      I tried the query (changelog) that is in the sample code and it worked. I then substituted a number of other EyeQL queries from the EyeQL documentation, and got this error

      java.io.IOException: Server returned HTTP response code: 400 for URL: http://jopesadmin:8060/api/rest/select revisions from dir /
      at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
      at com.pragmatics.fisheye.connector.FishEyeConnectorTest.testConnection(FishEyeConnectorTest.java:45)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      ...

      This leads me to believe that either the documentation is wrong/incomplete or that your REST implementation may be lacking the functionality to actually call an EyeQL query.

      Thank you
      Liz Sommers
      sommerse@pragmatics.com

      Attachments

        Activity

          People

            tom@atlassian.com Tom Davies
            36dd87452fb0 Liz Sommers
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: