{"action":"created","comment":{"url":"https://api.github.com/repos/yonadev/yona-server/pulls/comments/47768676","id":47768676,"diff_hunk":"@@ -0,0 +1,406 @@\n+package nu.yona.server.test\n+\n+import groovy.json.*\n+import groovyx.net.http.RESTClient\n+import groovyx.net.http.URIBuilder\n+\n+import java.text.SimpleDateFormat\n+\n+import nu.yona.server.YonaServer\n+\n+class AppService extends Service\n+{\n+\tfinal GOALS_PATH = \"/goals/\"\n+\tfinal USERS_PATH = \"/users/\"\n+\tfinal BUDDIES_PATH_FRAGMENT = \"/buddies/\"\n+\tfinal DIRECT_MESSAGES_PATH_FRAGMENT = \"/messages/direct/\"\n+\tfinal ANONYMOUS_MESSAGES_PATH_FRAGMENT = \"/messages/anonymous/\"\n+\tfinal ALL_MESSAGES_PATH_FRAGMENT = \"/messages/all/\"\n+\tfinal RELEVANT_CATEGORIES_PATH_FRAGMENT = \"/relevantCategories/\"\n+\tfinal NEW_DEVICE_REQUEST_PATH_FRAGMENT = \"/newDeviceRequest\"\n+\tfinal MOBILE_NUMBER_CONFIRMATION_PATH_FRAGMENT = \"/confirmMobileNumber\"\n+\n+\tJsonSlurper jsonSlurper = new JsonSlurper()\n+\n+\tAppService ()\n+\t{\n+\t\tsuper(\"yona.appservice.url\", \"http://localhost:8082\")\n+\t}\n+\n+\tvoid confirmMobileNumber(Closure asserter, User user)\n+\t{\n+\t\tdef response = confirmMobileNumber(user.mobileNumberConfirmationUrl, \"\"\"{ \"code\":\"${user.mobileNumberConfirmationCode}\" }\"\"\", user.password)\n+\t\tasserter(response)\n+\t}\n+\n+\tdef addUser(Closure asserter, password, firstName, lastName, nickname, mobileNumber, devices, goals, parameters = [:])\n+\t{\n+\t\tdef jsonStr = User.makeUserJsonString(firstName, lastName, nickname, mobileNumber, devices, goals, [])\n+\t\tdef response = addUser(jsonStr, password, parameters)\n+\t\tasserter(response)\n+\t\treturn (isSuccess(response)) ? new User(response.responseData, password) : null\n+\t}\n+\n+\tdef addUser(jsonString, password, parameters = [:])\n+\t{\n+\t\tyonaServer.createResourceWithPassword(USERS_PATH, jsonString, password, parameters)\n+\t}\n+\n+\tdef assertUserCreationResponseDetails(def response)\n+\t{\n+\t\tassertUserOverwriteResponseDetails(response)\n+\t\tassert response.responseData.confirmationCode\n+\t}\n+\n+\tdef assertUserUpdateResponseDetails(def response)\n+\t{\n+\t\tassert response.status == 200\n+\t\tassertUserWithPrivateData(response.responseData)\n+\t}\n+\n+\tdef assertUserOverwriteResponseDetails(def response)\n+\t{\n+\t\tassertResponseStatusCreated(response)\n+\t\tassertUserWithPrivateData(response.responseData)\n+\t}\n+\n+\tdef assertUserGetResponseDetailsWithPrivateDataCreatedOnBoddyRequest(def response)\n+\t{\n+\t\tassertResponseStatusSuccess(response)\n+\t\tassertUserWithPrivateDataCreatedOnBuddyRequest(response.responseData)\n+\t}\n+\n+\tdef assertUserGetResponseDetailsWithPrivateData(def response)\n+\t{\n+\t\tassertResponseStatusSuccess(response)\n+\t\tassertUserWithPrivateData(response.responseData)\n+\t}\n+\n+\tdef assertUserGetResponseDetailsWithoutPrivateData(def response)\n+\t{\n+\t\tassertResponseStatusSuccess(response)\n+\t\tassertUserWithoutPrivateData(response.responseData)\n+\t}\n+\n+\tdef assertUserWithPrivateDataCreatedOnBuddyRequest(user)\n+\t{\n+\t\tassertPublicUserData(user)\n+\t\tassertPrivateUserDataCreatedOnBuddyRequest(user)\n+\t}\n+\n+\tdef assertUserWithPrivateData(user)\n+\t{\n+\t\tassertPublicUserData(user)\n+\t\tassertPrivateUserData(user)\n+\t}\n+\n+\tdef assertPublicUserData(def user)\n+\t{\n+\t\tif (user instanceof User)\n+\t\t{\n+\t\t\tassert user.url != null\n+\t\t}\n+\t\telse\n+\t\t{\n+\t\t\tassert user._links.self.href != null\n+\t\t}\n+\t\tassert user.firstName != null\n+\t\tassert user.lastName != null\n+\t\tassert user.mobileNumber ==~/^\\+[0-9]+$/\n+\t}\n+\n+\tdef assertPrivateUserData(def user)\n+\t{\n+\t\tassertPrivateUserDataCreatedOnBuddyRequest(user)\n+\t\tassert user.nickname != null\n+\t\tassert user.devices.size() == 1\n+\t\tassert user.devices[0]\n+\t}\n+\n+\tdef assertPrivateUserDataCreatedOnBuddyRequest(def user)\n+\t{\n+\t\tassert user.vpnProfile.vpnLoginID ==~ /(?i)^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/\n+\t\tassert user.vpnProfile.vpnPassword.length() == 32\n+\t\tassert user.vpnProfile.openVPNProfile.length() > 10\n+\t}\n+\n+\tdef assertUserWithoutPrivateData(def user)\n+\t{\n+\t\tassertPublicUserData(user)\n+\t\tassert user.nickname == null\n+\t\tassert user.devices == null\n+\t\tassert user.goals == null\n+\t\tassert user.vpnProfile == null\n+\t}\n+\n+\tdef assertResponseStatusCreated(def response)\n+\t{\n+\t\tassert response.status == 201\n+\t}\n+\n+\tdef assertResponseStatusSuccess(def response)\n+\t{\n+\t\tassert isSuccess(response)\n+\t}\n+\n+\tdef isSuccess(def response)\n+\t{\n+\t\tresponse.status >= 200 && response.status < 300\n+\t}\n+\n+\tdef getUser(Closure asserter, userURL, boolean includePrivateData, password = null)\n+\t{\n+\t\tdef response\n+\t\tif (includePrivateData)\n+\t\t{\n+\t\t\tresponse = yonaServer.getResourceWithPassword(yonaServer.stripQueryString(userURL), password, yonaServer.getQueryParams(userURL) + [\"includePrivateData\": \"true\"])\n+\t\t}\n+\t\telse\n+\t\t{\n+\t\t\tresponse = yonaServer.getResourceWithPassword(userURL, password)\n+\t\t}\n+\t\tasserter(response)\n+\t\treturn (isSuccess(response)) ? new User(response.responseData, password, includePrivateData) : null\n+\t}\n+\n+\tdef makeBuddies(requestingUser, respondingUser)\n+\t{\n+\t\tsendBuddyConnectRequest(requestingUser, respondingUser)\n+\t\tdef acceptURL = fetchBuddyConnectRequestMessage(respondingUser).acceptURL\n+\t\tdef acceptResponse = postMessageActionWithPassword(acceptURL, [\"message\" : \"Yes, great idea!\"], respondingUser.password)\n+\t\tassert acceptResponse.status == 200\n+\n+\t\tdef processURL = fetchBuddyConnectResponseMessage(requestingUser).processURL\n+\n+\t\t// Have the requesting user process the buddy connect response\n+\t\tdef processResponse = postMessageActionWithPassword(processURL, [ : ], requestingUser.password)\n+\t\tassert processResponse.status == 200\n+\t}\n+\n+\tdef sendBuddyConnectRequest(sendingUser, receivingUser)\n+\t{\n+\t\t// Send the buddy request\n+\t\tdef response = requestBuddy(sendingUser.url, \"\"\"{\n+\t\t\t\"_embedded\":{\n+\t\t\t\t\"user\":{\n+\t\t\t\t\t\"firstName\":\"${receivingUser.firstName}\",\n+\t\t\t\t\t\"lastName\":\"${receivingUser.lastName}\",\n+\t\t\t\t\t\"mobileNumber\":\"${receivingUser.mobileNumber}\",\n+\t\t\t\t\t\"emailAddress\":\"not@used.nu\"\n+\t\t\t\t}\n+\t\t\t},\n+\t\t\t\"message\":\"Would you like to be my buddy?\",\n+\t\t\t\"sendingStatus\":\"REQUESTED\",\n+\t\t\t\"receivingStatus\":\"REQUESTED\"\n+\t\t}\"\"\", sendingUser.password)\n+\t\tassert response.status == 201\n+\t\tresponse\n+\t}\n+\n+\tdef fetchBuddyConnectRequestMessage(User user)\n+\t{\n+\t\t// Have the other user fetch the buddy connect request\n+\t\tdef response = getDirectMessages(user)\n+\t\tassert response.status == 200\n+\t\tassert response.responseData._embedded\n+\n+\t\tdef message = response.responseData._embedded?.buddyConnectRequestMessages[0]?.message ?: null\n+\t\tdef acceptURL = response.responseData._embedded?.buddyConnectRequestMessages[0]?._links?.accept?.href ?: null\n+\t\tdef rejectURL = response.responseData._embedded?.buddyConnectRequestMessages[0]?._links?.reject?.href ?: null\n+\n+\t\tdef result = [ : ]","path":"core/src/testUtils/groovy/nu/yona/server/test/AppService.groovy","position":212,"original_position":211,"commit_id":"369b48f45916c572afe1cd3142954fcc6e668baa","original_commit_id":"2e4e162cad103db46d62af44138ad78eb838484c","user":{"login":"Bert-R","id":7149792,"avatar_url":"https://avatars.githubusercontent.com/u/7149792?v=3","gravatar_id":"","url":"https://api.github.com/users/Bert-R","html_url":"https://github.com/Bert-R","followers_url":"https://api.github.com/users/Bert-R/followers","following_url":"https://api.github.com/users/Bert-R/following{/other_user}","gists_url":"https://api.github.com/users/Bert-R/gists{/gist_id}","starred_url":"https://api.github.com/users/Bert-R/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bert-R/subscriptions","organizations_url":"https://api.github.com/users/Bert-R/orgs","repos_url":"https://api.github.com/users/Bert-R/repos","events_url":"https://api.github.com/users/Bert-R/events{/privacy}","received_events_url":"https://api.github.com/users/Bert-R/received_events","type":"User","site_admin":false},"body":"Why not? It's better to do that here centrally then having to clutter all\ntests for it. If we do other messages with this pattern, we might want to\nintroduce a class, like buddy and user.\n\nThis particular method will never support other message types.\n","created_at":"2015-12-16T12:16:06Z","updated_at":"2015-12-16T12:16:06Z","html_url":"https://github.com/yonadev/yona-server/pull/67#discussion_r47768676","pull_request_url":"https://api.github.com/repos/yonadev/yona-server/pulls/67","_links":{"self":{"href":"https://api.github.com/repos/yonadev/yona-server/pulls/comments/47768676"},"html":{"href":"https://github.com/yonadev/yona-server/pull/67#discussion_r47768676"},"pull_request":{"href":"https://api.github.com/repos/yonadev/yona-server/pulls/67"}}},"pull_request":{"url":"https://api.github.com/repos/yonadev/yona-server/pulls/67","id":53619411,"html_url":"https://github.com/yonadev/yona-server/pull/67","diff_url":"https://github.com/yonadev/yona-server/pull/67.diff","patch_url":"https://github.com/yonadev/yona-server/pull/67.patch","issue_url":"https://api.github.com/repos/yonadev/yona-server/issues/67","number":67,"state":"open","locked":false,"title":"YD-131 Refactor tests","user":{"login":"Bert-R","id":7149792,"avatar_url":"https://avatars.githubusercontent.com/u/7149792?v=3","gravatar_id":"","url":"https://api.github.com/users/Bert-R","html_url":"https://github.com/Bert-R","followers_url":"https://api.github.com/users/Bert-R/followers","following_url":"https://api.github.com/users/Bert-R/following{/other_user}","gists_url":"https://api.github.com/users/Bert-R/gists{/gist_id}","starred_url":"https://api.github.com/users/Bert-R/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bert-R/subscriptions","organizations_url":"https://api.github.com/users/Bert-R/orgs","repos_url":"https://api.github.com/users/Bert-R/repos","events_url":"https://api.github.com/users/Bert-R/events{/privacy}","received_events_url":"https://api.github.com/users/Bert-R/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-12-14T20:46:55Z","updated_at":"2015-12-16T12:16:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1f3a62c13e0f11305bac454895f86d0f2be968ba","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/yonadev/yona-server/pulls/67/commits","review_comments_url":"https://api.github.com/repos/yonadev/yona-server/pulls/67/comments","review_comment_url":"https://api.github.com/repos/yonadev/yona-server/pulls/comments{/number}","comments_url":"https://api.github.com/repos/yonadev/yona-server/issues/67/comments","statuses_url":"https://api.github.com/repos/yonadev/yona-server/statuses/369b48f45916c572afe1cd3142954fcc6e668baa","head":{"label":"yonadev:yd-131-refactor-tests","ref":"yd-131-refactor-tests","sha":"369b48f45916c572afe1cd3142954fcc6e668baa","user":{"login":"yonadev","id":14901571,"avatar_url":"https://avatars.githubusercontent.com/u/14901571?v=3","gravatar_id":"","url":"https://api.github.com/users/yonadev","html_url":"https://github.com/yonadev","followers_url":"https://api.github.com/users/yonadev/followers","following_url":"https://api.github.com/users/yonadev/following{/other_user}","gists_url":"https://api.github.com/users/yonadev/gists{/gist_id}","starred_url":"https://api.github.com/users/yonadev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yonadev/subscriptions","organizations_url":"https://api.github.com/users/yonadev/orgs","repos_url":"https://api.github.com/users/yonadev/repos","events_url":"https://api.github.com/users/yonadev/events{/privacy}","received_events_url":"https://api.github.com/users/yonadev/received_events","type":"Organization","site_admin":false},"repo":{"id":43589108,"name":"yona-server","full_name":"yonadev/yona-server","owner":{"login":"yonadev","id":14901571,"avatar_url":"https://avatars.githubusercontent.com/u/14901571?v=3","gravatar_id":"","url":"https://api.github.com/users/yonadev","html_url":"https://github.com/yonadev","followers_url":"https://api.github.com/users/yonadev/followers","following_url":"https://api.github.com/users/yonadev/following{/other_user}","gists_url":"https://api.github.com/users/yonadev/gists{/gist_id}","starred_url":"https://api.github.com/users/yonadev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yonadev/subscriptions","organizations_url":"https://api.github.com/users/yonadev/orgs","repos_url":"https://api.github.com/users/yonadev/repos","events_url":"https://api.github.com/users/yonadev/events{/privacy}","received_events_url":"https://api.github.com/users/yonadev/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/yonadev/yona-server","description":"Yona Server","fork":false,"url":"https://api.github.com/repos/yonadev/yona-server","forks_url":"https://api.github.com/repos/yonadev/yona-server/forks","keys_url":"https://api.github.com/repos/yonadev/yona-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yonadev/yona-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yonadev/yona-server/teams","hooks_url":"https://api.github.com/repos/yonadev/yona-server/hooks","issue_events_url":"https://api.github.com/repos/yonadev/yona-server/issues/events{/number}","events_url":"https://api.github.com/repos/yonadev/yona-server/events","assignees_url":"https://api.github.com/repos/yonadev/yona-server/assignees{/user}","branches_url":"https://api.github.com/repos/yonadev/yona-server/branches{/branch}","tags_url":"https://api.github.com/repos/yonadev/yona-server/tags","blobs_url":"https://api.github.com/repos/yonadev/yona-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yonadev/yona-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yonadev/yona-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/yonadev/yona-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yonadev/yona-server/statuses/{sha}","languages_url":"https://api.github.com/repos/yonadev/yona-server/languages","stargazers_url":"https://api.github.com/repos/yonadev/yona-server/stargazers","contributors_url":"https://api.github.com/repos/yonadev/yona-server/contributors","subscribers_url":"https://api.github.com/repos/yonadev/yona-server/subscribers","subscription_url":"https://api.github.com/repos/yonadev/yona-server/subscription","commits_url":"https://api.github.com/repos/yonadev/yona-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/yonadev/yona-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/yonadev/yona-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/yonadev/yona-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/yonadev/yona-server/contents/{+path}","compare_url":"https://api.github.com/repos/yonadev/yona-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yonadev/yona-server/merges","archive_url":"https://api.github.com/repos/yonadev/yona-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yonadev/yona-server/downloads","issues_url":"https://api.github.com/repos/yonadev/yona-server/issues{/number}","pulls_url":"https://api.github.com/repos/yonadev/yona-server/pulls{/number}","milestones_url":"https://api.github.com/repos/yonadev/yona-server/milestones{/number}","notifications_url":"https://api.github.com/repos/yonadev/yona-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yonadev/yona-server/labels{/name}","releases_url":"https://api.github.com/repos/yonadev/yona-server/releases{/id}","created_at":"2015-10-03T05:33:54Z","updated_at":"2015-11-16T11:29:28Z","pushed_at":"2015-12-15T21:51:23Z","git_url":"git://github.com/yonadev/yona-server.git","ssh_url":"git@github.com:yonadev/yona-server.git","clone_url":"https://github.com/yonadev/yona-server.git","svn_url":"https://github.com/yonadev/yona-server","homepage":null,"size":1216,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":4,"forks":2,"open_issues":4,"watchers":1,"default_branch":"master"}},"base":{"label":"yonadev:master","ref":"master","sha":"c4c322087b49456b235ea7be3160ed453ecc2f8f","user":{"login":"yonadev","id":14901571,"avatar_url":"https://avatars.githubusercontent.com/u/14901571?v=3","gravatar_id":"","url":"https://api.github.com/users/yonadev","html_url":"https://github.com/yonadev","followers_url":"https://api.github.com/users/yonadev/followers","following_url":"https://api.github.com/users/yonadev/following{/other_user}","gists_url":"https://api.github.com/users/yonadev/gists{/gist_id}","starred_url":"https://api.github.com/users/yonadev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yonadev/subscriptions","organizations_url":"https://api.github.com/users/yonadev/orgs","repos_url":"https://api.github.com/users/yonadev/repos","events_url":"https://api.github.com/users/yonadev/events{/privacy}","received_events_url":"https://api.github.com/users/yonadev/received_events","type":"Organization","site_admin":false},"repo":{"id":43589108,"name":"yona-server","full_name":"yonadev/yona-server","owner":{"login":"yonadev","id":14901571,"avatar_url":"https://avatars.githubusercontent.com/u/14901571?v=3","gravatar_id":"","url":"https://api.github.com/users/yonadev","html_url":"https://github.com/yonadev","followers_url":"https://api.github.com/users/yonadev/followers","following_url":"https://api.github.com/users/yonadev/following{/other_user}","gists_url":"https://api.github.com/users/yonadev/gists{/gist_id}","starred_url":"https://api.github.com/users/yonadev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yonadev/subscriptions","organizations_url":"https://api.github.com/users/yonadev/orgs","repos_url":"https://api.github.com/users/yonadev/repos","events_url":"https://api.github.com/users/yonadev/events{/privacy}","received_events_url":"https://api.github.com/users/yonadev/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/yonadev/yona-server","description":"Yona Server","fork":false,"url":"https://api.github.com/repos/yonadev/yona-server","forks_url":"https://api.github.com/repos/yonadev/yona-server/forks","keys_url":"https://api.github.com/repos/yonadev/yona-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yonadev/yona-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yonadev/yona-server/teams","hooks_url":"https://api.github.com/repos/yonadev/yona-server/hooks","issue_events_url":"https://api.github.com/repos/yonadev/yona-server/issues/events{/number}","events_url":"https://api.github.com/repos/yonadev/yona-server/events","assignees_url":"https://api.github.com/repos/yonadev/yona-server/assignees{/user}","branches_url":"https://api.github.com/repos/yonadev/yona-server/branches{/branch}","tags_url":"https://api.github.com/repos/yonadev/yona-server/tags","blobs_url":"https://api.github.com/repos/yonadev/yona-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yonadev/yona-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yonadev/yona-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/yonadev/yona-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yonadev/yona-server/statuses/{sha}","languages_url":"https://api.github.com/repos/yonadev/yona-server/languages","stargazers_url":"https://api.github.com/repos/yonadev/yona-server/stargazers","contributors_url":"https://api.github.com/repos/yonadev/yona-server/contributors","subscribers_url":"https://api.github.com/repos/yonadev/yona-server/subscribers","subscription_url":"https://api.github.com/repos/yonadev/yona-server/subscription","commits_url":"https://api.github.com/repos/yonadev/yona-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/yonadev/yona-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/yonadev/yona-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/yonadev/yona-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/yonadev/yona-server/contents/{+path}","compare_url":"https://api.github.com/repos/yonadev/yona-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yonadev/yona-server/merges","archive_url":"https://api.github.com/repos/yonadev/yona-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yonadev/yona-server/downloads","issues_url":"https://api.github.com/repos/yonadev/yona-server/issues{/number}","pulls_url":"https://api.github.com/repos/yonadev/yona-server/pulls{/number}","milestones_url":"https://api.github.com/repos/yonadev/yona-server/milestones{/number}","notifications_url":"https://api.github.com/repos/yonadev/yona-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yonadev/yona-server/labels{/name}","releases_url":"https://api.github.com/repos/yonadev/yona-server/releases{/id}","created_at":"2015-10-03T05:33:54Z","updated_at":"2015-11-16T11:29:28Z","pushed_at":"2015-12-15T21:51:23Z","git_url":"git://github.com/yonadev/yona-server.git","ssh_url":"git@github.com:yonadev/yona-server.git","clone_url":"https://github.com/yonadev/yona-server.git","svn_url":"https://github.com/yonadev/yona-server","homepage":null,"size":1216,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":4,"forks":2,"open_issues":4,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/yonadev/yona-server/pulls/67"},"html":{"href":"https://github.com/yonadev/yona-server/pull/67"},"issue":{"href":"https://api.github.com/repos/yonadev/yona-server/issues/67"},"comments":{"href":"https://api.github.com/repos/yonadev/yona-server/issues/67/comments"},"review_comments":{"href":"https://api.github.com/repos/yonadev/yona-server/pulls/67/comments"},"review_comment":{"href":"https://api.github.com/repos/yonadev/yona-server/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/yonadev/yona-server/pulls/67/commits"},"statuses":{"href":"https://api.github.com/repos/yonadev/yona-server/statuses/369b48f45916c572afe1cd3142954fcc6e668baa"}}}}