Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Deprecate Kraken API #535

Merged
merged 4 commits into from May 5, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -19,7 +19,11 @@
* Twitch - Kraken API
* <p>
* Kraken is already deprecated, so we only offer methods which haven't been added to the new helix api yet. Please use the helix api if available.
* @deprecated Kraken is deprecated and has been shut down on <b>Febuary 28, 2022</b>.
* More details about the deprecation are available <a href="https://blog.twitch.tv/en/2021/07/15/legacy-twitch-api-v5-shutdown-details-and-timeline">here</a>.
*
*/
@Deprecated
public interface TwitchKraken {

/**
Expand Down
Expand Up @@ -24,10 +24,15 @@

import java.util.concurrent.TimeUnit;

/**
* @deprecated Kraken is deprecated and has been shut down on <b>Febuary 28, 2022</b>.
* More details about the deprecation are available <a href="https://blog.twitch.tv/en/2021/07/15/legacy-twitch-api-v5-shutdown-details-and-timeline">here</a>.
*/
@Slf4j
@NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor(access = AccessLevel.PRIVATE)
@Getter
@Deprecated
public class TwitchKrakenBuilder {

/**
Expand Down Expand Up @@ -95,7 +100,10 @@ public static TwitchKrakenBuilder builder() {
*
* @return TwitchKraken
*/
@Deprecated
public TwitchKraken build() {
log.warn("Kraken is deprecated and has been shut down on Febuary 28, 2022.");
log.warn("More details about the decommission are available here: https://blog.twitch.tv/en/2021/07/15/legacy-twitch-api-v5-shutdown-details-and-timeline");
log.debug("Kraken: Initializing Module ...");

// Hystrix
Expand Down
Expand Up @@ -17,7 +17,12 @@
import java.io.IOException;
import java.nio.charset.StandardCharsets;

/**
* @deprecated Kraken is deprecated and has been shut down on <b>Febuary 28, 2022</b>.
* More details about the deprecation are available <a href="https://blog.twitch.tv/en/2021/07/15/legacy-twitch-api-v5-shutdown-details-and-timeline">here</a>.
*/
@Slf4j
@Deprecated
public class TwitchKrakenErrorDecoder implements ErrorDecoder {

// Decoder
Expand Down
Expand Up @@ -5,8 +5,11 @@

/**
* Abstract base for result lists.
* @deprecated Kraken is deprecated and has been shut down on <b>Febuary 28, 2022</b>.
* More details about the deprecation are available <a href="https://blog.twitch.tv/en/2021/07/15/legacy-twitch-api-v5-shutdown-details-and-timeline">here</a>.
*/
@Data
@Deprecated
public abstract class AbstractResultList {

/**
Expand Down
Expand Up @@ -4,7 +4,12 @@
import lombok.Data;
import lombok.Setter;

/**
* @deprecated Kraken is deprecated and has been shut down on <b>Febuary 28, 2022</b>.
* More details about the deprecation are available <a href="https://blog.twitch.tv/en/2021/07/15/legacy-twitch-api-v5-shutdown-details-and-timeline">here</a>.
*/
@Data
@Deprecated
@Setter(AccessLevel.PRIVATE)
public class ChatBadge {
private String alpha;
Expand Down
Expand Up @@ -4,7 +4,12 @@
import lombok.Data;
import lombok.Setter;

/**
* @deprecated Kraken is deprecated and has been shut down on <b>Febuary 28, 2022</b>.
* More details about the deprecation are available <a href="https://blog.twitch.tv/en/2021/07/15/legacy-twitch-api-v5-shutdown-details-and-timeline">here</a>.
*/
@Data
@Deprecated
@Setter(AccessLevel.PRIVATE)
public class ChatBadges {
private ChatBadge admin;
Expand Down
Expand Up @@ -4,7 +4,12 @@
import lombok.Data;
import lombok.Setter;

/**
* @deprecated Kraken is deprecated and has been shut down on <b>Febuary 28, 2022</b>.
* More details about the deprecation are available <a href="https://blog.twitch.tv/en/2021/07/15/legacy-twitch-api-v5-shutdown-details-and-timeline">here</a>.
*/
@Data
@Deprecated
@Setter(AccessLevel.PRIVATE)
public class Emoticon {
private Integer id;
Expand Down
Expand Up @@ -4,7 +4,12 @@
import lombok.Data;
import lombok.Setter;

/**
* @deprecated Kraken is deprecated and has been shut down on <b>Febuary 28, 2022</b>.
* More details about the deprecation are available <a href="https://blog.twitch.tv/en/2021/07/15/legacy-twitch-api-v5-shutdown-details-and-timeline">here</a>.
*/
@Data
@Deprecated
@Setter(AccessLevel.PRIVATE)
public class EmoticonImages {
private Integer emoticonSet;
Expand Down
Expand Up @@ -6,7 +6,12 @@

import java.util.List;

/**
* @deprecated Kraken is deprecated and has been shut down on <b>Febuary 28, 2022</b>.
* More details about the deprecation are available <a href="https://blog.twitch.tv/en/2021/07/15/legacy-twitch-api-v5-shutdown-details-and-timeline">here</a>.
*/
@Data
@Deprecated
@Setter(AccessLevel.PRIVATE)
public class EmoticonList {
private List<Emoticon> emoticons;
Expand Down
Expand Up @@ -4,7 +4,12 @@
import lombok.Data;
import lombok.Setter;

/**
* @deprecated Kraken is deprecated and has been shut down on <b>Febuary 28, 2022</b>.
* More details about the deprecation are available <a href="https://blog.twitch.tv/en/2021/07/15/legacy-twitch-api-v5-shutdown-details-and-timeline">here</a>.
*/
@Data
@Deprecated
@Setter(AccessLevel.PRIVATE)
public class EmoticonSetEntry {
private String code;
Expand Down
Expand Up @@ -8,7 +8,12 @@
import java.util.List;
import java.util.Map;

/**
* @deprecated Kraken is deprecated and has been shut down on <b>Febuary 28, 2022</b>.
* More details about the deprecation are available <a href="https://blog.twitch.tv/en/2021/07/15/legacy-twitch-api-v5-shutdown-details-and-timeline">here</a>.
*/
@Data
@Deprecated
@Setter(AccessLevel.PRIVATE)
public class EmoticonSetList {

Expand Down
Expand Up @@ -4,7 +4,12 @@
import lombok.Data;
import lombok.Setter;

/**
* @deprecated Kraken is deprecated and has been shut down on <b>Febuary 28, 2022</b>.
* More details about the deprecation are available <a href="https://blog.twitch.tv/en/2021/07/15/legacy-twitch-api-v5-shutdown-details-and-timeline">here</a>.
*/
@Data
@Deprecated
@Setter(AccessLevel.PRIVATE)
public class KrakenBlock {
private KrakenUser user;
Expand Down
Expand Up @@ -8,7 +8,12 @@

import java.util.List;

/**
* @deprecated Kraken is deprecated and has been shut down on <b>Febuary 28, 2022</b>.
* More details about the deprecation are available <a href="https://blog.twitch.tv/en/2021/07/15/legacy-twitch-api-v5-shutdown-details-and-timeline">here</a>.
*/
@Data
@Deprecated
@ToString(callSuper = true)
@Setter(AccessLevel.PRIVATE)
@EqualsAndHashCode(callSuper = true)
Expand Down
Expand Up @@ -7,7 +7,12 @@

import java.time.Instant;

/**
* @deprecated Kraken is deprecated and has been shut down on <b>Febuary 28, 2022</b>.
* More details about the deprecation are available <a href="https://blog.twitch.tv/en/2021/07/15/legacy-twitch-api-v5-shutdown-details-and-timeline">here</a>.
*/
@Data
@Deprecated
@Setter(AccessLevel.PRIVATE)
public class KrakenBlockTransaction {
@JsonProperty("_id")
Expand Down
Expand Up @@ -7,7 +7,12 @@

import java.time.Instant;

/**
* @deprecated Kraken is deprecated and has been shut down on <b>Febuary 28, 2022</b>.
* More details about the deprecation are available <a href="https://blog.twitch.tv/en/2021/07/15/legacy-twitch-api-v5-shutdown-details-and-timeline">here</a>.
*/
@Data
@Deprecated
@Setter(AccessLevel.PRIVATE)
public class KrakenChannel {
@JsonProperty("_id")
Expand Down
Expand Up @@ -6,7 +6,12 @@

import java.time.Instant;

/**
* @deprecated Kraken is deprecated and has been shut down on <b>Febuary 28, 2022</b>.
* More details about the deprecation are available <a href="https://blog.twitch.tv/en/2021/07/15/legacy-twitch-api-v5-shutdown-details-and-timeline">here</a>.
*/
@Data
@Deprecated
@Setter(AccessLevel.PRIVATE)
public class KrakenClip {
private String slug;
Expand Down
Expand Up @@ -7,7 +7,12 @@

import java.util.List;

/**
* @deprecated Kraken is deprecated and has been shut down on <b>Febuary 28, 2022</b>.
* More details about the deprecation are available <a href="https://blog.twitch.tv/en/2021/07/15/legacy-twitch-api-v5-shutdown-details-and-timeline">here</a>.
*/
@Data
@Deprecated
@Setter(AccessLevel.PRIVATE)
public class KrakenCollection {

Expand Down
Expand Up @@ -7,7 +7,12 @@

import java.time.Instant;

/**
* @deprecated Kraken is deprecated and has been shut down on <b>Febuary 28, 2022</b>.
* More details about the deprecation are available <a href="https://blog.twitch.tv/en/2021/07/15/legacy-twitch-api-v5-shutdown-details-and-timeline">here</a>.
*/
@Data
@Deprecated
@Setter(AccessLevel.PRIVATE)
public class KrakenCollectionItem {

Expand Down
Expand Up @@ -4,7 +4,12 @@

import java.util.List;

/**
* @deprecated Kraken is deprecated and has been shut down on <b>Febuary 28, 2022</b>.
* More details about the deprecation are available <a href="https://blog.twitch.tv/en/2021/07/15/legacy-twitch-api-v5-shutdown-details-and-timeline">here</a>.
*/
@Data
@Deprecated
@ToString(callSuper = true)
@Setter(AccessLevel.PRIVATE)
@EqualsAndHashCode(callSuper = true)
Expand Down
Expand Up @@ -7,7 +7,12 @@

import java.time.Instant;

/**
* @deprecated Kraken is deprecated and has been shut down on <b>Febuary 28, 2022</b>.
* More details about the deprecation are available <a href="https://blog.twitch.tv/en/2021/07/15/legacy-twitch-api-v5-shutdown-details-and-timeline">here</a>.
*/
@Data
@Deprecated
@Setter(AccessLevel.PRIVATE)
public class KrakenCollectionMetadata {
@JsonProperty("_id")
Expand Down
Expand Up @@ -4,7 +4,12 @@
import lombok.Data;
import lombok.Setter;

/**
* @deprecated Kraken is deprecated and has been shut down on <b>Febuary 28, 2022</b>.
* More details about the deprecation are available <a href="https://blog.twitch.tv/en/2021/07/15/legacy-twitch-api-v5-shutdown-details-and-timeline">here</a>.
*/
@Data
@Deprecated
@Setter(AccessLevel.PRIVATE)
public class KrakenCollectionThumbnails {
public String large;
Expand Down
Expand Up @@ -4,7 +4,12 @@
import lombok.Data;
import lombok.Setter;

/**
* @deprecated Kraken is deprecated and has been shut down on <b>Febuary 28, 2022</b>.
* More details about the deprecation are available <a href="https://blog.twitch.tv/en/2021/07/15/legacy-twitch-api-v5-shutdown-details-and-timeline">here</a>.
*/
@Data
@Deprecated
@Setter(AccessLevel.PRIVATE)
public class KrakenCreatedVideo {

Expand Down
Expand Up @@ -4,7 +4,12 @@
import lombok.Data;
import lombok.Setter;

/**
* @deprecated Kraken is deprecated and has been shut down on <b>Febuary 28, 2022</b>.
* More details about the deprecation are available <a href="https://blog.twitch.tv/en/2021/07/15/legacy-twitch-api-v5-shutdown-details-and-timeline">here</a>.
*/
@Data
@Deprecated
@Setter(AccessLevel.PRIVATE)
public class KrakenEmoticon {
private Integer id;
Expand Down
Expand Up @@ -7,7 +7,12 @@
import java.util.Map;
import java.util.Set;

/**
* @deprecated Kraken is deprecated and has been shut down on <b>Febuary 28, 2022</b>.
* More details about the deprecation are available <a href="https://blog.twitch.tv/en/2021/07/15/legacy-twitch-api-v5-shutdown-details-and-timeline">here</a>.
*/
@Data
@Deprecated
@Setter(AccessLevel.PRIVATE)
public class KrakenEmoticonSetList {
private Map<String, Set<KrakenEmoticon>> emoticonSets;
Expand Down
Expand Up @@ -7,7 +7,12 @@

import java.time.Instant;

/**
* @deprecated Kraken is deprecated and has been shut down on <b>Febuary 28, 2022</b>.
* More details about the deprecation are available <a href="https://blog.twitch.tv/en/2021/07/15/legacy-twitch-api-v5-shutdown-details-and-timeline">here</a>.
*/
@Data
@Deprecated
@Setter(AccessLevel.PRIVATE)
public class KrakenFollow {

Expand Down
Expand Up @@ -8,7 +8,12 @@

import java.util.List;

/**
* @deprecated Kraken is deprecated and has been shut down on <b>Febuary 28, 2022</b>.
* More details about the deprecation are available <a href="https://blog.twitch.tv/en/2021/07/15/legacy-twitch-api-v5-shutdown-details-and-timeline">here</a>.
*/
@Data
@Deprecated
@ToString(callSuper = true)
@Setter(AccessLevel.PRIVATE)
@EqualsAndHashCode(callSuper = true)
Expand Down
Expand Up @@ -5,7 +5,12 @@
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
* @deprecated Kraken is deprecated and has been shut down on <b>Febuary 28, 2022</b>.
* More details about the deprecation are available <a href="https://blog.twitch.tv/en/2021/07/15/legacy-twitch-api-v5-shutdown-details-and-timeline">here</a>.
*/
@Data
@Deprecated
@Setter(AccessLevel.PRIVATE)
@NoArgsConstructor
public class KrakenHost {
Expand Down
Expand Up @@ -7,7 +7,12 @@

import java.util.List;

/**
* @deprecated Kraken is deprecated and has been shut down on <b>Febuary 28, 2022</b>.
* More details about the deprecation are available <a href="https://blog.twitch.tv/en/2021/07/15/legacy-twitch-api-v5-shutdown-details-and-timeline">here</a>.
*/
@Data
@Deprecated
@Setter(AccessLevel.PRIVATE)
@NoArgsConstructor
public class KrakenHostList {
Expand Down
Expand Up @@ -9,8 +9,11 @@
* The Twitch ingesting system is the first stop for a broadcast stream.
* An ingest server receives your stream, and the ingesting system
* authorizes and registers streams, then prepares them for viewers.
* @deprecated Kraken is deprecated and has been shut down on <b>Febuary 28, 2022</b>.
* More details about the deprecation are available <a href="https://blog.twitch.tv/en/2021/07/15/legacy-twitch-api-v5-shutdown-details-and-timeline">here</a>.
*/
@Data
@Deprecated
public class KrakenIngest {

@JsonProperty("_id")
Expand Down
Expand Up @@ -6,8 +6,11 @@

/**
* Model representing a list of ingest servers.
* @deprecated Kraken is deprecated and has been shut down on <b>Febuary 28, 2022</b>.
* More details about the deprecation are available <a href="https://blog.twitch.tv/en/2021/07/15/legacy-twitch-api-v5-shutdown-details-and-timeline">here</a>.
*/
@Data
@Deprecated
public class KrakenIngestList {
/**
* Data
Expand Down