[Backlogmanager] [FIWARE-JIRA] (HELP-6714) FIWARE.Question.Tech.Fiware IoTAgent and Context Broker.

Fernando Lopez (JIRA) jira-help-desk at jira.fiware.org
Fri Jan 19 15:05:01 CET 2018


     [ https://jira.fiware.org/browse/HELP-6714?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Fernando Lopez updated HELP-6714:
---------------------------------
    HD-Chapter: Data
    HD-Enabler: Orion

> FIWARE.Question.Tech.Fiware IoTAgent and Context Broker.
> --------------------------------------------------------
>
>                 Key: HELP-6714
>                 URL: https://jira.fiware.org/browse/HELP-6714
>             Project: Help-Desk
>          Issue Type: Monitor
>          Components: FIWARE-TECH-HELP
>            Reporter: Backlog Manager
>            Assignee: Jose Manuel Cantera
>              Labels: fiware, fiware-orion
>
> Created question in FIWARE Q/A platform on 02-06-2016 at 13:06
> {color: red}Please, ANSWER this question AT{color} http://stackoverflow.com/questions/37591168/fiware-iotagent-and-context-broker
> +Question:+
> Fiware IoTAgent and Context Broker
> +Description:+
> I'm following this example to create a simple scenario where I register a new device into the IoT Agent and it forwards it to the Context Broker. Then I want to check if the created device exists in the Context Broker, and I can seem to find it.
> These are the steps I'm doing:
> 1. using Postman I'm sending a post request to the IoT Agent:
> url: http://eidas5.lab.fi-ware.org:5371/iot/devices    
> headers: 
> APIKEY:4jggokgpepnvsb2uv4s40d59ov
> Fiware-Service:openiot
> Fiware-ServicePath:/
> Content-Type:application/json
> Accept:application/json
> body:
> {
>  "devices": [
>     { "device_id": "DEV_ID",
>       "entity_name": "ENTITY_ID",
>       "entity_type": "thing",
>       "protocol": "PDI-IoTA-UltraLight",
>       "timezone": "Europe/Madrid",
>       "attributes": [
>     { "object_id": "t",
>       "name": "temperature",
>       "type": "int"
>     } ],
>   "static_attributes": [
>     { "name": "att_name",
>       "type": "string",
>       "value": "value"
>     }
>    ]
>   }
>  ]
> } 
> Then I confirm that the device is registered with a GET request to the url http://eidas5.lab.fi-ware.org:5371/iot/devices/DEV_ID
> request headers:
> APIKEY:4jggokgpepnvsb2uv4s40d59ov
> Fiware-Service:openiot
> Fiware-ServicePath:/
> Content-Type:application/json
> Accept:application/json
> everything seems ok so far, now I want to check where this device is in the context broker:    
> According to the docs: 
>   Devices will be represented as NGSI entities in the ContextBroker at 130.206.80.40:1026 (within the FIWARE service-path "OpenIoT"). 
> So with a GET request I should be able to see the new device,but I can't. I even tryed using the fiware-servicepath and fiware-service headers as above, and I can't find it.
> Any advice on this?



--
This message was sent by Atlassian JIRA
(v6.4.1#64016)


More information about the Backlogmanager mailing list

You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy   Cookies policy