OIA Sample Plugin Example:
- Update OPENNMS_HOME/opennms/opennms.properties to enable trouble ticketer.
opennms.ticketer.plugin=org.opennms.netmgt.ticketd.OSGiBasedTicketerPlugin
opennms.alarmTroubleTicketEnabled = true
mvn install
- Through features file
feature:repo-add mvn:org.opennms.plugins.sample/org.opennms.plugins.sample.karaf-features/1.0.0-SNAPSHOT/xml
feature:install opennms-plugins-sample-ticketer
- Through kar file
cp target/opennms-sample-plugin.kar ../../opennms/target/opennms/deploy/
mvn archetype:generate -B -DarchetypeGroupId=org.opennms.integration.api -DarchetypeArtifactId=example-kar-plugin -DarchetypeVersion=0.6.0 -DgroupId=org.opennms -DartifactId=sample-ticketer -Dversion=1.0.0-SNAPSHOT -Dpackage=org.opennms.ticketer -DpluginId=sample-ticketer -DpluginName="Sample Ticketer"