{"action":"created","comment":{"url":"https://api.github.com/repos/SpineEventEngine/examples-java/pulls/comments/86795037","pull_request_review_id":7432749,"id":86795037,"diff_hunk":"@@ -0,0 +1,79 @@\n+/*\n+ * Copyright 2016, TeamDev Ltd. All rights reserved.\n+ *\n+ * Redistribution and use in source and/or binary forms, with or without\n+ * modification, must retain the above copyright notice and the following\n+ * disclaimer.\n+ *\n+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n+ * \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n+ * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n+ * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n+ * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n+ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n+ */\n+\n+package org.spine3.examples.storage.gae;\n+\n+import com.google.cloud.datastore.Datastore;\n+import org.spine3.examples.aggregate.server.Server;\n+import org.spine3.server.storage.datastore.DatastoreStorageFactory;\n+import org.spine3.server.storage.datastore.LocalDatastoreStorageFactory;\n+\n+import java.io.IOException;\n+\n+/**\n+ * A sample application showing basic usage of Spine framework running on GAE local Datastore.\n+ *\n+ * @author Alexander Litus","path":"server-examples/src/main/java/org/spine3/examples/storage/gae/GaeApplication.java","position":33,"original_position":33,"commit_id":"f1c8ef69048c3cc71313d0d91d87fb62d2079cdd","original_commit_id":"f1c8ef69048c3cc71313d0d91d87fb62d2079cdd","user":{"login":"armiol","id":82468,"avatar_url":"https://avatars.githubusercontent.com/u/82468?v=3","gravatar_id":"","url":"https://api.github.com/users/armiol","html_url":"https://github.com/armiol","followers_url":"https://api.github.com/users/armiol/followers","following_url":"https://api.github.com/users/armiol/following{/other_user}","gists_url":"https://api.github.com/users/armiol/gists{/gist_id}","starred_url":"https://api.github.com/users/armiol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/armiol/subscriptions","organizations_url":"https://api.github.com/users/armiol/orgs","repos_url":"https://api.github.com/users/armiol/repos","events_url":"https://api.github.com/users/armiol/events{/privacy}","received_events_url":"https://api.github.com/users/armiol/received_events","type":"User","site_admin":false},"body":"Please make sure you are the `@author` as well.","created_at":"2016-11-07T15:16:08Z","updated_at":"2016-11-07T15:18:57Z","html_url":"https://github.com/SpineEventEngine/examples-java/pull/4#discussion_r86795037","pull_request_url":"https://api.github.com/repos/SpineEventEngine/examples-java/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/SpineEventEngine/examples-java/pulls/comments/86795037"},"html":{"href":"https://github.com/SpineEventEngine/examples-java/pull/4#discussion_r86795037"},"pull_request":{"href":"https://api.github.com/repos/SpineEventEngine/examples-java/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/SpineEventEngine/examples-java/pulls/4","id":92593031,"html_url":"https://github.com/SpineEventEngine/examples-java/pull/4","diff_url":"https://github.com/SpineEventEngine/examples-java/pull/4.diff","patch_url":"https://github.com/SpineEventEngine/examples-java/pull/4.patch","issue_url":"https://api.github.com/repos/SpineEventEngine/examples-java/issues/4","number":4,"state":"open","locked":false,"title":"GAE example","user":{"login":"dmdashenkov","id":18305364,"avatar_url":"https://avatars.githubusercontent.com/u/18305364?v=3","gravatar_id":"","url":"https://api.github.com/users/dmdashenkov","html_url":"https://github.com/dmdashenkov","followers_url":"https://api.github.com/users/dmdashenkov/followers","following_url":"https://api.github.com/users/dmdashenkov/following{/other_user}","gists_url":"https://api.github.com/users/dmdashenkov/gists{/gist_id}","starred_url":"https://api.github.com/users/dmdashenkov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmdashenkov/subscriptions","organizations_url":"https://api.github.com/users/dmdashenkov/orgs","repos_url":"https://api.github.com/users/dmdashenkov/repos","events_url":"https://api.github.com/users/dmdashenkov/events{/privacy}","received_events_url":"https://api.github.com/users/dmdashenkov/received_events","type":"User","site_admin":false},"body":" - Added example of using GAE based storage (see `GaeApplication`)\r\n - Added tests for `GaeApplication` (a test is `@Ignore`d here; see [this issue](https://github.com/SpineEventEngine/gae-java/issues/5) for more details)\r\n - Also returned a _non blocking client_ example in `ClientApp`, removed in #3 ","created_at":"2016-11-07T14:31:15Z","updated_at":"2016-11-07T15:18:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"64dcea85fdbc2ec4ab23b2ee56b526c0db369743","assignee":{"login":"armiol","id":82468,"avatar_url":"https://avatars.githubusercontent.com/u/82468?v=3","gravatar_id":"","url":"https://api.github.com/users/armiol","html_url":"https://github.com/armiol","followers_url":"https://api.github.com/users/armiol/followers","following_url":"https://api.github.com/users/armiol/following{/other_user}","gists_url":"https://api.github.com/users/armiol/gists{/gist_id}","starred_url":"https://api.github.com/users/armiol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/armiol/subscriptions","organizations_url":"https://api.github.com/users/armiol/orgs","repos_url":"https://api.github.com/users/armiol/repos","events_url":"https://api.github.com/users/armiol/events{/privacy}","received_events_url":"https://api.github.com/users/armiol/received_events","type":"User","site_admin":false},"assignees":[{"login":"armiol","id":82468,"avatar_url":"https://avatars.githubusercontent.com/u/82468?v=3","gravatar_id":"","url":"https://api.github.com/users/armiol","html_url":"https://github.com/armiol","followers_url":"https://api.github.com/users/armiol/followers","following_url":"https://api.github.com/users/armiol/following{/other_user}","gists_url":"https://api.github.com/users/armiol/gists{/gist_id}","starred_url":"https://api.github.com/users/armiol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/armiol/subscriptions","organizations_url":"https://api.github.com/users/armiol/orgs","repos_url":"https://api.github.com/users/armiol/repos","events_url":"https://api.github.com/users/armiol/events{/privacy}","received_events_url":"https://api.github.com/users/armiol/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/SpineEventEngine/examples-java/pulls/4/commits","review_comments_url":"https://api.github.com/repos/SpineEventEngine/examples-java/pulls/4/comments","review_comment_url":"https://api.github.com/repos/SpineEventEngine/examples-java/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SpineEventEngine/examples-java/issues/4/comments","statuses_url":"https://api.github.com/repos/SpineEventEngine/examples-java/statuses/f1c8ef69048c3cc71313d0d91d87fb62d2079cdd","head":{"label":"SpineEventEngine:gae-example","ref":"gae-example","sha":"f1c8ef69048c3cc71313d0d91d87fb62d2079cdd","user":{"login":"SpineEventEngine","id":12821626,"avatar_url":"https://avatars.githubusercontent.com/u/12821626?v=3","gravatar_id":"","url":"https://api.github.com/users/SpineEventEngine","html_url":"https://github.com/SpineEventEngine","followers_url":"https://api.github.com/users/SpineEventEngine/followers","following_url":"https://api.github.com/users/SpineEventEngine/following{/other_user}","gists_url":"https://api.github.com/users/SpineEventEngine/gists{/gist_id}","starred_url":"https://api.github.com/users/SpineEventEngine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SpineEventEngine/subscriptions","organizations_url":"https://api.github.com/users/SpineEventEngine/orgs","repos_url":"https://api.github.com/users/SpineEventEngine/repos","events_url":"https://api.github.com/users/SpineEventEngine/events{/privacy}","received_events_url":"https://api.github.com/users/SpineEventEngine/received_events","type":"Organization","site_admin":false},"repo":{"id":65474400,"name":"examples-java","full_name":"SpineEventEngine/examples-java","owner":{"login":"SpineEventEngine","id":12821626,"avatar_url":"https://avatars.githubusercontent.com/u/12821626?v=3","gravatar_id":"","url":"https://api.github.com/users/SpineEventEngine","html_url":"https://github.com/SpineEventEngine","followers_url":"https://api.github.com/users/SpineEventEngine/followers","following_url":"https://api.github.com/users/SpineEventEngine/following{/other_user}","gists_url":"https://api.github.com/users/SpineEventEngine/gists{/gist_id}","starred_url":"https://api.github.com/users/SpineEventEngine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SpineEventEngine/subscriptions","organizations_url":"https://api.github.com/users/SpineEventEngine/orgs","repos_url":"https://api.github.com/users/SpineEventEngine/repos","events_url":"https://api.github.com/users/SpineEventEngine/events{/privacy}","received_events_url":"https://api.github.com/users/SpineEventEngine/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SpineEventEngine/examples-java","description":"Examples of using the framework from Java","fork":false,"url":"https://api.github.com/repos/SpineEventEngine/examples-java","forks_url":"https://api.github.com/repos/SpineEventEngine/examples-java/forks","keys_url":"https://api.github.com/repos/SpineEventEngine/examples-java/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SpineEventEngine/examples-java/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SpineEventEngine/examples-java/teams","hooks_url":"https://api.github.com/repos/SpineEventEngine/examples-java/hooks","issue_events_url":"https://api.github.com/repos/SpineEventEngine/examples-java/issues/events{/number}","events_url":"https://api.github.com/repos/SpineEventEngine/examples-java/events","assignees_url":"https://api.github.com/repos/SpineEventEngine/examples-java/assignees{/user}","branches_url":"https://api.github.com/repos/SpineEventEngine/examples-java/branches{/branch}","tags_url":"https://api.github.com/repos/SpineEventEngine/examples-java/tags","blobs_url":"https://api.github.com/repos/SpineEventEngine/examples-java/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SpineEventEngine/examples-java/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SpineEventEngine/examples-java/git/refs{/sha}","trees_url":"https://api.github.com/repos/SpineEventEngine/examples-java/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SpineEventEngine/examples-java/statuses/{sha}","languages_url":"https://api.github.com/repos/SpineEventEngine/examples-java/languages","stargazers_url":"https://api.github.com/repos/SpineEventEngine/examples-java/stargazers","contributors_url":"https://api.github.com/repos/SpineEventEngine/examples-java/contributors","subscribers_url":"https://api.github.com/repos/SpineEventEngine/examples-java/subscribers","subscription_url":"https://api.github.com/repos/SpineEventEngine/examples-java/subscription","commits_url":"https://api.github.com/repos/SpineEventEngine/examples-java/commits{/sha}","git_commits_url":"https://api.github.com/repos/SpineEventEngine/examples-java/git/commits{/sha}","comments_url":"https://api.github.com/repos/SpineEventEngine/examples-java/comments{/number}","issue_comment_url":"https://api.github.com/repos/SpineEventEngine/examples-java/issues/comments{/number}","contents_url":"https://api.github.com/repos/SpineEventEngine/examples-java/contents/{+path}","compare_url":"https://api.github.com/repos/SpineEventEngine/examples-java/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SpineEventEngine/examples-java/merges","archive_url":"https://api.github.com/repos/SpineEventEngine/examples-java/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SpineEventEngine/examples-java/downloads","issues_url":"https://api.github.com/repos/SpineEventEngine/examples-java/issues{/number}","pulls_url":"https://api.github.com/repos/SpineEventEngine/examples-java/pulls{/number}","milestones_url":"https://api.github.com/repos/SpineEventEngine/examples-java/milestones{/number}","notifications_url":"https://api.github.com/repos/SpineEventEngine/examples-java/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SpineEventEngine/examples-java/labels{/name}","releases_url":"https://api.github.com/repos/SpineEventEngine/examples-java/releases{/id}","deployments_url":"https://api.github.com/repos/SpineEventEngine/examples-java/deployments","created_at":"2016-08-11T14:06:24Z","updated_at":"2016-11-03T13:36:20Z","pushed_at":"2016-11-07T14:31:15Z","git_url":"git://github.com/SpineEventEngine/examples-java.git","ssh_url":"git@github.com:SpineEventEngine/examples-java.git","clone_url":"https://github.com/SpineEventEngine/examples-java.git","svn_url":"https://github.com/SpineEventEngine/examples-java","homepage":null,"size":115,"stargazers_count":2,"watchers_count":2,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":2,"default_branch":"master"}},"base":{"label":"SpineEventEngine:master","ref":"master","sha":"84b691ec333f47d4da2512d9a219a648ab7bccbb","user":{"login":"SpineEventEngine","id":12821626,"avatar_url":"https://avatars.githubusercontent.com/u/12821626?v=3","gravatar_id":"","url":"https://api.github.com/users/SpineEventEngine","html_url":"https://github.com/SpineEventEngine","followers_url":"https://api.github.com/users/SpineEventEngine/followers","following_url":"https://api.github.com/users/SpineEventEngine/following{/other_user}","gists_url":"https://api.github.com/users/SpineEventEngine/gists{/gist_id}","starred_url":"https://api.github.com/users/SpineEventEngine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SpineEventEngine/subscriptions","organizations_url":"https://api.github.com/users/SpineEventEngine/orgs","repos_url":"https://api.github.com/users/SpineEventEngine/repos","events_url":"https://api.github.com/users/SpineEventEngine/events{/privacy}","received_events_url":"https://api.github.com/users/SpineEventEngine/received_events","type":"Organization","site_admin":false},"repo":{"id":65474400,"name":"examples-java","full_name":"SpineEventEngine/examples-java","owner":{"login":"SpineEventEngine","id":12821626,"avatar_url":"https://avatars.githubusercontent.com/u/12821626?v=3","gravatar_id":"","url":"https://api.github.com/users/SpineEventEngine","html_url":"https://github.com/SpineEventEngine","followers_url":"https://api.github.com/users/SpineEventEngine/followers","following_url":"https://api.github.com/users/SpineEventEngine/following{/other_user}","gists_url":"https://api.github.com/users/SpineEventEngine/gists{/gist_id}","starred_url":"https://api.github.com/users/SpineEventEngine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SpineEventEngine/subscriptions","organizations_url":"https://api.github.com/users/SpineEventEngine/orgs","repos_url":"https://api.github.com/users/SpineEventEngine/repos","events_url":"https://api.github.com/users/SpineEventEngine/events{/privacy}","received_events_url":"https://api.github.com/users/SpineEventEngine/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SpineEventEngine/examples-java","description":"Examples of using the framework from Java","fork":false,"url":"https://api.github.com/repos/SpineEventEngine/examples-java","forks_url":"https://api.github.com/repos/SpineEventEngine/examples-java/forks","keys_url":"https://api.github.com/repos/SpineEventEngine/examples-java/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SpineEventEngine/examples-java/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SpineEventEngine/examples-java/teams","hooks_url":"https://api.github.com/repos/SpineEventEngine/examples-java/hooks","issue_events_url":"https://api.github.com/repos/SpineEventEngine/examples-java/issues/events{/number}","events_url":"https://api.github.com/repos/SpineEventEngine/examples-java/events","assignees_url":"https://api.github.com/repos/SpineEventEngine/examples-java/assignees{/user}","branches_url":"https://api.github.com/repos/SpineEventEngine/examples-java/branches{/branch}","tags_url":"https://api.github.com/repos/SpineEventEngine/examples-java/tags","blobs_url":"https://api.github.com/repos/SpineEventEngine/examples-java/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SpineEventEngine/examples-java/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SpineEventEngine/examples-java/git/refs{/sha}","trees_url":"https://api.github.com/repos/SpineEventEngine/examples-java/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SpineEventEngine/examples-java/statuses/{sha}","languages_url":"https://api.github.com/repos/SpineEventEngine/examples-java/languages","stargazers_url":"https://api.github.com/repos/SpineEventEngine/examples-java/stargazers","contributors_url":"https://api.github.com/repos/SpineEventEngine/examples-java/contributors","subscribers_url":"https://api.github.com/repos/SpineEventEngine/examples-java/subscribers","subscription_url":"https://api.github.com/repos/SpineEventEngine/examples-java/subscription","commits_url":"https://api.github.com/repos/SpineEventEngine/examples-java/commits{/sha}","git_commits_url":"https://api.github.com/repos/SpineEventEngine/examples-java/git/commits{/sha}","comments_url":"https://api.github.com/repos/SpineEventEngine/examples-java/comments{/number}","issue_comment_url":"https://api.github.com/repos/SpineEventEngine/examples-java/issues/comments{/number}","contents_url":"https://api.github.com/repos/SpineEventEngine/examples-java/contents/{+path}","compare_url":"https://api.github.com/repos/SpineEventEngine/examples-java/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SpineEventEngine/examples-java/merges","archive_url":"https://api.github.com/repos/SpineEventEngine/examples-java/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SpineEventEngine/examples-java/downloads","issues_url":"https://api.github.com/repos/SpineEventEngine/examples-java/issues{/number}","pulls_url":"https://api.github.com/repos/SpineEventEngine/examples-java/pulls{/number}","milestones_url":"https://api.github.com/repos/SpineEventEngine/examples-java/milestones{/number}","notifications_url":"https://api.github.com/repos/SpineEventEngine/examples-java/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SpineEventEngine/examples-java/labels{/name}","releases_url":"https://api.github.com/repos/SpineEventEngine/examples-java/releases{/id}","deployments_url":"https://api.github.com/repos/SpineEventEngine/examples-java/deployments","created_at":"2016-08-11T14:06:24Z","updated_at":"2016-11-03T13:36:20Z","pushed_at":"2016-11-07T14:31:15Z","git_url":"git://github.com/SpineEventEngine/examples-java.git","ssh_url":"git@github.com:SpineEventEngine/examples-java.git","clone_url":"https://github.com/SpineEventEngine/examples-java.git","svn_url":"https://github.com/SpineEventEngine/examples-java","homepage":null,"size":115,"stargazers_count":2,"watchers_count":2,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SpineEventEngine/examples-java/pulls/4"},"html":{"href":"https://github.com/SpineEventEngine/examples-java/pull/4"},"issue":{"href":"https://api.github.com/repos/SpineEventEngine/examples-java/issues/4"},"comments":{"href":"https://api.github.com/repos/SpineEventEngine/examples-java/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/SpineEventEngine/examples-java/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/SpineEventEngine/examples-java/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SpineEventEngine/examples-java/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/SpineEventEngine/examples-java/statuses/f1c8ef69048c3cc71313d0d91d87fb62d2079cdd"}}}}
{"actor":{"display_login":"armiol"}}