Fixes based off KB's super kind review.
------- * Remove unnecessary packages from dockerfile for the demo-connect proxy. * Rename an environment variable that mentioned Status.im in what is now a generic connector. * Fixed a spelling mistake.
This commit is contained in:
parent
8a61a0e17e
commit
1e86345a33
|
@ -6,8 +6,7 @@ RUN useradd _gunicorn --no-create-home --user-group
|
||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
apt-get install -y -q \
|
apt-get install -y -q \
|
||||||
gcc libssl-dev \
|
gcc libssl-dev \
|
||||||
curl git-core libpq-dev \
|
curl gunicorn3
|
||||||
gunicorn3 default-mysql-client
|
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY pyproject.toml poetry.lock /app/
|
COPY pyproject.toml poetry.lock /app/
|
||||||
|
|
|
@ -7,7 +7,7 @@ function error_handler() {
|
||||||
trap 'error_handler ${LINENO} $?' ERR
|
trap 'error_handler ${LINENO} $?' ERR
|
||||||
set -o errtrace -o errexit -o nounset -o pipefail
|
set -o errtrace -o errexit -o nounset -o pipefail
|
||||||
|
|
||||||
port="${CONNECTOR_PROXY_STATUS_IM_PORT:-}"
|
port="${CONNECTOR_PROXY_PORT:-}"
|
||||||
if [[ -z "$port" ]]; then
|
if [[ -z "$port" ]]; then
|
||||||
port=7004
|
port=7004
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -38,7 +38,7 @@ services:
|
||||||
- SPIFFWORKFLOW_BACKEND_DATABASE_URI=mysql+mysqlconnector://root:my-secret-pw@spiffworkflow-db:7003/spiffworkflow_backend_development
|
- SPIFFWORKFLOW_BACKEND_DATABASE_URI=mysql+mysqlconnector://root:my-secret-pw@spiffworkflow-db:7003/spiffworkflow_backend_development
|
||||||
- BPMN_SPEC_ABSOLUTE_DIR=/app/process_models
|
- BPMN_SPEC_ABSOLUTE_DIR=/app/process_models
|
||||||
- SPIFFWORKFLOW_BACKEND_LOAD_FIXTURE_DATA=false
|
- SPIFFWORKFLOW_BACKEND_LOAD_FIXTURE_DATA=false
|
||||||
- SPIFFWORKFLOW_BACKEND_PERMISSIONS_FILE_NAME=demo.yml
|
- SPIFFWORKFLOW_BACKEND_PERMISSIONS_FILE_NAME=example.yml
|
||||||
- RUN_BACKGROUND_SCHEDULER=true
|
- RUN_BACKGROUND_SCHEDULER=true
|
||||||
- OPEN_ID_CLIENT_ID=spiffworkflow-backend
|
- OPEN_ID_CLIENT_ID=spiffworkflow-backend
|
||||||
- OPEN_ID_CLIENT_SECRET_KEY=my_open_id_secret_key
|
- OPEN_ID_CLIENT_SECRET_KEY=my_open_id_secret_key
|
||||||
|
|
|
@ -4,7 +4,7 @@ from flask.testing import FlaskClient
|
||||||
from tests.spiffworkflow_backend.helpers.base_test import BaseTest
|
from tests.spiffworkflow_backend.helpers.base_test import BaseTest
|
||||||
|
|
||||||
|
|
||||||
class TestFaskOpenId(BaseTest):
|
class TestFlaskOpenId(BaseTest):
|
||||||
"""An integrated Open ID that responds to openID requests.
|
"""An integrated Open ID that responds to openID requests.
|
||||||
|
|
||||||
By referencing a build in YAML file. Useful for
|
By referencing a build in YAML file. Useful for
|
||||||
|
|
Loading…
Reference in New Issue