{"action":"created","comment":{"url":"https://api.github.com/repos/OpenNMS/opennms/pulls/comments/65142280","id":65142280,"diff_hunk":"@@ -28,24 +28,112 @@\n \n package org.opennms.netmgt.syslogd;\n \n+import java.net.InetAddress;\n import java.util.Dictionary;\n+import java.util.HashMap;\n import java.util.Map;\n+import java.util.Properties;\n \n+import kafka.server.KafkaConfig;\n+import kafka.server.KafkaServer;\n+\n+import org.apache.camel.CamelContext;\n+import org.apache.camel.Component;\n+import org.apache.camel.Exchange;\n+import org.apache.camel.Message;\n+import org.apache.camel.Processor;\n+import org.apache.camel.ProducerTemplate;\n+import org.apache.camel.builder.RouteBuilder;\n+import org.apache.camel.component.kafka.KafkaComponent;\n+import org.apache.camel.component.kafka.KafkaConstants;\n+import org.apache.camel.impl.DefaultCamelContext;\n+import org.apache.camel.impl.SimpleRegistry;\n+import org.apache.camel.test.blueprint.CamelBlueprintTestSupport;\n import org.apache.camel.util.KeyValueHolder;\n+import org.apache.curator.test.TestingServer;\n+import org.junit.After;\n+import org.junit.BeforeClass;\n import org.junit.Test;\n import org.junit.runner.RunWith;\n import org.opennms.core.test.OpenNMSJUnit4ClassRunner;\n-import org.opennms.core.test.camel.CamelBlueprintTest;\n+import org.slf4j.Logger;\n+import org.slf4j.LoggerFactory;\n import org.springframework.test.context.ContextConfiguration;\n \n @RunWith(OpenNMSJUnit4ClassRunner.class)\n @ContextConfiguration(locations = { \"classpath:/META-INF/opennms/emptyContext.xml\" })\n-public class SyslogdHandlerKafkaIT extends CamelBlueprintTest {","path":"features/events/syslog/src/test/java/org/opennms/netmgt/syslogd/SyslogdHandlerKafkaIT.java","position":39,"original_position":39,"commit_id":"7b1bedd06e2635471e81f9f156ef2d3b6d1a2c0f","original_commit_id":"7b1bedd06e2635471e81f9f156ef2d3b6d1a2c0f","user":{"login":"soleger","id":4060304,"avatar_url":"https://avatars.githubusercontent.com/u/4060304?v=3","gravatar_id":"","url":"https://api.github.com/users/soleger","html_url":"https://github.com/soleger","followers_url":"https://api.github.com/users/soleger/followers","following_url":"https://api.github.com/users/soleger/following{/other_user}","gists_url":"https://api.github.com/users/soleger/gists{/gist_id}","starred_url":"https://api.github.com/users/soleger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soleger/subscriptions","organizations_url":"https://api.github.com/users/soleger/orgs","repos_url":"https://api.github.com/users/soleger/repos","events_url":"https://api.github.com/users/soleger/events{/privacy}","received_events_url":"https://api.github.com/users/soleger/received_events","type":"User","site_admin":false},"body":"Please use CamelBlueprintTest here. You can still override the doPreSetup() method. If you use CamelBlueprintTest, you can remove the useAdviceWith(), isUseDebugger() and isMockEndpoints() methods.","created_at":"2016-05-31T08:39:27Z","updated_at":"2016-05-31T08:39:27Z","html_url":"https://github.com/OpenNMS/opennms/pull/790#discussion_r65142280","pull_request_url":"https://api.github.com/repos/OpenNMS/opennms/pulls/790","_links":{"self":{"href":"https://api.github.com/repos/OpenNMS/opennms/pulls/comments/65142280"},"html":{"href":"https://github.com/OpenNMS/opennms/pull/790#discussion_r65142280"},"pull_request":{"href":"https://api.github.com/repos/OpenNMS/opennms/pulls/790"}}},"pull_request":{"url":"https://api.github.com/repos/OpenNMS/opennms/pulls/790","id":69663675,"html_url":"https://github.com/OpenNMS/opennms/pull/790","diff_url":"https://github.com/OpenNMS/opennms/pull/790.diff","patch_url":"https://github.com/OpenNMS/opennms/pull/790.patch","issue_url":"https://api.github.com/repos/OpenNMS/opennms/issues/790","number":790,"state":"open","locked":false,"title":"HZN-742 write junits for blueprint-syslog-handler-kafka.xml","user":{"login":"cernerpradeep","id":14312836,"avatar_url":"https://avatars.githubusercontent.com/u/14312836?v=3","gravatar_id":"","url":"https://api.github.com/users/cernerpradeep","html_url":"https://github.com/cernerpradeep","followers_url":"https://api.github.com/users/cernerpradeep/followers","following_url":"https://api.github.com/users/cernerpradeep/following{/other_user}","gists_url":"https://api.github.com/users/cernerpradeep/gists{/gist_id}","starred_url":"https://api.github.com/users/cernerpradeep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cernerpradeep/subscriptions","organizations_url":"https://api.github.com/users/cernerpradeep/orgs","repos_url":"https://api.github.com/users/cernerpradeep/repos","events_url":"https://api.github.com/users/cernerpradeep/events{/privacy}","received_events_url":"https://api.github.com/users/cernerpradeep/received_events","type":"User","site_admin":false},"body":"Hi Seth,\r\n\r\nI was not able to push to the branch that I created from opennms:opennms develop branch because of access. Since I this code needs to be reviewed, I am creating this PR. Once I get the access, I will create fresh PR. However request you to review the code.\r\n\r\nJIRA: http://issues.opennms.org/browse/HZN-742\r\nBamboo: ?","created_at":"2016-05-11T12:31:32Z","updated_at":"2016-05-31T08:39:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d6b3c13acb2bbe17be2f926d599c4fdb9814c949","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/OpenNMS/opennms/pulls/790/commits","review_comments_url":"https://api.github.com/repos/OpenNMS/opennms/pulls/790/comments","review_comment_url":"https://api.github.com/repos/OpenNMS/opennms/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OpenNMS/opennms/issues/790/comments","statuses_url":"https://api.github.com/repos/OpenNMS/opennms/statuses/7b1bedd06e2635471e81f9f156ef2d3b6d1a2c0f","head":{"label":"Delmonte3161:HZN-742","ref":"HZN-742","sha":"7b1bedd06e2635471e81f9f156ef2d3b6d1a2c0f","user":{"login":"Delmonte3161","id":12868277,"avatar_url":"https://avatars.githubusercontent.com/u/12868277?v=3","gravatar_id":"","url":"https://api.github.com/users/Delmonte3161","html_url":"https://github.com/Delmonte3161","followers_url":"https://api.github.com/users/Delmonte3161/followers","following_url":"https://api.github.com/users/Delmonte3161/following{/other_user}","gists_url":"https://api.github.com/users/Delmonte3161/gists{/gist_id}","starred_url":"https://api.github.com/users/Delmonte3161/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Delmonte3161/subscriptions","organizations_url":"https://api.github.com/users/Delmonte3161/orgs","repos_url":"https://api.github.com/users/Delmonte3161/repos","events_url":"https://api.github.com/users/Delmonte3161/events{/privacy}","received_events_url":"https://api.github.com/users/Delmonte3161/received_events","type":"User","site_admin":false},"repo":{"id":37873387,"name":"opennms","full_name":"Delmonte3161/opennms","owner":{"login":"Delmonte3161","id":12868277,"avatar_url":"https://avatars.githubusercontent.com/u/12868277?v=3","gravatar_id":"","url":"https://api.github.com/users/Delmonte3161","html_url":"https://github.com/Delmonte3161","followers_url":"https://api.github.com/users/Delmonte3161/followers","following_url":"https://api.github.com/users/Delmonte3161/following{/other_user}","gists_url":"https://api.github.com/users/Delmonte3161/gists{/gist_id}","starred_url":"https://api.github.com/users/Delmonte3161/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Delmonte3161/subscriptions","organizations_url":"https://api.github.com/users/Delmonte3161/orgs","repos_url":"https://api.github.com/users/Delmonte3161/repos","events_url":"https://api.github.com/users/Delmonte3161/events{/privacy}","received_events_url":"https://api.github.com/users/Delmonte3161/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Delmonte3161/opennms","description":"","fork":true,"url":"https://api.github.com/repos/Delmonte3161/opennms","forks_url":"https://api.github.com/repos/Delmonte3161/opennms/forks","keys_url":"https://api.github.com/repos/Delmonte3161/opennms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Delmonte3161/opennms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Delmonte3161/opennms/teams","hooks_url":"https://api.github.com/repos/Delmonte3161/opennms/hooks","issue_events_url":"https://api.github.com/repos/Delmonte3161/opennms/issues/events{/number}","events_url":"https://api.github.com/repos/Delmonte3161/opennms/events","assignees_url":"https://api.github.com/repos/Delmonte3161/opennms/assignees{/user}","branches_url":"https://api.github.com/repos/Delmonte3161/opennms/branches{/branch}","tags_url":"https://api.github.com/repos/Delmonte3161/opennms/tags","blobs_url":"https://api.github.com/repos/Delmonte3161/opennms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Delmonte3161/opennms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Delmonte3161/opennms/git/refs{/sha}","trees_url":"https://api.github.com/repos/Delmonte3161/opennms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Delmonte3161/opennms/statuses/{sha}","languages_url":"https://api.github.com/repos/Delmonte3161/opennms/languages","stargazers_url":"https://api.github.com/repos/Delmonte3161/opennms/stargazers","contributors_url":"https://api.github.com/repos/Delmonte3161/opennms/contributors","subscribers_url":"https://api.github.com/repos/Delmonte3161/opennms/subscribers","subscription_url":"https://api.github.com/repos/Delmonte3161/opennms/subscription","commits_url":"https://api.github.com/repos/Delmonte3161/opennms/commits{/sha}","git_commits_url":"https://api.github.com/repos/Delmonte3161/opennms/git/commits{/sha}","comments_url":"https://api.github.com/repos/Delmonte3161/opennms/comments{/number}","issue_comment_url":"https://api.github.com/repos/Delmonte3161/opennms/issues/comments{/number}","contents_url":"https://api.github.com/repos/Delmonte3161/opennms/contents/{+path}","compare_url":"https://api.github.com/repos/Delmonte3161/opennms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Delmonte3161/opennms/merges","archive_url":"https://api.github.com/repos/Delmonte3161/opennms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Delmonte3161/opennms/downloads","issues_url":"https://api.github.com/repos/Delmonte3161/opennms/issues{/number}","pulls_url":"https://api.github.com/repos/Delmonte3161/opennms/pulls{/number}","milestones_url":"https://api.github.com/repos/Delmonte3161/opennms/milestones{/number}","notifications_url":"https://api.github.com/repos/Delmonte3161/opennms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Delmonte3161/opennms/labels{/name}","releases_url":"https://api.github.com/repos/Delmonte3161/opennms/releases{/id}","deployments_url":"https://api.github.com/repos/Delmonte3161/opennms/deployments","created_at":"2015-06-22T18:33:07Z","updated_at":"2016-04-04T15:04:15Z","pushed_at":"2016-05-30T05:23:44Z","git_url":"git://github.com/Delmonte3161/opennms.git","ssh_url":"git@github.com:Delmonte3161/opennms.git","clone_url":"https://github.com/Delmonte3161/opennms.git","svn_url":"https://github.com/Delmonte3161/opennms","homepage":"http://www.opennms.org/","size":442252,"stargazers_count":2,"watchers_count":2,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":2,"default_branch":"develop"}},"base":{"label":"OpenNMS:develop","ref":"develop","sha":"ae263857d2961a5f141dbfd17f516b6b2c731642","user":{"login":"OpenNMS","id":2972482,"avatar_url":"https://avatars.githubusercontent.com/u/2972482?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenNMS","html_url":"https://github.com/OpenNMS","followers_url":"https://api.github.com/users/OpenNMS/followers","following_url":"https://api.github.com/users/OpenNMS/following{/other_user}","gists_url":"https://api.github.com/users/OpenNMS/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenNMS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenNMS/subscriptions","organizations_url":"https://api.github.com/users/OpenNMS/orgs","repos_url":"https://api.github.com/users/OpenNMS/repos","events_url":"https://api.github.com/users/OpenNMS/events{/privacy}","received_events_url":"https://api.github.com/users/OpenNMS/received_events","type":"Organization","site_admin":false},"repo":{"id":9377198,"name":"opennms","full_name":"OpenNMS/opennms","owner":{"login":"OpenNMS","id":2972482,"avatar_url":"https://avatars.githubusercontent.com/u/2972482?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenNMS","html_url":"https://github.com/OpenNMS","followers_url":"https://api.github.com/users/OpenNMS/followers","following_url":"https://api.github.com/users/OpenNMS/following{/other_user}","gists_url":"https://api.github.com/users/OpenNMS/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenNMS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenNMS/subscriptions","organizations_url":"https://api.github.com/users/OpenNMS/orgs","repos_url":"https://api.github.com/users/OpenNMS/repos","events_url":"https://api.github.com/users/OpenNMS/events{/privacy}","received_events_url":"https://api.github.com/users/OpenNMS/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OpenNMS/opennms","description":"Enterprise-Grade Open-Source Network Management Platform","fork":false,"url":"https://api.github.com/repos/OpenNMS/opennms","forks_url":"https://api.github.com/repos/OpenNMS/opennms/forks","keys_url":"https://api.github.com/repos/OpenNMS/opennms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OpenNMS/opennms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OpenNMS/opennms/teams","hooks_url":"https://api.github.com/repos/OpenNMS/opennms/hooks","issue_events_url":"https://api.github.com/repos/OpenNMS/opennms/issues/events{/number}","events_url":"https://api.github.com/repos/OpenNMS/opennms/events","assignees_url":"https://api.github.com/repos/OpenNMS/opennms/assignees{/user}","branches_url":"https://api.github.com/repos/OpenNMS/opennms/branches{/branch}","tags_url":"https://api.github.com/repos/OpenNMS/opennms/tags","blobs_url":"https://api.github.com/repos/OpenNMS/opennms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OpenNMS/opennms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OpenNMS/opennms/git/refs{/sha}","trees_url":"https://api.github.com/repos/OpenNMS/opennms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OpenNMS/opennms/statuses/{sha}","languages_url":"https://api.github.com/repos/OpenNMS/opennms/languages","stargazers_url":"https://api.github.com/repos/OpenNMS/opennms/stargazers","contributors_url":"https://api.github.com/repos/OpenNMS/opennms/contributors","subscribers_url":"https://api.github.com/repos/OpenNMS/opennms/subscribers","subscription_url":"https://api.github.com/repos/OpenNMS/opennms/subscription","commits_url":"https://api.github.com/repos/OpenNMS/opennms/commits{/sha}","git_commits_url":"https://api.github.com/repos/OpenNMS/opennms/git/commits{/sha}","comments_url":"https://api.github.com/repos/OpenNMS/opennms/comments{/number}","issue_comment_url":"https://api.github.com/repos/OpenNMS/opennms/issues/comments{/number}","contents_url":"https://api.github.com/repos/OpenNMS/opennms/contents/{+path}","compare_url":"https://api.github.com/repos/OpenNMS/opennms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OpenNMS/opennms/merges","archive_url":"https://api.github.com/repos/OpenNMS/opennms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OpenNMS/opennms/downloads","issues_url":"https://api.github.com/repos/OpenNMS/opennms/issues{/number}","pulls_url":"https://api.github.com/repos/OpenNMS/opennms/pulls{/number}","milestones_url":"https://api.github.com/repos/OpenNMS/opennms/milestones{/number}","notifications_url":"https://api.github.com/repos/OpenNMS/opennms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OpenNMS/opennms/labels{/name}","releases_url":"https://api.github.com/repos/OpenNMS/opennms/releases{/id}","deployments_url":"https://api.github.com/repos/OpenNMS/opennms/deployments","created_at":"2013-04-11T18:22:33Z","updated_at":"2016-05-26T13:22:02Z","pushed_at":"2016-05-30T08:25:23Z","git_url":"git://github.com/OpenNMS/opennms.git","ssh_url":"git@github.com:OpenNMS/opennms.git","clone_url":"https://github.com/OpenNMS/opennms.git","svn_url":"https://github.com/OpenNMS/opennms","homepage":"http://www.opennms.org/","size":691776,"stargazers_count":138,"watchers_count":138,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":263,"mirror_url":null,"open_issues_count":14,"forks":263,"open_issues":14,"watchers":138,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/OpenNMS/opennms/pulls/790"},"html":{"href":"https://github.com/OpenNMS/opennms/pull/790"},"issue":{"href":"https://api.github.com/repos/OpenNMS/opennms/issues/790"},"comments":{"href":"https://api.github.com/repos/OpenNMS/opennms/issues/790/comments"},"review_comments":{"href":"https://api.github.com/repos/OpenNMS/opennms/pulls/790/comments"},"review_comment":{"href":"https://api.github.com/repos/OpenNMS/opennms/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OpenNMS/opennms/pulls/790/commits"},"statuses":{"href":"https://api.github.com/repos/OpenNMS/opennms/statuses/7b1bedd06e2635471e81f9f156ef2d3b6d1a2c0f"}}}}
{"actor":{"display_login":"soleger"}}