{"action":"created","comment":{"url":"https://api.github.com/repos/telefonicaid/fiware-sdc/pulls/comments/23782355","id":23782355,"diff_hunk":"@@ -137,35 +141,39 @@ public void setup() throws ClientProtocolException, IOException, OpenStackExcept\n         puppetInstallator = new InstallatorPuppetImpl();\n         puppetInstallator.setClient(client);\n         puppetInstallator.setOpenStackRegion(openStackRegion);\n+        puppetInstallator.setHttpsClient(httpsClient);\n         when(openStackRegion.getPuppetWrapperEndPoint(\"token\")).thenReturn(\"http://\");\n \n     }\n \n     @Test\n-    public void testGenerateFilesinPuppetMaster() throws InstallatorException, NodeExecutionException {\n+    public void testGenerateFilesinPuppetMaster() throws InstallatorException, NodeExecutionException, KeyManagementException, NoSuchAlgorithmException, IOException {\n \n         when(statusLine.getStatusCode()).thenReturn(200);\n+        when(httpsClient.doHttpsPost(Mockito.anyString(), Mockito.anyString(),(Map<String,String>)Mockito.anyObject())).thenReturn(200);\n+        when(httpsClient.doHttpsGet(Mockito.anyString(), Mockito.anyString(),(Map<String,String>)Mockito.anyObject())).thenReturn(200);\n         puppetInstallator.generateFilesinPuppetMaster(host, \"test\", productRelease, \"install\", \"token\");\n     }\n \n-    public void testCallService_all_OK() throws InstallatorException, NodeExecutionException {\n+    public void testCallService_all_OK() throws InstallatorException, NodeExecutionException, KeyManagementException, NoSuchAlgorithmException {\n \n         when(statusLine.getStatusCode()).thenReturn(200);\n         puppetInstallator.callService(host, \"test\", productRelease, \"install\", \"token\");\n     }\n \n     @Test(expected = InstallatorException.class)\n-    public void testCallService_FAIL() throws InstallatorException, NodeExecutionException, OpenStackException {\n+    public void testCallService_FAIL() throws Exception {\n \n-        when(statusLine.getStatusCode()).thenReturn(500);\n+        when(httpsClient.doHttpsPost(Mockito.anyString(), Mockito.anyString(),(Map<String,String>)Mockito.anyObject())).thenReturn(500);\n         puppetInstallator.generateFilesinPuppetMaster(host, \"test\", productRelease, \"install\", \"token\");\n         puppetInstallator.callService(host, \"test\", productRelease, \"install\", \"token\");\n     }\n \n     @Test(expected = InstallatorException.class)\n-    public void testCallService_1_OK_1_FAIL() throws InstallatorException, NodeExecutionException {\n+    public void testCallService_1_OK_1_FAIL() throws InstallatorException, NodeExecutionException, KeyManagementException, NoSuchAlgorithmException, IOException {","path":"core/src/test/java/com/telefonica/euro_iaas/sdc/installator/InstallatorPuppetTest.java","position":99,"original_position":99,"commit_id":"705e7179366f58d037999f2e70aaa85e8a655f02","original_commit_id":"705e7179366f58d037999f2e70aaa85e8a655f02","user":{"login":"flopezag","id":1379796,"avatar_url":"https://avatars.githubusercontent.com/u/1379796?v=3","gravatar_id":"","url":"https://api.github.com/users/flopezag","html_url":"https://github.com/flopezag","followers_url":"https://api.github.com/users/flopezag/followers","following_url":"https://api.github.com/users/flopezag/following{/other_user}","gists_url":"https://api.github.com/users/flopezag/gists{/gist_id}","starred_url":"https://api.github.com/users/flopezag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flopezag/subscriptions","organizations_url":"https://api.github.com/users/flopezag/orgs","repos_url":"https://api.github.com/users/flopezag/repos","events_url":"https://api.github.com/users/flopezag/events{/privacy}","received_events_url":"https://api.github.com/users/flopezag/received_events","type":"User","site_admin":false},"body":"gt 120","created_at":"2015-01-29T16:53:23Z","updated_at":"2015-01-29T16:53:23Z","html_url":"https://github.com/telefonicaid/fiware-sdc/pull/148#discussion_r23782355","pull_request_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/pulls/148","_links":{"self":{"href":"https://api.github.com/repos/telefonicaid/fiware-sdc/pulls/comments/23782355"},"html":{"href":"https://github.com/telefonicaid/fiware-sdc/pull/148#discussion_r23782355"},"pull_request":{"href":"https://api.github.com/repos/telefonicaid/fiware-sdc/pulls/148"}}},"pull_request":{"url":"https://api.github.com/repos/telefonicaid/fiware-sdc/pulls/148","id":28283237,"html_url":"https://github.com/telefonicaid/fiware-sdc/pull/148","diff_url":"https://github.com/telefonicaid/fiware-sdc/pull/148.diff","patch_url":"https://github.com/telefonicaid/fiware-sdc/pull/148.patch","issue_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/issues/148","number":148,"state":"open","locked":false,"title":"add https support for wrapper integration","user":{"login":"alberts-tid","id":7240467,"avatar_url":"https://avatars.githubusercontent.com/u/7240467?v=3","gravatar_id":"","url":"https://api.github.com/users/alberts-tid","html_url":"https://github.com/alberts-tid","followers_url":"https://api.github.com/users/alberts-tid/followers","following_url":"https://api.github.com/users/alberts-tid/following{/other_user}","gists_url":"https://api.github.com/users/alberts-tid/gists{/gist_id}","starred_url":"https://api.github.com/users/alberts-tid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alberts-tid/subscriptions","organizations_url":"https://api.github.com/users/alberts-tid/orgs","repos_url":"https://api.github.com/users/alberts-tid/repos","events_url":"https://api.github.com/users/alberts-tid/events{/privacy}","received_events_url":"https://api.github.com/users/alberts-tid/received_events","type":"User","site_admin":false},"body":"add Https suppport for wrapper integration\r\n\r\n@flopezag @jframos  ","created_at":"2015-01-29T14:40:03Z","updated_at":"2015-01-29T16:53:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"50e7fb51728fad60397f505e2d45115ad1d768ca","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/pulls/148/commits","review_comments_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/pulls/148/comments","review_comment_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/pulls/comments/{number}","comments_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/issues/148/comments","statuses_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/statuses/705e7179366f58d037999f2e70aaa85e8a655f02","head":{"label":"alberts-tid:bug/CLAUDIA-4503","ref":"bug/CLAUDIA-4503","sha":"705e7179366f58d037999f2e70aaa85e8a655f02","user":{"login":"alberts-tid","id":7240467,"avatar_url":"https://avatars.githubusercontent.com/u/7240467?v=3","gravatar_id":"","url":"https://api.github.com/users/alberts-tid","html_url":"https://github.com/alberts-tid","followers_url":"https://api.github.com/users/alberts-tid/followers","following_url":"https://api.github.com/users/alberts-tid/following{/other_user}","gists_url":"https://api.github.com/users/alberts-tid/gists{/gist_id}","starred_url":"https://api.github.com/users/alberts-tid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alberts-tid/subscriptions","organizations_url":"https://api.github.com/users/alberts-tid/orgs","repos_url":"https://api.github.com/users/alberts-tid/repos","events_url":"https://api.github.com/users/alberts-tid/events{/privacy}","received_events_url":"https://api.github.com/users/alberts-tid/received_events","type":"User","site_admin":false},"repo":{"id":18602813,"name":"fiware-sdc","full_name":"alberts-tid/fiware-sdc","owner":{"login":"alberts-tid","id":7240467,"avatar_url":"https://avatars.githubusercontent.com/u/7240467?v=3","gravatar_id":"","url":"https://api.github.com/users/alberts-tid","html_url":"https://github.com/alberts-tid","followers_url":"https://api.github.com/users/alberts-tid/followers","following_url":"https://api.github.com/users/alberts-tid/following{/other_user}","gists_url":"https://api.github.com/users/alberts-tid/gists{/gist_id}","starred_url":"https://api.github.com/users/alberts-tid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alberts-tid/subscriptions","organizations_url":"https://api.github.com/users/alberts-tid/orgs","repos_url":"https://api.github.com/users/alberts-tid/repos","events_url":"https://api.github.com/users/alberts-tid/events{/privacy}","received_events_url":"https://api.github.com/users/alberts-tid/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/alberts-tid/fiware-sdc","description":"Software Deployment and Configuration for Fiware","fork":true,"url":"https://api.github.com/repos/alberts-tid/fiware-sdc","forks_url":"https://api.github.com/repos/alberts-tid/fiware-sdc/forks","keys_url":"https://api.github.com/repos/alberts-tid/fiware-sdc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alberts-tid/fiware-sdc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alberts-tid/fiware-sdc/teams","hooks_url":"https://api.github.com/repos/alberts-tid/fiware-sdc/hooks","issue_events_url":"https://api.github.com/repos/alberts-tid/fiware-sdc/issues/events{/number}","events_url":"https://api.github.com/repos/alberts-tid/fiware-sdc/events","assignees_url":"https://api.github.com/repos/alberts-tid/fiware-sdc/assignees{/user}","branches_url":"https://api.github.com/repos/alberts-tid/fiware-sdc/branches{/branch}","tags_url":"https://api.github.com/repos/alberts-tid/fiware-sdc/tags","blobs_url":"https://api.github.com/repos/alberts-tid/fiware-sdc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alberts-tid/fiware-sdc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alberts-tid/fiware-sdc/git/refs{/sha}","trees_url":"https://api.github.com/repos/alberts-tid/fiware-sdc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alberts-tid/fiware-sdc/statuses/{sha}","languages_url":"https://api.github.com/repos/alberts-tid/fiware-sdc/languages","stargazers_url":"https://api.github.com/repos/alberts-tid/fiware-sdc/stargazers","contributors_url":"https://api.github.com/repos/alberts-tid/fiware-sdc/contributors","subscribers_url":"https://api.github.com/repos/alberts-tid/fiware-sdc/subscribers","subscription_url":"https://api.github.com/repos/alberts-tid/fiware-sdc/subscription","commits_url":"https://api.github.com/repos/alberts-tid/fiware-sdc/commits{/sha}","git_commits_url":"https://api.github.com/repos/alberts-tid/fiware-sdc/git/commits{/sha}","comments_url":"https://api.github.com/repos/alberts-tid/fiware-sdc/comments{/number}","issue_comment_url":"https://api.github.com/repos/alberts-tid/fiware-sdc/issues/comments/{number}","contents_url":"https://api.github.com/repos/alberts-tid/fiware-sdc/contents/{+path}","compare_url":"https://api.github.com/repos/alberts-tid/fiware-sdc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alberts-tid/fiware-sdc/merges","archive_url":"https://api.github.com/repos/alberts-tid/fiware-sdc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alberts-tid/fiware-sdc/downloads","issues_url":"https://api.github.com/repos/alberts-tid/fiware-sdc/issues{/number}","pulls_url":"https://api.github.com/repos/alberts-tid/fiware-sdc/pulls{/number}","milestones_url":"https://api.github.com/repos/alberts-tid/fiware-sdc/milestones{/number}","notifications_url":"https://api.github.com/repos/alberts-tid/fiware-sdc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alberts-tid/fiware-sdc/labels{/name}","releases_url":"https://api.github.com/repos/alberts-tid/fiware-sdc/releases{/id}","created_at":"2014-04-09T15:39:50Z","updated_at":"2014-07-17T09:24:41Z","pushed_at":"2015-01-29T14:38:07Z","git_url":"git://github.com/alberts-tid/fiware-sdc.git","ssh_url":"git@github.com:alberts-tid/fiware-sdc.git","clone_url":"https://github.com/alberts-tid/fiware-sdc.git","svn_url":"https://github.com/alberts-tid/fiware-sdc","homepage":null,"size":34462,"stargazers_count":0,"watchers_count":0,"language":"Java","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":"telefonicaid:develop","ref":"develop","sha":"00827d3a1fad5a107df5d5bf799b86b4478a7586","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":18564172,"name":"fiware-sdc","full_name":"telefonicaid/fiware-sdc","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/fiware-sdc","description":"Software Deployment and Configuration for Fiware","fork":false,"url":"https://api.github.com/repos/telefonicaid/fiware-sdc","forks_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/forks","keys_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/teams","hooks_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/hooks","issue_events_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/issues/events{/number}","events_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/events","assignees_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/assignees{/user}","branches_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/branches{/branch}","tags_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/tags","blobs_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/git/refs{/sha}","trees_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/statuses/{sha}","languages_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/languages","stargazers_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/stargazers","contributors_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/contributors","subscribers_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/subscribers","subscription_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/subscription","commits_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/commits{/sha}","git_commits_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/git/commits{/sha}","comments_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/comments{/number}","issue_comment_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/issues/comments/{number}","contents_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/contents/{+path}","compare_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/merges","archive_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/downloads","issues_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/issues{/number}","pulls_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/pulls{/number}","milestones_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/milestones{/number}","notifications_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/labels{/name}","releases_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/releases{/id}","created_at":"2014-04-08T15:44:41Z","updated_at":"2014-12-04T11:30:24Z","pushed_at":"2015-01-29T11:36:01Z","git_url":"git://github.com/telefonicaid/fiware-sdc.git","ssh_url":"git@github.com:telefonicaid/fiware-sdc.git","clone_url":"https://github.com/telefonicaid/fiware-sdc.git","svn_url":"https://github.com/telefonicaid/fiware-sdc","homepage":null,"size":35835,"stargazers_count":2,"watchers_count":2,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":24,"forks":10,"open_issues":24,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/telefonicaid/fiware-sdc/pulls/148"},"html":{"href":"https://github.com/telefonicaid/fiware-sdc/pull/148"},"issue":{"href":"https://api.github.com/repos/telefonicaid/fiware-sdc/issues/148"},"comments":{"href":"https://api.github.com/repos/telefonicaid/fiware-sdc/issues/148/comments"},"review_comments":{"href":"https://api.github.com/repos/telefonicaid/fiware-sdc/pulls/148/comments"},"review_comment":{"href":"https://api.github.com/repos/telefonicaid/fiware-sdc/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/telefonicaid/fiware-sdc/pulls/148/commits"},"statuses":{"href":"https://api.github.com/repos/telefonicaid/fiware-sdc/statuses/705e7179366f58d037999f2e70aaa85e8a655f02"}}}}