diff --git a/SAS/TMSS/src/CMakeLists.txt b/SAS/TMSS/src/CMakeLists.txt index ec457abffce2e5d12a3b73ed7fdd88e4868343cd..ef07b2d5f722a17785c2c1da0ea8e8abe4c5f795 100644 --- a/SAS/TMSS/src/CMakeLists.txt +++ b/SAS/TMSS/src/CMakeLists.txt @@ -16,6 +16,7 @@ find_python_module(coreapi REQUIRED) # sudo apt-get install python3-c find_python_module(django_jsonforms REQUIRED) # pip3 install django-jsonforms find_python_module(django_json_widget REQUIRED) # pip3 install django-json-widget find_python_module(jsoneditor REQUIRED) # pip3 install django-jsoneditor +find_python_module(jsonschema REQUIRED) # pip3 install jsonschema # modules for swagger API export find_python_module(drf_yasg REQUIRED) # pip install drf-yasg diff --git a/SAS/TMSS/src/tmss/tmssapp/models/scheduling.py b/SAS/TMSS/src/tmss/tmssapp/models/scheduling.py index a693066284a7b1561b8dc7b63c4901f6a0f7af6a..7693d05da21a9033ddefb55cbdeda5278fede3e4 100644 --- a/SAS/TMSS/src/tmss/tmssapp/models/scheduling.py +++ b/SAS/TMSS/src/tmss/tmssapp/models/scheduling.py @@ -12,7 +12,6 @@ from rest_framework.serializers import HyperlinkedRelatedField from lofar.sas.tmss.tmss.exceptions import * import json -import fastjsonschema import jsonschema # diff --git a/SubSystems/RAServices/Dockerfile b/SubSystems/RAServices/Dockerfile index bdca521f98783ed8d5d9f690bf140eca492615e1..3b09b0deab2f904ee783938f8c29b3adf8eb4216 100644 --- a/SubSystems/RAServices/Dockerfile +++ b/SubSystems/RAServices/Dockerfile @@ -10,7 +10,7 @@ RUN yum install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-7-x RUN yum install -y postgresql96 postgresql96-server postgresql96-devel ENV PATH /usr/pgsql-9.6/bin:$PATH -RUN pip3 install cython kombu lxml requests pygcn xmljson mysql-connector-python python-dateutil django djangorestframework djangorestframework-xml ldap==1.0.2 flask fabric coverage python-qpid-proton PyGreSQL numpy h5py psycopg2 testing.postgresql Flask-Testing scipy Markdown django-filter python-ldap python-ldap-test ldap3 djangorestframework django-jsonforms django-json-widget django-jsoneditor drf-yasg flex swagger-spec-validator django-auth-ldap mozilla-django-oidc +RUN pip3 install cython kombu lxml requests pygcn xmljson mysql-connector-python python-dateutil django djangorestframework djangorestframework-xml ldap==1.0.2 flask fabric coverage python-qpid-proton PyGreSQL numpy h5py psycopg2 testing.postgresql Flask-Testing scipy Markdown django-filter python-ldap python-ldap-test ldap3 djangorestframework django-jsonforms django-json-widget django-jsoneditor drf-yasg flex swagger-spec-validator django-auth-ldap mozilla-django-oidc jsonschema RUN adduser lofarsys USER lofarsys