From: Michael Dürre Date: Fri, 17 Oct 2025 07:59:43 +0000 (+0200) Subject: add odl patches to sdnc X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F76%2F142276%2F1;p=sdnc%2Foam.git add odl patches to sdnc add patches for env var and oauth fix to distribution Issue-ID: SDNC-1857 Change-Id: Ie90f71910a9d3512e91f64b5eea444e4b1158ced Signed-off-by: Michael Dürre --- diff --git a/installation/sdnc/pom.xml b/installation/sdnc/pom.xml index 87471e64..df2d2a1a 100644 --- a/installation/sdnc/pom.xml +++ b/installation/sdnc/pom.xml @@ -24,6 +24,9 @@ org.onap.sdnc.p12 8443 + + 0.20.8 + 8.0.27 yyyyMMdd'T'HHmmss'Z' ${maven.build.timestamp} @@ -420,6 +423,36 @@ + + copy-with-alternalte-repo + generate-sources + + copy + + + + + com.highstreet-technologies.aaa + aaa-authn-api + ${odl.aaa.version} + ${project.build.directory}/docker-stage/patches + aaa-authn-api-${odl.aaa.version}.jar + * + + + com.highstreet-technologies.org.ops4j.pax.web + pax-web-jetty + ${odl.ops4j.version} + ${project.build.directory}/docker-stage/patches + pax-web-jetty-${odl.ops4j.version}.jar + * + + + + + diff --git a/installation/sdnc/src/main/docker/Dockerfile b/installation/sdnc/src/main/docker/Dockerfile index 4946dfe1..6d9e3aca 100755 --- a/installation/sdnc/src/main/docker/Dockerfile +++ b/installation/sdnc/src/main/docker/Dockerfile @@ -39,6 +39,10 @@ RUN sed -i -e "\|featuresRepositories|s|$|,${sdnr.features.repo},${sdnc.features # Add odl-netconf-topology to boot repositories RUN sed -i "s/odl-restconf-all/odl-restconf-all,odl-netconf-topology/g" $ODL_HOME/etc/org.apache.karaf.features.cfg +# copy patches +COPY patches/pax-web-jetty-${odl.ops4j.version}.jar $ODL_HOME/system/org/ops4j/pax/web/pax-web-jetty/${odl.ops4j.version}/ +COPY patches/aaa-authn-api-${odl.aaa.version}.jar $ODL_HOME/system/org/opendaylight/aaa/aaa-authn-api/${odl.aaa.version}/ + # Add aaa-app-config.xml Only if AAF is set to true (being passed as an argument in docker-maven-plugin configuration) COPY aaa-app-config.xml /tmp/aaa-app-config.xml RUN if "${AAF}" ; then \