{"action":"created","comment":{"url":"https://api.github.com/repos/GovernmentCommunicationsHeadquarters/Gaffer/pulls/comments/79799922","id":79799922,"diff_hunk":"@@ -0,0 +1,45 @@\n+Copyright 2016 Crown Copyright\r\n+\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+\r\n+  http://www.apache.org/licenses/LICENSE-2.0\r\n+\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+\r\n+UI\r\n+============\r\n+This module contains a Gaffer UI prototype that connects to a Gaffer REST API.\r\n+\r\n+\r\n+There are two options for building and then running it:\r\n+\r\n+Option 1 - Deployable war file\r\n+==============================\r\n+\r\n+If you wish to deploy the war file to a container of your choice, then use this option.\r\n+\r\n+To build the war file along with all its dependencies then run the following command from the parent directory:\r\n+'mvn clean install'\r\n+\r\n+To deploy it to a server of your choice, take target/ui.war and deploy as per the usual deployment process for your server.\r\n+\r\n+\r\n+Option 2 - Build using the standalone-ui profile\r\n+=============================================\r\n+\r\n+The application can be built and then run as a basic executable standalone war file from Maven. When run in this format, the example rest api is also deployed.\r\n+\r\n+To build it and its dependencies, use the following command from the parent directory:\r\n+\r\n+'mvn clean install -P standalone-ui'\r\n+This uses the 'standalone-ui' profile to start a tomcat server with the ui and example-rest wars deployed.\r\n+\r\n+The ui can then be accessed via http://localhost:8080/ui and the rest api is at The ui can then be accessed via http://localhost:8080/rest\r","path":"ui/README.md","position":44,"original_position":44,"commit_id":"d9924cd9d716a0042d282f7bfc8f276d61ea9c75","original_commit_id":"d9924cd9d716a0042d282f7bfc8f276d61ea9c75","user":{"login":"gaffer01","id":16287361,"avatar_url":"https://avatars.githubusercontent.com/u/16287361?v=3","gravatar_id":"","url":"https://api.github.com/users/gaffer01","html_url":"https://github.com/gaffer01","followers_url":"https://api.github.com/users/gaffer01/followers","following_url":"https://api.github.com/users/gaffer01/following{/other_user}","gists_url":"https://api.github.com/users/gaffer01/gists{/gist_id}","starred_url":"https://api.github.com/users/gaffer01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaffer01/subscriptions","organizations_url":"https://api.github.com/users/gaffer01/orgs","repos_url":"https://api.github.com/users/gaffer01/repos","events_url":"https://api.github.com/users/gaffer01/events{/privacy}","received_events_url":"https://api.github.com/users/gaffer01/received_events","type":"User","site_admin":false},"body":"Sentence starts twice: \"and the rest api is at The ui can then be accessed\".","created_at":"2016-09-21T10:06:59Z","updated_at":"2016-09-21T10:06:59Z","html_url":"https://github.com/GovernmentCommunicationsHeadquarters/Gaffer/pull/416#discussion_r79799922","pull_request_url":"https://api.github.com/repos/GovernmentCommunicationsHeadquarters/Gaffer/pulls/416","_links":{"self":{"href":"https://api.github.com/repos/GovernmentCommunicationsHeadquarters/Gaffer/pulls/comments/79799922"},"html":{"href":"https://github.com/GovernmentCommunicationsHeadquarters/Gaffer/pull/416#discussion_r79799922"},"pull_request":{"href":"https://api.github.com/repos/GovernmentCommunicationsHeadquarters/Gaffer/pulls/416"}}},"pull_request":{"url":"https://api.github.com/repos/GovernmentCommunicationsHeadquarters/Gaffer/pulls/416","id":85818563,"html_url":"https://github.com/GovernmentCommunicationsHeadquarters/Gaffer/pull/416","diff_url":"https://github.com/GovernmentCommunicationsHeadquarters/Gaffer/pull/416.diff","patch_url":"https://github.com/GovernmentCommunicationsHeadquarters/Gaffer/pull/416.patch","issue_url":"https://api.github.com/repos/GovernmentCommunicationsHeadquarters/Gaffer/issues/416","number":416,"state":"open","locked":false,"title":"gh-398 prototype ui","user":{"login":"p013570","id":16834101,"avatar_url":"https://avatars.githubusercontent.com/u/16834101?v=3","gravatar_id":"","url":"https://api.github.com/users/p013570","html_url":"https://github.com/p013570","followers_url":"https://api.github.com/users/p013570/followers","following_url":"https://api.github.com/users/p013570/following{/other_user}","gists_url":"https://api.github.com/users/p013570/gists{/gist_id}","starred_url":"https://api.github.com/users/p013570/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/p013570/subscriptions","organizations_url":"https://api.github.com/users/p013570/orgs","repos_url":"https://api.github.com/users/p013570/repos","events_url":"https://api.github.com/users/p013570/events{/privacy}","received_events_url":"https://api.github.com/users/p013570/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-09-19T15:46:00Z","updated_at":"2016-09-21T10:06:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bc89f0c2beb91a677a755d76dd807524cba5cf78","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/GovernmentCommunicationsHeadquarters/Gaffer/pulls/416/commits","review_comments_url":"https://api.github.com/repos/GovernmentCommunicationsHeadquarters/Gaffer/pulls/416/comments","review_comment_url":"https://api.github.com/repos/GovernmentCommunicationsHeadquarters/Gaffer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/GovernmentCommunicationsHeadquarters/Gaffer/issues/416/comments","statuses_url":"https://api.github.com/repos/GovernmentCommunicationsHeadquarters/Gaffer/statuses/d9924cd9d716a0042d282f7bfc8f276d61ea9c75","head":{"label":"GovernmentCommunicationsHeadquarters:gh-398-ui","ref":"gh-398-ui","sha":"d9924cd9d716a0042d282f7bfc8f276d61ea9c75","user":{"login":"GovernmentCommunicationsHeadquarters","id":15800240,"avatar_url":"https://avatars.githubusercontent.com/u/15800240?v=3","gravatar_id":"","url":"https://api.github.com/users/GovernmentCommunicationsHeadquarters","html_url":"https://github.com/GovernmentCommunicationsHeadquarters","followers_url":"https://api.github.com/users/GovernmentCommunicationsHeadquarters/followers","following_url":"https://api.github.com/users/GovernmentCommunicationsHeadquarters/following{/other_user}","gists_url":"https://api.github.com/users/GovernmentCommunicationsHeadquarters/gists{/gist_id}","starred_url":"https://api.github.com/users/GovernmentCommunicationsHeadquarters/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GovernmentCommunicationsHeadquarters/subscriptions","organizations_url":"https://api.github.com/users/GovernmentCommunicationsHeadquarters/orgs","repos_url":"https://api.github.com/users/GovernmentCommunicationsHeadquarters/repos","events_url":"https://api.github.com/users/GovernmentCommunicationsHeadquarters/events{/privacy}","received_events_url":"https://api.github.com/users/GovernmentCommunicationsHeadquarters/received_events","type":"Organization","site_admin":false},"repo":{"id":47973088,"name":"Gaffer","full_name":"GovernmentCommunicationsHeadquarters/Gaffer","owner":{"login":"GovernmentCommunicationsHeadquarters","id":15800240,"avatar_url":"https://avatars.githubusercontent.com/u/15800240?v=3","gravatar_id":"","url":"https://api.github.com/users/GovernmentCommunicationsHeadquarters","html_url":"https://github.com/GovernmentCommunicationsHeadquarters","followers_url":"https://api.github.com/users/GovernmentCommunicationsHeadquarters/followers","following_url":"https://api.github.com/users/GovernmentCommunicationsHeadquarters/following{/other_user}","gists_url":"https://api.github.com/users/GovernmentCommunicationsHeadquarters/gists{/gist_id}","starred_url":"https://api.github.com/users/GovernmentCommunicationsHeadquarters/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GovernmentCommunicationsHeadquarters/subscriptions","organizations_url":"https://api.github.com/users/GovernmentCommunicationsHeadquarters/orgs","repos_url":"https://api.github.com/users/GovernmentCommunicationsHeadquarters/repos","events_url":"https://api.github.com/users/GovernmentCommunicationsHeadquarters/events{/privacy}","received_events_url":"https://api.github.com/users/GovernmentCommunicationsHeadquarters/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/GovernmentCommunicationsHeadquarters/Gaffer","description":"A large-scale graph database","fork":false,"url":"https://api.github.com/repos/GovernmentCommunicationsHeadquarters/Gaffer","forks_url":"https://api.github.com/repos/GovernmentCommunicationsHeadquarters/Gaffer/forks","keys_url":"https://api.github.com/repos/GovernmentCommunicationsHeadquarters/Gaffer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GovernmentCommunicationsHeadquarters/Gaffer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GovernmentCommunicationsHeadquarters/Gaffer/teams","hooks_url":"https://api.github.com/repos/GovernmentCommunicationsHeadquarters/Gaffer/hooks","issue_events_url":"https://api.github.com/repos/GovernmentCommunicationsHeadquarters/Gaffer/issues/events{/number}","events_url":"https://api.github.com/repos/GovernmentCommunicationsHeadquarters/Gaffer/events","assignees_url":"https://api.github.com/repos/GovernmentCommunicationsHeadquarters/Gaffer/assignees{/user}","branches_url":"https://api.github.com/repos/GovernmentCommunicationsHeadquarters/Gaffer/branches{/branch}","tags_url":"https://api.github.com/repos/GovernmentCommunicationsHeadquarters/Gaffer/tags","blobs_url":"https://api.github.com/repos/GovernmentCommunicationsHeadquarters/Gaffer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GovernmentCommunicationsHeadquarters/Gaffer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GovernmentCommunicationsHeadquarters/Gaffer/git/refs{/sha}","trees_url":"https://api.github.com/repos/GovernmentCommunicationsHeadquarters/Gaffer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GovernmentCommunicationsHeadquarters/Gaffer/statuses/{sha}","languages_url":"https://api.github.com/repos/GovernmentCommunicationsHeadquarters/Gaffer/languages","stargazers_url":"https://api.github.com/repos/GovernmentCommunicationsHeadquarters/Gaffer/stargazers","contributors_url":"https://api.github.com/repos/GovernmentCommunicationsHeadquarters/Gaffer/contributors","subscribers_url":"https://api.github.com/repos/GovernmentCommunicationsHeadquarters/Gaffer/subscribers","subscription_url":"https://api.github.com/repos/GovernmentCommunicationsHeadquarters/Gaffer/subscription","commits_url":"https://api.github.com/repos/GovernmentCommunicationsHeadquarters/Gaffer/commits{/sha}","git_commits_url":"https://api.github.com/repos/GovernmentCommunicationsHeadquarters/Gaffer/git/commits{/sha}","comments_url":"https://api.github.com/repos/GovernmentCommunicationsHeadquarters/Gaffer/comments{/number}","issue_comment_url":"https://api.github.com/repos/GovernmentCommunicationsHeadquarters/Gaffer/issues/comments{/number}","contents_url":"https://api.github.com/repos/GovernmentCommunicationsHeadquarters/Gaffer/contents/{+path}","compare_url":"https://api.github.com/repos/GovernmentCommunicationsHeadquarters/Gaffer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GovernmentCommunicationsHeadquarters/Gaffer/merges","archive_url":"https://api.github.com/repos/GovernmentCommunicationsHeadquarters/Gaffer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GovernmentCommunicationsHeadquarters/Gaffer/downloads","issues_url":"https://api.github.com/repos/GovernmentCommunicationsHeadquarters/Gaffer/issues{/number}","pulls_url":"https://api.github.com/repos/GovernmentCommunicationsHeadquarters/Gaffer/pulls{/number}","milestones_url":"https://api.github.com/repos/GovernmentCommunicationsHeadquarters/Gaffer/milestones{/number}","notifications_url":"https://api.github.com/repos/GovernmentCommunicationsHeadquarters/Gaffer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GovernmentCommunicationsHeadquarters/Gaffer/labels{/name}","releases_url":"https://api.github.com/repos/GovernmentCommunicationsHeadquarters/Gaffer/releases{/id}","deployments_url":"https://api.github.com/repos/GovernmentCommunicationsHeadquarters/Gaffer/deployments","created_at":"2015-12-14T12:12:39Z","updated_at":"2016-09-16T21:13:50Z","pushed_at":"2016-09-20T09:00:59Z","git_url":"git://github.com/GovernmentCommunicationsHeadquarters/Gaffer.git","ssh_url":"git@github.com:GovernmentCommunicationsHeadquarters/Gaffer.git","clone_url":"https://github.com/GovernmentCommunicationsHeadquarters/Gaffer.git","svn_url":"https://github.com/GovernmentCommunicationsHeadquarters/Gaffer","homepage":null,"size":16811,"stargazers_count":1218,"watchers_count":1218,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":266,"mirror_url":null,"open_issues_count":71,"forks":266,"open_issues":71,"watchers":1218,"default_branch":"master"}},"base":{"label":"GovernmentCommunicationsHeadquarters:develop","ref":"develop","sha":"414c9f29c00829fa4017bddab78c536e82842b8a","user":{"login":"GovernmentCommunicationsHeadquarters","id":15800240,"avatar_url":"https://avatars.githubusercontent.com/u/15800240?v=3","gravatar_id":"","url":"https://api.github.com/users/GovernmentCommunicationsHeadquarters","html_url":"https://github.com/GovernmentCommunicationsHeadquarters","followers_url":"https://api.github.com/users/GovernmentCommunicationsHeadquarters/followers","following_url":"https://api.github.com/users/GovernmentCommunicationsHeadquarters/following{/other_user}","gists_url":"https://api.github.com/users/GovernmentCommunicationsHeadquarters/gists{/gist_id}","starred_url":"https://api.github.com/users/GovernmentCommunicationsHeadquarters/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GovernmentCommunicationsHeadquarters/subscriptions","organizations_url":"https://api.github.com/users/GovernmentCommunicationsHeadquarters/orgs","repos_url":"https://api.github.com/users/GovernmentCommunicationsHeadquarters/repos","events_url":"https://api.github.com/users/GovernmentCommunicationsHeadquarters/events{/privacy}","received_events_url":"https://api.github.com/users/GovernmentCommunicationsHeadquarters/received_events","type":"Organization","site_admin":false},"repo":{"id":47973088,"name":"Gaffer","full_name":"GovernmentCommunicationsHeadquarters/Gaffer","owner":{"login":"GovernmentCommunicationsHeadquarters","id":15800240,"avatar_url":"https://avatars.githubusercontent.com/u/15800240?v=3","gravatar_id":"","url":"https://api.github.com/users/GovernmentCommunicationsHeadquarters","html_url":"https://github.com/GovernmentCommunicationsHeadquarters","followers_url":"https://api.github.com/users/GovernmentCommunicationsHeadquarters/followers","following_url":"https://api.github.com/users/GovernmentCommunicationsHeadquarters/following{/other_user}","gists_url":"https://api.github.com/users/GovernmentCommunicationsHeadquarters/gists{/gist_id}","starred_url":"https://api.github.com/users/GovernmentCommunicationsHeadquarters/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GovernmentCommunicationsHeadquarters/subscriptions","organizations_url":"https://api.github.com/users/GovernmentCommunicationsHeadquarters/orgs","repos_url":"https://api.github.com/users/GovernmentCommunicationsHeadquarters/repos","events_url":"https://api.github.com/users/GovernmentCommunicationsHeadquarters/events{/privacy}","received_events_url":"https://api.github.com/users/GovernmentCommunicationsHeadquarters/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/GovernmentCommunicationsHeadquarters/Gaffer","description":"A large-scale graph database","fork":false,"url":"https://api.github.com/repos/GovernmentCommunicationsHeadquarters/Gaffer","forks_url":"https://api.github.com/repos/GovernmentCommunicationsHeadquarters/Gaffer/forks","keys_url":"https://api.github.com/repos/GovernmentCommunicationsHeadquarters/Gaffer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GovernmentCommunicationsHeadquarters/Gaffer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GovernmentCommunicationsHeadquarters/Gaffer/teams","hooks_url":"https://api.github.com/repos/GovernmentCommunicationsHeadquarters/Gaffer/hooks","issue_events_url":"https://api.github.com/repos/GovernmentCommunicationsHeadquarters/Gaffer/issues/events{/number}","events_url":"https://api.github.com/repos/GovernmentCommunicationsHeadquarters/Gaffer/events","assignees_url":"https://api.github.com/repos/GovernmentCommunicationsHeadquarters/Gaffer/assignees{/user}","branches_url":"https://api.github.com/repos/GovernmentCommunicationsHeadquarters/Gaffer/branches{/branch}","tags_url":"https://api.github.com/repos/GovernmentCommunicationsHeadquarters/Gaffer/tags","blobs_url":"https://api.github.com/repos/GovernmentCommunicationsHeadquarters/Gaffer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GovernmentCommunicationsHeadquarters/Gaffer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GovernmentCommunicationsHeadquarters/Gaffer/git/refs{/sha}","trees_url":"https://api.github.com/repos/GovernmentCommunicationsHeadquarters/Gaffer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GovernmentCommunicationsHeadquarters/Gaffer/statuses/{sha}","languages_url":"https://api.github.com/repos/GovernmentCommunicationsHeadquarters/Gaffer/languages","stargazers_url":"https://api.github.com/repos/GovernmentCommunicationsHeadquarters/Gaffer/stargazers","contributors_url":"https://api.github.com/repos/GovernmentCommunicationsHeadquarters/Gaffer/contributors","subscribers_url":"https://api.github.com/repos/GovernmentCommunicationsHeadquarters/Gaffer/subscribers","subscription_url":"https://api.github.com/repos/GovernmentCommunicationsHeadquarters/Gaffer/subscription","commits_url":"https://api.github.com/repos/GovernmentCommunicationsHeadquarters/Gaffer/commits{/sha}","git_commits_url":"https://api.github.com/repos/GovernmentCommunicationsHeadquarters/Gaffer/git/commits{/sha}","comments_url":"https://api.github.com/repos/GovernmentCommunicationsHeadquarters/Gaffer/comments{/number}","issue_comment_url":"https://api.github.com/repos/GovernmentCommunicationsHeadquarters/Gaffer/issues/comments{/number}","contents_url":"https://api.github.com/repos/GovernmentCommunicationsHeadquarters/Gaffer/contents/{+path}","compare_url":"https://api.github.com/repos/GovernmentCommunicationsHeadquarters/Gaffer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GovernmentCommunicationsHeadquarters/Gaffer/merges","archive_url":"https://api.github.com/repos/GovernmentCommunicationsHeadquarters/Gaffer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GovernmentCommunicationsHeadquarters/Gaffer/downloads","issues_url":"https://api.github.com/repos/GovernmentCommunicationsHeadquarters/Gaffer/issues{/number}","pulls_url":"https://api.github.com/repos/GovernmentCommunicationsHeadquarters/Gaffer/pulls{/number}","milestones_url":"https://api.github.com/repos/GovernmentCommunicationsHeadquarters/Gaffer/milestones{/number}","notifications_url":"https://api.github.com/repos/GovernmentCommunicationsHeadquarters/Gaffer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GovernmentCommunicationsHeadquarters/Gaffer/labels{/name}","releases_url":"https://api.github.com/repos/GovernmentCommunicationsHeadquarters/Gaffer/releases{/id}","deployments_url":"https://api.github.com/repos/GovernmentCommunicationsHeadquarters/Gaffer/deployments","created_at":"2015-12-14T12:12:39Z","updated_at":"2016-09-16T21:13:50Z","pushed_at":"2016-09-20T09:00:59Z","git_url":"git://github.com/GovernmentCommunicationsHeadquarters/Gaffer.git","ssh_url":"git@github.com:GovernmentCommunicationsHeadquarters/Gaffer.git","clone_url":"https://github.com/GovernmentCommunicationsHeadquarters/Gaffer.git","svn_url":"https://github.com/GovernmentCommunicationsHeadquarters/Gaffer","homepage":null,"size":16811,"stargazers_count":1218,"watchers_count":1218,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":266,"mirror_url":null,"open_issues_count":71,"forks":266,"open_issues":71,"watchers":1218,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/GovernmentCommunicationsHeadquarters/Gaffer/pulls/416"},"html":{"href":"https://github.com/GovernmentCommunicationsHeadquarters/Gaffer/pull/416"},"issue":{"href":"https://api.github.com/repos/GovernmentCommunicationsHeadquarters/Gaffer/issues/416"},"comments":{"href":"https://api.github.com/repos/GovernmentCommunicationsHeadquarters/Gaffer/issues/416/comments"},"review_comments":{"href":"https://api.github.com/repos/GovernmentCommunicationsHeadquarters/Gaffer/pulls/416/comments"},"review_comment":{"href":"https://api.github.com/repos/GovernmentCommunicationsHeadquarters/Gaffer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/GovernmentCommunicationsHeadquarters/Gaffer/pulls/416/commits"},"statuses":{"href":"https://api.github.com/repos/GovernmentCommunicationsHeadquarters/Gaffer/statuses/d9924cd9d716a0042d282f7bfc8f276d61ea9c75"}}}}
{"actor":{"display_login":"gaffer01"}}