<opendaylight.root>opt/opendaylight</opendaylight.root>
<ansible.gpg.key>93C4A3FD7BB9C367</ansible.gpg.key>
- <odl.features.extra>
+ <!-- ODL Features Boot -->
+ <extra.odl.features>
odl-restconf-all,odl-mdsal-all,odl-mdsal-apidocs,odl-daexim-all,odl-restconf-nb-rfc8040
- </odl.features.extra>
- <ccsdk.odl.features>
+ </extra.odl.features>
+ <!-- SLI Features Boot -->
+ <ccsdk.sli.features>
ccsdk-sli-core-all,ccsdk-sli-adaptors-all,ccsdk-sli-northbound-all,ccsdk-sli-plugins-all
- </ccsdk.odl.features>
- <odl.boot.features.extra>${odl.features.extra},${ccsdk.odl.features}</odl.boot.features.extra>
- <!-- All Version definition is placed in org.onap.ccsdk.parent/oparent -->
- <ccsdk.oran.a1adapter.version>1.2.0-SNAPSHOT</ccsdk.oran.a1adapter.version>
+ </ccsdk.sli.features>
+ <!-- SLI Features Repositories -->
+ <ccsdk.sli.features.repo>
+ mvn:org.onap.ccsdk.sli.core/ccsdk-sli-core-all/${resolvedVersion.slicore-features-installer}/xml/features,\
+ mvn:org.onap.ccsdk.sli.adaptors/ccsdk-sli-adaptors-all/${resolvedVersion.sliadaptors-features-installer}/xml/features,\
+ mvn:org.onap.ccsdk.sli.northbound/ccsdk-sli-northbound-all/${resolvedVersion.slinorthbound-features-installer}/xml/features,\
+ mvn:org.onap.ccsdk.sli.plugins/ccsdk-sli-plugins-all/${resolvedVersion.sliplugins-features-installer}/xml/features
+ </ccsdk.sli.features.repo>
<docker.autoCreateCustomNetworks>true</docker.autoCreateCustomNetworks>
</properties>
<type>zip</type>
<classifier>repo</classifier>
</dependency>
- <dependency>
- <groupId>org.onap.ccsdk.features</groupId>
- <artifactId>features-installer</artifactId>
- <version>${ccsdk.features.version}</version>
- <type>zip</type>
- <classifier>repo</classifier>
- </dependency>
- <dependency>
- <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
- <artifactId>sdnr-wt-feature-aggregator-installer</artifactId>
- <version>${ccsdk.features.version}</version>
- <type>zip</type>
- <classifier>repo</classifier>
- </dependency>
- <dependency>
- <groupId>org.onap.ccsdk.features</groupId>
- <artifactId>aafshiro-installer</artifactId>
- <version>${ccsdk.features.version}</version>
- <type>zip</type>
- <classifier>repo</classifier>
- </dependency>
- <dependency>
- <groupId>org.onap.ccsdk.features.sdnr.northbound</groupId>
- <artifactId>sdnr-northbound-features-installer</artifactId>
- <version>${ccsdk.features.version}</version>
- <type>zip</type>
- <classifier>repo</classifier>
- </dependency>
- <dependency>
- <groupId>org.onap.ccsdk.oran</groupId>
- <artifactId>a1-adapter-northbound-installer</artifactId>
- <version>${ccsdk.oran.a1adapter.version}</version>
- <type>zip</type>
- <classifier>repo</classifier>
- </dependency>
- <dependency>
- <groupId>org.onap.ccsdk.features.sdnr.northbound</groupId>
- <artifactId>oofpcipoc-installer</artifactId>
- <version>${ccsdk.features.version}</version>
- <type>zip</type>
- <classifier>repo</classifier>
- </dependency>
- <dependency>
- <groupId>org.onap.ccsdk.oran</groupId>
- <artifactId>a1-adapter-installer</artifactId>
- <version>${ccsdk.oran.a1adapter.version}</version>
- <type>zip</type>
- <classifier>repo</classifier>
- </dependency>
- <dependency>
- <groupId>org.onap.ccsdk.features.sdnr.northbound</groupId>
- <artifactId>CMNotify-installer</artifactId>
- <version>${ccsdk.features.version}</version>
- <type>zip</type>
- <classifier>repo</classifier>
- </dependency>
- <dependency>
- <groupId>org.onap.ccsdk.features.sdnr.northbound</groupId>
- <artifactId>ranSlice-installer</artifactId>
- <version>${ccsdk.features.version}</version>
- <type>zip</type>
- <classifier>repo</classifier>
- </dependency>
</dependencies>
<build>
<plugins>
+
<plugin>
- <groupId>org.codehaus.groovy.maven</groupId>
- <artifactId>gmaven-plugin</artifactId>
- <version>1.0</version>
+ <groupId>org.codehaus.gmaven</groupId>
+ <artifactId>groovy-maven-plugin</artifactId>
+ <version>2.1.1</version>
<executions>
<execution>
+ <id>derive-resolved-versions</id>
+ <phase>initialize</phase>
+ <goals>
+ <goal>execute</goal>
+ </goals>
+ <configuration>
+ <source>${basedir}/../../src/main/scripts/ResolveRanges.groovy</source>
+ </configuration>
+ </execution>
+ <execution>
+ <id>derive-docker-tags</id>
<phase>validate</phase>
<goals>
<goal>execute</goal>
<version>1.8</version>
<executions>
<execution>
- <id>change shell permissions</id>
+ <id>change-shell-permissions</id>
<phase>process-sources</phase>
<configuration>
<target>
</image>
</images>
<verbose>${docker.verbose}</verbose>
- <skipRun>${docker.skip.run}</skipRun>
<skipPush>${docker.skip.push}</skipPush>
</configuration>
<executions>
<execution>
- <id>build-images</id>
- <phase>package</phase>
+ <id>build-push-images</id>
<goals>
<goal>build</goal>
- </goals>
- </execution>
- <execution>
- <id>start-it-instance</id>
- <phase>pre-integration-test</phase>
- <goals>
- <goal>start</goal>
- </goals>
- <configuration>
- <images>
- <image>
- <name>mariadb:10.5</name>
- <alias>odlsli-db</alias>
- <run>
- <env>
- <MYSQL_ROOT_PASSWORD>itsASecret</MYSQL_ROOT_PASSWORD>
- <!-- Below are not required as installSdncDb.sh handles same -->
- <!--
- <MYSQL_USER>sdnctl</MYSQL_USER>
- <MYSQL_PASSWORD>gamma</MYSQL_PASSWORD>
- <MYSQL_DATABASE>sdnctl</MYSQL_DATABASE>
- -->
- </env>
- <network>
- <mode>custom</mode>
- <name>onap</name>
- <alias>dbhost</alias>
- <alias>sdnctldb01</alias>
- <alias>sdnctldb02</alias>
- </network>
- <ports>
- <port>odlslidb.port:3306</port>
- </ports>
- <log>
- <enabled>true</enabled>
- </log>
- </run>
- </image>
- <image>
- <name>${image.name}:${project.docker.latesttagtimestamp.snapshot.version}</name>
- <alias>odlsli-container</alias>
- <run>
- <env>
- <MYSQL_ROOT_PASSWORD>itsASecret</MYSQL_ROOT_PASSWORD>
- <SDNC_DB_USER>sdnctl</SDNC_DB_USER>
- <SDNC_DB_PASSWORD>gamma</SDNC_DB_PASSWORD>
- <SDNC_DB_DATABASE>sdnctl</SDNC_DB_DATABASE>
- <SDNC_CONFIG_DIR>/opt/onap/ccsdk/data/properties</SDNC_CONFIG_DIR>
- <KARAF_CONSOLE_LOG_LEVEL>INFO</KARAF_CONSOLE_LOG_LEVEL>
- </env>
- <dependsOn>
- <container>odlsli-db</container>
- </dependsOn>
- <network>
- <mode>custom</mode>
- <name>onap</name>
- <alias>odlsli</alias>
- </network>
- <ports>
- <port>odlsli.port:8181</port>
- </ports>
- <wait>
- <log>all warp coils are now operating at peak efficiency</log>
- <time>300000</time>
- </wait>
- <log>
- <enabled>true</enabled>
- </log>
- </run>
- </image>
- </images>
- </configuration>
- </execution>
- <execution>
- <id>stop-it-instance</id>
- <phase>post-integration-test</phase>
- <goals>
- <goal>stop</goal>
- </goals>
- </execution>
- <execution>
- <id>push-images</id>
- <goals>
- <!--<goal>build</goal>-->
<goal>push</goal>
</goals>
</execution>