Migliorie gestione exchange
All checks were successful
IntegryManagementSystem_Multi/pipeline/head This commit looks good
All checks were successful
IntegryManagementSystem_Multi/pipeline/head This commit looks good
This commit is contained in:
@@ -91,6 +91,9 @@ public class ExchangeSystemManagerService {
|
||||
private void executeExchange(StbExchangeConfig stbExchangeConfig) {
|
||||
logger.info("Avvio EXCHANGE [" + stbExchangeConfig.getDescription() + "]");
|
||||
|
||||
stbExchangeConfig = (StbExchangeConfig) stbExchangeConfig.clone();
|
||||
stbExchangeConfig.setSchedulationCron(null); //Blanco il campo schedulazione per evitare che venga salvato nel DB
|
||||
|
||||
StbExchangeConfigDetail executingStbExchangeConfigDetail = null;
|
||||
|
||||
try (MultiDBTransactionManager internalDb = new MultiDBTransactionManager(stbExchangeConfig.getInternalProfileDb())) {
|
||||
@@ -215,6 +218,7 @@ public class ExchangeSystemManagerService {
|
||||
|
||||
} catch (Exception e) {
|
||||
logger.error("Errore", e);
|
||||
|
||||
saveErrorLog(internalDb, stbExchangeConfig, executingStbExchangeConfigDetail, e);
|
||||
throw new RuntimeException(e);
|
||||
} finally {
|
||||
|
||||
Reference in New Issue
Block a user