Use xappframepy ver 1.1.1 or later 26/3626/2
authorLott, Christopher (cl778h) <cl778h@att.com>
Thu, 7 May 2020 17:07:16 +0000 (13:07 -0400)
committerLott, Christopher (cl778h) <cl778h@att.com>
Thu, 7 May 2020 21:02:11 +0000 (17:02 -0400)
Pin version for xappframepy in setup.py
Upgrade to RMR ver 4.0.5 in Dockerfile

Signed-off-by: Lott, Christopher (cl778h) <cl778h@att.com>
Change-Id: I6bb3289be4ffc89ec3ab14e99c872e30db4f083f

Dockerfile
setup.py

index ecbf1c0..e042d4f 100644 (file)
@@ -18,9 +18,9 @@ FROM python:3.8-alpine
 # RMR setup
 RUN mkdir -p /opt/route/
 # copy rmr files from builder image in lieu of an Alpine package
-COPY --from=nexus3.o-ran-sc.org:10002/o-ran-sc/bldr-alpine3-rmr:4.0.2 /usr/local/lib64/librmr* /usr/local/lib64/
+COPY --from=nexus3.o-ran-sc.org:10002/o-ran-sc/bldr-alpine3-rmr:4.0.5 /usr/local/lib64/librmr* /usr/local/lib64/
 # rmr_probe replaced health_ck
-COPY --from=nexus3.o-ran-sc.org:10002/o-ran-sc/bldr-alpine3-rmr:4.0.2 /usr/local/bin/rmr* /usr/local/bin/
+COPY --from=nexus3.o-ran-sc.org:10002/o-ran-sc/bldr-alpine3-rmr:4.0.5 /usr/local/bin/rmr* /usr/local/bin/
 ENV LD_LIBRARY_PATH /usr/local/lib/:/usr/local/lib64
 COPY tests/fixtures/local.rt /opt/route/local.rt
 ENV RMR_SEED_RT /opt/route/local.rt
index 51db1f4..81daddf 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -22,7 +22,7 @@ setup(
     author="Tommy Carpenter",
     description="QP Driver Xapp for traffic steering",
     url="https://gerrit.o-ran-sc.org/r/admin/repos/ric-app/qp-driver",
-    install_requires=["ricxappframe>=1.0.0,<2.0.0"],
+    install_requires=["ricxappframe>=1.1.1,<2.0.0"],
     entry_points={"console_scripts": ["start.py=qpdriver.main:start"]},  # adds a magical entrypoint for Docker
     license="Apache 2.0",
     data_files=[("", ["LICENSE.txt"])],