{"action":"created","comment":{"url":"https://api.github.com/repos/cloudify-cosmo/cloudify-amqp-influxdb/pulls/comments/40791379","id":40791379,"diff_hunk":"@@ -44,6 +45,24 @@ def __init__(self,\n \n         connection_parameters = connection_parameters or {}\n \n+        if isinstance(connection_parameters.get('credentials'), dict):","path":"amqp_influxdb/__init__.py","position":12,"original_position":12,"commit_id":"b5cdd985c6719e8c9b1a1f3663f0317a0d986f60","original_commit_id":"b5cdd985c6719e8c9b1a1f3663f0317a0d986f60","user":{"login":"nir0s","id":2003076,"avatar_url":"https://avatars.githubusercontent.com/u/2003076?v=3","gravatar_id":"","url":"https://api.github.com/users/nir0s","html_url":"https://github.com/nir0s","followers_url":"https://api.github.com/users/nir0s/followers","following_url":"https://api.github.com/users/nir0s/following{/other_user}","gists_url":"https://api.github.com/users/nir0s/gists{/gist_id}","starred_url":"https://api.github.com/users/nir0s/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nir0s/subscriptions","organizations_url":"https://api.github.com/users/nir0s/orgs","repos_url":"https://api.github.com/users/nir0s/repos","events_url":"https://api.github.com/users/nir0s/events{/privacy}","received_events_url":"https://api.github.com/users/nir0s/received_events","type":"User","site_admin":false},"body":"The user should be able to supply a user and password for Rabbit in the manager blueprint's inputs file (and those inputs default to a preset rabbitmq user and pass).","created_at":"2015-09-30T13:17:13Z","updated_at":"2015-09-30T13:17:13Z","html_url":"https://github.com/cloudify-cosmo/cloudify-amqp-influxdb/pull/12#discussion_r40791379","pull_request_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-amqp-influxdb/pulls/12","_links":{"self":{"href":"https://api.github.com/repos/cloudify-cosmo/cloudify-amqp-influxdb/pulls/comments/40791379"},"html":{"href":"https://github.com/cloudify-cosmo/cloudify-amqp-influxdb/pull/12#discussion_r40791379"},"pull_request":{"href":"https://api.github.com/repos/cloudify-cosmo/cloudify-amqp-influxdb/pulls/12"}}},"pull_request":{"url":"https://api.github.com/repos/cloudify-cosmo/cloudify-amqp-influxdb/pulls/12","id":46259249,"html_url":"https://github.com/cloudify-cosmo/cloudify-amqp-influxdb/pull/12","diff_url":"https://github.com/cloudify-cosmo/cloudify-amqp-influxdb/pull/12.diff","patch_url":"https://github.com/cloudify-cosmo/cloudify-amqp-influxdb/pull/12.patch","issue_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-amqp-influxdb/issues/12","number":12,"state":"open","locked":false,"title":"Cfy 3224 support rabbitmq security","user":{"login":"geokala","id":8859114,"avatar_url":"https://avatars.githubusercontent.com/u/8859114?v=3","gravatar_id":"","url":"https://api.github.com/users/geokala","html_url":"https://github.com/geokala","followers_url":"https://api.github.com/users/geokala/followers","following_url":"https://api.github.com/users/geokala/following{/other_user}","gists_url":"https://api.github.com/users/geokala/gists{/gist_id}","starred_url":"https://api.github.com/users/geokala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geokala/subscriptions","organizations_url":"https://api.github.com/users/geokala/orgs","repos_url":"https://api.github.com/users/geokala/repos","events_url":"https://api.github.com/users/geokala/events{/privacy}","received_events_url":"https://api.github.com/users/geokala/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-09-29T10:20:00Z","updated_at":"2015-09-30T13:17:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a2bfc302b12723031f9f2b0f7aab954a41b4e34e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-amqp-influxdb/pulls/12/commits","review_comments_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-amqp-influxdb/pulls/12/comments","review_comment_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-amqp-influxdb/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-amqp-influxdb/issues/12/comments","statuses_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-amqp-influxdb/statuses/b5cdd985c6719e8c9b1a1f3663f0317a0d986f60","head":{"label":"geokala:CFY-3224-Support-rabbitmq-security","ref":"CFY-3224-Support-rabbitmq-security","sha":"b5cdd985c6719e8c9b1a1f3663f0317a0d986f60","user":{"login":"geokala","id":8859114,"avatar_url":"https://avatars.githubusercontent.com/u/8859114?v=3","gravatar_id":"","url":"https://api.github.com/users/geokala","html_url":"https://github.com/geokala","followers_url":"https://api.github.com/users/geokala/followers","following_url":"https://api.github.com/users/geokala/following{/other_user}","gists_url":"https://api.github.com/users/geokala/gists{/gist_id}","starred_url":"https://api.github.com/users/geokala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geokala/subscriptions","organizations_url":"https://api.github.com/users/geokala/orgs","repos_url":"https://api.github.com/users/geokala/repos","events_url":"https://api.github.com/users/geokala/events{/privacy}","received_events_url":"https://api.github.com/users/geokala/received_events","type":"User","site_admin":false},"repo":{"id":40003029,"name":"cloudify-amqp-influxdb","full_name":"geokala/cloudify-amqp-influxdb","owner":{"login":"geokala","id":8859114,"avatar_url":"https://avatars.githubusercontent.com/u/8859114?v=3","gravatar_id":"","url":"https://api.github.com/users/geokala","html_url":"https://github.com/geokala","followers_url":"https://api.github.com/users/geokala/followers","following_url":"https://api.github.com/users/geokala/following{/other_user}","gists_url":"https://api.github.com/users/geokala/gists{/gist_id}","starred_url":"https://api.github.com/users/geokala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geokala/subscriptions","organizations_url":"https://api.github.com/users/geokala/orgs","repos_url":"https://api.github.com/users/geokala/repos","events_url":"https://api.github.com/users/geokala/events{/privacy}","received_events_url":"https://api.github.com/users/geokala/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/geokala/cloudify-amqp-influxdb","description":"A Cloudify specific transport to consume events from RMQ and push them to InfluxDB","fork":true,"url":"https://api.github.com/repos/geokala/cloudify-amqp-influxdb","forks_url":"https://api.github.com/repos/geokala/cloudify-amqp-influxdb/forks","keys_url":"https://api.github.com/repos/geokala/cloudify-amqp-influxdb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/geokala/cloudify-amqp-influxdb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/geokala/cloudify-amqp-influxdb/teams","hooks_url":"https://api.github.com/repos/geokala/cloudify-amqp-influxdb/hooks","issue_events_url":"https://api.github.com/repos/geokala/cloudify-amqp-influxdb/issues/events{/number}","events_url":"https://api.github.com/repos/geokala/cloudify-amqp-influxdb/events","assignees_url":"https://api.github.com/repos/geokala/cloudify-amqp-influxdb/assignees{/user}","branches_url":"https://api.github.com/repos/geokala/cloudify-amqp-influxdb/branches{/branch}","tags_url":"https://api.github.com/repos/geokala/cloudify-amqp-influxdb/tags","blobs_url":"https://api.github.com/repos/geokala/cloudify-amqp-influxdb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/geokala/cloudify-amqp-influxdb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/geokala/cloudify-amqp-influxdb/git/refs{/sha}","trees_url":"https://api.github.com/repos/geokala/cloudify-amqp-influxdb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/geokala/cloudify-amqp-influxdb/statuses/{sha}","languages_url":"https://api.github.com/repos/geokala/cloudify-amqp-influxdb/languages","stargazers_url":"https://api.github.com/repos/geokala/cloudify-amqp-influxdb/stargazers","contributors_url":"https://api.github.com/repos/geokala/cloudify-amqp-influxdb/contributors","subscribers_url":"https://api.github.com/repos/geokala/cloudify-amqp-influxdb/subscribers","subscription_url":"https://api.github.com/repos/geokala/cloudify-amqp-influxdb/subscription","commits_url":"https://api.github.com/repos/geokala/cloudify-amqp-influxdb/commits{/sha}","git_commits_url":"https://api.github.com/repos/geokala/cloudify-amqp-influxdb/git/commits{/sha}","comments_url":"https://api.github.com/repos/geokala/cloudify-amqp-influxdb/comments{/number}","issue_comment_url":"https://api.github.com/repos/geokala/cloudify-amqp-influxdb/issues/comments{/number}","contents_url":"https://api.github.com/repos/geokala/cloudify-amqp-influxdb/contents/{+path}","compare_url":"https://api.github.com/repos/geokala/cloudify-amqp-influxdb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/geokala/cloudify-amqp-influxdb/merges","archive_url":"https://api.github.com/repos/geokala/cloudify-amqp-influxdb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/geokala/cloudify-amqp-influxdb/downloads","issues_url":"https://api.github.com/repos/geokala/cloudify-amqp-influxdb/issues{/number}","pulls_url":"https://api.github.com/repos/geokala/cloudify-amqp-influxdb/pulls{/number}","milestones_url":"https://api.github.com/repos/geokala/cloudify-amqp-influxdb/milestones{/number}","notifications_url":"https://api.github.com/repos/geokala/cloudify-amqp-influxdb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/geokala/cloudify-amqp-influxdb/labels{/name}","releases_url":"https://api.github.com/repos/geokala/cloudify-amqp-influxdb/releases{/id}","created_at":"2015-07-31T11:50:46Z","updated_at":"2015-07-31T11:50:47Z","pushed_at":"2015-09-29T10:17:58Z","git_url":"git://github.com/geokala/cloudify-amqp-influxdb.git","ssh_url":"git@github.com:geokala/cloudify-amqp-influxdb.git","clone_url":"https://github.com/geokala/cloudify-amqp-influxdb.git","svn_url":"https://github.com/geokala/cloudify-amqp-influxdb","homepage":null,"size":152,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"cloudify-cosmo:master","ref":"master","sha":"48ae674de867ce745780ea7c7cb6c1a146f5ac45","user":{"login":"cloudify-cosmo","id":6260555,"avatar_url":"https://avatars.githubusercontent.com/u/6260555?v=3","gravatar_id":"","url":"https://api.github.com/users/cloudify-cosmo","html_url":"https://github.com/cloudify-cosmo","followers_url":"https://api.github.com/users/cloudify-cosmo/followers","following_url":"https://api.github.com/users/cloudify-cosmo/following{/other_user}","gists_url":"https://api.github.com/users/cloudify-cosmo/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudify-cosmo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudify-cosmo/subscriptions","organizations_url":"https://api.github.com/users/cloudify-cosmo/orgs","repos_url":"https://api.github.com/users/cloudify-cosmo/repos","events_url":"https://api.github.com/users/cloudify-cosmo/events{/privacy}","received_events_url":"https://api.github.com/users/cloudify-cosmo/received_events","type":"Organization","site_admin":false},"repo":{"id":24059140,"name":"cloudify-amqp-influxdb","full_name":"cloudify-cosmo/cloudify-amqp-influxdb","owner":{"login":"cloudify-cosmo","id":6260555,"avatar_url":"https://avatars.githubusercontent.com/u/6260555?v=3","gravatar_id":"","url":"https://api.github.com/users/cloudify-cosmo","html_url":"https://github.com/cloudify-cosmo","followers_url":"https://api.github.com/users/cloudify-cosmo/followers","following_url":"https://api.github.com/users/cloudify-cosmo/following{/other_user}","gists_url":"https://api.github.com/users/cloudify-cosmo/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudify-cosmo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudify-cosmo/subscriptions","organizations_url":"https://api.github.com/users/cloudify-cosmo/orgs","repos_url":"https://api.github.com/users/cloudify-cosmo/repos","events_url":"https://api.github.com/users/cloudify-cosmo/events{/privacy}","received_events_url":"https://api.github.com/users/cloudify-cosmo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cloudify-cosmo/cloudify-amqp-influxdb","description":"A Cloudify specific transport to consume events from RMQ and push them to InfluxDB","fork":false,"url":"https://api.github.com/repos/cloudify-cosmo/cloudify-amqp-influxdb","forks_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-amqp-influxdb/forks","keys_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-amqp-influxdb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-amqp-influxdb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-amqp-influxdb/teams","hooks_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-amqp-influxdb/hooks","issue_events_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-amqp-influxdb/issues/events{/number}","events_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-amqp-influxdb/events","assignees_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-amqp-influxdb/assignees{/user}","branches_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-amqp-influxdb/branches{/branch}","tags_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-amqp-influxdb/tags","blobs_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-amqp-influxdb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-amqp-influxdb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-amqp-influxdb/git/refs{/sha}","trees_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-amqp-influxdb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-amqp-influxdb/statuses/{sha}","languages_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-amqp-influxdb/languages","stargazers_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-amqp-influxdb/stargazers","contributors_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-amqp-influxdb/contributors","subscribers_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-amqp-influxdb/subscribers","subscription_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-amqp-influxdb/subscription","commits_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-amqp-influxdb/commits{/sha}","git_commits_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-amqp-influxdb/git/commits{/sha}","comments_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-amqp-influxdb/comments{/number}","issue_comment_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-amqp-influxdb/issues/comments{/number}","contents_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-amqp-influxdb/contents/{+path}","compare_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-amqp-influxdb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-amqp-influxdb/merges","archive_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-amqp-influxdb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-amqp-influxdb/downloads","issues_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-amqp-influxdb/issues{/number}","pulls_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-amqp-influxdb/pulls{/number}","milestones_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-amqp-influxdb/milestones{/number}","notifications_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-amqp-influxdb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-amqp-influxdb/labels{/name}","releases_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-amqp-influxdb/releases{/id}","created_at":"2014-09-15T14:18:06Z","updated_at":"2015-05-06T18:36:07Z","pushed_at":"2015-09-30T12:52:07Z","git_url":"git://github.com/cloudify-cosmo/cloudify-amqp-influxdb.git","ssh_url":"git@github.com:cloudify-cosmo/cloudify-amqp-influxdb.git","clone_url":"https://github.com/cloudify-cosmo/cloudify-amqp-influxdb.git","svn_url":"https://github.com/cloudify-cosmo/cloudify-amqp-influxdb","homepage":null,"size":2357,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":1,"forks":3,"open_issues":1,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cloudify-cosmo/cloudify-amqp-influxdb/pulls/12"},"html":{"href":"https://github.com/cloudify-cosmo/cloudify-amqp-influxdb/pull/12"},"issue":{"href":"https://api.github.com/repos/cloudify-cosmo/cloudify-amqp-influxdb/issues/12"},"comments":{"href":"https://api.github.com/repos/cloudify-cosmo/cloudify-amqp-influxdb/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/cloudify-cosmo/cloudify-amqp-influxdb/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/cloudify-cosmo/cloudify-amqp-influxdb/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cloudify-cosmo/cloudify-amqp-influxdb/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/cloudify-cosmo/cloudify-amqp-influxdb/statuses/b5cdd985c6719e8c9b1a1f3663f0317a0d986f60"}}}}