Introduce requirements.txt file in smo/ves project. 87/8987/14
authorsantanude <santanu.de@xoriant.com>
Thu, 1 Sep 2022 09:57:25 +0000 (15:27 +0530)
committersantanude <santanu.de@xoriant.com>
Fri, 23 Sep 2022 11:37:29 +0000 (17:07 +0530)
SMO-89

Signed-off-by: santanude <santanu.de@xoriant.com>
Change-Id: I893526475f13209e5457d801dd0d004b7bd8de18
Signed-off-by: santanude <santanu.de@xoriant.com>
collector/Dockerfile
collector/pip.conf [new file with mode: 0644]
dmaapadapter/Dockerfile
dmaapadapter/pip.conf [new file with mode: 0644]
influxdb-connector/Dockerfile
influxdb-connector/pip.conf [new file with mode: 0644]
requirements.txt [new file with mode: 0644]

index 74c65ab..4932f55 100755 (executable)
@@ -22,6 +22,9 @@ FROM ubuntu:focal
 
 RUN apt-get update && apt-get -y upgrade
 RUN apt-get install -y git curl python3 python3-pip
+
+COPY pip.conf /etc/pip.conf
+
 RUN pip3 install requests jsonschema kafka-python gevent
 
 
diff --git a/collector/pip.conf b/collector/pip.conf
new file mode 100644 (file)
index 0000000..6581d0e
--- /dev/null
@@ -0,0 +1,3 @@
+[global]
+timeout = 60
+index-url = https://nexus3.o-ran-sc.org/repository/PyPi/simple
index 58a8caa..7b29115 100755 (executable)
 
 FROM ubuntu:focal
 
+
 RUN apt-get update && apt-get -y upgrade
-RUN apt-get install -y git curl python3 python3-pip
-RUN pip3 install requests jsonschema kafka-python flask confluent-kafka
+RUN apt-get install -y git curl python3 python3-pip 
 
+COPY pip.conf /etc/pip.conf
+
+RUN pip3 install requests jsonschema kafka-python flask confluent-kafka
 
 RUN mkdir /opt/smo
 
diff --git a/dmaapadapter/pip.conf b/dmaapadapter/pip.conf
new file mode 100644 (file)
index 0000000..6581d0e
--- /dev/null
@@ -0,0 +1,3 @@
+[global]
+timeout = 60
+index-url = https://nexus3.o-ran-sc.org/repository/PyPi/simple
index bd91696..ee60aa9 100755 (executable)
@@ -17,6 +17,9 @@ FROM ubuntu:focal
 
 RUN apt-get update && apt-get -y upgrade
 RUN apt-get install -y git curl python3 python3-pip
+
+COPY pip.conf /etc/pip.conf
+
 RUN pip3 install requests confluent-kafka
 
 # Clone influxdb-connector
diff --git a/influxdb-connector/pip.conf b/influxdb-connector/pip.conf
new file mode 100644 (file)
index 0000000..6581d0e
--- /dev/null
@@ -0,0 +1,3 @@
+[global]
+timeout = 60
+index-url = https://nexus3.o-ran-sc.org/repository/PyPi/simple
diff --git a/requirements.txt b/requirements.txt
new file mode 100644 (file)
index 0000000..a5367a0
--- /dev/null
@@ -0,0 +1,24 @@
+attrs==22.1.0
+certifi==2022.6.15
+charset-normalizer==2.1.1
+click==8.1.3
+confluent-kafka==1.9.2
+Flask==2.2.2
+gevent==21.12.0
+greenlet==1.1.3
+idna==3.3
+importlib-metadata==4.12.0
+importlib-resources==5.9.0
+itsdangerous==2.1.2
+Jinja2==3.1.2
+jsonschema==4.15.0
+kafka-python==2.0.2
+MarkupSafe==2.1.1
+pkgutil-resolve-name==1.3.10
+pyrsistent==0.18.1
+requests==2.28.1
+urllib3==1.26.12
+Werkzeug==2.2.2
+zipp==3.8.1
+zope.event==4.5.0
+zope.interface==5.4.0