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

FIWARE.Request.Tech.IoT.IoTDiscovery.DiscoverContextAvailability

    Details

    • Type: extRequest
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Fix Version/s: 2021
    • Component/s: FIWARE-TECH-HELP
    • Labels:
      None

      Description

      I'm Lorenzo Trisolini, student at University of Pisa, and I deployed an
      instance of the IoT-Discovery4.2 taken from the fiware catalogue page.
      Can I use in the NGSI9 "discoveryContextAvailability" operation a regular
      expression for the EntityID?
      For example:

      POST http://localhost:8080/ngsi9/*discoverContextAvailability*
      ...
      <discoverContextAvailabilityRequest>
      <entityIdList>
      <entityId type="Room"* isPattern="true"*>
      <id>.*</id>
      </entityId>
      </entityIdList>
      ....

      Best regards,
      Lorenzo Trisolini

      _______________________________________________
      Fiware-tech-help mailing list
      Fiware-tech-help@lists.fi-ware.org
      https://lists.fi-ware.org/listinfo/fiware-tech-help

      [Created via e-mail received from: Lorenzo Trisolini <lore.trisolini@gmail.com>]

        Activity

        Hide
        fw.ext.user FW External User added a comment -

        Dear Tarek,

        One more

        Regards,

        Miguel

        El 25/06/2015 a las 19:34, Lorenzo Trisolini escribió:
        I'm Lorenzo Trisolini, student at University of Pisa, and I deployed an instance of the IoT-Discovery4.2 taken from the fiware catalogue page.
        Can I use in the NGSI9 "discoveryContextAvailability" operation a regular expression for the EntityID?
        For example:

        POST http://localhost:8080/ngsi9/discoverContextAvailability
        ...
        <discoverContextAvailabilityRequest>
        <entityIdList>
        <entityId type="Room" isPattern="true">
        <id>.*</id>
        </entityId>
        </entityIdList>
        ....

        Best regards,
        Lorenzo Trisolini

        Show
        fw.ext.user FW External User added a comment - Dear Tarek, One more Regards, Miguel El 25/06/2015 a las 19:34, Lorenzo Trisolini escribió: I'm Lorenzo Trisolini, student at University of Pisa, and I deployed an instance of the IoT-Discovery4.2 taken from the fiware catalogue page. Can I use in the NGSI9 "discoveryContextAvailability" operation a regular expression for the EntityID? For example: POST http://localhost:8080/ngsi9/discoverContextAvailability ... <discoverContextAvailabilityRequest> <entityIdList> <entityId type="Room" isPattern="true"> <id>.*</id> </entityId> </entityIdList> .... Best regards, Lorenzo Trisolini
        Hide
        telsaleh Tarek Elsaleh added a comment -

        Hi Lorenzo,
        I suspect there is a bug for this type of request. I will look into this and get back.

        Best regards,
        Tarek

        Show
        telsaleh Tarek Elsaleh added a comment - Hi Lorenzo, I suspect there is a bug for this type of request. I will look into this and get back. Best regards, Tarek
        Hide
        telsaleh Tarek Elsaleh added a comment -

        Hi Lorenzo,
        The issue should be fixed now, and has been committed to github.

        Best regards,
        Tarek

        Show
        telsaleh Tarek Elsaleh added a comment - Hi Lorenzo, The issue should be fixed now, and has been committed to github. Best regards, Tarek
        Hide
        telsaleh Tarek Elsaleh added a comment -

        there was a bug in the code that not filtering results based on the wildcard character.

        Show
        telsaleh Tarek Elsaleh added a comment - there was a bug in the code that not filtering results based on the wildcard character.

          People

          • Assignee:
            telsaleh Tarek Elsaleh
            Reporter:
            fw.ext.user FW External User
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: