Request A Demo
Back to All Blog Articles

Develop your own plugin with the FlexDeploy Plugin SDK

One of my favorite additions to FlexDeploy in the 4.0 release is the Plugin Software Development Kit(SDK). The FlexDeploy Plugin SDK is a collection of materials and Java code designed to support the development of plugins for FlexDeploy. FlexDeploy has always had a great selection of plugins that meet many use cases, and there is almost always a way to complete any task with a scripting plugin as noted in “No Plugin, No Problem“. But with the Plugin SDK, Flexagon is making the move to allow customers and partners to develop plugins for the application as well. This will allow the conglomeration of plugins to grow faster than ever.

The SDK is IDE-agnostic. Feel free to build a FlexDeploy plugin using Eclipse, JDeveloper, or any Java IDE of your choice.

Building a FlexDeploy plugin is easy! The example is a plugin with 4 operations, and several JUnit tests. Writing tests is optional, but simple with the mock class provided. I spent under 4 hours creating the plugin which can start, stop, and deploy artifacts to Apache Http Server 2.2 or 2.4. The plugin consists of the Java classes necessary to perform the operations you select, an XML file that describes the operations, and an XML file that describes the project and environment/instance properties that your operations require.

So, how do you start?

The SDK is available to as shown below:

Download the SDK from flexagon.com

Look through the sample plugin source

See the finished sample plugin jar file

Read the documentation

Read the Javadoc

and try your own. When you are finished, upload it to FlexDeploy just like any other plugin.

 

Related Resources

Mastering Source Control: Streamlining Functional Setup Data Sync with FlexDeploy and Git Integration in Oracle FSM

Effective source control management (SCM) is pivotal in ensuring the seamless tracking and management of functional setup data. In this ...

Oracle Integration Cloud – Migrate Integrations, Connections and Lookups

Oracle Integration Cloud (OIC) serves as a unified platform for seamlessly integrating cloud and on-premises applications. FlexDeploy, a robust DevOps ...

Unlocking Precision in Oracle SaaS FSM: Dive into FlexDeploy’s Filter Criteria for Effortless Setup Migration

While Oracle’s Functional Setup Manager (FSM) UI facilitates export/import operations for transferring setups across environments, the process demands manual initiation, ...

Join DevOps leaders across the globe who receive analysis, tips, and trends in their inbox