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:
Dan 2022-12-05 10:46:26 -05:00
parent 8d54f1582f
commit 698cbc81c9
5 changed files with 4 additions and 5 deletions

View File

@ -6,8 +6,7 @@ RUN useradd _gunicorn --no-create-home --user-group
RUN apt-get update && \
apt-get install -y -q \
gcc libssl-dev \
curl git-core libpq-dev \
gunicorn3 default-mysql-client
curl gunicorn3
WORKDIR /app
COPY pyproject.toml poetry.lock /app/

View File

@ -7,7 +7,7 @@ function error_handler() {
trap 'error_handler ${LINENO} $?' ERR
set -o errtrace -o errexit -o nounset -o pipefail
port="${CONNECTOR_PROXY_STATUS_IM_PORT:-}"
port="${CONNECTOR_PROXY_PORT:-}"
if [[ -z "$port" ]]; then
port=7004
fi

View File

@ -38,7 +38,7 @@ services:
- SPIFFWORKFLOW_BACKEND_DATABASE_URI=mysql+mysqlconnector://root:my-secret-pw@spiffworkflow-db:7003/spiffworkflow_backend_development
- BPMN_SPEC_ABSOLUTE_DIR=/app/process_models
- SPIFFWORKFLOW_BACKEND_LOAD_FIXTURE_DATA=false
- SPIFFWORKFLOW_BACKEND_PERMISSIONS_FILE_NAME=demo.yml
- SPIFFWORKFLOW_BACKEND_PERMISSIONS_FILE_NAME=example.yml
- RUN_BACKGROUND_SCHEDULER=true
- OPEN_ID_CLIENT_ID=spiffworkflow-backend
- OPEN_ID_CLIENT_SECRET_KEY=my_open_id_secret_key

View File

@ -4,7 +4,7 @@ from flask.testing import FlaskClient
from tests.spiffworkflow_backend.helpers.base_test import BaseTest
class TestFaskOpenId(BaseTest):
class TestFlaskOpenId(BaseTest):
"""An integrated Open ID that responds to openID requests.
By referencing a build in YAML file. Useful for