Tellier Benoit created JAMES-2600: ------------------------------------- Summary: Implement an ObjectStorage healthcheck Key: JAMES-2600 URL: https://issues.apache.org/jira/browse/JAMES-2600 Project: James Server Issue Type: New Feature Components: Blob Reporter: Tellier Benoit
Following work done in JAMES-2563 we want to introduce a health-check for object-storage. Add a `long countBlob()` public method to the ObjectStorageBlobsDAO class. In your ObjectStoragetHealthCheck call this method: - If a count is returned then swift is healthy - If an exception is encountered then swift is unhealthy. Write tests on top of a `pausable` swift container in `server/blob/blob-objectstorage`. Bind this health check in `server/container/guice/blob-objectstorage-guice/src/main/java/org/apache/james/modules/objectstorage/ObjectStorageBlobStoreModule.java` -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org