28 lines
826 B
Java
28 lines
826 B
Java
|
/**
|
||
|
*
|
||
|
*/
|
||
|
package org.gcube.accounting.analytics.persistence;
|
||
|
|
||
|
import org.gcube.accounting.analytics.persistence.couchbase.AccountingPersistenceQueryCouchBase;
|
||
|
import org.gcube.common.scope.api.ScopeProvider;
|
||
|
import org.junit.Test;
|
||
|
import org.slf4j.Logger;
|
||
|
import org.slf4j.LoggerFactory;
|
||
|
|
||
|
/**
|
||
|
* @author Luca Frosini (ISTI - CNR) http://www.lucafrosini.com/
|
||
|
*
|
||
|
*/
|
||
|
public class AccountingPersistenceQueryConfigurationTest {
|
||
|
|
||
|
private static Logger logger = LoggerFactory.getLogger(AccountingPersistenceQueryConfigurationTest.class);
|
||
|
|
||
|
@Test
|
||
|
public void test() throws Exception {
|
||
|
ScopeProvider.instance.set("/gcube/devsec/devVRE");
|
||
|
AccountingPersistenceBackendQueryConfiguration acbqc = new AccountingPersistenceBackendQueryConfiguration(AccountingPersistenceQueryCouchBase.class);
|
||
|
logger.debug("{}", acbqc);
|
||
|
}
|
||
|
|
||
|
}
|