Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<features xmlns="http://karaf.apache.org/xmlns/features/v1.4.0" name="sdnr-northbound-all">
     <repository>mvn:org.onap.ccsdk.features.sdnr.northbound/sdnr-helloworld/0.3.0-SNAPSHOT/xml/features</repository>
     <repository>mvn:org.onap.ccsdk.features.sdnr.northbound/sdnr-goodbyeworld/0.3.0-SNAPSHOT/xml/features</repository>
     <feature name="sdnr-northbound-all" description="ccsdk-features-sdnr-northbound :: features :: sdnr-northbound-all" version="0.3.0.SNAPSHOT">
     <details>Root POM to be used in place of odlparent for CCSDK based projects</details>
     <feature version="0.3.0.SNAPSHOT" prerequisite="false" dependency="false">sdnr-helloworld</feature>
     <feature version="0.3.0.SNAPSHOT" prerequisite="false" dependency="false">sdnr-goodbyeworld</feature>
     </feature>
</features>

And the local maven repository has been updated with these files.

Image Added

We have all of the information that we need.

Modifying Construction of the ODLSLI Container

Two files need to be modified:

  • ccsdk/distribution/odlsli/pom.xml: add a dependency for the new component meta-feature sdnr-northbound-all
  • ccsdk/distribution/odlsli/src/main/docker/Dockerfile: add commands to append the new feature to the featuresRepositories and featuresBoot parameters in the $ODL_HOME/etc/org.apache.karaf.features.cfg file.