--- refactor AccountServiceSettings prefix utility-service BankAccountService убрать логи с запросами MoneyMarketSecurityNewRequest
This commit is contained in:
parent
2b8ee91f76
commit
09ddcff931
2 changed files with 3 additions and 3 deletions
|
|
@ -8,7 +8,7 @@ import ru.spcex.platform.imdg.iml.hazelcast.config.HazelcastClientParams;
|
|||
|
||||
@Component
|
||||
@PropertySource("file:${spring.config.location}/application.properties")
|
||||
@ConfigurationProperties("utility-service")
|
||||
@ConfigurationProperties("account-service")
|
||||
public class AccountServiceSettings {
|
||||
private HazelcastClientParams hazelcast;
|
||||
private KafkaConsumerSettings kafka;
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ public class BankAccountService extends QueueConsumer implements InitializingBea
|
|||
|
||||
private void bankAccountNew(BaseRequest<BankAccountNewRequest> userRequest) {
|
||||
BankAccountNewRequest req = userRequest.getRequestPayload();
|
||||
log.debug("MoneyMarketSecurityNewRequest received");
|
||||
log.debug("BankAccountNewRequest received");
|
||||
BankAccount bankAccount = new BankAccount();
|
||||
bankAccount.setBankIdentificationCode(req.getBankIdentificationCode());
|
||||
bankAccount.setBankName(req.getBankName());
|
||||
|
|
@ -61,7 +61,7 @@ public class BankAccountService extends QueueConsumer implements InitializingBea
|
|||
|
||||
private void bankAccountUpdate(BaseRequest<BankAccountUpdateRequest> userRequest) {
|
||||
BankAccountUpdateRequest req = userRequest.getRequestPayload();
|
||||
log.debug("MoneyMarketSecurityUpdateRequest received id = {}", req.getId());
|
||||
log.debug("BankAccountUpdateRequest received id = {}", req.getId());
|
||||
BankAccount bankAccount = bankAccountMap.getSingleObjectByID(req.getId());
|
||||
bankAccount.setBankIdentificationCode(req.getBankIdentificationCode());
|
||||
bankAccount.setBankName(req.getBankName());
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue