package com.google.graphgeckos.dashboard.fetchers;

public class GithubFetcher {


}

@@ -49,37 +49,841 @@
 s;%0A%0A
-public class GithubFetcher %7B%0A%0A
+import org.springframework.web.bind.annotation.PostMapping;%0Aimport org.springframework.web.bind.annotation.RequestBody;%0Aimport org.springframework.web.bind.annotation.RestController;%0A%0A@RestController%0Apublic class GithubFetcher %7B%0A%0A  /**%0A   * Handles POST requests from the GitHub API. Setting GitHub Webhooks is required.%0A   * Extracts required data from the json %7B@see CommitData%7D and adds it to the Storage.%0A   *%0A   * Class that provide access to the Storage is required to implement the functionality.%0A   * @param commitData json from the GitHub API%0A   */%0A  @PostMapping(%22/github-info%22)%0A  public void postGithubInfo(@RequestBody CommitData commitData) %7B%0A    System.out.println(commitData);%0A    // TODO: implement described functionality. (Couldn't be implemented now since there is no Class to access storage).%0A    assert false;%0A  %7D
 %0A%7D%0A

implement github api fetcher