Skip to content
This repository has been archived by the owner on Jul 28, 2019. It is now read-only.

Latest commit

 

History

History
21 lines (18 loc) · 631 Bytes

readme.md

File metadata and controls

21 lines (18 loc) · 631 Bytes

Readme

This project is a quick demo and overview of how to develop OSGi/Karaf features/bundles for OpenNMS.

Useful commands used in this demo:

  • Add a feature repository from maven: feature:repo-add mvn:<group id>/<artifact id>/<version>/xml
  • List features: feature:list
  • List bundles: bundle:list
  • List services: service:list
  • Install a feature: feature:install <feature>
  • Watch the log: log:tail
  • Hot-reload bundles if they change on disk: bundle:watch *
  • Update a property:
    config:edit <persistent id>
    config:property-set <propert name> <property value>
    config:update