20 lines
567 B
Java
20 lines
567 B
Java
package org.gcube.gcat.utils;
|
|
|
|
import org.gcube.common.authorization.utils.manager.SecretManager;
|
|
import org.gcube.gcat.ContextTest;
|
|
import org.junit.Test;
|
|
import org.slf4j.Logger;
|
|
import org.slf4j.LoggerFactory;
|
|
|
|
public class ConstantsTest extends ContextTest {
|
|
|
|
private static final Logger logger = LoggerFactory.getLogger(ConstantsTest.class);
|
|
|
|
@Test
|
|
public void testGetApplicationToken() throws Exception {
|
|
logger.debug("Application token for Context {} is {}", SecretManager.instance.get().getContext(),
|
|
Constants.getCatalogueSecurityToken());
|
|
}
|
|
|
|
}
|