{"action":"created","comment":{"url":"https://api.github.com/repos/MicroFocus/octane-eclipse-plugin/pulls/comments/183380319","pull_request_review_id":114354760,"id":183380319,"diff_hunk":"@@ -1,69 +1,160 @@\n-/*******************************************************************************\r\n- * © 2017 EntIT Software LLC, a Micro Focus company, L.P.\r\n- * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n- * you may not use this file except in compliance with the License.\r\n- * You may obtain a copy of the License at\r\n- *   http://www.apache.org/licenses/LICENSE-2.0\r\n- * Unless required by applicable law or agreed to in writing, software\r\n- * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n- * See the License for the specific language governing permissions and\r\n- * limitations under the License.\r\n- ******************************************************************************/\r\n-package com.hpe.octane.ideplugins.eclipse.ui.entitydetail.field;\r\n-\r\n-import org.eclipse.swt.SWT;\r\n-import org.eclipse.swt.browser.Browser;\r\n-import org.eclipse.swt.graphics.Color;\r\n-import org.eclipse.swt.layout.FillLayout;\r\n-import org.eclipse.swt.widgets.Composite;\r\n-\r\n-import com.hpe.adm.nga.sdk.model.EntityModel;\r\n-import com.hpe.adm.octane.ideplugins.services.util.Util;\r\n-import com.hpe.octane.ideplugins.eclipse.ui.entitydetail.model.EntityModelWrapper;\r\n-import com.hpe.octane.ideplugins.eclipse.ui.util.LinkInterceptListener;\r\n-import com.hpe.octane.ideplugins.eclipse.ui.util.PropagateScrollBrowserFactory;\r\n-import com.hpe.octane.ideplugins.eclipse.ui.util.StackLayoutComposite;\r\n-import com.hpe.octane.ideplugins.eclipse.ui.util.resource.PlatformResourcesManager;\r\n-import com.hpe.octane.ideplugins.eclipse.util.EntityFieldsConstants;\r\n-\r\n-public class DescriptionComposite extends Composite {\r\n-\r\n-    private PropagateScrollBrowserFactory factory = new PropagateScrollBrowserFactory();\r\n-    private Color foregroundColor = PlatformResourcesManager.getPlatformForegroundColor();\r\n-    private Color backgroundColor = PlatformResourcesManager.getPlatformBackgroundColor();\r\n-    private Browser browserDescHtml;\r\n-\r\n-    public DescriptionComposite(Composite parent, int style) {\r\n-        super(parent, style);\r\n-        setLayout(new FillLayout(SWT.HORIZONTAL));\r\n-        StackLayoutComposite stackLayoutComposite = new StackLayoutComposite(this, SWT.NONE);\r\n-        browserDescHtml = factory.createBrowser(stackLayoutComposite, SWT.NONE);\r\n-        browserDescHtml.addLocationListener(new LinkInterceptListener());\r\n-        stackLayoutComposite.showControl(browserDescHtml);\r\n-    }\r\n-\r\n-    public void setEntityModel(EntityModelWrapper entityModelWrapper) {\r\n-        browserDescHtml.setText(getBrowserText(entityModelWrapper.getReadOnlyEntityModel()));\r\n-    }\r\n-\r\n-    private String getBrowserText(EntityModel entityModel) {\r\n-        String descriptionText = \"<html><body bgcolor =\" + getRgbString(backgroundColor) + \">\" + \"<font color =\"\r\n-                + getRgbString(foregroundColor) + \">\"\r\n-                + Util.getUiDataFromModel(entityModel.getValue(EntityFieldsConstants.FIELD_DESCRIPTION))\r\n-                + \"</font></body></html>\";\r\n-        if (descriptionText.equals(\"<html><body bgcolor =\" + getRgbString(backgroundColor) + \">\" + \"<font color =\"\r\n-                + getRgbString(foregroundColor) + \">\" + \"</font></body></html>\")) {\r\n-\r\n-            return \"<html><body bgcolor =\" + getRgbString(backgroundColor) + \">\" + \"<font color =\"\r\n-                    + getRgbString(foregroundColor) + \">\" + \"No description\" + \"</font></body></html>\";\r\n-        } else {\r\n-            return descriptionText;\r\n-        }\r\n-    }\r\n-\r\n-    private static String getRgbString(Color color) {\r\n-        return \"rgb(\" + color.getRed() + \",\" + color.getGreen() + \",\" + color.getBlue() + \")\";\r\n-    }\r\n-\r\n-}\r\n+/*******************************************************************************\n+ * © 2017 EntIT Software LLC, a Micro Focus company, L.P.\n+ * Licensed under the Apache License, Version 2.0 (the \"License\");\n+ * you may not use this file except in compliance with the License.\n+ * You may obtain a copy of the License at\n+ *   http://www.apache.org/licenses/LICENSE-2.0\n+ * Unless required by applicable law or agreed to in writing, software\n+ * distributed under the License is distributed on an \"AS IS\" BASIS,\n+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+ * See the License for the specific language governing permissions and\n+ * limitations under the License.\n+ ******************************************************************************/\n+package com.hpe.octane.ideplugins.eclipse.ui.entitydetail.field;\n+\n+import java.io.File;\n+import java.io.FileOutputStream;\n+import java.io.IOException;\n+import java.io.InputStream;\n+import java.io.OutputStream;\n+\n+import org.eclipse.swt.SWT;\n+import org.eclipse.swt.browser.Browser;\n+import org.eclipse.swt.graphics.Color;\n+import org.eclipse.swt.layout.FillLayout;\n+import org.eclipse.swt.widgets.Composite;\n+import org.jsoup.Jsoup;\n+import org.jsoup.nodes.Document;\n+import org.jsoup.nodes.Element;\n+import org.jsoup.select.Elements;\n+\n+import com.google.api.client.http.HttpResponse;\n+import com.google.api.client.util.IOUtils;\n+import com.hpe.adm.nga.sdk.authentication.SimpleUserAuthentication;\n+import com.hpe.adm.nga.sdk.model.EntityModel;\n+import com.hpe.adm.octane.ideplugins.services.util.Util;\n+import com.hpe.octane.ideplugins.eclipse.Activator;\n+import com.hpe.octane.ideplugins.eclipse.ui.entitydetail.model.EntityModelWrapper;\n+import com.hpe.octane.ideplugins.eclipse.ui.util.ClientLoginCookie;\n+import com.hpe.octane.ideplugins.eclipse.ui.util.LinkInterceptListener;\n+import com.hpe.octane.ideplugins.eclipse.ui.util.PropagateScrollBrowserFactory;\n+import com.hpe.octane.ideplugins.eclipse.ui.util.StackLayoutComposite;\n+import com.hpe.octane.ideplugins.eclipse.ui.util.resource.PlatformResourcesManager;\n+import com.hpe.octane.ideplugins.eclipse.util.EntityFieldsConstants;\n+\n+public class DescriptionComposite extends Composite {\n+\n+    private PropagateScrollBrowserFactory factory = new PropagateScrollBrowserFactory();\n+    private Color foregroundColor = PlatformResourcesManager.getPlatformForegroundColor();\n+    private Color backgroundColor = PlatformResourcesManager.getPlatformBackgroundColor();\n+    private Browser browserDescHtml;\n+    private File octanePhotosDir;\n+\n+    public DescriptionComposite(Composite parent, int style) {\n+        super(parent, style);\n+        setLayout(new FillLayout(SWT.HORIZONTAL));\n+        StackLayoutComposite stackLayoutComposite = new StackLayoutComposite(this, SWT.NONE);\n+        browserDescHtml = factory.createBrowser(stackLayoutComposite, SWT.NONE);\n+        browserDescHtml.addLocationListener(new LinkInterceptListener());\n+        stackLayoutComposite.showControl(browserDescHtml);\n+    }\n+\n+    public void setEntityModel(EntityModelWrapper entityModelWrapper) {\n+        browserDescHtml.setText(getBrowserText(entityModelWrapper.getReadOnlyEntityModel()));\n+    }\n+\n+    public String getBrowserText(EntityModel entityModel) {\n+        String descriptionFromServerRemodeled = Util.getUiDataFromModel(entityModel.getValue((EntityFieldsConstants.FIELD_DESCRIPTION)));\n+        try {\n+            descriptionFromServerRemodeled = downloadPictures(\n+                    Util.getUiDataFromModel(entityModel.getValue((EntityFieldsConstants.FIELD_DESCRIPTION))));\n+        } catch (IOException e) {\n+        }\n+\n+        String descriptionText = \"<html><body bgcolor =\" + getRgbString(backgroundColor) + \">\" + \"<font color =\"\n+                + getRgbString(foregroundColor) + \">\"\n+                + descriptionFromServerRemodeled\n+                + \"</font></body></html>\";\n+        if (descriptionText.equals(\"<html><body bgcolor =\" + getRgbString(backgroundColor) + \">\" + \"<font color =\"\n+                + getRgbString(foregroundColor) + \">\" + \"</font></body></html>\")) {\n+\n+            return \"<html><body bgcolor =\" + getRgbString(backgroundColor) + \">\" + \"<font color =\"\n+                    + getRgbString(foregroundColor) + \">\" + \"No description\" + \"</font></body></html>\";\n+        } else {\n+            return descriptionText;\n+        }\n+\n+    }\n+\n+    private static String getRgbString(Color color) {\n+        return \"rgb(\" + color.getRed() + \",\" + color.getGreen() + \",\" + color.getBlue() + \")\";\n+    }\n+\n+    private String downloadPictures(String descriptionField) throws IOException {\n+        String tmpPath = System.getProperty(\"java.io.tmpdir\");\n+        String baseUrl = Activator.getConnectionSettings().getBaseUrl();\n+        File tmpDir = new File(tmpPath);\n+        octanePhotosDir = new File(tmpDir, \"Octane_pictures\");\n+\n+        if (!new File(tmpDir, \"Octane_pictures\").exists()) {\n+            octanePhotosDir.mkdir();\n+        }\n+        String octanePhotosPath = octanePhotosDir.getAbsolutePath();\n+\n+        Document descriptionParser = Jsoup.parse(descriptionField);\n+        Elements link = descriptionParser.getElementsByTag(\"img\");\n+\n+        for (Element el : link) {\n+            String pictureLink = el.attr(\"src\");\n+            if (pictureLink.contains(\"/api/shared_spaces\")) {\n+                el.attr(\"src\", baseUrl + pictureLink);\n+                pictureLink = el.attr(\"src\");\n+            }\n+\n+            if (!pictureLink.contains(Activator.getConnectionSettings().getBaseUrl())) {\n+                continue;\n+            }\n+            int index = pictureLink.lastIndexOf(\"/\");\n+            String pictureName = pictureLink.substring(index + 1, pictureLink.length());\n+            String picturePath = octanePhotosPath + \"\\\\\" + pictureName;\n+            if (!new File(octanePhotosDir, pictureName).exists()) {\n+                saveImage(pictureLink, picturePath);\n+            }\n+            ;\n+            el.attr(\"src\", picturePath);\n+        }\n+        return descriptionParser.toString();\n+    }\n+\n+    private void saveImage(String pictureLink, String octanePhotosName) throws IOException {\n+\n+        if (isUserLoggedIn() == true) {\n+            HttpResponse httpResponse = ClientLoginCookie.getDataForImage(pictureLink);\n+            InputStream is = httpResponse.getContent();\n+\n+            OutputStream os = new FileOutputStream(octanePhotosName);\n+            IOUtils.copy(is, os);","path":"octane-eclipse-plugin/src/com/hpe/octane/ideplugins/eclipse/ui/entitydetail/field/DescriptionComposite.java","position":205,"original_position":205,"commit_id":"95e7c95a3e76ef43b86a284f6fc83937f520a137","original_commit_id":"95e7c95a3e76ef43b86a284f6fc83937f520a137","user":{"login":"paul-ciobanu","id":36033740,"avatar_url":"https://avatars1.githubusercontent.com/u/36033740?v=4","gravatar_id":"","url":"https://api.github.com/users/paul-ciobanu","html_url":"https://github.com/paul-ciobanu","followers_url":"https://api.github.com/users/paul-ciobanu/followers","following_url":"https://api.github.com/users/paul-ciobanu/following{/other_user}","gists_url":"https://api.github.com/users/paul-ciobanu/gists{/gist_id}","starred_url":"https://api.github.com/users/paul-ciobanu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paul-ciobanu/subscriptions","organizations_url":"https://api.github.com/users/paul-ciobanu/orgs","repos_url":"https://api.github.com/users/paul-ciobanu/repos","events_url":"https://api.github.com/users/paul-ciobanu/events{/privacy}","received_events_url":"https://api.github.com/users/paul-ciobanu/received_events","type":"User","site_admin":false},"body":"@vladbenchea We should use \"try/finally\" to make sure that if an exception occurs, the streams are correctly closed","created_at":"2018-04-23T12:44:34Z","updated_at":"2018-04-23T12:44:38Z","html_url":"https://github.com/MicroFocus/octane-eclipse-plugin/pull/38#discussion_r183380319","pull_request_url":"https://api.github.com/repos/MicroFocus/octane-eclipse-plugin/pulls/38","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/MicroFocus/octane-eclipse-plugin/pulls/comments/183380319"},"html":{"href":"https://github.com/MicroFocus/octane-eclipse-plugin/pull/38#discussion_r183380319"},"pull_request":{"href":"https://api.github.com/repos/MicroFocus/octane-eclipse-plugin/pulls/38"}}},"pull_request":{"url":"https://api.github.com/repos/MicroFocus/octane-eclipse-plugin/pulls/38","id":183369598,"html_url":"https://github.com/MicroFocus/octane-eclipse-plugin/pull/38","diff_url":"https://github.com/MicroFocus/octane-eclipse-plugin/pull/38.diff","patch_url":"https://github.com/MicroFocus/octane-eclipse-plugin/pull/38.patch","issue_url":"https://api.github.com/repos/MicroFocus/octane-eclipse-plugin/issues/38","number":38,"state":"open","locked":false,"title":"Imgdescription","user":{"login":"vladbenchea","id":34449887,"avatar_url":"https://avatars1.githubusercontent.com/u/34449887?v=4","gravatar_id":"","url":"https://api.github.com/users/vladbenchea","html_url":"https://github.com/vladbenchea","followers_url":"https://api.github.com/users/vladbenchea/followers","following_url":"https://api.github.com/users/vladbenchea/following{/other_user}","gists_url":"https://api.github.com/users/vladbenchea/gists{/gist_id}","starred_url":"https://api.github.com/users/vladbenchea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vladbenchea/subscriptions","organizations_url":"https://api.github.com/users/vladbenchea/orgs","repos_url":"https://api.github.com/users/vladbenchea/repos","events_url":"https://api.github.com/users/vladbenchea/events{/privacy}","received_events_url":"https://api.github.com/users/vladbenchea/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-04-23T09:10:06Z","updated_at":"2018-04-23T12:44:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"def10359d543aeee47cc5156a71a83123c553abc","assignee":{"login":"vladbenchea","id":34449887,"avatar_url":"https://avatars1.githubusercontent.com/u/34449887?v=4","gravatar_id":"","url":"https://api.github.com/users/vladbenchea","html_url":"https://github.com/vladbenchea","followers_url":"https://api.github.com/users/vladbenchea/followers","following_url":"https://api.github.com/users/vladbenchea/following{/other_user}","gists_url":"https://api.github.com/users/vladbenchea/gists{/gist_id}","starred_url":"https://api.github.com/users/vladbenchea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vladbenchea/subscriptions","organizations_url":"https://api.github.com/users/vladbenchea/orgs","repos_url":"https://api.github.com/users/vladbenchea/repos","events_url":"https://api.github.com/users/vladbenchea/events{/privacy}","received_events_url":"https://api.github.com/users/vladbenchea/received_events","type":"User","site_admin":false},"assignees":[{"login":"vladbenchea","id":34449887,"avatar_url":"https://avatars1.githubusercontent.com/u/34449887?v=4","gravatar_id":"","url":"https://api.github.com/users/vladbenchea","html_url":"https://github.com/vladbenchea","followers_url":"https://api.github.com/users/vladbenchea/followers","following_url":"https://api.github.com/users/vladbenchea/following{/other_user}","gists_url":"https://api.github.com/users/vladbenchea/gists{/gist_id}","starred_url":"https://api.github.com/users/vladbenchea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vladbenchea/subscriptions","organizations_url":"https://api.github.com/users/vladbenchea/orgs","repos_url":"https://api.github.com/users/vladbenchea/repos","events_url":"https://api.github.com/users/vladbenchea/events{/privacy}","received_events_url":"https://api.github.com/users/vladbenchea/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"atothhpe","id":23213115,"avatar_url":"https://avatars2.githubusercontent.com/u/23213115?v=4","gravatar_id":"","url":"https://api.github.com/users/atothhpe","html_url":"https://github.com/atothhpe","followers_url":"https://api.github.com/users/atothhpe/followers","following_url":"https://api.github.com/users/atothhpe/following{/other_user}","gists_url":"https://api.github.com/users/atothhpe/gists{/gist_id}","starred_url":"https://api.github.com/users/atothhpe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atothhpe/subscriptions","organizations_url":"https://api.github.com/users/atothhpe/orgs","repos_url":"https://api.github.com/users/atothhpe/repos","events_url":"https://api.github.com/users/atothhpe/events{/privacy}","received_events_url":"https://api.github.com/users/atothhpe/received_events","type":"User","site_admin":false},{"login":"kdrtibor","id":30106237,"avatar_url":"https://avatars2.githubusercontent.com/u/30106237?v=4","gravatar_id":"","url":"https://api.github.com/users/kdrtibor","html_url":"https://github.com/kdrtibor","followers_url":"https://api.github.com/users/kdrtibor/followers","following_url":"https://api.github.com/users/kdrtibor/following{/other_user}","gists_url":"https://api.github.com/users/kdrtibor/gists{/gist_id}","starred_url":"https://api.github.com/users/kdrtibor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kdrtibor/subscriptions","organizations_url":"https://api.github.com/users/kdrtibor/orgs","repos_url":"https://api.github.com/users/kdrtibor/repos","events_url":"https://api.github.com/users/kdrtibor/events{/privacy}","received_events_url":"https://api.github.com/users/kdrtibor/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/MicroFocus/octane-eclipse-plugin/pulls/38/commits","review_comments_url":"https://api.github.com/repos/MicroFocus/octane-eclipse-plugin/pulls/38/comments","review_comment_url":"https://api.github.com/repos/MicroFocus/octane-eclipse-plugin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/MicroFocus/octane-eclipse-plugin/issues/38/comments","statuses_url":"https://api.github.com/repos/MicroFocus/octane-eclipse-plugin/statuses/95e7c95a3e76ef43b86a284f6fc83937f520a137","head":{"label":"MicroFocus:imgdescription","ref":"imgdescription","sha":"95e7c95a3e76ef43b86a284f6fc83937f520a137","user":{"login":"MicroFocus","id":3509578,"avatar_url":"https://avatars3.githubusercontent.com/u/3509578?v=4","gravatar_id":"","url":"https://api.github.com/users/MicroFocus","html_url":"https://github.com/MicroFocus","followers_url":"https://api.github.com/users/MicroFocus/followers","following_url":"https://api.github.com/users/MicroFocus/following{/other_user}","gists_url":"https://api.github.com/users/MicroFocus/gists{/gist_id}","starred_url":"https://api.github.com/users/MicroFocus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MicroFocus/subscriptions","organizations_url":"https://api.github.com/users/MicroFocus/orgs","repos_url":"https://api.github.com/users/MicroFocus/repos","events_url":"https://api.github.com/users/MicroFocus/events{/privacy}","received_events_url":"https://api.github.com/users/MicroFocus/received_events","type":"Organization","site_admin":false},"repo":{"id":53443192,"name":"octane-eclipse-plugin","full_name":"MicroFocus/octane-eclipse-plugin","owner":{"login":"MicroFocus","id":3509578,"avatar_url":"https://avatars3.githubusercontent.com/u/3509578?v=4","gravatar_id":"","url":"https://api.github.com/users/MicroFocus","html_url":"https://github.com/MicroFocus","followers_url":"https://api.github.com/users/MicroFocus/followers","following_url":"https://api.github.com/users/MicroFocus/following{/other_user}","gists_url":"https://api.github.com/users/MicroFocus/gists{/gist_id}","starred_url":"https://api.github.com/users/MicroFocus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MicroFocus/subscriptions","organizations_url":"https://api.github.com/users/MicroFocus/orgs","repos_url":"https://api.github.com/users/MicroFocus/repos","events_url":"https://api.github.com/users/MicroFocus/events{/privacy}","received_events_url":"https://api.github.com/users/MicroFocus/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/MicroFocus/octane-eclipse-plugin","description":"Eclipse IDE Integration for ALM Octane","fork":false,"url":"https://api.github.com/repos/MicroFocus/octane-eclipse-plugin","forks_url":"https://api.github.com/repos/MicroFocus/octane-eclipse-plugin/forks","keys_url":"https://api.github.com/repos/MicroFocus/octane-eclipse-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MicroFocus/octane-eclipse-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MicroFocus/octane-eclipse-plugin/teams","hooks_url":"https://api.github.com/repos/MicroFocus/octane-eclipse-plugin/hooks","issue_events_url":"https://api.github.com/repos/MicroFocus/octane-eclipse-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/MicroFocus/octane-eclipse-plugin/events","assignees_url":"https://api.github.com/repos/MicroFocus/octane-eclipse-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/MicroFocus/octane-eclipse-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/MicroFocus/octane-eclipse-plugin/tags","blobs_url":"https://api.github.com/repos/MicroFocus/octane-eclipse-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MicroFocus/octane-eclipse-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MicroFocus/octane-eclipse-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/MicroFocus/octane-eclipse-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MicroFocus/octane-eclipse-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/MicroFocus/octane-eclipse-plugin/languages","stargazers_url":"https://api.github.com/repos/MicroFocus/octane-eclipse-plugin/stargazers","contributors_url":"https://api.github.com/repos/MicroFocus/octane-eclipse-plugin/contributors","subscribers_url":"https://api.github.com/repos/MicroFocus/octane-eclipse-plugin/subscribers","subscription_url":"https://api.github.com/repos/MicroFocus/octane-eclipse-plugin/subscription","commits_url":"https://api.github.com/repos/MicroFocus/octane-eclipse-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/MicroFocus/octane-eclipse-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/MicroFocus/octane-eclipse-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/MicroFocus/octane-eclipse-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/MicroFocus/octane-eclipse-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/MicroFocus/octane-eclipse-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MicroFocus/octane-eclipse-plugin/merges","archive_url":"https://api.github.com/repos/MicroFocus/octane-eclipse-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MicroFocus/octane-eclipse-plugin/downloads","issues_url":"https://api.github.com/repos/MicroFocus/octane-eclipse-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/MicroFocus/octane-eclipse-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/MicroFocus/octane-eclipse-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/MicroFocus/octane-eclipse-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MicroFocus/octane-eclipse-plugin/labels{/name}","releases_url":"https://api.github.com/repos/MicroFocus/octane-eclipse-plugin/releases{/id}","deployments_url":"https://api.github.com/repos/MicroFocus/octane-eclipse-plugin/deployments","created_at":"2016-03-08T20:33:05Z","updated_at":"2018-04-23T08:36:31Z","pushed_at":"2018-04-23T12:16:36Z","git_url":"git://github.com/MicroFocus/octane-eclipse-plugin.git","ssh_url":"git@github.com:MicroFocus/octane-eclipse-plugin.git","clone_url":"https://github.com/MicroFocus/octane-eclipse-plugin.git","svn_url":"https://github.com/MicroFocus/octane-eclipse-plugin","homepage":"","size":30346,"stargazers_count":5,"watchers_count":5,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":1,"open_issues":3,"watchers":5,"default_branch":"master"}},"base":{"label":"MicroFocus:master","ref":"master","sha":"a5e85ebcd25c02ac85335d2c387acc07e14dd228","user":{"login":"MicroFocus","id":3509578,"avatar_url":"https://avatars3.githubusercontent.com/u/3509578?v=4","gravatar_id":"","url":"https://api.github.com/users/MicroFocus","html_url":"https://github.com/MicroFocus","followers_url":"https://api.github.com/users/MicroFocus/followers","following_url":"https://api.github.com/users/MicroFocus/following{/other_user}","gists_url":"https://api.github.com/users/MicroFocus/gists{/gist_id}","starred_url":"https://api.github.com/users/MicroFocus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MicroFocus/subscriptions","organizations_url":"https://api.github.com/users/MicroFocus/orgs","repos_url":"https://api.github.com/users/MicroFocus/repos","events_url":"https://api.github.com/users/MicroFocus/events{/privacy}","received_events_url":"https://api.github.com/users/MicroFocus/received_events","type":"Organization","site_admin":false},"repo":{"id":53443192,"name":"octane-eclipse-plugin","full_name":"MicroFocus/octane-eclipse-plugin","owner":{"login":"MicroFocus","id":3509578,"avatar_url":"https://avatars3.githubusercontent.com/u/3509578?v=4","gravatar_id":"","url":"https://api.github.com/users/MicroFocus","html_url":"https://github.com/MicroFocus","followers_url":"https://api.github.com/users/MicroFocus/followers","following_url":"https://api.github.com/users/MicroFocus/following{/other_user}","gists_url":"https://api.github.com/users/MicroFocus/gists{/gist_id}","starred_url":"https://api.github.com/users/MicroFocus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MicroFocus/subscriptions","organizations_url":"https://api.github.com/users/MicroFocus/orgs","repos_url":"https://api.github.com/users/MicroFocus/repos","events_url":"https://api.github.com/users/MicroFocus/events{/privacy}","received_events_url":"https://api.github.com/users/MicroFocus/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/MicroFocus/octane-eclipse-plugin","description":"Eclipse IDE Integration for ALM Octane","fork":false,"url":"https://api.github.com/repos/MicroFocus/octane-eclipse-plugin","forks_url":"https://api.github.com/repos/MicroFocus/octane-eclipse-plugin/forks","keys_url":"https://api.github.com/repos/MicroFocus/octane-eclipse-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MicroFocus/octane-eclipse-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MicroFocus/octane-eclipse-plugin/teams","hooks_url":"https://api.github.com/repos/MicroFocus/octane-eclipse-plugin/hooks","issue_events_url":"https://api.github.com/repos/MicroFocus/octane-eclipse-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/MicroFocus/octane-eclipse-plugin/events","assignees_url":"https://api.github.com/repos/MicroFocus/octane-eclipse-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/MicroFocus/octane-eclipse-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/MicroFocus/octane-eclipse-plugin/tags","blobs_url":"https://api.github.com/repos/MicroFocus/octane-eclipse-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MicroFocus/octane-eclipse-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MicroFocus/octane-eclipse-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/MicroFocus/octane-eclipse-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MicroFocus/octane-eclipse-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/MicroFocus/octane-eclipse-plugin/languages","stargazers_url":"https://api.github.com/repos/MicroFocus/octane-eclipse-plugin/stargazers","contributors_url":"https://api.github.com/repos/MicroFocus/octane-eclipse-plugin/contributors","subscribers_url":"https://api.github.com/repos/MicroFocus/octane-eclipse-plugin/subscribers","subscription_url":"https://api.github.com/repos/MicroFocus/octane-eclipse-plugin/subscription","commits_url":"https://api.github.com/repos/MicroFocus/octane-eclipse-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/MicroFocus/octane-eclipse-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/MicroFocus/octane-eclipse-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/MicroFocus/octane-eclipse-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/MicroFocus/octane-eclipse-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/MicroFocus/octane-eclipse-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MicroFocus/octane-eclipse-plugin/merges","archive_url":"https://api.github.com/repos/MicroFocus/octane-eclipse-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MicroFocus/octane-eclipse-plugin/downloads","issues_url":"https://api.github.com/repos/MicroFocus/octane-eclipse-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/MicroFocus/octane-eclipse-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/MicroFocus/octane-eclipse-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/MicroFocus/octane-eclipse-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MicroFocus/octane-eclipse-plugin/labels{/name}","releases_url":"https://api.github.com/repos/MicroFocus/octane-eclipse-plugin/releases{/id}","deployments_url":"https://api.github.com/repos/MicroFocus/octane-eclipse-plugin/deployments","created_at":"2016-03-08T20:33:05Z","updated_at":"2018-04-23T08:36:31Z","pushed_at":"2018-04-23T12:16:36Z","git_url":"git://github.com/MicroFocus/octane-eclipse-plugin.git","ssh_url":"git@github.com:MicroFocus/octane-eclipse-plugin.git","clone_url":"https://github.com/MicroFocus/octane-eclipse-plugin.git","svn_url":"https://github.com/MicroFocus/octane-eclipse-plugin","homepage":"","size":30346,"stargazers_count":5,"watchers_count":5,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":1,"open_issues":3,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/MicroFocus/octane-eclipse-plugin/pulls/38"},"html":{"href":"https://github.com/MicroFocus/octane-eclipse-plugin/pull/38"},"issue":{"href":"https://api.github.com/repos/MicroFocus/octane-eclipse-plugin/issues/38"},"comments":{"href":"https://api.github.com/repos/MicroFocus/octane-eclipse-plugin/issues/38/comments"},"review_comments":{"href":"https://api.github.com/repos/MicroFocus/octane-eclipse-plugin/pulls/38/comments"},"review_comment":{"href":"https://api.github.com/repos/MicroFocus/octane-eclipse-plugin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/MicroFocus/octane-eclipse-plugin/pulls/38/commits"},"statuses":{"href":"https://api.github.com/repos/MicroFocus/octane-eclipse-plugin/statuses/95e7c95a3e76ef43b86a284f6fc83937f520a137"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"paul-ciobanu"}}