diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..8bb9dfc --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,8 @@ +# Changelog for storage-manager-trigger + +## [v1.11.0-SNAPSHOT] + * add CHANGELOG.md + * upgrade mongo-java-driver to 3.12.0 version + * switch from document-store-lib-couchbase to document-sore-lib-accounting-service + * upgrade accounting libraries to 2.0.0 versions + * update JUnit to 4.12 \ No newline at end of file diff --git a/pom.xml b/pom.xml index 6207af2..fdf7090 100644 --- a/pom.xml +++ b/pom.xml @@ -8,7 +8,7 @@ org.gcube.contentmanagement storage-manager-trigger - 1.10.0-SNAPSHOT + 1.11.0-SNAPSHOT https://code-repo.d4science.org/gCubeSystem/${project.artifactId} @@ -17,7 +17,7 @@ org.gcube.distribution gcube-bom - LATEST + 2.0.1 pom import @@ -27,7 +27,7 @@ org.mongodb mongo-java-driver - [3.0.0, 3.6.0) + 3.12.0 org.slf4j @@ -37,43 +37,37 @@ junit junit - 4.11 + 4.12 test org.gcube.core common-scope - org.gcube.resources common-gcore-resources - org.gcube.resources.discovery ic-client - org.gcube.core common-encryption - org.gcube.core common-scope-maps - org.gcube.data.publishing document-store-lib - org.gcube.data.publishing - document-store-lib-couchbase - [1.0.0-SNAPSHOT, 2.0.0-SNAPSHOT) + document-store-lib-accounting-service + [2.0.0-SNAPSHOT, 3.0.0-SNAPSHOT) org.gcube.accounting diff --git a/src/test/java/org/gcube/contentmanager/storageserver/accounting/ProviderUriTest.java b/src/test/java/org/gcube/contentmanager/storageserver/accounting/ProviderUriTest.java index 598445f..0a7cdf2 100644 --- a/src/test/java/org/gcube/contentmanager/storageserver/accounting/ProviderUriTest.java +++ b/src/test/java/org/gcube/contentmanager/storageserver/accounting/ProviderUriTest.java @@ -1,18 +1,19 @@ package org.gcube.contentmanager.storageserver.accounting; -import static org.junit.Assert.*; +import static org.junit.Assert.assertEquals; import org.gcube.common.scope.api.ScopeProvider; -import org.junit.Before; +import org.junit.BeforeClass; import org.junit.Test; + public class ProviderUriTest { - ReportAccountingImpl report; - private static final String scope="/d4science.research-infrastructures.eu"; + static ReportAccountingImpl report; + private static final String scope="/gcube"; - @Before - public void init(){ + @BeforeClass + public static void init(){ report = new ReportAccountingImpl(); ScopeProvider.instance.set(scope);