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

[fiware-stackoverflow] Sending a specific entity to FIWARE QuantumLeap

    Details

      Description

      Created question in FIWARE Q/A platform on 08-06-2020 at 14:06
      Please, ANSWER this question AT https://stackoverflow.com/questions/62262433/sending-a-specific-entity-to-fiware-quantumleap

      Question:
      Sending a specific entity to FIWARE QuantumLeap

      Description:
      In my application I have a very specific entity format, where one of the attributes' values is a json array of values.

      {
      "id": "Proximity3",
      "type": "SensorAgent",
      "measurementType": {
      "type": "string",
      "value": "boolean",
      "metadata": {}
      },
      "modifiedTime": {
      "type": "string",
      "value": "2020-06-08T12:30:11.091506Z",
      "metadata": {}
      },
      "readings": {
      "type": "array",
      "value": [
      {
      "type": "SensorReading",
      "value": {
      "reading":

      { "type": "boolean", "value": false }

      }
      }
      ],
      "metadata": {}
      },
      "sanID": {
      "type": "string",
      "value": "SAN_3",
      "metadata": {}
      },
      "sensorID": {
      "type": "string",
      "value": "Proximity3",
      "metadata": {}
      },
      "sensorManufacturer": {
      "type": "string",
      "value": "Unknown",
      "metadata": {}
      },
      "sensorType": {
      "type": "string",
      "value": "ON_OFF_SENSOR",
      "metadata": {}
      }
      }
      ]

      As you can see, readings attribute has an array of values stored in it (in this example only one.

      Whenever I try to subscribe QuantumLeap to Orion Context Broker, subscription is successful, but there is no data received by QuantumLeap (even querying http://localhost:8668/v2/attrs gives me 'No records were found for such query.'). Tried using attrFormat on subscription, but unsuccessful.

      At the same time, this https://quantumleap.readthedocs.io/en/latest/user/ suggests that the QuantumLeap expects a specific entity.
      My question is, is there anything possible to do in order to get this entity to QuantumLeap, or I would need to change the entity?

        Activity

        Hide
        backlogmanager Backlog Manager added a comment -

        2020-06-08 15:05|CREATED monitor | # answers= 0, accepted answer= False

        Show
        backlogmanager Backlog Manager added a comment - 2020-06-08 15:05|CREATED monitor | # answers= 0, accepted answer= False
        Hide
        backlogmanager Backlog Manager added a comment -

        2020-06-17 12:05|UPDATED status: transition Answer| # answers= 1, accepted answer= False

        Show
        backlogmanager Backlog Manager added a comment - 2020-06-17 12:05|UPDATED status: transition Answer| # answers= 1, accepted answer= False
        Hide
        backlogmanager Backlog Manager added a comment -

        2020-06-17 15:05|UPDATED status: transition Finish| # answers= 1, accepted answer= True

        Show
        backlogmanager Backlog Manager added a comment - 2020-06-17 15:05|UPDATED status: transition Finish| # answers= 1, accepted answer= True

          People

          • Assignee:
            smartsdk_martel MARTEL
            Reporter:
            backlogmanager Backlog Manager
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: