From e4922acb4035d7738e508131c5d897cca6d757e5 Mon Sep 17 00:00:00 2001 From: Michael DÜrre Date: Thu, 11 Feb 2021 06:58:43 +0100 Subject: add odl patches MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit add patches for aaa and fixed ccsdk sdnr repos Issue-ID: CCSDK-3152 Signed-off-by: Michael DÜrre Change-Id: I5590d87193c344f3dbf590b29f2e5b9ac5c77714 Signed-off-by: Michael DÜrre --- opendaylight/aluminum/aluminum-alpine/pom.xml | 31 ++++++++++++++++++++++ .../aluminum-alpine/src/main/docker/Dockerfile | 3 +++ 2 files changed, 34 insertions(+) (limited to 'opendaylight/aluminum/aluminum-alpine') diff --git a/opendaylight/aluminum/aluminum-alpine/pom.xml b/opendaylight/aluminum/aluminum-alpine/pom.xml index 84d9f307..867bb9e6 100644 --- a/opendaylight/aluminum/aluminum-alpine/pom.xml +++ b/opendaylight/aluminum/aluminum-alpine/pom.xml @@ -20,6 +20,7 @@ onap/ccsdk-odl-aluminum-alpine-image onap-karaf + 0.12.1 @@ -70,6 +71,36 @@ true + + copy-with-alternalte-repo-2 + generate-sources + + copy + + + + + com.highstreet-technologies.aaa + aaa-shiro + ${odl.shiro.version} + ${project.build.directory}/docker-stage/system/org/opendaylight/aaa/aaa-shiro/${odl.shiro.version} + aaa-shiro-${odl.shiro.version}.jar + * + + + com.highstreet-technologies.aaa + aaa-authn-api + ${odl.shiro.version} + ${project.build.directory}/docker-stage/system/org/opendaylight/aaa/aaa-authn-api/${odl.shiro.version} + aaa-authn-api-${odl.shiro.version}.jar + * + + + false + true + true + + diff --git a/opendaylight/aluminum/aluminum-alpine/src/main/docker/Dockerfile b/opendaylight/aluminum/aluminum-alpine/src/main/docker/Dockerfile index 11eeacd8..9ef70db1 100644 --- a/opendaylight/aluminum/aluminum-alpine/src/main/docker/Dockerfile +++ b/opendaylight/aluminum/aluminum-alpine/src/main/docker/Dockerfile @@ -13,10 +13,13 @@ RUN mkdir -p /opt/odl \ && ln -s /opt/opendaylight /opt/opendaylight/${odl.karaf.artifactId}-${ccsdk.opendaylight.version} \ && ln -s /opt/opendaylight /opt/opendaylight/current +# Patch some opendaylight artifacts +COPY system $ODL_HOME/system # Add missing scripts see SDNC-1056 #COPY configure_cluster.sh configure-cluster-ipdetect.sh custom_shard_config.txt set_persistence.sh $ODL_HOME/bin/ #RUN chmod 755 $ODL_HOME/bin/configure_cluster.sh $ODL_HOME/bin/configure-cluster-ipdetect.sh $ODL_HOME/bin/set_persistence.sh $ODL_HOME/bin/custom_shard_config.txt # ENTRYPOINT exec /opt/opendaylight/bin/karaf +WORKDIR $ODL_HOME USER onap EXPOSE 8181 -- cgit 1.2.3-korg