Skip to content

Microservice that transfers a file between two servers based on the FXP protocol

License

Notifications You must be signed in to change notification settings

viaacode/fxp_service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

FXP Service

Microservice that transfers a file between two servers, triggered by RabbitMQ messages.

Synopsis

The File eXchange Protocol (FXP) is a method of data transfer which uses FTP to transfer data from one remote server to another (inter-server) without routing this data through the client's connection.

Roles

Role Handle
Original Dev @hanneslowette
@dietervanhoof
Principal/Owner @maartends
Wing(wo)man @violetina

Deployment/Installation

Maven

You can compile or build the FXP service using either compile assembly:single or package (which includes the compile assembly:single).

mvn package creates the same 'fat' jar as mvn clean compile assembly:single. Build the project using one of the two following:

  • mvn clean compile assembly:single
  • mvn clean package

Once built, the artifact can be deployed to the nexus, assuming credentials for the VIAA repo are set up correctly:

  • mvn deploy

Consult the mvn deploy documentation.

Prerequisites

  • Maven

Usage

Example

{
    "source_host": "test.ftp.com",
    "source_user": "username",
    "source_password": "password",
    "source_file": "original.txt",
    "source_path": "/home/folder/",
    "destination_host": "other.ftp.com",
    "destination_user": "username",
    "destination_password": "password",
    "destination_file": "file.txt",
    "destination_path": "/home/test/",
    "correlation_id": "some_id", (optional),
    "move": "true" (optional)
}

About

Microservice that transfers a file between two servers based on the FXP protocol

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages