{"action":"created","comment":{"url":"https://api.github.com/repos/diging/quadriga/pulls/comments/56905822","id":56905822,"diff_hunk":"@@ -31,265 +30,200 @@\n @Controller\r\n public class DictionaryWorkspaceController {\r\n \r\n-\t@Autowired\r\n-\tprivate IDictionaryManager dictonaryManager;\r\n+    @Autowired\r\n+    private IWorkspaceManager wsManager;\r\n \r\n-\t@Autowired\r\n-\tprivate IWorkspaceManager wsManager;\r\n-\t\r\n-\t@Autowired\r\n-\tprivate IWorkspaceDictionaryManager workspaceDictionaryManager;\r\n+    @Autowired\r\n+    private IWorkspaceDictionaryManager workspaceDictionaryManager;\r\n \r\n-\tprivate static final Logger logger = LoggerFactory\r\n-\t\t\t.getLogger(DictionaryWorkspaceController.class);\r\n+    private static final Logger logger = LoggerFactory.getLogger(DictionaryWorkspaceController.class);\r\n \r\n-\t/**\r\n-\t * Retrieve dictionaries from the system to associate the selected dictionaries\r\n-\t * with the given workspace\r\n-\t * @param workspaceId\r\n-\t * @param model\r\n-\t * @return String - URL to redirect on success or failure\r\n-\t * @throws QuadrigaStorageException\r\n-\t * @throws QuadrigaAccessException\r\n-\t */\r\n-\t@AccessPolicies({ @ElementAccessPolicy(type = CheckedElementType.WORKSPACE,paramIndex = 1, userRole = {RoleNames.ROLE_WORKSPACE_COLLABORATOR_ADMIN } )})\r\n-\t@RequestMapping(value = \"auth/workbench/workspace/{workspaceid}/adddictionary\", method = RequestMethod.GET)\r\n-\tpublic String addWorkspaceDictionary(\r\n-\t\t\t@PathVariable(\"workspaceid\") String workspaceId, Model model) \r\n-\t\t\t\t\tthrows QuadrigaStorageException, QuadrigaAccessException\r\n-\t{\r\n-\t\ttry {\r\n-\t\t\tUserDetails user = (UserDetails) SecurityContextHolder.getContext()\r\n-\t\t\t\t\t.getAuthentication().getPrincipal();\r\n-\t\t\tString userId = user.getUsername();\r\n-\t\t\tlogger.info(\"USer : \" + user.getUsername()\r\n-\t\t\t\t\t+ \" trying to add dictionary into workspace\");\r\n-\t\t\tList<IDictionary> dictionaryList = null;\r\n-\t\t\ttry {\r\n-\t\t\t\tdictionaryList = workspaceDictionaryManager.getNonAssociatedWorkspaceDictionaries(\r\n-\t\t\t\t\t\tworkspaceId, userId);\r\n-\t\t\t} catch (QuadrigaStorageException e) {\r\n-\t\t\t\tthrow new QuadrigaStorageException(\r\n-\t\t\t\t\t\t\"Oops the DB is an hard hangover, please try later\");\r\n-\t\t\t}\r\n-\t\t\tif (dictionaryList == null) {\r\n-\t\t\t\tlogger.info(\"Dictionary list is empty\");\r\n-\t\t\t}\r\n-\t\t\tmodel.addAttribute(\"dictinarylist\", dictionaryList);\r\n-\t\t\tmodel.addAttribute(\"workspaceId\", workspaceId);\r\n-\t\t\tIWorkSpace workspace = wsManager.getWorkspaceDetails(workspaceId,userId);\r\n-\t\t\tmodel.addAttribute(\"workspacedetails\", workspace);\r\n-\t\t\tmodel.addAttribute(\"userId\", userId);\r\n-\t\t} catch (Exception e) {\r\n-\t\t\tlogger.error(\"issue while adding dictionary \" ,e);\r\n-\t\t}\r\n-\t\treturn \"auth/workbench/workspace/adddictionaries\";\r\n-\t}\r\n+    /**\r\n+     * Retrieve dictionaries from the system to associate the selected\r\n+     * dictionaries with the given workspace\r\n+     * \r\n+     * @param workspaceId\r\n+     * @param model\r\n+     * @return String - URL to redirect on success or failure\r\n+     * @throws QuadrigaStorageException\r\n+     * @throws QuadrigaAccessException\r\n+     */\r\n+    @AccessPolicies({ @ElementAccessPolicy(type = CheckedElementType.WORKSPACE, paramIndex = 1, userRole = {\r\n+            RoleNames.ROLE_WORKSPACE_COLLABORATOR_ADMIN }) })\r\n+    @RequestMapping(value = \"auth/workbench/workspace/{workspaceid}/adddictionary\", method = RequestMethod.GET)\r\n+    public String addWorkspaceDictionary(@PathVariable(\"workspaceid\") String workspaceId, Model model,\r\n+            Principal principal) throws QuadrigaStorageException, QuadrigaAccessException {\r\n+        String userId = principal.getName();\r\n+        List<IDictionary> dictionaryList = null;\r\n+        dictionaryList = workspaceDictionaryManager.getNonAssociatedWorkspaceDictionaries(workspaceId, userId);\r\n+        if (dictionaryList == null) {\r\n+            logger.info(\"Dictionary list is empty\");\r\n+        }\r\n+        model.addAttribute(\"dictinarylist\", dictionaryList);\r\n+        model.addAttribute(\"workspaceId\", workspaceId);\r\n+        IWorkSpace workspace = wsManager.getWorkspaceDetails(workspaceId, userId);\r\n+        model.addAttribute(\"workspacedetails\", workspace);\r\n+        model.addAttribute(\"userId\", userId);\r\n+        return \"auth/workbench/workspace/adddictionaries\";\r\n+    }\r\n \r\n-\t/**\r\n-\t * Associates the selected dictionaries with the given workspace\r\n-\t * @param req\r\n-\t * @param workspaceId\r\n-\t * @param model\r\n-\t * @return String - URL to redirect on success or failure\r\n-\t * @throws QuadrigaStorageException\r\n-\t * @throws QuadrigaAccessException\r\n-\t */\r\n-\t@AccessPolicies({ @ElementAccessPolicy(type = CheckedElementType.WORKSPACE,paramIndex = 2, userRole = {RoleNames.ROLE_WORKSPACE_COLLABORATOR_ADMIN} )})\r\n-\t@RequestMapping(value = \"auth/workbench/workspace/{workspaceid}/adddictionaries\", method = RequestMethod.POST)\r\n-\tpublic String addWorkspaceDictionary(HttpServletRequest req,\r\n-\t\t\t@PathVariable(\"workspaceid\") String workspaceId, Model model) throws QuadrigaStorageException, QuadrigaAccessException {\r\n-\t\tString msg = \"\";\r\n-\t\tint flag=0;\r\n-\t\tUserDetails user = (UserDetails) SecurityContextHolder.getContext()\r\n-\t\t\t\t.getAuthentication().getPrincipal();\r\n-\t\tString userId = user.getUsername();\r\n+    /**\r\n+     * Associates the selected dictionaries with the given workspace\r\n+     * \r\n+     * @param req\r\n+     * @param workspaceId\r\n+     * @param model\r\n+     * @return String - URL to redirect on success or failure\r\n+     * @throws QuadrigaStorageException\r\n+     * @throws QuadrigaAccessException\r\n+     */\r\n+    @AccessPolicies({ @ElementAccessPolicy(type = CheckedElementType.WORKSPACE, paramIndex = 2, userRole = {\r\n+            RoleNames.ROLE_WORKSPACE_COLLABORATOR_ADMIN }) })\r\n+    @RequestMapping(value = \"auth/workbench/workspace/{workspaceid}/adddictionaries\", method = RequestMethod.POST)\r\n+    public String addWorkspaceDictionary(HttpServletRequest req, @PathVariable(\"workspaceid\") String workspaceId,\r\n+            Model model, RedirectAttributes attr, Principal principal)\r\n+                    throws QuadrigaStorageException, QuadrigaAccessException {\r\n+        String msg = \"\";\r\n+        int flag = 0;\r\n+        String userId = principal.getName();\r\n \r\n-\t\tString[] values = req.getParameterValues(\"selected\");\r\n-\t\tif (values == null)\r\n-\t\t{\r\n-\t\t\tmodel.addAttribute(\"deletesuccess\", 0);\r\n-\t\t\tList<IDictionary> dicitonaryList = null;\r\n-\t\t\ttry {\r\n-\t\t\t\tdicitonaryList = workspaceDictionaryManager.getNonAssociatedWorkspaceDictionaries(\r\n-\t\t\t\t\t\tworkspaceId, userId);\r\n-\t\t\t} catch (QuadrigaStorageException e) {\r\n-\t\t\t\tlogger.error(\"issue while adding dictionary \" ,e);\r\n-\t\t\t}\r\n-\t\t\tif(dicitonaryList == null){\r\n-\t\t\t\tlogger.info(\"Dictionary list is empty buddy\");\r\n-\t\t\t}\r\n-\t\t\tmodel.addAttribute(\"dicitonaryList\", dicitonaryList);\r\n-\t\t\tIWorkSpace workspace = wsManager.getWorkspaceDetails(workspaceId,userId);\r\n-\t\t\tmodel.addAttribute(\"workspacedetails\", workspace);\r\n-\t\t\tmodel.addAttribute(\"workspaceId\", workspaceId);\r\n-\t\t\treturn \"auth/workbench/workspace/dictionaries\";\r\n-\t\t} else {\r\n-\t\t\tfor (int i = 0; i < values.length; i++) {\r\n-\t\t\t\tlogger.info(\"values \" + values[i]);\r\n-\t\t\t\ttry {\r\n-\t\t\t\t\tworkspaceDictionaryManager.addWorkspaceDictionary(workspaceId,\r\n-\t\t\t\t\t\t\tvalues[i], userId);\r\n-\t\t\t\t\tif(!msg.equals(\"\")){\r\n-\t\t\t\t\t\tflag=1;\r\n-\t\t\t\t\t}\r\n-\t\t\t\t} catch (QuadrigaStorageException e) {\r\n-\t\t\t\t\tlogger.error(\"issue while adding dictionary \" ,e);\r\n-\t\t\t\t}\r\n-\t\t\t}\r\n-\t\t}\r\n-\t\tif(flag==0){\r\n-\t\t\tmodel.addAttribute(\"success\", 1);\r\n-\t\t}else{\r\n-\t\t\tmodel.addAttribute(\"success\", 0);\r\n-\t\t}\r\n-\t\tList<IWorkspaceDictionary> dicitonaryList = null;\r\n-\t\ttry {\r\n-\t\t\tdicitonaryList = workspaceDictionaryManager.listWorkspaceDictionary(workspaceId, userId);\r\n-\t\t} catch (QuadrigaStorageException e) {\r\n-\t\t\tlogger.error(\"issue while adding dictionary \" ,e);\r\n-\t\t}\r\n-\t\tif(dicitonaryList == null){\r\n-\t\t\tlogger.info(\"Dictionar list is empty buddy\");\r\n-\t\t}\r\n-\t\tmodel.addAttribute(\"dicitonaryList\", dicitonaryList);\r\n+        String[] values = req.getParameterValues(\"selected\");\r\n+        if (values == null) {\r\n+            attr.addFlashAttribute(\"show_error_alert\", true);\r\n+            attr.addFlashAttribute(\"error_alert_msg\", \"Please select a Dictionary\");\r\n+            return \"redirect:/auth/workbench/workspace/\" + workspaceId + \"/adddictionary\";\r\n+        }\r\n+        for (int i = 0; i < values.length; i++) {\r\n+            workspaceDictionaryManager.addWorkspaceDictionary(workspaceId, values[i], userId);\r\n+            if (!msg.equals(\"\")) {\r\n+                flag = 1;\r\n+            }\r\n+        }\r\n+        if (flag == 0) {\r\n+            attr.addFlashAttribute(\"show_success_alert\", true);\r\n+            attr.addFlashAttribute(\"success_alert_msg\", \"Dictionaries added to workspace successfully\");\r\n+        } else {\r\n+            attr.addFlashAttribute(\"show_error_alert\", true);\r\n+            attr.addFlashAttribute(\"error_alert_msg\", \"Dictionary is already added or some internal issue\");\r\n+        }\r\n+        List<IWorkspaceDictionary> dicitonaryList = null;\r\n+        dicitonaryList = workspaceDictionaryManager.listWorkspaceDictionary(workspaceId, userId);\r","path":"Quadriga/src/main/java/edu/asu/spring/quadriga/web/workspace/DictionaryWorkspaceController.java","position":228,"original_position":228,"commit_id":"df80b3e1b5895c815970eeb6ecafb59e1c07f340","original_commit_id":"df80b3e1b5895c815970eeb6ecafb59e1c07f340","user":{"login":"jdamerow","id":8881141,"avatar_url":"https://avatars.githubusercontent.com/u/8881141?v=3","gravatar_id":"","url":"https://api.github.com/users/jdamerow","html_url":"https://github.com/jdamerow","followers_url":"https://api.github.com/users/jdamerow/followers","following_url":"https://api.github.com/users/jdamerow/following{/other_user}","gists_url":"https://api.github.com/users/jdamerow/gists{/gist_id}","starred_url":"https://api.github.com/users/jdamerow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdamerow/subscriptions","organizations_url":"https://api.github.com/users/jdamerow/orgs","repos_url":"https://api.github.com/users/jdamerow/repos","events_url":"https://api.github.com/users/jdamerow/events{/privacy}","received_events_url":"https://api.github.com/users/jdamerow/received_events","type":"User","site_admin":false},"body":"merge with 109","created_at":"2016-03-21T22:04:13Z","updated_at":"2016-03-21T22:04:13Z","html_url":"https://github.com/diging/quadriga/pull/163#discussion_r56905822","pull_request_url":"https://api.github.com/repos/diging/quadriga/pulls/163","_links":{"self":{"href":"https://api.github.com/repos/diging/quadriga/pulls/comments/56905822"},"html":{"href":"https://github.com/diging/quadriga/pull/163#discussion_r56905822"},"pull_request":{"href":"https://api.github.com/repos/diging/quadriga/pulls/163"}}},"pull_request":{"url":"https://api.github.com/repos/diging/quadriga/pulls/163","id":63599971,"html_url":"https://github.com/diging/quadriga/pull/163","diff_url":"https://github.com/diging/quadriga/pull/163.diff","patch_url":"https://github.com/diging/quadriga/pull/163.patch","issue_url":"https://api.github.com/repos/diging/quadriga/issues/163","number":163,"state":"open","locked":false,"title":"Bug/quad 129","user":{"login":"suprajkolluri","id":14131064,"avatar_url":"https://avatars.githubusercontent.com/u/14131064?v=3","gravatar_id":"","url":"https://api.github.com/users/suprajkolluri","html_url":"https://github.com/suprajkolluri","followers_url":"https://api.github.com/users/suprajkolluri/followers","following_url":"https://api.github.com/users/suprajkolluri/following{/other_user}","gists_url":"https://api.github.com/users/suprajkolluri/gists{/gist_id}","starred_url":"https://api.github.com/users/suprajkolluri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/suprajkolluri/subscriptions","organizations_url":"https://api.github.com/users/suprajkolluri/orgs","repos_url":"https://api.github.com/users/suprajkolluri/repos","events_url":"https://api.github.com/users/suprajkolluri/events{/privacy}","received_events_url":"https://api.github.com/users/suprajkolluri/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-03-21T17:21:58Z","updated_at":"2016-03-21T22:04:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"94fa2da63ce6f32899624466f163ea9ac4066218","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/diging/quadriga/pulls/163/commits","review_comments_url":"https://api.github.com/repos/diging/quadriga/pulls/163/comments","review_comment_url":"https://api.github.com/repos/diging/quadriga/pulls/comments{/number}","comments_url":"https://api.github.com/repos/diging/quadriga/issues/163/comments","statuses_url":"https://api.github.com/repos/diging/quadriga/statuses/df80b3e1b5895c815970eeb6ecafb59e1c07f340","head":{"label":"diging:bug/QUAD-129","ref":"bug/QUAD-129","sha":"df80b3e1b5895c815970eeb6ecafb59e1c07f340","user":{"login":"diging","id":5402168,"avatar_url":"https://avatars.githubusercontent.com/u/5402168?v=3","gravatar_id":"","url":"https://api.github.com/users/diging","html_url":"https://github.com/diging","followers_url":"https://api.github.com/users/diging/followers","following_url":"https://api.github.com/users/diging/following{/other_user}","gists_url":"https://api.github.com/users/diging/gists{/gist_id}","starred_url":"https://api.github.com/users/diging/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diging/subscriptions","organizations_url":"https://api.github.com/users/diging/orgs","repos_url":"https://api.github.com/users/diging/repos","events_url":"https://api.github.com/users/diging/events{/privacy}","received_events_url":"https://api.github.com/users/diging/received_events","type":"Organization","site_admin":false},"repo":{"id":32819066,"name":"quadriga","full_name":"diging/quadriga","owner":{"login":"diging","id":5402168,"avatar_url":"https://avatars.githubusercontent.com/u/5402168?v=3","gravatar_id":"","url":"https://api.github.com/users/diging","html_url":"https://github.com/diging","followers_url":"https://api.github.com/users/diging/followers","following_url":"https://api.github.com/users/diging/following{/other_user}","gists_url":"https://api.github.com/users/diging/gists{/gist_id}","starred_url":"https://api.github.com/users/diging/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diging/subscriptions","organizations_url":"https://api.github.com/users/diging/orgs","repos_url":"https://api.github.com/users/diging/repos","events_url":"https://api.github.com/users/diging/events{/privacy}","received_events_url":"https://api.github.com/users/diging/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/diging/quadriga","description":"","fork":false,"url":"https://api.github.com/repos/diging/quadriga","forks_url":"https://api.github.com/repos/diging/quadriga/forks","keys_url":"https://api.github.com/repos/diging/quadriga/keys{/key_id}","collaborators_url":"https://api.github.com/repos/diging/quadriga/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/diging/quadriga/teams","hooks_url":"https://api.github.com/repos/diging/quadriga/hooks","issue_events_url":"https://api.github.com/repos/diging/quadriga/issues/events{/number}","events_url":"https://api.github.com/repos/diging/quadriga/events","assignees_url":"https://api.github.com/repos/diging/quadriga/assignees{/user}","branches_url":"https://api.github.com/repos/diging/quadriga/branches{/branch}","tags_url":"https://api.github.com/repos/diging/quadriga/tags","blobs_url":"https://api.github.com/repos/diging/quadriga/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/diging/quadriga/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/diging/quadriga/git/refs{/sha}","trees_url":"https://api.github.com/repos/diging/quadriga/git/trees{/sha}","statuses_url":"https://api.github.com/repos/diging/quadriga/statuses/{sha}","languages_url":"https://api.github.com/repos/diging/quadriga/languages","stargazers_url":"https://api.github.com/repos/diging/quadriga/stargazers","contributors_url":"https://api.github.com/repos/diging/quadriga/contributors","subscribers_url":"https://api.github.com/repos/diging/quadriga/subscribers","subscription_url":"https://api.github.com/repos/diging/quadriga/subscription","commits_url":"https://api.github.com/repos/diging/quadriga/commits{/sha}","git_commits_url":"https://api.github.com/repos/diging/quadriga/git/commits{/sha}","comments_url":"https://api.github.com/repos/diging/quadriga/comments{/number}","issue_comment_url":"https://api.github.com/repos/diging/quadriga/issues/comments{/number}","contents_url":"https://api.github.com/repos/diging/quadriga/contents/{+path}","compare_url":"https://api.github.com/repos/diging/quadriga/compare/{base}...{head}","merges_url":"https://api.github.com/repos/diging/quadriga/merges","archive_url":"https://api.github.com/repos/diging/quadriga/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/diging/quadriga/downloads","issues_url":"https://api.github.com/repos/diging/quadriga/issues{/number}","pulls_url":"https://api.github.com/repos/diging/quadriga/pulls{/number}","milestones_url":"https://api.github.com/repos/diging/quadriga/milestones{/number}","notifications_url":"https://api.github.com/repos/diging/quadriga/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/diging/quadriga/labels{/name}","releases_url":"https://api.github.com/repos/diging/quadriga/releases{/id}","deployments_url":"https://api.github.com/repos/diging/quadriga/deployments","created_at":"2015-03-24T19:05:57Z","updated_at":"2016-03-07T03:29:55Z","pushed_at":"2016-03-21T21:23:11Z","git_url":"git://github.com/diging/quadriga.git","ssh_url":"git@github.com:diging/quadriga.git","clone_url":"https://github.com/diging/quadriga.git","svn_url":"https://github.com/diging/quadriga","homepage":"http://diging.github.io/quadriga/","size":11686,"stargazers_count":3,"watchers_count":3,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1,"mirror_url":null,"open_issues_count":8,"forks":1,"open_issues":8,"watchers":3,"default_branch":"develop"}},"base":{"label":"diging:develop","ref":"develop","sha":"e2d3a7e20e409588eca3b7650a278bda7b13f760","user":{"login":"diging","id":5402168,"avatar_url":"https://avatars.githubusercontent.com/u/5402168?v=3","gravatar_id":"","url":"https://api.github.com/users/diging","html_url":"https://github.com/diging","followers_url":"https://api.github.com/users/diging/followers","following_url":"https://api.github.com/users/diging/following{/other_user}","gists_url":"https://api.github.com/users/diging/gists{/gist_id}","starred_url":"https://api.github.com/users/diging/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diging/subscriptions","organizations_url":"https://api.github.com/users/diging/orgs","repos_url":"https://api.github.com/users/diging/repos","events_url":"https://api.github.com/users/diging/events{/privacy}","received_events_url":"https://api.github.com/users/diging/received_events","type":"Organization","site_admin":false},"repo":{"id":32819066,"name":"quadriga","full_name":"diging/quadriga","owner":{"login":"diging","id":5402168,"avatar_url":"https://avatars.githubusercontent.com/u/5402168?v=3","gravatar_id":"","url":"https://api.github.com/users/diging","html_url":"https://github.com/diging","followers_url":"https://api.github.com/users/diging/followers","following_url":"https://api.github.com/users/diging/following{/other_user}","gists_url":"https://api.github.com/users/diging/gists{/gist_id}","starred_url":"https://api.github.com/users/diging/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diging/subscriptions","organizations_url":"https://api.github.com/users/diging/orgs","repos_url":"https://api.github.com/users/diging/repos","events_url":"https://api.github.com/users/diging/events{/privacy}","received_events_url":"https://api.github.com/users/diging/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/diging/quadriga","description":"","fork":false,"url":"https://api.github.com/repos/diging/quadriga","forks_url":"https://api.github.com/repos/diging/quadriga/forks","keys_url":"https://api.github.com/repos/diging/quadriga/keys{/key_id}","collaborators_url":"https://api.github.com/repos/diging/quadriga/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/diging/quadriga/teams","hooks_url":"https://api.github.com/repos/diging/quadriga/hooks","issue_events_url":"https://api.github.com/repos/diging/quadriga/issues/events{/number}","events_url":"https://api.github.com/repos/diging/quadriga/events","assignees_url":"https://api.github.com/repos/diging/quadriga/assignees{/user}","branches_url":"https://api.github.com/repos/diging/quadriga/branches{/branch}","tags_url":"https://api.github.com/repos/diging/quadriga/tags","blobs_url":"https://api.github.com/repos/diging/quadriga/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/diging/quadriga/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/diging/quadriga/git/refs{/sha}","trees_url":"https://api.github.com/repos/diging/quadriga/git/trees{/sha}","statuses_url":"https://api.github.com/repos/diging/quadriga/statuses/{sha}","languages_url":"https://api.github.com/repos/diging/quadriga/languages","stargazers_url":"https://api.github.com/repos/diging/quadriga/stargazers","contributors_url":"https://api.github.com/repos/diging/quadriga/contributors","subscribers_url":"https://api.github.com/repos/diging/quadriga/subscribers","subscription_url":"https://api.github.com/repos/diging/quadriga/subscription","commits_url":"https://api.github.com/repos/diging/quadriga/commits{/sha}","git_commits_url":"https://api.github.com/repos/diging/quadriga/git/commits{/sha}","comments_url":"https://api.github.com/repos/diging/quadriga/comments{/number}","issue_comment_url":"https://api.github.com/repos/diging/quadriga/issues/comments{/number}","contents_url":"https://api.github.com/repos/diging/quadriga/contents/{+path}","compare_url":"https://api.github.com/repos/diging/quadriga/compare/{base}...{head}","merges_url":"https://api.github.com/repos/diging/quadriga/merges","archive_url":"https://api.github.com/repos/diging/quadriga/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/diging/quadriga/downloads","issues_url":"https://api.github.com/repos/diging/quadriga/issues{/number}","pulls_url":"https://api.github.com/repos/diging/quadriga/pulls{/number}","milestones_url":"https://api.github.com/repos/diging/quadriga/milestones{/number}","notifications_url":"https://api.github.com/repos/diging/quadriga/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/diging/quadriga/labels{/name}","releases_url":"https://api.github.com/repos/diging/quadriga/releases{/id}","deployments_url":"https://api.github.com/repos/diging/quadriga/deployments","created_at":"2015-03-24T19:05:57Z","updated_at":"2016-03-07T03:29:55Z","pushed_at":"2016-03-21T21:23:11Z","git_url":"git://github.com/diging/quadriga.git","ssh_url":"git@github.com:diging/quadriga.git","clone_url":"https://github.com/diging/quadriga.git","svn_url":"https://github.com/diging/quadriga","homepage":"http://diging.github.io/quadriga/","size":11686,"stargazers_count":3,"watchers_count":3,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1,"mirror_url":null,"open_issues_count":8,"forks":1,"open_issues":8,"watchers":3,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/diging/quadriga/pulls/163"},"html":{"href":"https://github.com/diging/quadriga/pull/163"},"issue":{"href":"https://api.github.com/repos/diging/quadriga/issues/163"},"comments":{"href":"https://api.github.com/repos/diging/quadriga/issues/163/comments"},"review_comments":{"href":"https://api.github.com/repos/diging/quadriga/pulls/163/comments"},"review_comment":{"href":"https://api.github.com/repos/diging/quadriga/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/diging/quadriga/pulls/163/commits"},"statuses":{"href":"https://api.github.com/repos/diging/quadriga/statuses/df80b3e1b5895c815970eeb6ecafb59e1c07f340"}}}}