From b4b71b902493cac1e5b57c70ab53961c26ceb323 Mon Sep 17 00:00:00 2001 From: Jesse Morgan Date: Mon, 29 Jan 2018 20:23:59 -0800 Subject: Adding /ping resource for deep health checks --- .../java/com/p4square/f1oauth/FellowshipOneIntegrationDriver.java | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/main/java/com/p4square/f1oauth/FellowshipOneIntegrationDriver.java') diff --git a/src/main/java/com/p4square/f1oauth/FellowshipOneIntegrationDriver.java b/src/main/java/com/p4square/f1oauth/FellowshipOneIntegrationDriver.java index 865f5d6..d3690af 100644 --- a/src/main/java/com/p4square/f1oauth/FellowshipOneIntegrationDriver.java +++ b/src/main/java/com/p4square/f1oauth/FellowshipOneIntegrationDriver.java @@ -52,4 +52,11 @@ public class FellowshipOneIntegrationDriver implements IntegrationDriver { public ProgressReporter getProgressReporter() { return mProgressReporter; } + + @Override + public boolean doHealthCheck() { + // Since I no longer have access to an F1 account, + // this will remain unimplemented until it's needed. + throw new UnsupportedOperationException("Health check is not yet implemented for the F1 driver."); + } } -- cgit v1.2.3