{"action":"created","comment":{"url":"https://api.github.com/repos/smartsdk/smartsdk-recipes/pulls/comments/148802127","pull_request_review_id":74101054,"id":148802127,"diff_hunk":"@@ -0,0 +1,95 @@\n+var config = {};\n+\n+config.lwm2m = {\n+    logLevel: 'DEBUG',\n+    port: 5684,\n+    defaultType: 'Device',\n+    ipProtocol: 'udp4',\n+    serverProtocol: 'udp4',\n+    formats: [\n+        {\n+            name: 'application-vnd-oma-lwm2m/text',\n+            value: 1541\n+        },\n+        {\n+            name: 'application-vnd-oma-lwm2m/tlv',\n+            value: 1542\n+        },\n+        {\n+            name: 'application-vnd-oma-lwm2m/json',\n+            value: 1543\n+        },\n+        {\n+            name: 'application-vnd-oma-lwm2m/opaque',\n+            value: 1544\n+        }\n+    ],\n+    writeFormat: 'application-vnd-oma-lwm2m/text',\n+    types: [ \n+        {\n+            name: 'Robot',\n+            url: '/robots'\n+        }\n+    ]\n+};\n+\n+config.ngsi = {\n+    logLevel: 'DEBUG',\n+    contextBroker: {\n+        host: 'orion',","path":"recipes/iot-services/iotagent-lwm2m/config.js","position":39,"original_position":39,"commit_id":"9cb6b4f441e53a4c48a9f0b5dd142f2cc50de1ee","original_commit_id":"9cb6b4f441e53a4c48a9f0b5dd142f2cc50de1ee","user":{"login":"chicco785","id":777218,"avatar_url":"https://avatars3.githubusercontent.com/u/777218?v=4","gravatar_id":"","url":"https://api.github.com/users/chicco785","html_url":"https://github.com/chicco785","followers_url":"https://api.github.com/users/chicco785/followers","following_url":"https://api.github.com/users/chicco785/following{/other_user}","gists_url":"https://api.github.com/users/chicco785/gists{/gist_id}","starred_url":"https://api.github.com/users/chicco785/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chicco785/subscriptions","organizations_url":"https://api.github.com/users/chicco785/orgs","repos_url":"https://api.github.com/users/chicco785/repos","events_url":"https://api.github.com/users/chicco785/events{/privacy}","received_events_url":"https://api.github.com/users/chicco785/received_events","type":"User","site_admin":false},"body":"should be env variable","created_at":"2017-11-03T14:46:44Z","updated_at":"2017-11-03T14:53:24Z","html_url":"https://github.com/smartsdk/smartsdk-recipes/pull/8#discussion_r148802127","pull_request_url":"https://api.github.com/repos/smartsdk/smartsdk-recipes/pulls/8","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/smartsdk/smartsdk-recipes/pulls/comments/148802127"},"html":{"href":"https://github.com/smartsdk/smartsdk-recipes/pull/8#discussion_r148802127"},"pull_request":{"href":"https://api.github.com/repos/smartsdk/smartsdk-recipes/pulls/8"}}},"pull_request":{"url":"https://api.github.com/repos/smartsdk/smartsdk-recipes/pulls/8","id":150337788,"html_url":"https://github.com/smartsdk/smartsdk-recipes/pull/8","diff_url":"https://github.com/smartsdk/smartsdk-recipes/pull/8.diff","patch_url":"https://github.com/smartsdk/smartsdk-recipes/pull/8.patch","issue_url":"https://api.github.com/repos/smartsdk/smartsdk-recipes/issues/8","number":8,"state":"open","locked":false,"title":"Iot agent","user":{"login":"taliaga","id":4542117,"avatar_url":"https://avatars1.githubusercontent.com/u/4542117?v=4","gravatar_id":"","url":"https://api.github.com/users/taliaga","html_url":"https://github.com/taliaga","followers_url":"https://api.github.com/users/taliaga/followers","following_url":"https://api.github.com/users/taliaga/following{/other_user}","gists_url":"https://api.github.com/users/taliaga/gists{/gist_id}","starred_url":"https://api.github.com/users/taliaga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taliaga/subscriptions","organizations_url":"https://api.github.com/users/taliaga/orgs","repos_url":"https://api.github.com/users/taliaga/repos","events_url":"https://api.github.com/users/taliaga/events{/privacy}","received_events_url":"https://api.github.com/users/taliaga/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-11-02T16:18:21Z","updated_at":"2017-11-03T14:53:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"baf163558c0f04d08e54e9ceb7fab3e89e1340b1","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/smartsdk/smartsdk-recipes/pulls/8/commits","review_comments_url":"https://api.github.com/repos/smartsdk/smartsdk-recipes/pulls/8/comments","review_comment_url":"https://api.github.com/repos/smartsdk/smartsdk-recipes/pulls/comments{/number}","comments_url":"https://api.github.com/repos/smartsdk/smartsdk-recipes/issues/8/comments","statuses_url":"https://api.github.com/repos/smartsdk/smartsdk-recipes/statuses/9cb6b4f441e53a4c48a9f0b5dd142f2cc50de1ee","head":{"label":"smartsdk:iot-agent","ref":"iot-agent","sha":"9cb6b4f441e53a4c48a9f0b5dd142f2cc50de1ee","user":{"login":"smartsdk","id":26279498,"avatar_url":"https://avatars1.githubusercontent.com/u/26279498?v=4","gravatar_id":"","url":"https://api.github.com/users/smartsdk","html_url":"https://github.com/smartsdk","followers_url":"https://api.github.com/users/smartsdk/followers","following_url":"https://api.github.com/users/smartsdk/following{/other_user}","gists_url":"https://api.github.com/users/smartsdk/gists{/gist_id}","starred_url":"https://api.github.com/users/smartsdk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smartsdk/subscriptions","organizations_url":"https://api.github.com/users/smartsdk/orgs","repos_url":"https://api.github.com/users/smartsdk/repos","events_url":"https://api.github.com/users/smartsdk/events{/privacy}","received_events_url":"https://api.github.com/users/smartsdk/received_events","type":"Organization","site_admin":false},"repo":{"id":91557828,"name":"smartsdk-recipes","full_name":"smartsdk/smartsdk-recipes","owner":{"login":"smartsdk","id":26279498,"avatar_url":"https://avatars1.githubusercontent.com/u/26279498?v=4","gravatar_id":"","url":"https://api.github.com/users/smartsdk","html_url":"https://github.com/smartsdk","followers_url":"https://api.github.com/users/smartsdk/followers","following_url":"https://api.github.com/users/smartsdk/following{/other_user}","gists_url":"https://api.github.com/users/smartsdk/gists{/gist_id}","starred_url":"https://api.github.com/users/smartsdk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smartsdk/subscriptions","organizations_url":"https://api.github.com/users/smartsdk/orgs","repos_url":"https://api.github.com/users/smartsdk/repos","events_url":"https://api.github.com/users/smartsdk/events{/privacy}","received_events_url":"https://api.github.com/users/smartsdk/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/smartsdk/smartsdk-recipes","description":"This repository is part of the SmartSDK project and contains recipes to use different FIWARE Generic Enablers to develop FIWARE-based applications.","fork":false,"url":"https://api.github.com/repos/smartsdk/smartsdk-recipes","forks_url":"https://api.github.com/repos/smartsdk/smartsdk-recipes/forks","keys_url":"https://api.github.com/repos/smartsdk/smartsdk-recipes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/smartsdk/smartsdk-recipes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/smartsdk/smartsdk-recipes/teams","hooks_url":"https://api.github.com/repos/smartsdk/smartsdk-recipes/hooks","issue_events_url":"https://api.github.com/repos/smartsdk/smartsdk-recipes/issues/events{/number}","events_url":"https://api.github.com/repos/smartsdk/smartsdk-recipes/events","assignees_url":"https://api.github.com/repos/smartsdk/smartsdk-recipes/assignees{/user}","branches_url":"https://api.github.com/repos/smartsdk/smartsdk-recipes/branches{/branch}","tags_url":"https://api.github.com/repos/smartsdk/smartsdk-recipes/tags","blobs_url":"https://api.github.com/repos/smartsdk/smartsdk-recipes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/smartsdk/smartsdk-recipes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/smartsdk/smartsdk-recipes/git/refs{/sha}","trees_url":"https://api.github.com/repos/smartsdk/smartsdk-recipes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/smartsdk/smartsdk-recipes/statuses/{sha}","languages_url":"https://api.github.com/repos/smartsdk/smartsdk-recipes/languages","stargazers_url":"https://api.github.com/repos/smartsdk/smartsdk-recipes/stargazers","contributors_url":"https://api.github.com/repos/smartsdk/smartsdk-recipes/contributors","subscribers_url":"https://api.github.com/repos/smartsdk/smartsdk-recipes/subscribers","subscription_url":"https://api.github.com/repos/smartsdk/smartsdk-recipes/subscription","commits_url":"https://api.github.com/repos/smartsdk/smartsdk-recipes/commits{/sha}","git_commits_url":"https://api.github.com/repos/smartsdk/smartsdk-recipes/git/commits{/sha}","comments_url":"https://api.github.com/repos/smartsdk/smartsdk-recipes/comments{/number}","issue_comment_url":"https://api.github.com/repos/smartsdk/smartsdk-recipes/issues/comments{/number}","contents_url":"https://api.github.com/repos/smartsdk/smartsdk-recipes/contents/{+path}","compare_url":"https://api.github.com/repos/smartsdk/smartsdk-recipes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/smartsdk/smartsdk-recipes/merges","archive_url":"https://api.github.com/repos/smartsdk/smartsdk-recipes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/smartsdk/smartsdk-recipes/downloads","issues_url":"https://api.github.com/repos/smartsdk/smartsdk-recipes/issues{/number}","pulls_url":"https://api.github.com/repos/smartsdk/smartsdk-recipes/pulls{/number}","milestones_url":"https://api.github.com/repos/smartsdk/smartsdk-recipes/milestones{/number}","notifications_url":"https://api.github.com/repos/smartsdk/smartsdk-recipes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/smartsdk/smartsdk-recipes/labels{/name}","releases_url":"https://api.github.com/repos/smartsdk/smartsdk-recipes/releases{/id}","deployments_url":"https://api.github.com/repos/smartsdk/smartsdk-recipes/deployments","created_at":"2017-05-17T09:19:23Z","updated_at":"2017-10-11T22:16:31Z","pushed_at":"2017-11-02T16:18:21Z","git_url":"git://github.com/smartsdk/smartsdk-recipes.git","ssh_url":"git@github.com:smartsdk/smartsdk-recipes.git","clone_url":"https://github.com/smartsdk/smartsdk-recipes.git","svn_url":"https://github.com/smartsdk/smartsdk-recipes","homepage":"https://www.smartsdk.eu","size":3423,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"smartsdk:master","ref":"master","sha":"2de97009a3b99e989cd347c077417348e470e2e4","user":{"login":"smartsdk","id":26279498,"avatar_url":"https://avatars1.githubusercontent.com/u/26279498?v=4","gravatar_id":"","url":"https://api.github.com/users/smartsdk","html_url":"https://github.com/smartsdk","followers_url":"https://api.github.com/users/smartsdk/followers","following_url":"https://api.github.com/users/smartsdk/following{/other_user}","gists_url":"https://api.github.com/users/smartsdk/gists{/gist_id}","starred_url":"https://api.github.com/users/smartsdk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smartsdk/subscriptions","organizations_url":"https://api.github.com/users/smartsdk/orgs","repos_url":"https://api.github.com/users/smartsdk/repos","events_url":"https://api.github.com/users/smartsdk/events{/privacy}","received_events_url":"https://api.github.com/users/smartsdk/received_events","type":"Organization","site_admin":false},"repo":{"id":91557828,"name":"smartsdk-recipes","full_name":"smartsdk/smartsdk-recipes","owner":{"login":"smartsdk","id":26279498,"avatar_url":"https://avatars1.githubusercontent.com/u/26279498?v=4","gravatar_id":"","url":"https://api.github.com/users/smartsdk","html_url":"https://github.com/smartsdk","followers_url":"https://api.github.com/users/smartsdk/followers","following_url":"https://api.github.com/users/smartsdk/following{/other_user}","gists_url":"https://api.github.com/users/smartsdk/gists{/gist_id}","starred_url":"https://api.github.com/users/smartsdk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smartsdk/subscriptions","organizations_url":"https://api.github.com/users/smartsdk/orgs","repos_url":"https://api.github.com/users/smartsdk/repos","events_url":"https://api.github.com/users/smartsdk/events{/privacy}","received_events_url":"https://api.github.com/users/smartsdk/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/smartsdk/smartsdk-recipes","description":"This repository is part of the SmartSDK project and contains recipes to use different FIWARE Generic Enablers to develop FIWARE-based applications.","fork":false,"url":"https://api.github.com/repos/smartsdk/smartsdk-recipes","forks_url":"https://api.github.com/repos/smartsdk/smartsdk-recipes/forks","keys_url":"https://api.github.com/repos/smartsdk/smartsdk-recipes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/smartsdk/smartsdk-recipes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/smartsdk/smartsdk-recipes/teams","hooks_url":"https://api.github.com/repos/smartsdk/smartsdk-recipes/hooks","issue_events_url":"https://api.github.com/repos/smartsdk/smartsdk-recipes/issues/events{/number}","events_url":"https://api.github.com/repos/smartsdk/smartsdk-recipes/events","assignees_url":"https://api.github.com/repos/smartsdk/smartsdk-recipes/assignees{/user}","branches_url":"https://api.github.com/repos/smartsdk/smartsdk-recipes/branches{/branch}","tags_url":"https://api.github.com/repos/smartsdk/smartsdk-recipes/tags","blobs_url":"https://api.github.com/repos/smartsdk/smartsdk-recipes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/smartsdk/smartsdk-recipes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/smartsdk/smartsdk-recipes/git/refs{/sha}","trees_url":"https://api.github.com/repos/smartsdk/smartsdk-recipes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/smartsdk/smartsdk-recipes/statuses/{sha}","languages_url":"https://api.github.com/repos/smartsdk/smartsdk-recipes/languages","stargazers_url":"https://api.github.com/repos/smartsdk/smartsdk-recipes/stargazers","contributors_url":"https://api.github.com/repos/smartsdk/smartsdk-recipes/contributors","subscribers_url":"https://api.github.com/repos/smartsdk/smartsdk-recipes/subscribers","subscription_url":"https://api.github.com/repos/smartsdk/smartsdk-recipes/subscription","commits_url":"https://api.github.com/repos/smartsdk/smartsdk-recipes/commits{/sha}","git_commits_url":"https://api.github.com/repos/smartsdk/smartsdk-recipes/git/commits{/sha}","comments_url":"https://api.github.com/repos/smartsdk/smartsdk-recipes/comments{/number}","issue_comment_url":"https://api.github.com/repos/smartsdk/smartsdk-recipes/issues/comments{/number}","contents_url":"https://api.github.com/repos/smartsdk/smartsdk-recipes/contents/{+path}","compare_url":"https://api.github.com/repos/smartsdk/smartsdk-recipes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/smartsdk/smartsdk-recipes/merges","archive_url":"https://api.github.com/repos/smartsdk/smartsdk-recipes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/smartsdk/smartsdk-recipes/downloads","issues_url":"https://api.github.com/repos/smartsdk/smartsdk-recipes/issues{/number}","pulls_url":"https://api.github.com/repos/smartsdk/smartsdk-recipes/pulls{/number}","milestones_url":"https://api.github.com/repos/smartsdk/smartsdk-recipes/milestones{/number}","notifications_url":"https://api.github.com/repos/smartsdk/smartsdk-recipes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/smartsdk/smartsdk-recipes/labels{/name}","releases_url":"https://api.github.com/repos/smartsdk/smartsdk-recipes/releases{/id}","deployments_url":"https://api.github.com/repos/smartsdk/smartsdk-recipes/deployments","created_at":"2017-05-17T09:19:23Z","updated_at":"2017-10-11T22:16:31Z","pushed_at":"2017-11-02T16:18:21Z","git_url":"git://github.com/smartsdk/smartsdk-recipes.git","ssh_url":"git@github.com:smartsdk/smartsdk-recipes.git","clone_url":"https://github.com/smartsdk/smartsdk-recipes.git","svn_url":"https://github.com/smartsdk/smartsdk-recipes","homepage":"https://www.smartsdk.eu","size":3423,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/smartsdk/smartsdk-recipes/pulls/8"},"html":{"href":"https://github.com/smartsdk/smartsdk-recipes/pull/8"},"issue":{"href":"https://api.github.com/repos/smartsdk/smartsdk-recipes/issues/8"},"comments":{"href":"https://api.github.com/repos/smartsdk/smartsdk-recipes/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/smartsdk/smartsdk-recipes/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/smartsdk/smartsdk-recipes/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/smartsdk/smartsdk-recipes/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/smartsdk/smartsdk-recipes/statuses/9cb6b4f441e53a4c48a9f0b5dd142f2cc50de1ee"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"chicco785"}}