Package org.qubership.atp.mia.config
Class MiaConfiguration
java.lang.Object
org.qubership.atp.mia.config.MiaConfiguration
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecutorServiceForSql(int minThreads, int maxThreads, long aliveTime) FileDownloadPrefix bean.MIA config path for test or production.MiaEntityUrlFormat bean.MIA POT template for test or production.org.modelmapper.ModelMapperModel mapper been with Converter Object to UUID.
-
Constructor Details
-
MiaConfiguration
public MiaConfiguration()
-
-
Method Details
-
miaConfigPath
MIA config path for test or production.- Returns:
- config path
-
miaExecutionFinishProducer
@ConditionalOnProperty(value="kafka.enable", havingValue="false") @Bean public MiaExecutionFinishProducer miaExecutionFinishProducer() -
executorServiceForSql
@Bean public ExecutorService executorServiceForSql(@Value("${mia.sql.threadPool.minThreads:#{50}}") int minThreads, @Value("${mia.sql.threadPool.maxThreads:#{100}}") int maxThreads, @Value("${mia.sql.threadPool.aliveTimeMs:#{0L}}") long aliveTime) -
fileDownloadPrefix
FileDownloadPrefix bean. -
miaEntityUrlFormat
MiaEntityUrlFormat bean. -
miaPotTemplate
MIA POT template for test or production.- Returns:
- pot template
-
modelMapper
@Bean public org.modelmapper.ModelMapper modelMapper()Model mapper been with Converter Object to UUID.- Returns:
ModelMapper
-