Skip to content
Snippets Groups Projects

Add new status URL for GH, remove fingerprint logic from GH webhook code

Merged Martin Lowe requested to merge (removed):malowe/main/113-2 into main
22 files
+ 978
287
Compare changes
  • Side-by-side
  • Inline
Files
22
@@ -18,7 +18,9 @@ import com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder;
import com.google.auto.value.AutoValue;
/**
* @author martin
* Contains the information about the Github application access tokens
*
* @author Martin Lowe
*
*/
@AutoValue
@@ -26,8 +28,9 @@ import com.google.auto.value.AutoValue;
public abstract class GithubAccessToken {
public abstract String getToken();
public abstract LocalDateTime getExpiresAt();
public static Builder builder() {
return new AutoValue_GithubAccessToken.Builder();
}
@@ -36,6 +39,7 @@ public abstract class GithubAccessToken {
@JsonPOJOBuilder(withPrefix = "set")
public abstract static class Builder {
public abstract Builder setToken(String token);
public abstract Builder setExpiresAt(LocalDateTime expiresAt);
public abstract GithubAccessToken build();
Loading