{"action":"created","comment":{"url":"https://api.github.com/repos/telefonicaid/iotagent-node-lib/pulls/comments/40912692","id":40912692,"diff_hunk":"@@ -0,0 +1,82 @@\n+{\n+  \"device_id\": \"{{deviceId}}\",\n+  \"protocol\": \"TT_CLOSED\",\n+  \"entity_name\": \"{{deviceName}}\",\n+  \"entity_type\": \"{{deviceType}}\",\n+  \"attributes\": [","path":"examples/ttClosedTemplate.json","position":6,"original_position":6,"commit_id":"a338a08462d81ee0896f81af061bf0ffefb564e5","original_commit_id":"a338a08462d81ee0896f81af061bf0ffefb564e5","user":{"login":"dmoranj","id":1152892,"avatar_url":"https://avatars.githubusercontent.com/u/1152892?v=3","gravatar_id":"","url":"https://api.github.com/users/dmoranj","html_url":"https://github.com/dmoranj","followers_url":"https://api.github.com/users/dmoranj/followers","following_url":"https://api.github.com/users/dmoranj/following{/other_user}","gists_url":"https://api.github.com/users/dmoranj/gists{/gist_id}","starred_url":"https://api.github.com/users/dmoranj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmoranj/subscriptions","organizations_url":"https://api.github.com/users/dmoranj/orgs","repos_url":"https://api.github.com/users/dmoranj/repos","events_url":"https://api.github.com/users/dmoranj/events{/privacy}","received_events_url":"https://api.github.com/users/dmoranj/received_events","type":"User","site_admin":false},"body":"Not necessarily. TT_OPEN, as its name suggest, is open to include modules for different generic values. For TT_OPEN devices, the template must be tailored to the specific case. The same would be true for a \"generic\" TT Closed, i.e.: a TTClosed with a different set of modules as the ones we use. This template, anyway, has been uploaded as an example of how to create templates for the bulk loading, not to be a standard way of provisioning (see the \"/examples\" folder).","created_at":"2015-10-01T13:31:29Z","updated_at":"2015-10-01T13:31:29Z","html_url":"https://github.com/telefonicaid/iotagent-node-lib/pull/152#discussion_r40912692","pull_request_url":"https://api.github.com/repos/telefonicaid/iotagent-node-lib/pulls/152","_links":{"self":{"href":"https://api.github.com/repos/telefonicaid/iotagent-node-lib/pulls/comments/40912692"},"html":{"href":"https://github.com/telefonicaid/iotagent-node-lib/pull/152#discussion_r40912692"},"pull_request":{"href":"https://api.github.com/repos/telefonicaid/iotagent-node-lib/pulls/152"}}},"pull_request":{"url":"https://api.github.com/repos/telefonicaid/iotagent-node-lib/pulls/152","id":46387284,"html_url":"https://github.com/telefonicaid/iotagent-node-lib/pull/152","diff_url":"https://github.com/telefonicaid/iotagent-node-lib/pull/152.diff","patch_url":"https://github.com/telefonicaid/iotagent-node-lib/pull/152.patch","issue_url":"https://api.github.com/repos/telefonicaid/iotagent-node-lib/issues/152","number":152,"state":"open","locked":false,"title":"ADD Option for the IoT Agent tester to provision lists of devices","user":{"login":"dmoranj","id":1152892,"avatar_url":"https://avatars.githubusercontent.com/u/1152892?v=3","gravatar_id":"","url":"https://api.github.com/users/dmoranj","html_url":"https://github.com/dmoranj","followers_url":"https://api.github.com/users/dmoranj/followers","following_url":"https://api.github.com/users/dmoranj/following{/other_user}","gists_url":"https://api.github.com/users/dmoranj/gists{/gist_id}","starred_url":"https://api.github.com/users/dmoranj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmoranj/subscriptions","organizations_url":"https://api.github.com/users/dmoranj/orgs","repos_url":"https://api.github.com/users/dmoranj/repos","events_url":"https://api.github.com/users/dmoranj/events{/privacy}","received_events_url":"https://api.github.com/users/dmoranj/received_events","type":"User","site_admin":false},"body":"Add Option for the IoT Agent tester to provision lists of devices","created_at":"2015-09-30T10:55:56Z","updated_at":"2015-10-01T13:31:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"39712e1ad5ded84106ca02f4a51f3651b07ec083","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/telefonicaid/iotagent-node-lib/pulls/152/commits","review_comments_url":"https://api.github.com/repos/telefonicaid/iotagent-node-lib/pulls/152/comments","review_comment_url":"https://api.github.com/repos/telefonicaid/iotagent-node-lib/pulls/comments{/number}","comments_url":"https://api.github.com/repos/telefonicaid/iotagent-node-lib/issues/152/comments","statuses_url":"https://api.github.com/repos/telefonicaid/iotagent-node-lib/statuses/a338a08462d81ee0896f81af061bf0ffefb564e5","head":{"label":"telefonicaid:task/testerDeviceTemplate","ref":"task/testerDeviceTemplate","sha":"a338a08462d81ee0896f81af061bf0ffefb564e5","user":{"login":"telefonicaid","id":968363,"avatar_url":"https://avatars.githubusercontent.com/u/968363?v=3","gravatar_id":"","url":"https://api.github.com/users/telefonicaid","html_url":"https://github.com/telefonicaid","followers_url":"https://api.github.com/users/telefonicaid/followers","following_url":"https://api.github.com/users/telefonicaid/following{/other_user}","gists_url":"https://api.github.com/users/telefonicaid/gists{/gist_id}","starred_url":"https://api.github.com/users/telefonicaid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/telefonicaid/subscriptions","organizations_url":"https://api.github.com/users/telefonicaid/orgs","repos_url":"https://api.github.com/users/telefonicaid/repos","events_url":"https://api.github.com/users/telefonicaid/events{/privacy}","received_events_url":"https://api.github.com/users/telefonicaid/received_events","type":"Organization","site_admin":false},"repo":{"id":25203883,"name":"iotagent-node-lib","full_name":"telefonicaid/iotagent-node-lib","owner":{"login":"telefonicaid","id":968363,"avatar_url":"https://avatars.githubusercontent.com/u/968363?v=3","gravatar_id":"","url":"https://api.github.com/users/telefonicaid","html_url":"https://github.com/telefonicaid","followers_url":"https://api.github.com/users/telefonicaid/followers","following_url":"https://api.github.com/users/telefonicaid/following{/other_user}","gists_url":"https://api.github.com/users/telefonicaid/gists{/gist_id}","starred_url":"https://api.github.com/users/telefonicaid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/telefonicaid/subscriptions","organizations_url":"https://api.github.com/users/telefonicaid/orgs","repos_url":"https://api.github.com/users/telefonicaid/repos","events_url":"https://api.github.com/users/telefonicaid/events{/privacy}","received_events_url":"https://api.github.com/users/telefonicaid/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/telefonicaid/iotagent-node-lib","description":"IoT Agent library to interface with NGSI Context Broker","fork":false,"url":"https://api.github.com/repos/telefonicaid/iotagent-node-lib","forks_url":"https://api.github.com/repos/telefonicaid/iotagent-node-lib/forks","keys_url":"https://api.github.com/repos/telefonicaid/iotagent-node-lib/keys{/key_id}","collaborators_url":"https://api.github.com/repos/telefonicaid/iotagent-node-lib/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/telefonicaid/iotagent-node-lib/teams","hooks_url":"https://api.github.com/repos/telefonicaid/iotagent-node-lib/hooks","issue_events_url":"https://api.github.com/repos/telefonicaid/iotagent-node-lib/issues/events{/number}","events_url":"https://api.github.com/repos/telefonicaid/iotagent-node-lib/events","assignees_url":"https://api.github.com/repos/telefonicaid/iotagent-node-lib/assignees{/user}","branches_url":"https://api.github.com/repos/telefonicaid/iotagent-node-lib/branches{/branch}","tags_url":"https://api.github.com/repos/telefonicaid/iotagent-node-lib/tags","blobs_url":"https://api.github.com/repos/telefonicaid/iotagent-node-lib/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/telefonicaid/iotagent-node-lib/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/telefonicaid/iotagent-node-lib/git/refs{/sha}","trees_url":"https://api.github.com/repos/telefonicaid/iotagent-node-lib/git/trees{/sha}","statuses_url":"https://api.github.com/repos/telefonicaid/iotagent-node-lib/statuses/{sha}","languages_url":"https://api.github.com/repos/telefonicaid/iotagent-node-lib/languages","stargazers_url":"https://api.github.com/repos/telefonicaid/iotagent-node-lib/stargazers","contributors_url":"https://api.github.com/repos/telefonicaid/iotagent-node-lib/contributors","subscribers_url":"https://api.github.com/repos/telefonicaid/iotagent-node-lib/subscribers","subscription_url":"https://api.github.com/repos/telefonicaid/iotagent-node-lib/subscription","commits_url":"https://api.github.com/repos/telefonicaid/iotagent-node-lib/commits{/sha}","git_commits_url":"https://api.github.com/repos/telefonicaid/iotagent-node-lib/git/commits{/sha}","comments_url":"https://api.github.com/repos/telefonicaid/iotagent-node-lib/comments{/number}","issue_comment_url":"https://api.github.com/repos/telefonicaid/iotagent-node-lib/issues/comments{/number}","contents_url":"https://api.github.com/repos/telefonicaid/iotagent-node-lib/contents/{+path}","compare_url":"https://api.github.com/repos/telefonicaid/iotagent-node-lib/compare/{base}...{head}","merges_url":"https://api.github.com/repos/telefonicaid/iotagent-node-lib/merges","archive_url":"https://api.github.com/repos/telefonicaid/iotagent-node-lib/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/telefonicaid/iotagent-node-lib/downloads","issues_url":"https://api.github.com/repos/telefonicaid/iotagent-node-lib/issues{/number}","pulls_url":"https://api.github.com/repos/telefonicaid/iotagent-node-lib/pulls{/number}","milestones_url":"https://api.github.com/repos/telefonicaid/iotagent-node-lib/milestones{/number}","notifications_url":"https://api.github.com/repos/telefonicaid/iotagent-node-lib/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/telefonicaid/iotagent-node-lib/labels{/name}","releases_url":"https://api.github.com/repos/telefonicaid/iotagent-node-lib/releases{/id}","created_at":"2014-10-14T11:48:27Z","updated_at":"2015-08-21T11:32:19Z","pushed_at":"2015-09-30T10:56:38Z","git_url":"git://github.com/telefonicaid/iotagent-node-lib.git","ssh_url":"git@github.com:telefonicaid/iotagent-node-lib.git","clone_url":"https://github.com/telefonicaid/iotagent-node-lib.git","svn_url":"https://github.com/telefonicaid/iotagent-node-lib","homepage":null,"size":1844,"stargazers_count":9,"watchers_count":9,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":11,"forks":5,"open_issues":11,"watchers":9,"default_branch":"master"}},"base":{"label":"telefonicaid:develop","ref":"develop","sha":"5568471200dd8c6953989fd3bd5676b53c59bee6","user":{"login":"telefonicaid","id":968363,"avatar_url":"https://avatars.githubusercontent.com/u/968363?v=3","gravatar_id":"","url":"https://api.github.com/users/telefonicaid","html_url":"https://github.com/telefonicaid","followers_url":"https://api.github.com/users/telefonicaid/followers","following_url":"https://api.github.com/users/telefonicaid/following{/other_user}","gists_url":"https://api.github.com/users/telefonicaid/gists{/gist_id}","starred_url":"https://api.github.com/users/telefonicaid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/telefonicaid/subscriptions","organizations_url":"https://api.github.com/users/telefonicaid/orgs","repos_url":"https://api.github.com/users/telefonicaid/repos","events_url":"https://api.github.com/users/telefonicaid/events{/privacy}","received_events_url":"https://api.github.com/users/telefonicaid/received_events","type":"Organization","site_admin":false},"repo":{"id":25203883,"name":"iotagent-node-lib","full_name":"telefonicaid/iotagent-node-lib","owner":{"login":"telefonicaid","id":968363,"avatar_url":"https://avatars.githubusercontent.com/u/968363?v=3","gravatar_id":"","url":"https://api.github.com/users/telefonicaid","html_url":"https://github.com/telefonicaid","followers_url":"https://api.github.com/users/telefonicaid/followers","following_url":"https://api.github.com/users/telefonicaid/following{/other_user}","gists_url":"https://api.github.com/users/telefonicaid/gists{/gist_id}","starred_url":"https://api.github.com/users/telefonicaid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/telefonicaid/subscriptions","organizations_url":"https://api.github.com/users/telefonicaid/orgs","repos_url":"https://api.github.com/users/telefonicaid/repos","events_url":"https://api.github.com/users/telefonicaid/events{/privacy}","received_events_url":"https://api.github.com/users/telefonicaid/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/telefonicaid/iotagent-node-lib","description":"IoT Agent library to interface with NGSI Context Broker","fork":false,"url":"https://api.github.com/repos/telefonicaid/iotagent-node-lib","forks_url":"https://api.github.com/repos/telefonicaid/iotagent-node-lib/forks","keys_url":"https://api.github.com/repos/telefonicaid/iotagent-node-lib/keys{/key_id}","collaborators_url":"https://api.github.com/repos/telefonicaid/iotagent-node-lib/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/telefonicaid/iotagent-node-lib/teams","hooks_url":"https://api.github.com/repos/telefonicaid/iotagent-node-lib/hooks","issue_events_url":"https://api.github.com/repos/telefonicaid/iotagent-node-lib/issues/events{/number}","events_url":"https://api.github.com/repos/telefonicaid/iotagent-node-lib/events","assignees_url":"https://api.github.com/repos/telefonicaid/iotagent-node-lib/assignees{/user}","branches_url":"https://api.github.com/repos/telefonicaid/iotagent-node-lib/branches{/branch}","tags_url":"https://api.github.com/repos/telefonicaid/iotagent-node-lib/tags","blobs_url":"https://api.github.com/repos/telefonicaid/iotagent-node-lib/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/telefonicaid/iotagent-node-lib/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/telefonicaid/iotagent-node-lib/git/refs{/sha}","trees_url":"https://api.github.com/repos/telefonicaid/iotagent-node-lib/git/trees{/sha}","statuses_url":"https://api.github.com/repos/telefonicaid/iotagent-node-lib/statuses/{sha}","languages_url":"https://api.github.com/repos/telefonicaid/iotagent-node-lib/languages","stargazers_url":"https://api.github.com/repos/telefonicaid/iotagent-node-lib/stargazers","contributors_url":"https://api.github.com/repos/telefonicaid/iotagent-node-lib/contributors","subscribers_url":"https://api.github.com/repos/telefonicaid/iotagent-node-lib/subscribers","subscription_url":"https://api.github.com/repos/telefonicaid/iotagent-node-lib/subscription","commits_url":"https://api.github.com/repos/telefonicaid/iotagent-node-lib/commits{/sha}","git_commits_url":"https://api.github.com/repos/telefonicaid/iotagent-node-lib/git/commits{/sha}","comments_url":"https://api.github.com/repos/telefonicaid/iotagent-node-lib/comments{/number}","issue_comment_url":"https://api.github.com/repos/telefonicaid/iotagent-node-lib/issues/comments{/number}","contents_url":"https://api.github.com/repos/telefonicaid/iotagent-node-lib/contents/{+path}","compare_url":"https://api.github.com/repos/telefonicaid/iotagent-node-lib/compare/{base}...{head}","merges_url":"https://api.github.com/repos/telefonicaid/iotagent-node-lib/merges","archive_url":"https://api.github.com/repos/telefonicaid/iotagent-node-lib/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/telefonicaid/iotagent-node-lib/downloads","issues_url":"https://api.github.com/repos/telefonicaid/iotagent-node-lib/issues{/number}","pulls_url":"https://api.github.com/repos/telefonicaid/iotagent-node-lib/pulls{/number}","milestones_url":"https://api.github.com/repos/telefonicaid/iotagent-node-lib/milestones{/number}","notifications_url":"https://api.github.com/repos/telefonicaid/iotagent-node-lib/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/telefonicaid/iotagent-node-lib/labels{/name}","releases_url":"https://api.github.com/repos/telefonicaid/iotagent-node-lib/releases{/id}","created_at":"2014-10-14T11:48:27Z","updated_at":"2015-08-21T11:32:19Z","pushed_at":"2015-09-30T10:56:38Z","git_url":"git://github.com/telefonicaid/iotagent-node-lib.git","ssh_url":"git@github.com:telefonicaid/iotagent-node-lib.git","clone_url":"https://github.com/telefonicaid/iotagent-node-lib.git","svn_url":"https://github.com/telefonicaid/iotagent-node-lib","homepage":null,"size":1844,"stargazers_count":9,"watchers_count":9,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":11,"forks":5,"open_issues":11,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/telefonicaid/iotagent-node-lib/pulls/152"},"html":{"href":"https://github.com/telefonicaid/iotagent-node-lib/pull/152"},"issue":{"href":"https://api.github.com/repos/telefonicaid/iotagent-node-lib/issues/152"},"comments":{"href":"https://api.github.com/repos/telefonicaid/iotagent-node-lib/issues/152/comments"},"review_comments":{"href":"https://api.github.com/repos/telefonicaid/iotagent-node-lib/pulls/152/comments"},"review_comment":{"href":"https://api.github.com/repos/telefonicaid/iotagent-node-lib/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/telefonicaid/iotagent-node-lib/pulls/152/commits"},"statuses":{"href":"https://api.github.com/repos/telefonicaid/iotagent-node-lib/statuses/a338a08462d81ee0896f81af061bf0ffefb564e5"}}}}