...
FlexDeploy plugins are implemented in Java or Docker image and are installed on the FlexDeploy server for use within workflows. These plugins are automatically distributed to the endpoints where they are defined to execute. A plugin consists of four components:
- Implementation
- Java (See Plugin SDK API documentation) or
- Docker image
- Metadata describing its operations, properties, and other behavior
- Setup scripts (optional) to initialize the environment prior to execution
- Required 5.1.0 FlexDeploy libraries for Java implementation (download here)
See detailed instructions below.
...
To do that, cd to the folder that contains the files, and execute the following command: jar cvfM0 pluginname<PluginName>-<pluginversion><PluginVersion>.jar *
This will make "plugin<PluginName>-<PluginVersion>.jar" which will contain the files and folders around it.
...
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
<Plugin Name><PluginName>-<PluginVersion>.jar properties <properties file name>.xml (Plugin XML Properties Definition) lib adflibFlexFndCommonCore.jar (FlexDeploy library) adflibFlexDeployCore.jar (FlexDeploy library) commons-io-2.4.jar (Apache Commons IO library) <your plugin>.jar (your plugin classes packaged into a JAR - containing full package structure) bin setup.sh (optional) setup.bat (optional) plugin.xml (Plugin XML Metatdata) |
...