Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 989 Bytes

README.markdown

File metadata and controls

15 lines (12 loc) · 989 Bytes

Upgrading Karaf

To upgrade our container to use a new base Karaf version, follow these steps.

  1. Download and unpack the new Karaf tar.gz file.
  2. Run this command to see the differences in the Karaf etc files: diff -r $KARAF_DIR/etc $SRC_DIR/container/karaf/src/main/filtered-resources/etc
  3. Apply any relevent changes to the files inside $SRC_DIR/container/karaf/src/main/filtered-resources/etc.
  4. Copy the new Karaf features.xml file into the container project: cp $KARAF_DIR/system/org/apache/karaf/assemblies/features/standard/$KARAF_VERSION/standard-$KARAF_VERSION-features.xml $SRC_DIR/container/karaf/src/main/filtered-resources/features/features.xml
  5. Restore the HTTP bridge changes to the features.xml file by making all of the changes between the OPENNMS CUSTOMIZATION comment blocks.
  6. Update $SRC_DIR/pom.xml with new value for property.

See commit dea910701c3f48e367636b507fc575b59e70b843 for an example of an upgrade.