{"action":"opened","issue":{"url":"https://api.github.com/repos/FraunhoferIOSB/FROST-Server/issues/55","repository_url":"https://api.github.com/repos/FraunhoferIOSB/FROST-Server","labels_url":"https://api.github.com/repos/FraunhoferIOSB/FROST-Server/issues/55/labels{/name}","comments_url":"https://api.github.com/repos/FraunhoferIOSB/FROST-Server/issues/55/comments","events_url":"https://api.github.com/repos/FraunhoferIOSB/FROST-Server/issues/55/events","html_url":"https://github.com/FraunhoferIOSB/FROST-Server/issues/55","id":326636655,"number":55,"title":"Issue by getting Observation from MQTT broker","user":{"login":"BowenWang29","id":18257225,"avatar_url":"https://avatars3.githubusercontent.com/u/18257225?v=4","gravatar_id":"","url":"https://api.github.com/users/BowenWang29","html_url":"https://github.com/BowenWang29","followers_url":"https://api.github.com/users/BowenWang29/followers","following_url":"https://api.github.com/users/BowenWang29/following{/other_user}","gists_url":"https://api.github.com/users/BowenWang29/gists{/gist_id}","starred_url":"https://api.github.com/users/BowenWang29/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BowenWang29/subscriptions","organizations_url":"https://api.github.com/users/BowenWang29/orgs","repos_url":"https://api.github.com/users/BowenWang29/repos","events_url":"https://api.github.com/users/BowenWang29/events{/privacy}","received_events_url":"https://api.github.com/users/BowenWang29/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-25T19:22:15Z","updated_at":"2018-05-25T19:22:15Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\nI posted a `DataStream` and several `Observations` via Rest to the Frost-Server.\r\n\r\nThen i tried to get these Observations via MQTT broker. \r\nThe received JSON seems not correct:\r\n`{\r\n  \"phenomenonTime\" : \"2016-03-02T10:50:00.000Z\",\r\n  \"resultTime\" : \"2016-03-02T10:50:00.000Z\",\r\n  \"result\" : \"7.2\",\r\n  \"Datastream@iot.navigationLink\" : \"http://localhost:8080/FROST-Server/v1.0/Observations('1f067586-604e-11e8-b7bf-c3302333d15c')/Datastream\",\r\n  \"Datastream\" : {\r\n    \"unitOfMeasurement\" : {\r\n      \"name\" : null,\r\n      \"symbol\" : null,\r\n      \"definition\" : null\r\n    },\r\n    \"@iot.id\" : \"t1edu.teco.wang/IBADENWR82/Datastreams/Air-Temperature-IBADENWR82\"\r\n  },\r\n  \"FeatureOfInterest@iot.navigationLink\" : \"http://localhost:8080/FROST-Server/v1.0/Observations('1f067586-604e-11e8-b7bf-c3302333d15c')/FeatureOfInterest\",\r\n  \"FeatureOfInterest\" : {\r\n    \"@iot.id\" : \"t1edu.teco.wang/IBADENWR82/FoI/IBADENWR82/48.441/9.257\"\r\n  },\r\n  \"@iot.id\" : \"1f067586-604e-11e8-b7bf-c3302333d15c\",\r\n  \"@iot.selfLink\" : \"http://localhost:8080/FROST-Server/v1.0/Observations('1f067586-604e-11e8-b7bf-c3302333d15c')\"}`\r\n\r\n1. `unitOfMeasurement` in `DataStream` entity is not returned correctly. I checked this via Rest, it's inideed saved in Frost-Server, but not sent via MQTT.\r\n2. Maybe  the entity `FeatureOfInterest` of an `Observation` should also be completely packed in JSON? Just like its 'DataStream'\r\n3. Maybe the 'ids' and 'selfLinks' should not be returned? It makes little sense in the message.\r\n\r\nThanks a lot in advance!"}}
{"actor":{"display_login":"BowenWang29"}}