Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
59 changes: 0 additions & 59 deletions monitoring/mock_uss/gunicorn.conf.py

This file was deleted.

11 changes: 4 additions & 7 deletions monitoring/mock_uss/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,7 @@ cp health_check.sh /app

# Start mock_uss server on port 5000
export PYTHONUNBUFFERED=TRUE
gunicorn \
--preload \
--config ./gunicorn.conf.py \
--workers=4 \
--threads=2 \
--bind=0.0.0.0:5000 \
monitoring.mock_uss:webapp
waitress-serve --listen=*:5000 \
--log-socket-errors \
--expose-tracebacks \
monitoring.mock_uss:webapp
5 changes: 5 additions & 0 deletions monitoring/mock_uss/stop_all_local_mocks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ if [ "$RID_VERSION" = "F3411-19" ]; then
RID_EXT="_v19"
fi

echo "LOGS\n========== A"
docker logs mock_uss_scdsc_a
echo "========== B"
docker logs mock_uss_scdsc_b

docker container rm -f \
mock_uss_scdsc_a \
mock_uss_scdsc_b \
Expand Down
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Flask-HTTPAuth==4.7.0 # atproxy
geojson===2.5.0 # uss_qualifier
google-auth==1.6.3
graphviz==0.20.1 # uss_qualifier
gunicorn==20.1.0
gunicorn==20.1.0 # atproxy
implicitdict==2.2.1
itsdangerous==2.0.1 # Version 2.1.0 is not compatible with flask 1.1.2.
Jinja2==3.0.3 # See https://github.com/interuss/dss/issues/745
Expand All @@ -39,4 +39,5 @@ shapely==1.7.1
structlog==21.5.0 # deployment_manager
termcolor==1.1.0
uas_standards==1.3.0
waitress==2.1.2 # mock_uss
Werkzeug==2.0.3 # See https://github.com/interuss/dss/issues/753