From 5a763149e6c57b72a4a59faf3300bb55c7c2279a Mon Sep 17 00:00:00 2001 From: Michael Dürre Date: Tue, 21 Mar 2023 12:45:42 +0100 Subject: fix odlsli base image MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit switch odlsli to chlorine base image Install missing packages as dependencies Issue-ID: CCSDK-3873 Signed-off-by: Michael Dürre Change-Id: I2346fe996aa57baff3f1a7fac3b328682772551b Signed-off-by: Michael Dürre --- csit/plans/healthcheck/setup.sh | 6 +++++- dependencies/pom.xml | 16 +++++++++++++++- odlsli/odlsli-alpine/pom.xml | 2 +- pom.xml | 4 ++-- 4 files changed, 23 insertions(+), 5 deletions(-) diff --git a/csit/plans/healthcheck/setup.sh b/csit/plans/healthcheck/setup.sh index 327aba21..5e4b7a78 100644 --- a/csit/plans/healthcheck/setup.sh +++ b/csit/plans/healthcheck/setup.sh @@ -55,7 +55,7 @@ chmod +x docker-compose # WAIT 5 minutes maximum and check karaf.log for readiness every 10 seconds -TIME_OUT=300 +TIME_OUT=360 INTERVAL=10 TIME=0 while [ "$TIME" -lt "$TIME_OUT" ]; do @@ -74,9 +74,13 @@ done if [ "$TIME" -ge "$TIME_OUT" ]; then echo TIME OUT: karaf session not started in $TIME_OUT seconds, setup failed + echo "karaf.log follows:" + docker exec ccsdk_odlsli_container cat /opt/opendaylight/data/log/karaf.log exit 1; fi +echo "*TRACE* bundle list : $(docker exec -i ccsdk_odlsli_container /opt/opendaylight/current/bin/client bundle:list)" + num_bundles=$(docker exec -i ccsdk_odlsli_container /opt/opendaylight/current/bin/client bundle:list | tail -1 | cut -d' ' -f1) if [ "$num_bundles" -ge 333 ]; then diff --git a/dependencies/pom.xml b/dependencies/pom.xml index 01778ffc..d3919e58 100755 --- a/dependencies/pom.xml +++ b/dependencies/pom.xml @@ -95,6 +95,11 @@ javax javaee-api + + javax.annotation + javax.annotation-api + 1.3.1 + org.antlr antlr4-runtime @@ -131,6 +136,10 @@ org.dom4j dom4j + + org.glassfish.jaxb + jaxb-runtime + org.glassfish.jersey.bundles.repackaged jersey-guava @@ -151,6 +160,11 @@ org.glassfish.jersey.security oauth1-client + + org.json + json + 20201115 + org.mariadb.jdbc mariadb-java-client @@ -202,7 +216,7 @@ com.google.errorprone error_prone_annotations - 2.11.0 + 2.16 diff --git a/odlsli/odlsli-alpine/pom.xml b/odlsli/odlsli-alpine/pom.xml index 900fb09b..7cbc2389 100644 --- a/odlsli/odlsli-alpine/pom.xml +++ b/odlsli/odlsli-alpine/pom.xml @@ -18,7 +18,7 @@ - onap/ccsdk-odl-sulfur-alpine-image + onap/ccsdk-odl-chlorine-alpine-image onap/ccsdk-odlsli-alpine-image ${project.version} diff --git a/pom.xml b/pom.xml index f9fd01c4..b5325d91 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ org.onap.ccsdk.parent oparent - 2.5.3 + 2.5.4 org.onap.ccsdk.distribution @@ -31,7 +31,7 @@ distribution - 1.6.1 + 1.6.2 ${project.version} ${project.version} -- cgit 1.2.3-korg