gateway fix
This commit is contained in:
parent
99004e0c47
commit
ad73909774
1 changed files with 3 additions and 2 deletions
|
|
@ -7,6 +7,7 @@ import org.slf4j.LoggerFactory;
|
|||
import org.springframework.beans.factory.InitializingBean;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.web.client.RestTemplate;
|
||||
import ru.spcex.clearing.gatewayapi.config.GatewayApiSettings;
|
||||
import ru.spcex.clearing.gatewayapi.config.InboundServerSettings;
|
||||
import ru.spcex.clearing.platform.messaging.domain.BaseRequest;
|
||||
import ru.spcex.clearing.platform.messaging.domain.cud.gateway.GatewayTaskRequest;
|
||||
|
|
@ -27,11 +28,11 @@ public class GatewayService extends QueueConsumer implements InitializingBean {
|
|||
Producer<String, Object> kafkaProducer,
|
||||
RestTemplate restTemplate,
|
||||
UserRoleVerification userRoleVerification,
|
||||
InboundServerSettings inboundServerSettings) {
|
||||
GatewayApiSettings gatewayApiSettings) {
|
||||
super(kafkaQueue, kafkaProducer);
|
||||
this.restTemplate = restTemplate;
|
||||
this.userRoleVerification = userRoleVerification;
|
||||
this.inboundServerSettings = inboundServerSettings;
|
||||
this.inboundServerSettings = gatewayApiSettings.getInboundServer();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue