{"action":"created","comment":{"url":"https://api.github.com/repos/AmyAssist/Amy/pulls/comments/197411662","pull_request_review_id":131151313,"id":197411662,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5NzQxMTY2Mg==","diff_hunk":"@@ -0,0 +1,293 @@\n+/*\n+ * This source file is part of the Amy open source project.\n+ * For more information see github.com/AmyAssist\n+ * \n+ * Copyright (c) 2018 the Amy project authors.\n+ *\n+ * SPDX-License-Identifier: Apache-2.0\n+ * \n+ * Licensed under the Apache License, Version 2.0 (the \"License\");\n+ * you may not use this file except in compliance with the License.\n+ * You may obtain a copy of the License at \n+ * \n+ *   http://www.apache.org/licenses/LICENSE-2.0\n+ * \n+ * Unless required by applicable law or agreed to in writing, software\n+ * distributed under the License is distributed on an \"AS IS\" BASIS,\n+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+ * See the License for the specific language governing permissions and\n+ * limitations under the License.\n+ *\n+ * For more information see notice.md\n+ */\n+\n+package de.unistuttgart.iaas.amyassist.amy.plugin.spotify;\n+\n+import static org.hamcrest.MatcherAssert.assertThat;\n+import static org.hamcrest.Matchers.equalTo;\n+import static org.mockito.ArgumentMatchers.any;\n+import static org.mockito.Mockito.reset;\n+import static org.mockito.Mockito.verify;\n+import static org.mockito.Mockito.verifyNoMoreInteractions;\n+import static org.mockito.Mockito.when;\n+\n+import java.lang.reflect.Field;\n+import java.util.ArrayList;\n+import java.util.HashMap;\n+import java.util.List;\n+import java.util.Map;\n+\n+import org.junit.jupiter.api.BeforeEach;\n+import org.junit.jupiter.api.Test;\n+import org.junit.jupiter.api.extension.ExtendWith;\n+import org.mockito.Mock;\n+import org.mockito.junit.jupiter.MockitoExtension;\n+\n+import com.wrapper.spotify.model_objects.miscellaneous.CurrentlyPlayingContext;\n+import com.wrapper.spotify.model_objects.miscellaneous.Device;\n+import com.wrapper.spotify.model_objects.specification.ArtistSimplified;\n+import com.wrapper.spotify.model_objects.specification.Track;\n+\n+import de.unistuttgart.iaas.amyassist.amy.core.di.annotation.Reference;\n+import de.unistuttgart.iaas.amyassist.amy.test.FrameworkExtention;\n+import de.unistuttgart.iaas.amyassist.amy.test.TestFramework;\n+\n+@ExtendWith({ MockitoExtension.class, FrameworkExtention.class })\n+class PlayerlogicTest {\n+\n+\tprivate PlayerLogic playerLogic;\n+\t\n+\t@Reference\n+\tprivate TestFramework testFramework;\n+\t\n+\tprivate Device[] devices;\n+\tprivate CurrentlyPlayingContext currentlyPlayingContext;\n+\tprivate List<Map<String, String>> featuredPlaylists;\n+\n+\t@Mock\n+\tprivate SpotifyAPICalls spotifyAPICalls;\n+\n+\t@Mock\n+\tprivate Search search;\n+\t\n+\n+\t@BeforeEach\n+\tpublic void init() {\n+\t\tplayerLogic = new PlayerLogic();\n+\t\tplayerLogic.init();\n+\t\tField apiCallField;\n+\t\tField searchField;\n+\t\tinitDevices();\n+\t\tinitCurrentTrack();\n+\t\tinitFeaturedPlaylist();\n+\n+\t\ttry {\n+\t\t\tapiCallField = PlayerLogic.class.getDeclaredField(\"spotifyAPICalls\");\n+\t\t\tapiCallField.setAccessible(true);\n+\t\t\tapiCallField.set(playerLogic, spotifyAPICalls);\n+\t\t\tsearchField = PlayerLogic.class.getDeclaredField(\"search\");\n+\t\t\tsearchField.setAccessible(true);\n+\t\t\tsearchField.set(playerLogic, search);\n+\t\t} catch (IllegalArgumentException | IllegalAccessException | NoSuchFieldException | SecurityException e) {\n+\t\t}\n+\t}\n+\n+\tpublic void initDevices() {\n+\t\tdevices = new Device[2];\n+\t\tdevices[0] = new Device.Builder().setId(\"abc123\").setIs_active(true).setName(\"Hello\").setVolume_percent(50)\n+\t\t\t\t.setType(\"Smartphone\").build();\n+\t\tdevices[1] = new Device.Builder().setId(\"123abc\").setIs_active(false).setName(\"Godbye\").setType(\"Computer\")\n+\t\t\t\t.build();\n+\t}\n+\n+\tpublic void initCurrentTrack() {\n+\n+\t\tTrack track1 = new Track.Builder().setName(\"Flames\").setUri(\"123\")\n+\t\t\t\t.setArtists(new ArtistSimplified.Builder().setName(\"David Guetta\").build(),\n+\t\t\t\t\t\tnew ArtistSimplified.Builder().setName(\"Hans Dieter\").build())\n+\t\t\t\t.build();\n+\t\tcurrentlyPlayingContext = new CurrentlyPlayingContext.Builder().setItem(track1).build();\n+\t}\n+\t\n+\tpublic void initFeaturedPlaylist() {\n+\t\tfeaturedPlaylists = new ArrayList<>();\n+\t\tMap<String, String> entry1 = new HashMap<>();\n+\t\tentry1.put(SpotifyConstants.ITEM_URI, \"abc\");\n+\t\tfeaturedPlaylists.add(entry1);\n+\t\tMap<String, String> entry2 = new HashMap<>();\n+\t\tentry2.put(SpotifyConstants.ITEM_URI, \"123\");\n+\t\tfeaturedPlaylists.add(entry2);\n+\t\t\n+\t}\n+\n+\t@Test\n+\tpublic void testFirstTimeInit() {\n+\t\tplayerLogic.firstTimeInit(\"abc\", \"abc\");\n+\t\tverify(spotifyAPICalls).setClientID(\"abc\");\n+\t\tverify(spotifyAPICalls).setClientSecret(\"abc\");\n+\t\tverify(spotifyAPICalls).authorizationCodeUri();\n+\t\tverifyNoMoreInteractions(spotifyAPICalls);\n+\t}\n+\n+\t@Test\n+\tpublic void testInputAuthCode() {\n+\t\tplayerLogic.inputAuthCode(\"abc\");\n+\t\tverify(spotifyAPICalls).createRefreshToken(\"abc\");\n+\t\tverifyNoMoreInteractions(spotifyAPICalls);\n+\t}\n+\n+\t@Test\n+\tpublic void testGetDevices() {\n+\t\twhen(spotifyAPICalls.getDevices()).thenReturn(devices);\n+\t\tList<String> result = playerLogic.getDevices();\n+\t\tassertThat(result.get(0), equalTo(\"Hello\"));\n+\t\tassertThat(result.get(1), equalTo(\"Godbye\"));\n+\t\tverify(spotifyAPICalls).getDevices();\n+\t\treset(spotifyAPICalls);\n+\n+\t\twhen(spotifyAPICalls.getDevices()).thenReturn(null);\n+\t\tList<String> result2 = playerLogic.getDevices();\n+\t\tassertThat(result2.isEmpty(), equalTo(true));\n+\t\tverify(spotifyAPICalls).getDevices();\n+\t\treset(spotifyAPICalls);\n+\t}\n+\n+\t@Test\n+\tpublic void testSetDevice() {\n+\t\twhen(spotifyAPICalls.getDevices()).thenReturn(null);\n+\t\tassertThat(playerLogic.setDevice(0), equalTo(\"No device found\"));\n+\n+\t\twhen(spotifyAPICalls.getDevices()).thenReturn(devices);\n+\t\tassertThat(playerLogic.setDevice(0), equalTo(\"Hello\"));\n+\t\treset(spotifyAPICalls);\n+\t}\n+\n+\t@Test\n+\tpublic void testSearch() {\n+\t\tplayerLogic.search(\"Hello\", \"track\", 1);\n+\t\tverify(search).searchList(\"Hello\", \"track\", 1);\n+\t}\n+\n+\t@Test\n+\tpublic void testConvertSearchOutputString() {\n+\n+\t}\n+\n+\t@Test\n+\tpublic void testPlayEmptyList() {\n+\t\twhen(search.getFeaturedPlaylists()).thenReturn(new ArrayList<>());\n+\t\tassertThat(playerLogic.play().isEmpty(), equalTo(true));\n+\t\n+\t}\n+\t\n+\t@Test\n+\tpublic void testPlayNotEmptyList() {\n+\t\twhen(search.getFeaturedPlaylists()).thenReturn(featuredPlaylists);\n+\t\twhen(spotifyAPICalls.playListFromUri(any())).thenReturn(true);\n+\t\tassertThat(playerLogic.play().get(SpotifyConstants.ITEM_URI), equalTo(\"123\"));\n+\t\tverify(spotifyAPICalls).playListFromUri(\"123\");\n+\t}\n+\t\n+\n+\t@Test\n+\tpublic void testResume() {\n+\t\tplayerLogic.resume();\n+\t\tverify(spotifyAPICalls).resume();\n+\t\tverifyNoMoreInteractions(spotifyAPICalls);\n+\t}\n+\n+\t@Test\n+\tpublic void testPause() {\n+\t\tplayerLogic.pause();\n+\t\tverify(spotifyAPICalls).pause();\n+\t\tverifyNoMoreInteractions(spotifyAPICalls);\n+\t}\n+\n+\t@Test\n+\tpublic void testSkip() {\n+\t\tplayerLogic.skip();\n+\t\tverify(spotifyAPICalls).skip();\n+\t\tverifyNoMoreInteractions(spotifyAPICalls);\n+\t}\n+\n+\t@Test\n+\tpublic void testBack() {\n+\t\tplayerLogic.back();\n+\t\tverify(spotifyAPICalls).back();\n+\t\tverifyNoMoreInteractions(spotifyAPICalls);\n+\t}\n+\n+\t@Test\n+\tpublic void testGetCurrentSong() {\n+\t\twhen(spotifyAPICalls.getCurrentSong()).thenReturn(currentlyPlayingContext);\n+\t\twhen(search.createTrackOutput(any(), any())).thenCallRealMethod();\n+\t\tMap<String, String> result1 = playerLogic.getCurrentSong();\n+\t\tassertThat(result1.get(SpotifyConstants.ITEM_NAME), equalTo(\"Flames\"));\n+\t\tassertThat(result1.get(SpotifyConstants.ITEM_TYPE), equalTo(\"track\"));\n+\t\tassertThat(result1.get(SpotifyConstants.ITEM_URI), equalTo(\"123\"));\n+\t\tassertThat(result1.get(SpotifyConstants.ARTIST_NAME), equalTo(\"David Guetta, Hans Dieter\"));\n+\t\t\n+\t\twhen(spotifyAPICalls.getCurrentSong()).thenReturn(null);\n+\t\tMap<String, String> result2 = playerLogic.getCurrentSong();\n+\t\tassertThat(result2.isEmpty(), equalTo(true));\n+\t}\n+\n+\t@Test\n+\tpublic void testSetVolumeString() {\n+\t\twhen(spotifyAPICalls.getVolume()).thenReturn(50);\n+\t\tassertThat(playerLogic.setVolume(\"mute\"), equalTo(0));\n+\t\tverify(spotifyAPICalls).setVolume(0);\n+\t\tverifyNoMoreInteractions(spotifyAPICalls);\n+\t\treset(spotifyAPICalls);","path":"plugins/spotify/src/test/java/de/unistuttgart/iaas/amyassist/amy/plugin/spotify/PlayerlogicTest.java","position":241,"original_position":241,"commit_id":"04f8ca853f459edf8aaae6f3ccfd5f9530b3d895","original_commit_id":"04f8ca853f459edf8aaae6f3ccfd5f9530b3d895","user":{"login":"Legion2","id":12752323,"node_id":"MDQ6VXNlcjEyNzUyMzIz","avatar_url":"https://avatars3.githubusercontent.com/u/12752323?v=4","gravatar_id":"","url":"https://api.github.com/users/Legion2","html_url":"https://github.com/Legion2","followers_url":"https://api.github.com/users/Legion2/followers","following_url":"https://api.github.com/users/Legion2/following{/other_user}","gists_url":"https://api.github.com/users/Legion2/gists{/gist_id}","starred_url":"https://api.github.com/users/Legion2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Legion2/subscriptions","organizations_url":"https://api.github.com/users/Legion2/orgs","repos_url":"https://api.github.com/users/Legion2/repos","events_url":"https://api.github.com/users/Legion2/events{/privacy}","received_events_url":"https://api.github.com/users/Legion2/received_events","type":"User","site_admin":false},"body":"instead of reset, splitt the test in more methods","created_at":"2018-06-22T10:50:32Z","updated_at":"2018-06-22T10:50:32Z","html_url":"https://github.com/AmyAssist/Amy/pull/110#discussion_r197411662","pull_request_url":"https://api.github.com/repos/AmyAssist/Amy/pulls/110","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/AmyAssist/Amy/pulls/comments/197411662"},"html":{"href":"https://github.com/AmyAssist/Amy/pull/110#discussion_r197411662"},"pull_request":{"href":"https://api.github.com/repos/AmyAssist/Amy/pulls/110"}}},"pull_request":{"url":"https://api.github.com/repos/AmyAssist/Amy/pulls/110","id":196665065,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk2NjY1MDY1","html_url":"https://github.com/AmyAssist/Amy/pull/110","diff_url":"https://github.com/AmyAssist/Amy/pull/110.diff","patch_url":"https://github.com/AmyAssist/Amy/pull/110.patch","issue_url":"https://api.github.com/repos/AmyAssist/Amy/issues/110","number":110,"state":"open","locked":false,"title":"Spotify new tests","user":{"login":"buddy200","id":1495978,"node_id":"MDQ6VXNlcjE0OTU5Nzg=","avatar_url":"https://avatars0.githubusercontent.com/u/1495978?v=4","gravatar_id":"","url":"https://api.github.com/users/buddy200","html_url":"https://github.com/buddy200","followers_url":"https://api.github.com/users/buddy200/followers","following_url":"https://api.github.com/users/buddy200/following{/other_user}","gists_url":"https://api.github.com/users/buddy200/gists{/gist_id}","starred_url":"https://api.github.com/users/buddy200/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/buddy200/subscriptions","organizations_url":"https://api.github.com/users/buddy200/orgs","repos_url":"https://api.github.com/users/buddy200/repos","events_url":"https://api.github.com/users/buddy200/events{/privacy}","received_events_url":"https://api.github.com/users/buddy200/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-06-22T08:03:33Z","updated_at":"2018-06-22T10:50:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"97b04f0212d15902702452226fcfe3e8113130ce","assignee":null,"assignees":[],"requested_reviewers":[{"login":"Bensge","id":1275898,"node_id":"MDQ6VXNlcjEyNzU4OTg=","avatar_url":"https://avatars1.githubusercontent.com/u/1275898?v=4","gravatar_id":"","url":"https://api.github.com/users/Bensge","html_url":"https://github.com/Bensge","followers_url":"https://api.github.com/users/Bensge/followers","following_url":"https://api.github.com/users/Bensge/following{/other_user}","gists_url":"https://api.github.com/users/Bensge/gists{/gist_id}","starred_url":"https://api.github.com/users/Bensge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bensge/subscriptions","organizations_url":"https://api.github.com/users/Bensge/orgs","repos_url":"https://api.github.com/users/Bensge/repos","events_url":"https://api.github.com/users/Bensge/events{/privacy}","received_events_url":"https://api.github.com/users/Bensge/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/AmyAssist/Amy/pulls/110/commits","review_comments_url":"https://api.github.com/repos/AmyAssist/Amy/pulls/110/comments","review_comment_url":"https://api.github.com/repos/AmyAssist/Amy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/AmyAssist/Amy/issues/110/comments","statuses_url":"https://api.github.com/repos/AmyAssist/Amy/statuses/04f8ca853f459edf8aaae6f3ccfd5f9530b3d895","head":{"label":"AmyAssist:spotifyNewTests","ref":"spotifyNewTests","sha":"04f8ca853f459edf8aaae6f3ccfd5f9530b3d895","user":{"login":"AmyAssist","id":39340355,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM5MzQwMzU1","avatar_url":"https://avatars0.githubusercontent.com/u/39340355?v=4","gravatar_id":"","url":"https://api.github.com/users/AmyAssist","html_url":"https://github.com/AmyAssist","followers_url":"https://api.github.com/users/AmyAssist/followers","following_url":"https://api.github.com/users/AmyAssist/following{/other_user}","gists_url":"https://api.github.com/users/AmyAssist/gists{/gist_id}","starred_url":"https://api.github.com/users/AmyAssist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AmyAssist/subscriptions","organizations_url":"https://api.github.com/users/AmyAssist/orgs","repos_url":"https://api.github.com/users/AmyAssist/repos","events_url":"https://api.github.com/users/AmyAssist/events{/privacy}","received_events_url":"https://api.github.com/users/AmyAssist/received_events","type":"Organization","site_admin":false},"repo":{"id":134390462,"node_id":"MDEwOlJlcG9zaXRvcnkxMzQzOTA0NjI=","name":"Amy","full_name":"AmyAssist/Amy","owner":{"login":"AmyAssist","id":39340355,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM5MzQwMzU1","avatar_url":"https://avatars0.githubusercontent.com/u/39340355?v=4","gravatar_id":"","url":"https://api.github.com/users/AmyAssist","html_url":"https://github.com/AmyAssist","followers_url":"https://api.github.com/users/AmyAssist/followers","following_url":"https://api.github.com/users/AmyAssist/following{/other_user}","gists_url":"https://api.github.com/users/AmyAssist/gists{/gist_id}","starred_url":"https://api.github.com/users/AmyAssist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AmyAssist/subscriptions","organizations_url":"https://api.github.com/users/AmyAssist/orgs","repos_url":"https://api.github.com/users/AmyAssist/repos","events_url":"https://api.github.com/users/AmyAssist/events{/privacy}","received_events_url":"https://api.github.com/users/AmyAssist/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/AmyAssist/Amy","description":"Personal Assistance System","fork":false,"url":"https://api.github.com/repos/AmyAssist/Amy","forks_url":"https://api.github.com/repos/AmyAssist/Amy/forks","keys_url":"https://api.github.com/repos/AmyAssist/Amy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AmyAssist/Amy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AmyAssist/Amy/teams","hooks_url":"https://api.github.com/repos/AmyAssist/Amy/hooks","issue_events_url":"https://api.github.com/repos/AmyAssist/Amy/issues/events{/number}","events_url":"https://api.github.com/repos/AmyAssist/Amy/events","assignees_url":"https://api.github.com/repos/AmyAssist/Amy/assignees{/user}","branches_url":"https://api.github.com/repos/AmyAssist/Amy/branches{/branch}","tags_url":"https://api.github.com/repos/AmyAssist/Amy/tags","blobs_url":"https://api.github.com/repos/AmyAssist/Amy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AmyAssist/Amy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AmyAssist/Amy/git/refs{/sha}","trees_url":"https://api.github.com/repos/AmyAssist/Amy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AmyAssist/Amy/statuses/{sha}","languages_url":"https://api.github.com/repos/AmyAssist/Amy/languages","stargazers_url":"https://api.github.com/repos/AmyAssist/Amy/stargazers","contributors_url":"https://api.github.com/repos/AmyAssist/Amy/contributors","subscribers_url":"https://api.github.com/repos/AmyAssist/Amy/subscribers","subscription_url":"https://api.github.com/repos/AmyAssist/Amy/subscription","commits_url":"https://api.github.com/repos/AmyAssist/Amy/commits{/sha}","git_commits_url":"https://api.github.com/repos/AmyAssist/Amy/git/commits{/sha}","comments_url":"https://api.github.com/repos/AmyAssist/Amy/comments{/number}","issue_comment_url":"https://api.github.com/repos/AmyAssist/Amy/issues/comments{/number}","contents_url":"https://api.github.com/repos/AmyAssist/Amy/contents/{+path}","compare_url":"https://api.github.com/repos/AmyAssist/Amy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AmyAssist/Amy/merges","archive_url":"https://api.github.com/repos/AmyAssist/Amy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AmyAssist/Amy/downloads","issues_url":"https://api.github.com/repos/AmyAssist/Amy/issues{/number}","pulls_url":"https://api.github.com/repos/AmyAssist/Amy/pulls{/number}","milestones_url":"https://api.github.com/repos/AmyAssist/Amy/milestones{/number}","notifications_url":"https://api.github.com/repos/AmyAssist/Amy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AmyAssist/Amy/labels{/name}","releases_url":"https://api.github.com/repos/AmyAssist/Amy/releases{/id}","deployments_url":"https://api.github.com/repos/AmyAssist/Amy/deployments","created_at":"2018-05-22T09:16:34Z","updated_at":"2018-06-21T13:58:38Z","pushed_at":"2018-06-22T09:42:39Z","git_url":"git://github.com/AmyAssist/Amy.git","ssh_url":"git@github.com:AmyAssist/Amy.git","clone_url":"https://github.com/AmyAssist/Amy.git","svn_url":"https://github.com/AmyAssist/Amy","homepage":null,"size":2437,"stargazers_count":4,"watchers_count":4,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":40,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":40,"watchers":4,"default_branch":"dev"}},"base":{"label":"AmyAssist:dev","ref":"dev","sha":"ed003cc0d28c2b0ad9dc6b870a59aab3931b1a50","user":{"login":"AmyAssist","id":39340355,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM5MzQwMzU1","avatar_url":"https://avatars0.githubusercontent.com/u/39340355?v=4","gravatar_id":"","url":"https://api.github.com/users/AmyAssist","html_url":"https://github.com/AmyAssist","followers_url":"https://api.github.com/users/AmyAssist/followers","following_url":"https://api.github.com/users/AmyAssist/following{/other_user}","gists_url":"https://api.github.com/users/AmyAssist/gists{/gist_id}","starred_url":"https://api.github.com/users/AmyAssist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AmyAssist/subscriptions","organizations_url":"https://api.github.com/users/AmyAssist/orgs","repos_url":"https://api.github.com/users/AmyAssist/repos","events_url":"https://api.github.com/users/AmyAssist/events{/privacy}","received_events_url":"https://api.github.com/users/AmyAssist/received_events","type":"Organization","site_admin":false},"repo":{"id":134390462,"node_id":"MDEwOlJlcG9zaXRvcnkxMzQzOTA0NjI=","name":"Amy","full_name":"AmyAssist/Amy","owner":{"login":"AmyAssist","id":39340355,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM5MzQwMzU1","avatar_url":"https://avatars0.githubusercontent.com/u/39340355?v=4","gravatar_id":"","url":"https://api.github.com/users/AmyAssist","html_url":"https://github.com/AmyAssist","followers_url":"https://api.github.com/users/AmyAssist/followers","following_url":"https://api.github.com/users/AmyAssist/following{/other_user}","gists_url":"https://api.github.com/users/AmyAssist/gists{/gist_id}","starred_url":"https://api.github.com/users/AmyAssist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AmyAssist/subscriptions","organizations_url":"https://api.github.com/users/AmyAssist/orgs","repos_url":"https://api.github.com/users/AmyAssist/repos","events_url":"https://api.github.com/users/AmyAssist/events{/privacy}","received_events_url":"https://api.github.com/users/AmyAssist/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/AmyAssist/Amy","description":"Personal Assistance System","fork":false,"url":"https://api.github.com/repos/AmyAssist/Amy","forks_url":"https://api.github.com/repos/AmyAssist/Amy/forks","keys_url":"https://api.github.com/repos/AmyAssist/Amy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AmyAssist/Amy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AmyAssist/Amy/teams","hooks_url":"https://api.github.com/repos/AmyAssist/Amy/hooks","issue_events_url":"https://api.github.com/repos/AmyAssist/Amy/issues/events{/number}","events_url":"https://api.github.com/repos/AmyAssist/Amy/events","assignees_url":"https://api.github.com/repos/AmyAssist/Amy/assignees{/user}","branches_url":"https://api.github.com/repos/AmyAssist/Amy/branches{/branch}","tags_url":"https://api.github.com/repos/AmyAssist/Amy/tags","blobs_url":"https://api.github.com/repos/AmyAssist/Amy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AmyAssist/Amy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AmyAssist/Amy/git/refs{/sha}","trees_url":"https://api.github.com/repos/AmyAssist/Amy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AmyAssist/Amy/statuses/{sha}","languages_url":"https://api.github.com/repos/AmyAssist/Amy/languages","stargazers_url":"https://api.github.com/repos/AmyAssist/Amy/stargazers","contributors_url":"https://api.github.com/repos/AmyAssist/Amy/contributors","subscribers_url":"https://api.github.com/repos/AmyAssist/Amy/subscribers","subscription_url":"https://api.github.com/repos/AmyAssist/Amy/subscription","commits_url":"https://api.github.com/repos/AmyAssist/Amy/commits{/sha}","git_commits_url":"https://api.github.com/repos/AmyAssist/Amy/git/commits{/sha}","comments_url":"https://api.github.com/repos/AmyAssist/Amy/comments{/number}","issue_comment_url":"https://api.github.com/repos/AmyAssist/Amy/issues/comments{/number}","contents_url":"https://api.github.com/repos/AmyAssist/Amy/contents/{+path}","compare_url":"https://api.github.com/repos/AmyAssist/Amy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AmyAssist/Amy/merges","archive_url":"https://api.github.com/repos/AmyAssist/Amy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AmyAssist/Amy/downloads","issues_url":"https://api.github.com/repos/AmyAssist/Amy/issues{/number}","pulls_url":"https://api.github.com/repos/AmyAssist/Amy/pulls{/number}","milestones_url":"https://api.github.com/repos/AmyAssist/Amy/milestones{/number}","notifications_url":"https://api.github.com/repos/AmyAssist/Amy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AmyAssist/Amy/labels{/name}","releases_url":"https://api.github.com/repos/AmyAssist/Amy/releases{/id}","deployments_url":"https://api.github.com/repos/AmyAssist/Amy/deployments","created_at":"2018-05-22T09:16:34Z","updated_at":"2018-06-21T13:58:38Z","pushed_at":"2018-06-22T09:42:39Z","git_url":"git://github.com/AmyAssist/Amy.git","ssh_url":"git@github.com:AmyAssist/Amy.git","clone_url":"https://github.com/AmyAssist/Amy.git","svn_url":"https://github.com/AmyAssist/Amy","homepage":null,"size":2437,"stargazers_count":4,"watchers_count":4,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":40,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":40,"watchers":4,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/AmyAssist/Amy/pulls/110"},"html":{"href":"https://github.com/AmyAssist/Amy/pull/110"},"issue":{"href":"https://api.github.com/repos/AmyAssist/Amy/issues/110"},"comments":{"href":"https://api.github.com/repos/AmyAssist/Amy/issues/110/comments"},"review_comments":{"href":"https://api.github.com/repos/AmyAssist/Amy/pulls/110/comments"},"review_comment":{"href":"https://api.github.com/repos/AmyAssist/Amy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/AmyAssist/Amy/pulls/110/commits"},"statuses":{"href":"https://api.github.com/repos/AmyAssist/Amy/statuses/04f8ca853f459edf8aaae6f3ccfd5f9530b3d895"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"Legion2"}}