diff --git a/pom.xml b/pom.xml index a1e1dec..7d4aa60 100644 --- a/pom.xml +++ b/pom.xml @@ -34,6 +34,7 @@ + org.gcube.vremanagement @@ -43,9 +44,23 @@ + + + org.gcube.common + common-authorization + + + + + org.gcube.common + authorization-client + + + org.gcube.core common-scope + provided @@ -61,7 +76,7 @@ compile - + org.gcube.common common-authorization @@ -70,6 +85,7 @@ org.gcube.common authorization-client + provided @@ -92,19 +108,21 @@ - + org.gcube.data.publishing document-store-lib-couchbase [1.0.1-SNAPSHOT, 2.0.0-SNAPSHOT) document-store-lib - org.gcube.data.publishing - provided + org.gcube.data.publishing + provided + org.gcube.accounting accounting-lib + [2.2.0-SNAPSHOT,2.3.0-SNAPSHOT) provided diff --git a/src/main/java/org/gcube/accounting/aggregator/plugin/AccountingAggregatorPlugin.java b/src/main/java/org/gcube/accounting/aggregator/plugin/AccountingAggregatorPlugin.java index 94c850b..a4b3132 100644 --- a/src/main/java/org/gcube/accounting/aggregator/plugin/AccountingAggregatorPlugin.java +++ b/src/main/java/org/gcube/accounting/aggregator/plugin/AccountingAggregatorPlugin.java @@ -90,6 +90,9 @@ public class AccountingAggregatorPlugin extends Plugin inputs) throws Exception { + countInsert=0; + countDelete=0; + if(inputs == null || inputs.isEmpty()){ logger.debug("{} inputs {}", this.getClass().getSimpleName(), inputs); throw new Exception("Inputs null"); @@ -127,6 +130,8 @@ public class AccountingAggregatorPlugin extends Plugin