Simple Http File Transfer Action in Flux

One of our customer was interested in performing a basic HTTP file transfer function using Flux APIs. I implemented a trivial HTTP file transfer Action in Flux plugins project. Here is a sample test case that shows how this action could be integrated within a Flux workflow.

https://bitbucket.org/aruld/flux-plugins/src/99d3ea6bdd5e/http-filetransfer-action/src/test/java/test/HttpFileTransferActionTest.java?embed=t

Maven users could just drop this dependency in your POM to use this plugin in your project.

<dependency>
  <groupId>com.fluxcorp.plugins</groupId>
  <artifactId>http-filetransfer-action</artifactId>
  <version>1.0.2.SNAPSHOT</version>
</dependency>

Make sure you include this maven repository where the plugin snapshots are deployed.

<repository>
  <id>sonatype-nexus-snapshots</id>
  <name>sonatype-nexus-snapshots</name>
  <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
</repository>

There are few more interesting plugins available, you can check the project wiki for more details. Enjoy!

Leave a comment