{"action":"created","comment":{"url":"https://api.github.com/repos/diging/quadriga/pulls/comments/67819317","id":67819317,"diff_hunk":"@@ -0,0 +1,61 @@\n+package edu.asu.spring.quadriga.web.projectblog;\n+\n+\n+import org.springframework.beans.factory.annotation.Autowired;\n+import org.springframework.stereotype.Controller;\n+import org.springframework.ui.Model;\n+import org.springframework.web.bind.annotation.PathVariable;\n+import org.springframework.web.bind.annotation.RequestMapping;\n+import org.springframework.web.bind.annotation.RequestMethod;\n+import org.springframework.web.servlet.ModelAndView;\n+\n+import edu.asu.spring.quadriga.aspects.annotations.InjectProject;\n+import edu.asu.spring.quadriga.aspects.annotations.ProjectIdentifier;\n+import edu.asu.spring.quadriga.domain.projectblog.IProjectBlogEntry;\n+import edu.asu.spring.quadriga.domain.workbench.IProject;\n+import edu.asu.spring.quadriga.exceptions.QuadrigaStorageException;\n+import edu.asu.spring.quadriga.service.projectblog.IProjectBlogEntryManager;\n+\n+/**\n+ * This controller shows the latest project blog entry in a new page\n+ * \n+ * @author Kavinya, Pawan\n+ *\n+ */\n+@Controller\n+public class ShowProjectBlogEntryDetailsController {\n+    @Autowired\n+    private IProjectBlogEntryManager projectBlogEntryManager;\n+\n+    /**\n+     * This method displays the recent project blog\n+     * \n+     * If the project has been set to 'accessible', then the public website page\n+     * is displayed. If the project does not exist then an error page is shown.\n+     * \n+     * @param unixName\n+     *            unix name that is given to the project at the time of its\n+     *            creation\n+     * @param model\n+     *            Model object to map values to view\n+     * @return returns a string to access the external website main page\n+     * @throws QuadrigaStorageException\n+     *             Database storage exception thrown\n+     */\n+    @RequestMapping(value = \"sites/{ProjectUnixName}/projectblog/{projectBlogEntryId}\", method = RequestMethod.GET)\n+    public String projectblogdetails(","path":"Quadriga/src/main/java/edu/asu/spring/quadriga/web/projectblog/ShowProjectBlogEntryDetailsController.java","position":46,"original_position":46,"commit_id":"06d0a1aa3be963f4580dd04d1edf511eb6eefb90","original_commit_id":"06d0a1aa3be963f4580dd04d1edf511eb6eefb90","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":"let's give that method a better name","created_at":"2016-06-21T07:24:29Z","updated_at":"2016-06-21T07:24:29Z","html_url":"https://github.com/diging/quadriga/pull/293#discussion_r67819317","pull_request_url":"https://api.github.com/repos/diging/quadriga/pulls/293","_links":{"self":{"href":"https://api.github.com/repos/diging/quadriga/pulls/comments/67819317"},"html":{"href":"https://github.com/diging/quadriga/pull/293#discussion_r67819317"},"pull_request":{"href":"https://api.github.com/repos/diging/quadriga/pulls/293"}}},"pull_request":{"url":"https://api.github.com/repos/diging/quadriga/pulls/293","id":74030140,"html_url":"https://github.com/diging/quadriga/pull/293","diff_url":"https://github.com/diging/quadriga/pull/293.diff","patch_url":"https://github.com/diging/quadriga/pull/293.patch","issue_url":"https://api.github.com/repos/diging/quadriga/issues/293","number":293,"state":"open","locked":false,"title":"Story/quad 135","user":{"login":"yyk16293","id":9074802,"avatar_url":"https://avatars.githubusercontent.com/u/9074802?v=3","gravatar_id":"","url":"https://api.github.com/users/yyk16293","html_url":"https://github.com/yyk16293","followers_url":"https://api.github.com/users/yyk16293/followers","following_url":"https://api.github.com/users/yyk16293/following{/other_user}","gists_url":"https://api.github.com/users/yyk16293/gists{/gist_id}","starred_url":"https://api.github.com/users/yyk16293/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yyk16293/subscriptions","organizations_url":"https://api.github.com/users/yyk16293/orgs","repos_url":"https://api.github.com/users/yyk16293/repos","events_url":"https://api.github.com/users/yyk16293/events{/privacy}","received_events_url":"https://api.github.com/users/yyk16293/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-06-16T06:50:50Z","updated_at":"2016-06-21T07:24:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9839499d167c6f9532405fee168416eb9262ce45","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/diging/quadriga/pulls/293/commits","review_comments_url":"https://api.github.com/repos/diging/quadriga/pulls/293/comments","review_comment_url":"https://api.github.com/repos/diging/quadriga/pulls/comments{/number}","comments_url":"https://api.github.com/repos/diging/quadriga/issues/293/comments","statuses_url":"https://api.github.com/repos/diging/quadriga/statuses/06d0a1aa3be963f4580dd04d1edf511eb6eefb90","head":{"label":"diging:story/QUAD-135","ref":"story/QUAD-135","sha":"06d0a1aa3be963f4580dd04d1edf511eb6eefb90","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-04-29T03:45:22Z","pushed_at":"2016-06-20T23:13:40Z","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":19367,"stargazers_count":5,"watchers_count":5,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":5,"default_branch":"develop"}},"base":{"label":"diging:develop","ref":"develop","sha":"6aa58d9417d889089a34deceef57b72eae8cb3f3","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-04-29T03:45:22Z","pushed_at":"2016-06-20T23:13:40Z","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":19367,"stargazers_count":5,"watchers_count":5,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":5,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/diging/quadriga/pulls/293"},"html":{"href":"https://github.com/diging/quadriga/pull/293"},"issue":{"href":"https://api.github.com/repos/diging/quadriga/issues/293"},"comments":{"href":"https://api.github.com/repos/diging/quadriga/issues/293/comments"},"review_comments":{"href":"https://api.github.com/repos/diging/quadriga/pulls/293/comments"},"review_comment":{"href":"https://api.github.com/repos/diging/quadriga/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/diging/quadriga/pulls/293/commits"},"statuses":{"href":"https://api.github.com/repos/diging/quadriga/statuses/06d0a1aa3be963f4580dd04d1edf511eb6eefb90"}}}}
{"actor":{"display_login":"jdamerow"}}