Added configuration test
This commit is contained in:
parent
2d7c8b5307
commit
9b43719b63
|
@ -0,0 +1,22 @@
|
|||
package org.gcube.grsf.publisher.configuration;
|
||||
|
||||
import org.gcube.common.authorization.utils.manager.SecretManagerProvider;
|
||||
import org.gcube.grsf.publisher.ContextTest;
|
||||
import org.gcube.grsf.publisher.configuration.isproxies.impl.GRSFFacetBasedISConfigurationProxy;
|
||||
import org.gcube.grsf.publisher.configuration.isproxies.impl.GRSFFacetBasedISConfigurationProxyFactory;
|
||||
import org.junit.Test;
|
||||
|
||||
/**
|
||||
* @author Luca Frosini (ISTI - CNR)
|
||||
*/
|
||||
public class ConfigurationTest extends ContextTest {
|
||||
|
||||
@Test
|
||||
public void testFacetBasedConf() throws Exception {
|
||||
String context = SecretManagerProvider.instance.get().getContext();
|
||||
GRSFFacetBasedISConfigurationProxyFactory fbigcpf = new GRSFFacetBasedISConfigurationProxyFactory();
|
||||
GRSFFacetBasedISConfigurationProxy facetBasedISConfigurationProxy = fbigcpf.getInstance(context);
|
||||
facetBasedISConfigurationProxy.installQueryTemplate();
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue