Plug in Policies Into JBoss Apiman
Join the DZone community and get the full member experience.Join For Free
The JBoss apiman project did just release 1.0.3.Final this week. It's mostly a bug fix release, with just a couple of relatively minor improvements. One particular feature, that made it's way into the framework since I last blogged about it is the support for plugins. Those plugins can easily be added to the system in order to provide additional functionality.
Add Policies As Plugins
Currently the only functionality that can be contributed through the plugin framework is new policies. Fortunately policies are also the most important aspect of apiman, as they are responsible for doing all of the important work at runtime.
Creating a Plugin
The following video walks you through it quickly:
How To Run Apiman
There is a very handy quickstart available, which allows you to build, deploy and start apiman on WildFly with a single command:
$ mvn clean install -Pinstall-all-wildfly8 $ cd tools/server-all/target/wildfly-8.1.0.Final/ $ ./bin/standalone.sh
Make sure to also read my previous blog posts about API Management with apiman:
Published at DZone with permission of Markus Eisele, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.