Refs #10188: Add a way to esplicitly set the scope in accounting-analytics

Task-Url: https://support.d4science.org/issues/10188

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-analytics-persistence-couchbase@161934 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Luca Frosini 2018-01-02 16:26:12 +00:00
parent 2edcb5a076
commit ccb2059103
1 changed files with 2 additions and 1 deletions

View File

@ -18,6 +18,7 @@ import org.gcube.accounting.analytics.UsageStorageValue;
import org.gcube.accounting.analytics.UsageValue;
import org.gcube.accounting.analytics.persistence.AccountingPersistenceBackendQueryConfiguration;
import org.gcube.accounting.analytics.persistence.AccountingPersistenceQuery;
import org.gcube.accounting.analytics.persistence.AccountingPersistenceQueryFactory;
import org.gcube.accounting.datamodel.aggregation.AggregatedJobUsageRecord;
import org.gcube.accounting.datamodel.aggregation.AggregatedServiceUsageRecord;
import org.gcube.accounting.datamodel.aggregation.AggregatedStorageStatusRecord;
@ -157,7 +158,7 @@ public class AccountingPersistenceQueryCouchBaseTest extends ScopedTest {
@Test
public void testTimeSeries() throws Exception {
//AccountingPersistenceQueryFactory.getForcedScope().set("/gcube/devNext/NextNext");
// AccountingPersistenceQueryFactory.getForcedQueryScope().set("/gcube/devNext/NextNext");
Calendar startTime = Calendar.getInstance();
startTime.set(2017, Calendar.NOVEMBER, 29);