diff --git a/src/main/java/org/gcube/accounting/persistence/AccountingPersistence.java b/src/main/java/org/gcube/accounting/persistence/AccountingPersistence.java index 37d8af0..b7e8f3e 100644 --- a/src/main/java/org/gcube/accounting/persistence/AccountingPersistence.java +++ b/src/main/java/org/gcube/accounting/persistence/AccountingPersistence.java @@ -20,6 +20,9 @@ public abstract class AccountingPersistence { protected FallbackPersistence fallback; protected AggregationScheduler aggregationScheduler; + protected AccountingPersistence(){ + + } protected AccountingPersistence(FallbackPersistence fallback, AggregationScheduler aggregationScheduler){ this.fallback = fallback; @@ -49,18 +52,6 @@ public abstract class AccountingPersistence { */ protected abstract void prepareConnection(AccountingPersistenceConfiguration configuration) throws Exception; - /* * - * Prepare the connection and try to write a test record on default - * persistence and fallback persistence. - * This method should not be re-implemented from subclass. - * @throws Exception if fails - * / - public void connect() throws Exception { - persistence.prepareConnection(); - persistence.account(createTestUsageRecord()); - } - */ - /** * This method contains the code to save the {@link #UsageRecord} *