Skip to content

Commit

Permalink
Deprecate all classes in certiorem and propono
Browse files Browse the repository at this point in the history
Certiorem and Propono depend on rome-fetcher which is now deprecated and
will be removed in the next major version (see rometools#276).
  • Loading branch information
mishako authored and matwood committed May 18, 2018
1 parent 05970e6 commit 8c71cd6
Show file tree
Hide file tree
Showing 98 changed files with 264 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@
/**
*
* @author robert.cooper
* @deprecated Certiorem will be removed in Rome 2.
*/
@Deprecated
@Singleton
public class HubServlet extends AbstractHubServlet {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@
/**
*
* @author robert.cooper
* @deprecated Certiorem will be removed in Rome 2.
*/
@Deprecated
@Singleton
public class NotifyTest extends HttpServlet {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@
/**
*
* @author robert.cooper
* @deprecated Certiorem will be removed in Rome 2.
*/
@Deprecated
public class ServerModule extends GuiceServletContextListener {

private static final Logger LOG = LoggerFactory.getLogger(ServerModule.class);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@
/**
*
* @author robert.cooper
* @deprecated Certiorem will be removed in Rome 2.
*/
@Deprecated
@Singleton
public class SubServlet extends AbstractSubServlet {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@
/**
*
* @author robert.cooper
* @deprecated Certiorem will be removed in Rome 2.
*/
@Deprecated
@Singleton
public class SubTest extends HttpServlet {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@
/**
*
* @author robert.cooper
* @deprecated Certiorem will be removed in Rome 2.
*/
@Deprecated
public class HttpStatusCodeException extends RuntimeException {

private static final long serialVersionUID = 1L;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@
* changes to entries in the underlying feed.
*
* @author najmi
* @deprecated Certiorem will be removed in Rome 2.
*/
@Deprecated
public class DeltaFeedInfoCache implements FeedFetcherCache {

FeedFetcherCache backingCache;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@
* fetch.
*
* @author najmi
* @deprecated Certiorem will be removed in Rome 2.
*/
@Deprecated
public class DeltaSyndFeedInfo extends SyndFeedInfo {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@
* a very thin servlet wrapper, or other, non-HTTP notification methods you might want to use.
*
* @author robert.cooper
* @deprecated Certiorem will be removed in Rome 2.
*/
@Deprecated
public class Hub {

private static final Logger LOG = LoggerFactory.getLogger(Hub.class);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@
/**
*
* @author robert.cooper
* @deprecated Certiorem will be removed in Rome 2.
*/
@Deprecated
public interface Notifier {
/**
* Instructs the notifier to begin sending notifications to the list of subscribers
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@
* A strategy interface for verification of subscriptions.
*
* @author robert.cooper
* @deprecated Certiorem will be removed in Rome 2.
*/
@Deprecated
public interface Verifier {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@
/**
*
* @author robert.cooper
* @deprecated Certiorem will be removed in Rome 2.
*/
@Deprecated
public interface HubDAO {

public List<? extends Subscriber> subscribersForTopic(String topic);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@
/**
*
* @author robert.cooper
* @deprecated Certiorem will be removed in Rome 2.
*/
@Deprecated
public class Subscriber implements Serializable {
/**
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@
/**
*
* @author robert.cooper
* @deprecated Certiorem will be removed in Rome 2.
*/
@Deprecated
public class SubscriptionSummary implements Serializable {
/**
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@
/**
*
* @author robert.cooper
* @deprecated Certiorem will be removed in Rome 2.
*/
@Deprecated
public class JPADAO implements HubDAO {

private final EntityManagerFactory factory;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@
/**
*
* @author robert.cooper
* @deprecated Certiorem will be removed in Rome 2.
*/
@Deprecated
@Entity
@NamedQueries({ @NamedQuery(name = "Subcriber.forTopic", query = "SELECT o FROM JPASubscriber o WHERE o.topic = :topic AND o.expired = false ORDER BY o.subscribedAt") })
public class JPASubscriber extends Subscriber implements Serializable {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@
* A Simple In-Memory HubDAO for subscribers.
*
* @author robert.cooper
* @deprecated Certiorem will be removed in Rome 2.
*/
@Deprecated
public class InMemoryHubDAO implements HubDAO {
private final ConcurrentHashMap<String, List<Subscriber>> subscribers = new ConcurrentHashMap<String, List<Subscriber>>();
private final ConcurrentHashMap<String, ConcurrentHashMap<String, SubscriptionSummary>> summaries = new ConcurrentHashMap<String, ConcurrentHashMap<String, SubscriptionSummary>>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@
/**
*
* @author robert.cooper
* @deprecated Certiorem will be removed in Rome 2.
*/
@Deprecated
public abstract class AbstractNotifier implements Notifier {

private static final Logger LOG = LoggerFactory.getLogger(AbstractNotifier.class);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@
/**
*
* @author robert.cooper
* @deprecated Certiorem will be removed in Rome 2.
*/
@Deprecated
public class Notification {

int retryCount = 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@
* A notifier implementation that uses a thread pool to deliver notifications to subscribers
*
* @author robert.cooper
* @deprecated Certiorem will be removed in Rome 2.
*/
@Deprecated
public class ThreadPoolNotifier extends AbstractNotifier {
private static final long TWO_MINUTES = 2 * 60 * 1000;
protected final ThreadPoolExecutor exeuctor;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@
* A notifier that does not use threads. All calls are blocking and synchronous.
*
* @author robert.cooper
* @deprecated Certiorem will be removed in Rome 2.
*/
@Deprecated
public class UnthreadedNotifier extends AbstractNotifier {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@
* operations, and expects a child class to do Async ops.
*
* @author robert.cooper
* @deprecated Certiorem will be removed in Rome 2.
*/
@Deprecated
public abstract class AbstractVerifier implements Verifier {

private static final Logger LOG = LoggerFactory.getLogger(AbstractVerifier.class);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@
* Uses a ThreadPoolExecutor to do async verifications.
*
* @author robert.cooper
* @deprecated Certiorem will be removed in Rome 2.
*/
@Deprecated
public class ThreadPoolVerifier extends AbstractVerifier {
protected final ThreadPoolExecutor exeuctor;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@
/**
*
* @author robert.cooper
* @deprecated Certiorem will be removed in Rome 2.
*/
@Deprecated
public class ThreadpoolVerifierAdvanced extends ThreadPoolVerifier {

public ThreadpoolVerifierAdvanced(final ThreadPoolExecutor executor) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@
* A verifier that does not use threads. Suitable for Google App Engine.
*
* @author robert.cooper
* @deprecated Certiorem will be removed in Rome 2.
*/
@Deprecated
public class UnthreadedVerifier extends AbstractVerifier {

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@
/**
*
* @author robert.cooper
* @deprecated Certiorem will be removed in Rome 2.
*/
@Deprecated
public class NotificationException extends Exception {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@
* A class for sending update notifications to a hub.
*
* @author robert.cooper
* @deprecated Certiorem will be removed in Rome 2.
*/
@Deprecated
public class Publisher {

private static final Logger LOG = LoggerFactory.getLogger(Publisher.class);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@
/**
*
* @author robert.cooper
* @deprecated Certiorem will be removed in Rome 2.
*/
@Deprecated
public interface Requester {
public void sendSubscribeRequest(String hubUrl, Subscription subscription, String verifySync, long leaseSeconds, String secret, String callbackUrl,
RequestCallback callback);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@
/**
*
* @author robert.cooper
* @deprecated Certiorem will be removed in Rome 2.
*/
@Deprecated
public class Subscriptions {

private static final Logger LOG = LoggerFactory.getLogger(Subscriptions.class);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@
/**
*
* @author robert.cooper
* @deprecated Certiorem will be removed in Rome 2.
*/
@Deprecated
public interface SubDAO {

public Subscription findById(String id);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@
/**
*
* @author robert.cooper
* @deprecated Certiorem will be removed in Rome 2.
*/
@Deprecated
public class Subscription implements Serializable {
/**
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@
/**
*
* @author najmi
* @deprecated Certiorem will be removed in Rome 2.
*/
@Deprecated
public interface SubscriptionCallback {

void onNotify(Subscription subscribed, SyndFeedInfo feedInfo);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@
/**
*
* @author robert.cooper
* @deprecated Certiorem will be removed in Rome 2.
*/
@Deprecated
public class InMemorySubDAO implements SubDAO {

private static final Logger LOG = LoggerFactory.getLogger(InMemorySubDAO.class);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@
/**
*
* @author robert.cooper
* @deprecated Certiorem will be removed in Rome 2.
*/
@Deprecated
public abstract class AbstractRequester implements Requester {

protected boolean sendRequest(final String hubUrl, final String mode, final Subscription subscription, final String verifySync, final long leaseSeconds,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@
* A simple requester implementation that always makes requests as Async.
*
* @author robert.cooper
* @deprecated Certiorem will be removed in Rome 2.
*/
@Deprecated
public class AsyncRequester extends AbstractRequester {

private static final Logger LOG = LoggerFactory.getLogger(AsyncRequester.class);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@
* A simple requester implementation that always makes requests as Async.
*
* @author Farrukh Najmi
* @deprecated Certiorem will be removed in Rome 2.
*/
@Deprecated
public class SyncRequester extends AbstractRequester {

private static final Logger LOG = LoggerFactory.getLogger(SyncRequester.class);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@
/**
*
* @author robert.cooper
* @deprecated Certiorem will be removed in Rome 2.
*/
@Deprecated
public abstract class AbstractHubServlet extends HttpServlet {
/**
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@
/**
*
* @author robert.cooper
* @deprecated Certiorem will be removed in Rome 2.
*/
@Deprecated
public abstract class AbstractSubServlet extends HttpServlet {

private static final long serialVersionUID = 1L;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@
/**
* Creates AtomService or ClientCollection based on username, password and end-point URI of Atom
* protocol service.
*
* @deprecated Propono will be removed in Rome 2.
*/
@Deprecated
public class AtomClientFactory {

static {
Expand Down
Loading

0 comments on commit 8c71cd6

Please sign in to comment.