...
If there is the need to run this services in Opendaylight Flourine SR1 environment the adaption can be done in a few simple steps, that are descirbed here.
Test environment for creating and running docker container is located here: https://github.com/onap-oof-pci-poc/ccsdk/tree/master/distribution/odlwt-alpine-standalone-0.4.1-SNAPSHOT
Opendaylight Background
The parent used in the pom file for a CCSDK feature is defining the Opendaylight Version that is targeted as run time environment. The interfaces provided by an Opendaylight main version, like Flourine, are not changed from one SRn to SRn+1.
...
Code Block |
---|
<dependency> <groupId>org.onap.ccsdk.features.sdnr.wt</groupId> <artifactId>sdnr-wt-feature-aggregator-installer</artifactId> <version>0.4.1-SNAPSHOT</version> <classifier>repo</classifier> <type>zip</type> </dependency> |
Related command sequence
Ubuntu and bash, ONAP dev environment.
Code Block | ||
---|---|---|
| ||
cd ~ git clone git clone https://gerrit.onap.org/r/ccsdk/features cd features/sdnr/wt cp -r wt wt-0.4.1 cd wt-0.4.1 sed -i 's#<version>1.2.2-SNAPSHOT</version>#<version>1.2.1-SNAPSHOT</version>#g' $(find . -name "pom.xml") sed -i 's#<version>0.4.2-SNAPSHOT</version>#<version>0.4.1-SNAPSHOT</version>#g' $(find . -name "pom.xml") mvn clean install |
...
As a check use grep command with the version nmumbers numbers to replace:
...
Code Block | ||
---|---|---|
| ||
grep "<version>1\.2\.2-SNAPSHOT</version>" $(find . -name pom.xml) grep " |
...
<version>0\. |
...
4\. |
...
2-SNAPSHOT</version>" $(find . -name pom.xml) |