Uploaded image for project: 'Help-Desk'
  1. Help-Desk
  2. HELP-4936

FIWARE.Question.Tech.Apps.ApplicationMashup.NGSIQuery

    Details

      Description

      Created question in FIWARE Q/A platform on 27-05-2014 at 12:05
      Please, ANSWER this question AT http://stackoverflow.com/questions/23886669/make-a-wirecloud-query-using-ngsi-api

      Question:
      Make a wirecloud query using NGSI API

      Description:
      I'm trying to make a query using NGSI API in my Wire Cloud widget but always fails and I don't receive anything:

      var descubrimiento = connection.query([

      { isPattern: true, id: MashupPlatform.prefs.get('idfuente') }

      ],
      null,

      { flat: true }

      );

      connection is the object where I have the connection with the context broker and it works fine. Also if I make the query with the NGSI10 RESTful API via RESTclient I receive the data that I want but with the wirecloud NGSI API in my widget it is imposible to make the query.

      Someone has this problem too?

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        2h 59m 1 Backlog Manager 23/Oct/15 6:04 AM
        In Progress In Progress Answered Answered
        2h 59m 1 Backlog Manager 23/Oct/15 9:04 AM
        Answered Answered Closed Closed
        1d 1 Backlog Manager 24/Oct/15 9:04 AM

          People

          • Assignee:
            aarranz Álvaro Arranz
            Reporter:
            backlogmanager Backlog Manager
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: