java.lang.Object
es.kukenan.smartfi.microservice.transfer.service.FirmService

@Service public class FirmService extends Object
Signature related operations.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Path for signature of BE.
    private es.kukenan.smartfi.common.context.RequestContextManager
    Request context manager.
    private es.kukenan.smartfi.common.context.config.ContextPropagationProperties
    Context propagation properties.
    private org.springframework.web.client.RestTemplate
    Rest template.
    private String
    Signature host.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    es.kukenan.smartfi.microservice.firm.api.firmcontrol.response.FirmControlResponseId
    createSignature(String jwt, es.kukenan.smartfi.microservice.firm.api.firmcontrol.request.FirmControlRequestDto body)
    Get all signature.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • API_SIGNATURE_PATH

      public static final String API_SIGNATURE_PATH
      Path for signature of BE.
      See Also:
    • signatureHost

      @Value("${transfer.service.signature.uri}") private String signatureHost
      Signature host.
    • restTemplate

      @Autowired @Qualifier("internalRestTemplate") private org.springframework.web.client.RestTemplate restTemplate
      Rest template.
    • properties

      @Autowired private es.kukenan.smartfi.common.context.config.ContextPropagationProperties properties
      Context propagation properties.
    • contextManager

      @Autowired private es.kukenan.smartfi.common.context.RequestContextManager contextManager
      Request context manager.
  • Constructor Details

    • FirmService

      public FirmService()
  • Method Details

    • createSignature

      public es.kukenan.smartfi.microservice.firm.api.firmcontrol.response.FirmControlResponseId createSignature(String jwt, es.kukenan.smartfi.microservice.firm.api.firmcontrol.request.FirmControlRequestDto body)
      Get all signature.
      Parameters:
      jwt - jwt
      body - bodyRequest
      Returns:
      ContractResponseDto for a contracts