{"action":"created","comment":{"url":"https://api.github.com/repos/enableiot/iotkit-agent/pulls/comments/24736210","id":24736210,"diff_hunk":"@@ -43,6 +47,7 @@ function IoTKitCloud(logger, deviceId, customProxy) {\n     me.deviceId = deviceId;\n     me.deviceName = deviceConf.device_name;\n     me.gatewayId = deviceConf.gateway_id || deviceId;\n+    me.store = Sensor.init(\"device.json\", me.logger);","path":"api/cloud.proxy.js","position":15,"original_position":15,"commit_id":"e6a5a6c70712baff20f0db929fba391da1bb7ccb","original_commit_id":"e6a5a6c70712baff20f0db929fba391da1bb7ccb","user":{"login":"mtomczew","id":8233252,"avatar_url":"https://avatars.githubusercontent.com/u/8233252?v=3","gravatar_id":"","url":"https://api.github.com/users/mtomczew","html_url":"https://github.com/mtomczew","followers_url":"https://api.github.com/users/mtomczew/followers","following_url":"https://api.github.com/users/mtomczew/following{/other_user}","gists_url":"https://api.github.com/users/mtomczew/gists{/gist_id}","starred_url":"https://api.github.com/users/mtomczew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtomczew/subscriptions","organizations_url":"https://api.github.com/users/mtomczew/orgs","repos_url":"https://api.github.com/users/mtomczew/repos","events_url":"https://api.github.com/users/mtomczew/events{/privacy}","received_events_url":"https://api.github.com/users/mtomczew/received_events","type":"User","site_admin":false},"body":"Hopefully not. It initializes in-memory property with sensor list from file or empty array.","created_at":"2015-02-16T08:19:53Z","updated_at":"2015-02-16T08:19:53Z","html_url":"https://github.com/enableiot/iotkit-agent/pull/62#discussion_r24736210","pull_request_url":"https://api.github.com/repos/enableiot/iotkit-agent/pulls/62","_links":{"self":{"href":"https://api.github.com/repos/enableiot/iotkit-agent/pulls/comments/24736210"},"html":{"href":"https://github.com/enableiot/iotkit-agent/pull/62#discussion_r24736210"},"pull_request":{"href":"https://api.github.com/repos/enableiot/iotkit-agent/pulls/62"}}},"pull_request":{"url":"https://api.github.com/repos/enableiot/iotkit-agent/pulls/62","id":29083459,"html_url":"https://github.com/enableiot/iotkit-agent/pull/62","diff_url":"https://github.com/enableiot/iotkit-agent/pull/62.diff","patch_url":"https://github.com/enableiot/iotkit-agent/pull/62.patch","issue_url":"https://api.github.com/repos/enableiot/iotkit-agent/issues/62","number":62,"state":"open","locked":false,"title":"DP-3604 Pulling and executing actuations using admin command","user":{"login":"mtomczew","id":8233252,"avatar_url":"https://avatars.githubusercontent.com/u/8233252?v=3","gravatar_id":"","url":"https://api.github.com/users/mtomczew","html_url":"https://github.com/mtomczew","followers_url":"https://api.github.com/users/mtomczew/followers","following_url":"https://api.github.com/users/mtomczew/following{/other_user}","gists_url":"https://api.github.com/users/mtomczew/gists{/gist_id}","starred_url":"https://api.github.com/users/mtomczew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtomczew/subscriptions","organizations_url":"https://api.github.com/users/mtomczew/orgs","repos_url":"https://api.github.com/users/mtomczew/repos","events_url":"https://api.github.com/users/mtomczew/events{/privacy}","received_events_url":"https://api.github.com/users/mtomczew/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-02-11T11:23:26Z","updated_at":"2015-02-16T08:19:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"254a9371df5f96f3dc4af17b2fda7adc35fe4f23","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/enableiot/iotkit-agent/pulls/62/commits","review_comments_url":"https://api.github.com/repos/enableiot/iotkit-agent/pulls/62/comments","review_comment_url":"https://api.github.com/repos/enableiot/iotkit-agent/pulls/comments/{number}","comments_url":"https://api.github.com/repos/enableiot/iotkit-agent/issues/62/comments","statuses_url":"https://api.github.com/repos/enableiot/iotkit-agent/statuses/e6a5a6c70712baff20f0db929fba391da1bb7ccb","head":{"label":"enableiot:DP-3604","ref":"DP-3604","sha":"e6a5a6c70712baff20f0db929fba391da1bb7ccb","user":{"login":"enableiot","id":5929982,"avatar_url":"https://avatars.githubusercontent.com/u/5929982?v=3","gravatar_id":"","url":"https://api.github.com/users/enableiot","html_url":"https://github.com/enableiot","followers_url":"https://api.github.com/users/enableiot/followers","following_url":"https://api.github.com/users/enableiot/following{/other_user}","gists_url":"https://api.github.com/users/enableiot/gists{/gist_id}","starred_url":"https://api.github.com/users/enableiot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enableiot/subscriptions","organizations_url":"https://api.github.com/users/enableiot/orgs","repos_url":"https://api.github.com/users/enableiot/repos","events_url":"https://api.github.com/users/enableiot/events{/privacy}","received_events_url":"https://api.github.com/users/enableiot/received_events","type":"Organization","site_admin":false},"repo":{"id":15185770,"name":"iotkit-agent","full_name":"enableiot/iotkit-agent","owner":{"login":"enableiot","id":5929982,"avatar_url":"https://avatars.githubusercontent.com/u/5929982?v=3","gravatar_id":"","url":"https://api.github.com/users/enableiot","html_url":"https://github.com/enableiot","followers_url":"https://api.github.com/users/enableiot/followers","following_url":"https://api.github.com/users/enableiot/following{/other_user}","gists_url":"https://api.github.com/users/enableiot/gists{/gist_id}","starred_url":"https://api.github.com/users/enableiot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enableiot/subscriptions","organizations_url":"https://api.github.com/users/enableiot/orgs","repos_url":"https://api.github.com/users/enableiot/repos","events_url":"https://api.github.com/users/enableiot/events{/privacy}","received_events_url":"https://api.github.com/users/enableiot/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/enableiot/iotkit-agent","description":"Edge agent to abstract cloud connectivity complexities","fork":false,"url":"https://api.github.com/repos/enableiot/iotkit-agent","forks_url":"https://api.github.com/repos/enableiot/iotkit-agent/forks","keys_url":"https://api.github.com/repos/enableiot/iotkit-agent/keys{/key_id}","collaborators_url":"https://api.github.com/repos/enableiot/iotkit-agent/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/enableiot/iotkit-agent/teams","hooks_url":"https://api.github.com/repos/enableiot/iotkit-agent/hooks","issue_events_url":"https://api.github.com/repos/enableiot/iotkit-agent/issues/events{/number}","events_url":"https://api.github.com/repos/enableiot/iotkit-agent/events","assignees_url":"https://api.github.com/repos/enableiot/iotkit-agent/assignees{/user}","branches_url":"https://api.github.com/repos/enableiot/iotkit-agent/branches{/branch}","tags_url":"https://api.github.com/repos/enableiot/iotkit-agent/tags","blobs_url":"https://api.github.com/repos/enableiot/iotkit-agent/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/enableiot/iotkit-agent/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/enableiot/iotkit-agent/git/refs{/sha}","trees_url":"https://api.github.com/repos/enableiot/iotkit-agent/git/trees{/sha}","statuses_url":"https://api.github.com/repos/enableiot/iotkit-agent/statuses/{sha}","languages_url":"https://api.github.com/repos/enableiot/iotkit-agent/languages","stargazers_url":"https://api.github.com/repos/enableiot/iotkit-agent/stargazers","contributors_url":"https://api.github.com/repos/enableiot/iotkit-agent/contributors","subscribers_url":"https://api.github.com/repos/enableiot/iotkit-agent/subscribers","subscription_url":"https://api.github.com/repos/enableiot/iotkit-agent/subscription","commits_url":"https://api.github.com/repos/enableiot/iotkit-agent/commits{/sha}","git_commits_url":"https://api.github.com/repos/enableiot/iotkit-agent/git/commits{/sha}","comments_url":"https://api.github.com/repos/enableiot/iotkit-agent/comments{/number}","issue_comment_url":"https://api.github.com/repos/enableiot/iotkit-agent/issues/comments/{number}","contents_url":"https://api.github.com/repos/enableiot/iotkit-agent/contents/{+path}","compare_url":"https://api.github.com/repos/enableiot/iotkit-agent/compare/{base}...{head}","merges_url":"https://api.github.com/repos/enableiot/iotkit-agent/merges","archive_url":"https://api.github.com/repos/enableiot/iotkit-agent/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/enableiot/iotkit-agent/downloads","issues_url":"https://api.github.com/repos/enableiot/iotkit-agent/issues{/number}","pulls_url":"https://api.github.com/repos/enableiot/iotkit-agent/pulls{/number}","milestones_url":"https://api.github.com/repos/enableiot/iotkit-agent/milestones{/number}","notifications_url":"https://api.github.com/repos/enableiot/iotkit-agent/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/enableiot/iotkit-agent/labels{/name}","releases_url":"https://api.github.com/repos/enableiot/iotkit-agent/releases{/id}","created_at":"2013-12-14T13:09:55Z","updated_at":"2015-02-13T17:03:58Z","pushed_at":"2015-02-13T14:35:02Z","git_url":"git://github.com/enableiot/iotkit-agent.git","ssh_url":"git@github.com:enableiot/iotkit-agent.git","clone_url":"https://github.com/enableiot/iotkit-agent.git","svn_url":"https://github.com/enableiot/iotkit-agent","homepage":null,"size":5676,"stargazers_count":48,"watchers_count":48,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":26,"mirror_url":null,"open_issues_count":7,"forks":26,"open_issues":7,"watchers":48,"default_branch":"master"}},"base":{"label":"enableiot:development","ref":"development","sha":"9dc6b2c8a746374715f6c4fd700307b57b100fbe","user":{"login":"enableiot","id":5929982,"avatar_url":"https://avatars.githubusercontent.com/u/5929982?v=3","gravatar_id":"","url":"https://api.github.com/users/enableiot","html_url":"https://github.com/enableiot","followers_url":"https://api.github.com/users/enableiot/followers","following_url":"https://api.github.com/users/enableiot/following{/other_user}","gists_url":"https://api.github.com/users/enableiot/gists{/gist_id}","starred_url":"https://api.github.com/users/enableiot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enableiot/subscriptions","organizations_url":"https://api.github.com/users/enableiot/orgs","repos_url":"https://api.github.com/users/enableiot/repos","events_url":"https://api.github.com/users/enableiot/events{/privacy}","received_events_url":"https://api.github.com/users/enableiot/received_events","type":"Organization","site_admin":false},"repo":{"id":15185770,"name":"iotkit-agent","full_name":"enableiot/iotkit-agent","owner":{"login":"enableiot","id":5929982,"avatar_url":"https://avatars.githubusercontent.com/u/5929982?v=3","gravatar_id":"","url":"https://api.github.com/users/enableiot","html_url":"https://github.com/enableiot","followers_url":"https://api.github.com/users/enableiot/followers","following_url":"https://api.github.com/users/enableiot/following{/other_user}","gists_url":"https://api.github.com/users/enableiot/gists{/gist_id}","starred_url":"https://api.github.com/users/enableiot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enableiot/subscriptions","organizations_url":"https://api.github.com/users/enableiot/orgs","repos_url":"https://api.github.com/users/enableiot/repos","events_url":"https://api.github.com/users/enableiot/events{/privacy}","received_events_url":"https://api.github.com/users/enableiot/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/enableiot/iotkit-agent","description":"Edge agent to abstract cloud connectivity complexities","fork":false,"url":"https://api.github.com/repos/enableiot/iotkit-agent","forks_url":"https://api.github.com/repos/enableiot/iotkit-agent/forks","keys_url":"https://api.github.com/repos/enableiot/iotkit-agent/keys{/key_id}","collaborators_url":"https://api.github.com/repos/enableiot/iotkit-agent/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/enableiot/iotkit-agent/teams","hooks_url":"https://api.github.com/repos/enableiot/iotkit-agent/hooks","issue_events_url":"https://api.github.com/repos/enableiot/iotkit-agent/issues/events{/number}","events_url":"https://api.github.com/repos/enableiot/iotkit-agent/events","assignees_url":"https://api.github.com/repos/enableiot/iotkit-agent/assignees{/user}","branches_url":"https://api.github.com/repos/enableiot/iotkit-agent/branches{/branch}","tags_url":"https://api.github.com/repos/enableiot/iotkit-agent/tags","blobs_url":"https://api.github.com/repos/enableiot/iotkit-agent/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/enableiot/iotkit-agent/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/enableiot/iotkit-agent/git/refs{/sha}","trees_url":"https://api.github.com/repos/enableiot/iotkit-agent/git/trees{/sha}","statuses_url":"https://api.github.com/repos/enableiot/iotkit-agent/statuses/{sha}","languages_url":"https://api.github.com/repos/enableiot/iotkit-agent/languages","stargazers_url":"https://api.github.com/repos/enableiot/iotkit-agent/stargazers","contributors_url":"https://api.github.com/repos/enableiot/iotkit-agent/contributors","subscribers_url":"https://api.github.com/repos/enableiot/iotkit-agent/subscribers","subscription_url":"https://api.github.com/repos/enableiot/iotkit-agent/subscription","commits_url":"https://api.github.com/repos/enableiot/iotkit-agent/commits{/sha}","git_commits_url":"https://api.github.com/repos/enableiot/iotkit-agent/git/commits{/sha}","comments_url":"https://api.github.com/repos/enableiot/iotkit-agent/comments{/number}","issue_comment_url":"https://api.github.com/repos/enableiot/iotkit-agent/issues/comments/{number}","contents_url":"https://api.github.com/repos/enableiot/iotkit-agent/contents/{+path}","compare_url":"https://api.github.com/repos/enableiot/iotkit-agent/compare/{base}...{head}","merges_url":"https://api.github.com/repos/enableiot/iotkit-agent/merges","archive_url":"https://api.github.com/repos/enableiot/iotkit-agent/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/enableiot/iotkit-agent/downloads","issues_url":"https://api.github.com/repos/enableiot/iotkit-agent/issues{/number}","pulls_url":"https://api.github.com/repos/enableiot/iotkit-agent/pulls{/number}","milestones_url":"https://api.github.com/repos/enableiot/iotkit-agent/milestones{/number}","notifications_url":"https://api.github.com/repos/enableiot/iotkit-agent/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/enableiot/iotkit-agent/labels{/name}","releases_url":"https://api.github.com/repos/enableiot/iotkit-agent/releases{/id}","created_at":"2013-12-14T13:09:55Z","updated_at":"2015-02-13T17:03:58Z","pushed_at":"2015-02-13T14:35:02Z","git_url":"git://github.com/enableiot/iotkit-agent.git","ssh_url":"git@github.com:enableiot/iotkit-agent.git","clone_url":"https://github.com/enableiot/iotkit-agent.git","svn_url":"https://github.com/enableiot/iotkit-agent","homepage":null,"size":5676,"stargazers_count":48,"watchers_count":48,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":26,"mirror_url":null,"open_issues_count":7,"forks":26,"open_issues":7,"watchers":48,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/enableiot/iotkit-agent/pulls/62"},"html":{"href":"https://github.com/enableiot/iotkit-agent/pull/62"},"issue":{"href":"https://api.github.com/repos/enableiot/iotkit-agent/issues/62"},"comments":{"href":"https://api.github.com/repos/enableiot/iotkit-agent/issues/62/comments"},"review_comments":{"href":"https://api.github.com/repos/enableiot/iotkit-agent/pulls/62/comments"},"review_comment":{"href":"https://api.github.com/repos/enableiot/iotkit-agent/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/enableiot/iotkit-agent/pulls/62/commits"},"statuses":{"href":"https://api.github.com/repos/enableiot/iotkit-agent/statuses/e6a5a6c70712baff20f0db929fba391da1bb7ccb"}}}}