Skip to content
Snippets Groups Projects
Commit 0af65a08 authored by Raphael GIRARDOT's avatar Raphael GIRARDOT
Browse files

Merge branch 'master' of...

Merge branch 'master' of gitlab.synchrotron-soleil.fr:software-control-system/tango-controls-archiving/mamboarchivinggui
parents a49f86b5 8c73eb00
No related branches found
No related tags found
No related merge requests found
......@@ -88,6 +88,8 @@ public class TTSArchivingManagerApi implements IArchivingManagerApi {
config.setHost(params.getHost());
config.setUser(params.getUser());
config.setPassword(params.getPassword());
// TANGOARCH-833: possibility to connect to another port
config.setPort(ApiUtils.getProperty(ApiConstants.TTS_PORT_PROPERTY, ApiConstants.TTS_PORT_ENV, config.getPort()));
config.setIdleTimeout(params.getInactivityTimeout());
config.setMaxPoolSize(params.getMaxPoolSize());
if (params.getHealthRegistry() != null) {
......@@ -99,6 +101,7 @@ public class TTSArchivingManagerApi implements IArchivingManagerApi {
TangoArchiverProperties properties = new TangoArchiverProperties();
properties.setArchiverClassName(archiverClassName);
TangoArchivingSystemConfigurationService service;
LOGGER.info("connecting to TTS {}", config);
try {
service = new TangoArchivingSystemConfigurationBuilder().build(config, properties);
} catch (Exception e) {
......
......@@ -51,6 +51,7 @@ public class TTSDataBaseAccess implements IDataBaseAcess, ApiConstants {
if (params.getMetricRegistry() != null) {
config.setMetricRegistry(params.getMetricRegistry());
}
LOGGER.info("connecting to TTS {}", config);
attributeExtractor = new TTSAttributeExtractor(config);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment