{"action":"created","issue":{"url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/issues/377","labels_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/issues/377/labels{/name}","comments_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/issues/377/comments","events_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/issues/377/events","html_url":"https://github.com/telefonicaid/fiware-cygnus/pull/377","id":73227023,"number":377,"title":"backlog/19_orion_sth_sink","user":{"login":"frbattid","id":3865056,"avatar_url":"https://avatars.githubusercontent.com/u/3865056?v=3","gravatar_id":"","url":"https://api.github.com/users/frbattid","html_url":"https://github.com/frbattid","followers_url":"https://api.github.com/users/frbattid/followers","following_url":"https://api.github.com/users/frbattid/following{/other_user}","gists_url":"https://api.github.com/users/frbattid/gists{/gist_id}","starred_url":"https://api.github.com/users/frbattid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frbattid/subscriptions","organizations_url":"https://api.github.com/users/frbattid/orgs","repos_url":"https://api.github.com/users/frbattid/repos","events_url":"https://api.github.com/users/frbattid/events{/privacy}","received_events_url":"https://api.github.com/users/frbattid/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"gtorodelvalle","id":667284,"avatar_url":"https://avatars.githubusercontent.com/u/667284?v=3","gravatar_id":"","url":"https://api.github.com/users/gtorodelvalle","html_url":"https://github.com/gtorodelvalle","followers_url":"https://api.github.com/users/gtorodelvalle/followers","following_url":"https://api.github.com/users/gtorodelvalle/following{/other_user}","gists_url":"https://api.github.com/users/gtorodelvalle/gists{/gist_id}","starred_url":"https://api.github.com/users/gtorodelvalle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gtorodelvalle/subscriptions","organizations_url":"https://api.github.com/users/gtorodelvalle/orgs","repos_url":"https://api.github.com/users/gtorodelvalle/repos","events_url":"https://api.github.com/users/gtorodelvalle/events{/privacy}","received_events_url":"https://api.github.com/users/gtorodelvalle/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-05-05T06:44:13Z","updated_at":"2015-05-07T07:14:51Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/pulls/377","html_url":"https://github.com/telefonicaid/fiware-cygnus/pull/377","diff_url":"https://github.com/telefonicaid/fiware-cygnus/pull/377.diff","patch_url":"https://github.com/telefonicaid/fiware-cygnus/pull/377.patch"},"body":"* Implements issue https://github.com/telefonicaid/fiware-cygnus/issues/19\r\n* 100% unit tests passed:\r\n```\r\nResults :\r\nTests run: 49, Failures: 0, Errors: 0, Skipped: 0\r\n```\r\n* (unofficial) e2e tests passed:\r\n```\r\n> db.frb_null.aggr.find()\r\n{ \"_id\" : { \"entityId\" : \"Room1\", \"entityType\" : \"Room\", \"attrName\" : \"temperature\", \"origin\" : ISODate(\"1970-01-16T23:25:44Z\"), \"resolution\" : \"hour\", \"range\" : \"day\" }, \"points\" : [ { \"offset\" : 0, \"samples\" : 0, \"sum\" : 0, \"sum2\" : 0, \"min\" : Infinity, \"max\" : -Infinity },..., { \"offset\" : 23, \"samples\" : 0, \"sum\" : 0, \"sum2\" : 0, \"min\" : Infinity, \"max\" : -Infinity } ], \"attrType\" : \"centigrade\" }\r\n{ \"_id\" : { \"entityId\" : \"Room1\", \"entityType\" : \"Room\", \"attrName\" : \"temperature\", \"origin\" : ISODate(\"1970-01-17T12:25:44Z\"), \"resolution\" : \"month\", \"range\" : \"year\" }, \"points\" : [ { \"offset\" : 0, \"samples\" : 1, \"sum\" : 26.5, \"sum2\" : 702.25, \"min\" : 26.5, \"max\" : 26.5 },..., { \"offset\" : 11, \"samples\" : 0, \"sum\" : 0, \"sum2\" : 0, \"min\" : Infinity, \"max\" : -Infinity } ], \"attrType\" : \"centigrade\" }\r\n{ \"_id\" : { \"entityId\" : \"Room1\", \"entityType\" : \"Room\", \"attrName\" : \"temperature\", \"origin\" : ISODate(\"1970-01-17T12:25:00Z\"), \"resolution\" : \"second\", \"range\" : \"minute\" }, \"points\" : [ { \"offset\" : 0, \"samples\" : 0, \"sum\" : 0, \"sum2\" : 0, \"min\" : Infinity, \"max\" : -Infinity },..., { \"offset\" : 59, \"samples\" : 0, \"sum\" : 0, \"sum2\" : 0, \"min\" : Infinity, \"max\" : -Infinity } ], \"attrType\" : \"centigrade\" }\r\n{ \"_id\" : { \"entityId\" : \"Room1\", \"entityType\" : \"Room\", \"attrName\" : \"temperature\", \"origin\" : ISODate(\"1970-01-17T12:00:44Z\"), \"resolution\" : \"minute\", \"range\" : \"hour\" }, \"points\" : [ { \"offset\" : 0, \"samples\" : 0, \"sum\" : 0, \"sum2\" : 0, \"min\" : Infinity, \"max\" : -Infinity },..., { \"offset\" : 59, \"samples\" : 0, \"sum\" : 0, \"sum2\" : 0, \"min\" : Infinity, \"max\" : -Infinity } ], \"attrType\" : \"centigrade\" }\r\n{ \"_id\" : { \"entityId\" : \"Room1\", \"entityType\" : \"Room\", \"attrName\" : \"temperature\", \"origin\" : ISODate(\"1970-01-01T12:25:44Z\"), \"resolution\" : \"day\", \"range\" : \"month\" }, \"points\" : [ { \"offset\" : 1, \"samples\" : 0, \"sum\" : 0, \"sum2\" : 0, \"min\" : Infinity, \"max\" : -Infinity },..., { \"offset\" : 31, \"samples\" : 0, \"sum\" : 0, \"sum2\" : 0, \"min\" : Infinity, \"max\" : -Infinity } ], \"attrType\" : \"centigrade\" }\r\n{ \"_id\" : { \"entityId\" : \"Room1\", \"entityType\" : \"Room\", \"attrName\" : \"pressure\", \"origin\" : ISODate(\"1970-01-17T12:25:00Z\"), \"resolution\" : \"second\", \"range\" : \"minute\" }, \"points\" : [ { \"offset\" : 0, \"samples\" : 0, \"sum\" : 0, \"sum2\" : 0, \"min\" : Infinity, \"max\" : -Infinity },..., { \"offset\" : 59, \"samples\" : 0, \"sum\" : 0, \"sum2\" : 0, \"min\" : Infinity, \"max\" : -Infinity } ], \"attrType\" : \"pascal\" }\r\n{ \"_id\" : { \"entityId\" : \"Room1\", \"entityType\" : \"Room\", \"attrName\" : \"pressure\", \"origin\" : ISODate(\"1970-01-17T12:00:44Z\"), \"resolution\" : \"minute\", \"range\" : \"hour\" }, \"points\" : [ { \"offset\" : 0, \"samples\" : 0, \"sum\" : 0, \"sum2\" : 0, \"min\" : Infinity, \"max\" : -Infinity },..., { \"offset\" : 59, \"samples\" : 0, \"sum\" : 0, \"sum2\" : 0, \"min\" : Infinity, \"max\" : -Infinity } ], \"attrType\" : \"pascal\" }\r\n{ \"_id\" : { \"entityId\" : \"Room1\", \"entityType\" : \"Room\", \"attrName\" : \"pressure\", \"origin\" : ISODate(\"1970-01-16T23:25:44Z\"), \"resolution\" : \"hour\", \"range\" : \"day\" }, \"points\" : [ { \"offset\" : 0, \"samples\" : 0, \"sum\" : 0, \"sum2\" : 0, \"min\" : Infinity, \"max\" : -Infinity },..., { \"offset\" : 23, \"samples\" : 0, \"sum\" : 0, \"sum2\" : 0, \"min\" : Infinity, \"max\" : -Infinity } ], \"attrType\" : \"pascal\" }\r\n{ \"_id\" : { \"entityId\" : \"Room1\", \"entityType\" : \"Room\", \"attrName\" : \"pressure\", \"origin\" : ISODate(\"1970-01-01T12:25:44Z\"), \"resolution\" : \"day\", \"range\" : \"month\" }, \"points\" : [ { \"offset\" : 1, \"samples\" : 0, \"sum\" : 0, \"sum2\" : 0, \"min\" : Infinity, \"max\" : -Infinity },..., { \"offset\" : 31, \"samples\" : 0, \"sum\" : 0, \"sum2\" : 0, \"min\" : Infinity, \"max\" : -Infinity } ], \"attrType\" : \"pascal\" }\r\n{ \"_id\" : { \"entityId\" : \"Room1\", \"entityType\" : \"Room\", \"attrName\" : \"pressure\", \"origin\" : ISODate(\"1970-01-17T12:25:44Z\"), \"resolution\" : \"month\", \"range\" : \"year\" }, \"points\" : [ { \"offset\" : 0, \"samples\" : 1, \"sum\" : 109, \"sum2\" : 11881, \"min\" : 109, \"max\" : 109 },..., { \"offset\" : 11, \"samples\" : 0, \"sum\" : 0, \"sum2\" : 0, \"min\" : Infinity, \"max\" : -Infinity } ], \"attrType\" : \"pascal\" }\r\n```\r\n* Assignee @gtorodelvalle but LGTM from @fgalan is also required. Comments form @iariasleon are welcome as well.\r\n* **DO NOT MERGE UNTIL PR https://github.com/telefonicaid/fiware-cygnus/pull/376 IS MERGED INTO DEVELOP.**"},"comment":{"url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/issues/comments/99752364","html_url":"https://github.com/telefonicaid/fiware-cygnus/pull/377#issuecomment-99752364","issue_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/issues/377","id":99752364,"user":{"login":"fgalan","id":1534240,"avatar_url":"https://avatars.githubusercontent.com/u/1534240?v=3","gravatar_id":"","url":"https://api.github.com/users/fgalan","html_url":"https://github.com/fgalan","followers_url":"https://api.github.com/users/fgalan/followers","following_url":"https://api.github.com/users/fgalan/following{/other_user}","gists_url":"https://api.github.com/users/fgalan/gists{/gist_id}","starred_url":"https://api.github.com/users/fgalan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fgalan/subscriptions","organizations_url":"https://api.github.com/users/fgalan/orgs","repos_url":"https://api.github.com/users/fgalan/repos","events_url":"https://api.github.com/users/fgalan/events{/privacy}","received_events_url":"https://api.github.com/users/fgalan/received_events","type":"User","site_admin":false},"created_at":"2015-05-07T07:14:51Z","updated_at":"2015-05-07T07:14:51Z","body":"LGTM (passing the ball to @gtorodelvalle for final LGTM + merge + delete branch)"}}