summaryrefslogtreecommitdiff
path: root/src/main/java/com/p4square/grow/frontend/IntegrationDriver.java
diff options
context:
space:
mode:
authorJesse Morgan <jesse@jesterpm.net>2018-01-29 20:23:59 -0800
committerJesse Morgan <jesse@jesterpm.net>2018-01-29 20:23:59 -0800
commitb4b71b902493cac1e5b57c70ab53961c26ceb323 (patch)
treed529a306c3203b9a942464b15225511b7b3fc12e /src/main/java/com/p4square/grow/frontend/IntegrationDriver.java
parent8e7a0c2442674ee95b4ed2453436b6e20c153118 (diff)
Adding /ping resource for deep health checks
Diffstat (limited to 'src/main/java/com/p4square/grow/frontend/IntegrationDriver.java')
-rw-r--r--src/main/java/com/p4square/grow/frontend/IntegrationDriver.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/main/java/com/p4square/grow/frontend/IntegrationDriver.java b/src/main/java/com/p4square/grow/frontend/IntegrationDriver.java
index b9c3508..8ea2600 100644
--- a/src/main/java/com/p4square/grow/frontend/IntegrationDriver.java
+++ b/src/main/java/com/p4square/grow/frontend/IntegrationDriver.java
@@ -23,4 +23,14 @@ public interface IntegrationDriver {
* @return The ProgressReporter.
*/
ProgressReporter getProgressReporter();
+
+ /**
+ * Check if the IntegrationDriver is configured correctly and working.
+ *
+ * This method should try to contact the CMS to ensure endpoints,
+ * credentials, etc. are working correctly.
+ *
+ * @return true for success.
+ */
+ boolean doHealthCheck();
}