Microservice that transfers a file between two servers, triggered by RabbitMQ messages.
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.
Role | Handle |
---|---|
Original Dev | @hanneslowette |
@dietervanhoof | |
Principal/Owner | @maartends |
Wing(wo)man | @violetina |
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.
- Maven
{
"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)
}