2022-12-06 14:05:43 +01:00
|
|
|
package org.gcube.gcat.configuration;
|
|
|
|
|
2022-12-06 14:59:51 +01:00
|
|
|
import org.gcube.gcat.ContextTest;
|
|
|
|
import org.gcube.gcat.configuration.service.ServiceCatalogueConfiguration;
|
|
|
|
import org.junit.Test;
|
|
|
|
import org.slf4j.Logger;
|
|
|
|
import org.slf4j.LoggerFactory;
|
|
|
|
|
2022-12-07 22:59:21 +01:00
|
|
|
/**
|
|
|
|
* @author Luca Frosini (ISTI - CNR)
|
|
|
|
*/
|
2022-12-06 14:59:51 +01:00
|
|
|
public class CatalogueConfigurationFactoryTest extends ContextTest {
|
|
|
|
|
|
|
|
private static Logger logger = LoggerFactory.getLogger(CatalogueConfigurationFactoryTest.class);
|
|
|
|
|
|
|
|
@Test
|
|
|
|
public void testConf() throws Exception {
|
|
|
|
ServiceCatalogueConfiguration serviceCatalogueConfiguration = CatalogueConfigurationFactory.getInstance();
|
|
|
|
logger.debug("{}", serviceCatalogueConfiguration.toJsonString());
|
|
|
|
logger.debug("{}", serviceCatalogueConfiguration.toJsonString(true));
|
|
|
|
}
|
2022-12-06 14:05:43 +01:00
|
|
|
|
|
|
|
}
|