reports-service добавил настройку ReportModuleOut
This commit is contained in:
parent
eed33ce35b
commit
e18d8c9664
2 changed files with 15 additions and 20 deletions
|
|
@ -3,18 +3,19 @@ package ru.spcex.clearing.reports.config.element;
|
|||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
import org.springframework.context.annotation.PropertySource;
|
||||
import org.springframework.stereotype.Component;
|
||||
//import ru.spcex.clearing.platform.messaging.config.element.KafkaConsumerSettings;
|
||||
//import ru.spcex.clearing.platform.messaging.config.element.KafkaProducerSettings;
|
||||
import ru.spcex.platform.imdg.iml.hazelcast.config.HazelcastClientParams;
|
||||
|
||||
/**
|
||||
* Параметр запуска: XMLReportBuilder
|
||||
* --spring.config.location=E:/MFD_GIT_REPO/clearing/clearing-parent/reports-service/src/main/resources
|
||||
*
|
||||
*/
|
||||
@Component
|
||||
@PropertySource("file:${spring.config.location}/application.properties")
|
||||
//todo for test @PropertySource("classpath:application.properties")
|
||||
@ConfigurationProperties("reports-service")
|
||||
public class ReportsServiceSettings {
|
||||
private HazelcastClientParams hazelcast;
|
||||
// private KafkaConsumerSettings kafkaConsumer;
|
||||
// private KafkaProducerSettings kafkaProducer;
|
||||
private String reportModuleOut;
|
||||
|
||||
public HazelcastClientParams getHazelcast() {
|
||||
return hazelcast;
|
||||
|
|
@ -24,19 +25,12 @@ public class ReportsServiceSettings {
|
|||
this.hazelcast = hazelcast;
|
||||
}
|
||||
|
||||
// public KafkaConsumerSettings getKafkaConsumer() {
|
||||
// return kafkaConsumer;
|
||||
// }
|
||||
//
|
||||
// public void setKafkaConsumer(KafkaConsumerSettings kafkaConsumer) {
|
||||
// this.kafkaConsumer = kafkaConsumer;
|
||||
// }
|
||||
//
|
||||
// public KafkaProducerSettings getKafkaProducer() {
|
||||
// return kafkaProducer;
|
||||
// }
|
||||
//
|
||||
// public void setKafkaProducer(KafkaProducerSettings kafkaProducer) {
|
||||
// this.kafkaProducer = kafkaProducer;
|
||||
// }
|
||||
|
||||
public String getReportModuleOut() {
|
||||
return reportModuleOut;
|
||||
}
|
||||
|
||||
public void setReportModuleOut(String reportModuleOut) {
|
||||
this.reportModuleOut = reportModuleOut;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,3 +5,4 @@ spring.main.web-application-type=servlet
|
|||
reports-service.hazelcast.cluster-members=127.0.0.1:5701
|
||||
reports-service.hazelcast.login=dev
|
||||
reports-service.hazelcast.password=dev-pass
|
||||
reports-service.ReportModuleOut=./report_out
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue