All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.brihaspathee.zeus.service.impl.TransactionOrigServiceImpl Maven / Gradle / Ivy

The newest version!
package com.brihaspathee.zeus.service.impl;

import com.brihaspathee.zeus.dto.transaction.FileDetailDto;
import com.brihaspathee.zeus.service.interfaces.FileTransmissionService;
import com.brihaspathee.zeus.service.interfaces.TransactionOrigService;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;

/**
 * Created in Intellij IDEA
 * User: Balaji Varadharajan
 * Date: 21, June 2022
 * Time: 3:52 PM
 * Project: Zeus
 * Package Name: com.brihaspathee.zeus.service.impl
 * To change this template use File | Settings | File and Code Template
 */
@Slf4j
@Service
@RequiredArgsConstructor
public class TransactionOrigServiceImpl implements TransactionOrigService {

    @Value("${url.host.transaction-orig-service}")
    private String transOrigHost;

    private final FileTransmissionService fileTransmissionService;

    @Override
    public void postFileDetails(FileDetailDto fileDetailDto) {
        fileTransmissionService.postFileDetails(transOrigHost + "/api/v1/trans-orig",fileDetailDto);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy