{"action":"created","comment":{"url":"https://api.github.com/repos/eclipse/smarthome/pulls/comments/31706914","id":31706914,"diff_hunk":"@@ -0,0 +1,51 @@\n+package org.eclipse.smarthome.automation.commands;\n+\n+import java.util.Hashtable;\n+\n+import org.osgi.framework.BundleActivator;\n+import org.osgi.framework.BundleContext;\n+import org.osgi.framework.ServiceReference;\n+import org.osgi.framework.ServiceRegistration;\n+import org.osgi.util.tracker.ServiceTracker;\n+import org.osgi.util.tracker.ServiceTrackerCustomizer;\n+\n+import org.eclipse.smarthome.automation.handler.parser.Parser;\n+\n+// TODO: Auto-generated Javadoc\n+/**\n+ * The Class Activator.\n+ */\n+public class Activator implements BundleActivator {\n+  \n+  \n+  /** The s reg. */\n+  private ServiceRegistration sReg;","path":"bundles/automation/org.eclipse.smarthome.automation.commands/src/main/java/org/eclipse/smarthome/automation/commands/Activator.java","position":22,"original_position":22,"commit_id":"9633ab9d0a472e1658d1c89cb7bcd7973c2d85fb","original_commit_id":"9633ab9d0a472e1658d1c89cb7bcd7973c2d85fb","user":{"login":"marinmitev","id":10187512,"avatar_url":"https://avatars.githubusercontent.com/u/10187512?v=3","gravatar_id":"","url":"https://api.github.com/users/marinmitev","html_url":"https://github.com/marinmitev","followers_url":"https://api.github.com/users/marinmitev/followers","following_url":"https://api.github.com/users/marinmitev/following{/other_user}","gists_url":"https://api.github.com/users/marinmitev/gists{/gist_id}","starred_url":"https://api.github.com/users/marinmitev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marinmitev/subscriptions","organizations_url":"https://api.github.com/users/marinmitev/orgs","repos_url":"https://api.github.com/users/marinmitev/repos","events_url":"https://api.github.com/users/marinmitev/events{/privacy}","received_events_url":"https://api.github.com/users/marinmitev/received_events","type":"User","site_admin":false},"body":"ok","created_at":"2015-06-04T09:50:19Z","updated_at":"2015-06-04T09:50:19Z","html_url":"https://github.com/eclipse/smarthome/pull/317#discussion_r31706914","pull_request_url":"https://api.github.com/repos/eclipse/smarthome/pulls/317","_links":{"self":{"href":"https://api.github.com/repos/eclipse/smarthome/pulls/comments/31706914"},"html":{"href":"https://github.com/eclipse/smarthome/pull/317#discussion_r31706914"},"pull_request":{"href":"https://api.github.com/repos/eclipse/smarthome/pulls/317"}}},"pull_request":{"url":"https://api.github.com/repos/eclipse/smarthome/pulls/317","id":36026769,"html_url":"https://github.com/eclipse/smarthome/pull/317","diff_url":"https://github.com/eclipse/smarthome/pull/317.diff","patch_url":"https://github.com/eclipse/smarthome/pull/317.patch","issue_url":"https://api.github.com/repos/eclipse/smarthome/issues/317","number":317,"state":"open","locked":false,"title":"Initial implementation of the automation component","user":{"login":"marinmitev","id":10187512,"avatar_url":"https://avatars.githubusercontent.com/u/10187512?v=3","gravatar_id":"","url":"https://api.github.com/users/marinmitev","html_url":"https://github.com/marinmitev","followers_url":"https://api.github.com/users/marinmitev/followers","following_url":"https://api.github.com/users/marinmitev/following{/other_user}","gists_url":"https://api.github.com/users/marinmitev/gists{/gist_id}","starred_url":"https://api.github.com/users/marinmitev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marinmitev/subscriptions","organizations_url":"https://api.github.com/users/marinmitev/orgs","repos_url":"https://api.github.com/users/marinmitev/repos","events_url":"https://api.github.com/users/marinmitev/events{/privacy}","received_events_url":"https://api.github.com/users/marinmitev/received_events","type":"User","site_admin":false},"body":"Author: Marin Mitev <marin.mitev@gmail.com>\r\nAlso-by: Jordan Mihailov <j.mihailov@prosyst.com>\r\nAlso-by: Vasil Ilchev <v.ilchev@prosyst.bg>\r\nAlso-by: Ana Dimova <a.dimova@prosyst.bg>\r\n\r\nSigned-off-by: Marin Mitev <marin.mitev@gmail.com>","created_at":"2015-05-22T12:38:35Z","updated_at":"2015-06-04T09:50:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"009e7439b327e2259a9505592c39aae56424ca47","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/eclipse/smarthome/pulls/317/commits","review_comments_url":"https://api.github.com/repos/eclipse/smarthome/pulls/317/comments","review_comment_url":"https://api.github.com/repos/eclipse/smarthome/pulls/comments{/number}","comments_url":"https://api.github.com/repos/eclipse/smarthome/issues/317/comments","statuses_url":"https://api.github.com/repos/eclipse/smarthome/statuses/9633ab9d0a472e1658d1c89cb7bcd7973c2d85fb","head":{"label":"marinmitev:automation-component-impl","ref":"automation-component-impl","sha":"9633ab9d0a472e1658d1c89cb7bcd7973c2d85fb","user":{"login":"marinmitev","id":10187512,"avatar_url":"https://avatars.githubusercontent.com/u/10187512?v=3","gravatar_id":"","url":"https://api.github.com/users/marinmitev","html_url":"https://github.com/marinmitev","followers_url":"https://api.github.com/users/marinmitev/followers","following_url":"https://api.github.com/users/marinmitev/following{/other_user}","gists_url":"https://api.github.com/users/marinmitev/gists{/gist_id}","starred_url":"https://api.github.com/users/marinmitev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marinmitev/subscriptions","organizations_url":"https://api.github.com/users/marinmitev/orgs","repos_url":"https://api.github.com/users/marinmitev/repos","events_url":"https://api.github.com/users/marinmitev/events{/privacy}","received_events_url":"https://api.github.com/users/marinmitev/received_events","type":"User","site_admin":false},"repo":{"id":29968563,"name":"smarthome","full_name":"marinmitev/smarthome","owner":{"login":"marinmitev","id":10187512,"avatar_url":"https://avatars.githubusercontent.com/u/10187512?v=3","gravatar_id":"","url":"https://api.github.com/users/marinmitev","html_url":"https://github.com/marinmitev","followers_url":"https://api.github.com/users/marinmitev/followers","following_url":"https://api.github.com/users/marinmitev/following{/other_user}","gists_url":"https://api.github.com/users/marinmitev/gists{/gist_id}","starred_url":"https://api.github.com/users/marinmitev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marinmitev/subscriptions","organizations_url":"https://api.github.com/users/marinmitev/orgs","repos_url":"https://api.github.com/users/marinmitev/repos","events_url":"https://api.github.com/users/marinmitev/events{/privacy}","received_events_url":"https://api.github.com/users/marinmitev/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/marinmitev/smarthome","description":"Eclipse SmartHome project","fork":true,"url":"https://api.github.com/repos/marinmitev/smarthome","forks_url":"https://api.github.com/repos/marinmitev/smarthome/forks","keys_url":"https://api.github.com/repos/marinmitev/smarthome/keys{/key_id}","collaborators_url":"https://api.github.com/repos/marinmitev/smarthome/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/marinmitev/smarthome/teams","hooks_url":"https://api.github.com/repos/marinmitev/smarthome/hooks","issue_events_url":"https://api.github.com/repos/marinmitev/smarthome/issues/events{/number}","events_url":"https://api.github.com/repos/marinmitev/smarthome/events","assignees_url":"https://api.github.com/repos/marinmitev/smarthome/assignees{/user}","branches_url":"https://api.github.com/repos/marinmitev/smarthome/branches{/branch}","tags_url":"https://api.github.com/repos/marinmitev/smarthome/tags","blobs_url":"https://api.github.com/repos/marinmitev/smarthome/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/marinmitev/smarthome/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/marinmitev/smarthome/git/refs{/sha}","trees_url":"https://api.github.com/repos/marinmitev/smarthome/git/trees{/sha}","statuses_url":"https://api.github.com/repos/marinmitev/smarthome/statuses/{sha}","languages_url":"https://api.github.com/repos/marinmitev/smarthome/languages","stargazers_url":"https://api.github.com/repos/marinmitev/smarthome/stargazers","contributors_url":"https://api.github.com/repos/marinmitev/smarthome/contributors","subscribers_url":"https://api.github.com/repos/marinmitev/smarthome/subscribers","subscription_url":"https://api.github.com/repos/marinmitev/smarthome/subscription","commits_url":"https://api.github.com/repos/marinmitev/smarthome/commits{/sha}","git_commits_url":"https://api.github.com/repos/marinmitev/smarthome/git/commits{/sha}","comments_url":"https://api.github.com/repos/marinmitev/smarthome/comments{/number}","issue_comment_url":"https://api.github.com/repos/marinmitev/smarthome/issues/comments{/number}","contents_url":"https://api.github.com/repos/marinmitev/smarthome/contents/{+path}","compare_url":"https://api.github.com/repos/marinmitev/smarthome/compare/{base}...{head}","merges_url":"https://api.github.com/repos/marinmitev/smarthome/merges","archive_url":"https://api.github.com/repos/marinmitev/smarthome/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/marinmitev/smarthome/downloads","issues_url":"https://api.github.com/repos/marinmitev/smarthome/issues{/number}","pulls_url":"https://api.github.com/repos/marinmitev/smarthome/pulls{/number}","milestones_url":"https://api.github.com/repos/marinmitev/smarthome/milestones{/number}","notifications_url":"https://api.github.com/repos/marinmitev/smarthome/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/marinmitev/smarthome/labels{/name}","releases_url":"https://api.github.com/repos/marinmitev/smarthome/releases{/id}","created_at":"2015-01-28T13:25:03Z","updated_at":"2015-05-25T14:08:43Z","pushed_at":"2015-06-02T11:28:51Z","git_url":"git://github.com/marinmitev/smarthome.git","ssh_url":"git@github.com:marinmitev/smarthome.git","clone_url":"https://github.com/marinmitev/smarthome.git","svn_url":"https://github.com/marinmitev/smarthome","homepage":null,"size":7977,"stargazers_count":2,"watchers_count":2,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":2,"default_branch":"master"}},"base":{"label":"eclipse:master","ref":"master","sha":"330e5034a90f7b1c4c6343ba4304d066b3f026f8","user":{"login":"eclipse","id":56974,"avatar_url":"https://avatars.githubusercontent.com/u/56974?v=3","gravatar_id":"","url":"https://api.github.com/users/eclipse","html_url":"https://github.com/eclipse","followers_url":"https://api.github.com/users/eclipse/followers","following_url":"https://api.github.com/users/eclipse/following{/other_user}","gists_url":"https://api.github.com/users/eclipse/gists{/gist_id}","starred_url":"https://api.github.com/users/eclipse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eclipse/subscriptions","organizations_url":"https://api.github.com/users/eclipse/orgs","repos_url":"https://api.github.com/users/eclipse/repos","events_url":"https://api.github.com/users/eclipse/events{/privacy}","received_events_url":"https://api.github.com/users/eclipse/received_events","type":"Organization","site_admin":false},"repo":{"id":15778981,"name":"smarthome","full_name":"eclipse/smarthome","owner":{"login":"eclipse","id":56974,"avatar_url":"https://avatars.githubusercontent.com/u/56974?v=3","gravatar_id":"","url":"https://api.github.com/users/eclipse","html_url":"https://github.com/eclipse","followers_url":"https://api.github.com/users/eclipse/followers","following_url":"https://api.github.com/users/eclipse/following{/other_user}","gists_url":"https://api.github.com/users/eclipse/gists{/gist_id}","starred_url":"https://api.github.com/users/eclipse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eclipse/subscriptions","organizations_url":"https://api.github.com/users/eclipse/orgs","repos_url":"https://api.github.com/users/eclipse/repos","events_url":"https://api.github.com/users/eclipse/events{/privacy}","received_events_url":"https://api.github.com/users/eclipse/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/eclipse/smarthome","description":"Eclipse SmartHome project","fork":false,"url":"https://api.github.com/repos/eclipse/smarthome","forks_url":"https://api.github.com/repos/eclipse/smarthome/forks","keys_url":"https://api.github.com/repos/eclipse/smarthome/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eclipse/smarthome/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eclipse/smarthome/teams","hooks_url":"https://api.github.com/repos/eclipse/smarthome/hooks","issue_events_url":"https://api.github.com/repos/eclipse/smarthome/issues/events{/number}","events_url":"https://api.github.com/repos/eclipse/smarthome/events","assignees_url":"https://api.github.com/repos/eclipse/smarthome/assignees{/user}","branches_url":"https://api.github.com/repos/eclipse/smarthome/branches{/branch}","tags_url":"https://api.github.com/repos/eclipse/smarthome/tags","blobs_url":"https://api.github.com/repos/eclipse/smarthome/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eclipse/smarthome/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eclipse/smarthome/git/refs{/sha}","trees_url":"https://api.github.com/repos/eclipse/smarthome/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eclipse/smarthome/statuses/{sha}","languages_url":"https://api.github.com/repos/eclipse/smarthome/languages","stargazers_url":"https://api.github.com/repos/eclipse/smarthome/stargazers","contributors_url":"https://api.github.com/repos/eclipse/smarthome/contributors","subscribers_url":"https://api.github.com/repos/eclipse/smarthome/subscribers","subscription_url":"https://api.github.com/repos/eclipse/smarthome/subscription","commits_url":"https://api.github.com/repos/eclipse/smarthome/commits{/sha}","git_commits_url":"https://api.github.com/repos/eclipse/smarthome/git/commits{/sha}","comments_url":"https://api.github.com/repos/eclipse/smarthome/comments{/number}","issue_comment_url":"https://api.github.com/repos/eclipse/smarthome/issues/comments{/number}","contents_url":"https://api.github.com/repos/eclipse/smarthome/contents/{+path}","compare_url":"https://api.github.com/repos/eclipse/smarthome/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eclipse/smarthome/merges","archive_url":"https://api.github.com/repos/eclipse/smarthome/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eclipse/smarthome/downloads","issues_url":"https://api.github.com/repos/eclipse/smarthome/issues{/number}","pulls_url":"https://api.github.com/repos/eclipse/smarthome/pulls{/number}","milestones_url":"https://api.github.com/repos/eclipse/smarthome/milestones{/number}","notifications_url":"https://api.github.com/repos/eclipse/smarthome/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eclipse/smarthome/labels{/name}","releases_url":"https://api.github.com/repos/eclipse/smarthome/releases{/id}","created_at":"2014-01-09T20:47:19Z","updated_at":"2015-06-01T03:33:38Z","pushed_at":"2015-06-03T16:04:18Z","git_url":"git://github.com/eclipse/smarthome.git","ssh_url":"git@github.com:eclipse/smarthome.git","clone_url":"https://github.com/eclipse/smarthome.git","svn_url":"https://github.com/eclipse/smarthome","homepage":null,"size":14617,"stargazers_count":148,"watchers_count":148,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":142,"mirror_url":null,"open_issues_count":9,"forks":142,"open_issues":9,"watchers":148,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/eclipse/smarthome/pulls/317"},"html":{"href":"https://github.com/eclipse/smarthome/pull/317"},"issue":{"href":"https://api.github.com/repos/eclipse/smarthome/issues/317"},"comments":{"href":"https://api.github.com/repos/eclipse/smarthome/issues/317/comments"},"review_comments":{"href":"https://api.github.com/repos/eclipse/smarthome/pulls/317/comments"},"review_comment":{"href":"https://api.github.com/repos/eclipse/smarthome/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/eclipse/smarthome/pulls/317/commits"},"statuses":{"href":"https://api.github.com/repos/eclipse/smarthome/statuses/9633ab9d0a472e1658d1c89cb7bcd7973c2d85fb"}}}}