Skip to content

Commit fa37452

Browse files
M8F-131 - Reconfigured m8flow-connectors to use m8flow- prefixed folders
1 parent bdc813d commit fa37452

File tree

4 files changed

+70
-68
lines changed

4 files changed

+70
-68
lines changed

docker/m8flow-docker-compose.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,7 @@ services:
216216
M8FLOW_BACKEND_BPMN_SPEC_ABSOLUTE_DIR: "${M8FLOW_BACKEND_BPMN_SPEC_ABSOLUTE_DIR:-/app/process_models}"
217217
M8FLOW_BACKEND_DATABASE_URI: "postgresql://${POSTGRES_USER:-postgres}:${POSTGRES_PASSWORD:-postgres}@m8flow-db:5432/${POSTGRES_DB:-postgres}"
218218
M8FLOW_BACKEND_UPGRADE_DB: "${M8FLOW_BACKEND_UPGRADE_DB:-true}"
219+
M8FLOW_BACKEND_CONNECTOR_PROXY_URL: "http://m8flow-connector-proxy:${CONNECTOR_PROXY_PORT:-8004}"
219220
KEYCLOAK_URL: "http://keycloak-proxy:7002"
220221
M8FLOW_KEYCLOAK_URL: "http://keycloak-proxy:7002"
221222
KEYCLOAK_HOSTNAME: "${KEYCLOAK_HOSTNAME:-http://localhost:7002}"
@@ -260,6 +261,7 @@ services:
260261
environment:
261262
M8FLOW_BACKEND_BPMN_SPEC_ABSOLUTE_DIR: "${M8FLOW_BACKEND_BPMN_SPEC_ABSOLUTE_DIR:-/app/process_models}"
262263
M8FLOW_BACKEND_DATABASE_URI: "postgresql://${POSTGRES_USER:-postgres}:${POSTGRES_PASSWORD:-postgres}@m8flow-db:5432/${POSTGRES_DB:-postgres}"
264+
M8FLOW_BACKEND_CONNECTOR_PROXY_URL: "http://m8flow-connector-proxy:${CONNECTOR_PROXY_PORT:-8004}"
263265
M8FLOW_BACKEND_CELERY_BROKER_URL: "${M8FLOW_BACKEND_CELERY_BROKER_URL:-redis://redis:6379/0}"
264266
M8FLOW_BACKEND_CELERY_RESULT_BACKEND: "${M8FLOW_BACKEND_CELERY_RESULT_BACKEND:-redis://redis:6379/0}"
265267
M8FLOW_BACKEND_RUNNING_IN_CELERY_WORKER: "true"

m8flow-connector-proxy/poetry.lock

Lines changed: 63 additions & 63 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

m8flow-connector-proxy/pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ spiffworkflow-proxy = {git = "https://github.com/sartography/spiffworkflow-proxy
1717
# m8flow-connector-http = { git = "https://github.com/AOT-Technologies/m8flow-connectors.git", subdirectory = "connectors/m8flow-connector-http", branch = "main" }
1818
m8flow-connector-smtp = { git = "https://github.com/AOT-Technologies/m8flow-connectors.git", subdirectory = "connectors/m8flow-connector-smtp", branch = "main" }
1919
connector-postgres-v2 = {git = "https://github.com/sartography/connector-postgres.git"}
20-
connector-slack = { git = "https://github.com/AOT-Technologies/m8flow-connectors.git", subdirectory = "connectors/connector-slack", branch = "main" }
21-
connector-salesforce = { git = "https://github.com/AOT-Technologies/m8flow-connectors.git", subdirectory = "connectors/connector-salesforce", branch = "main" }
22-
connector-stripe = { git = "https://github.com/AOT-Technologies/m8flow-connectors.git", subdirectory = "connectors/connector-stripe", branch = "main" }
20+
m8flow-connector-slack = { git = "https://github.com/AOT-Technologies/m8flow-connectors.git", subdirectory = "connectors/m8flow-connector-slack", branch = "main" }
21+
m8flow-connector-salesforce = { git = "https://github.com/AOT-Technologies/m8flow-connectors.git", subdirectory = "connectors/m8flow-connector-salesforce", branch = "main" }
22+
m8flow-connector-stripe = { git = "https://github.com/AOT-Technologies/m8flow-connectors.git", subdirectory = "connectors/m8flow-connector-stripe", branch = "main" }
2323
# dependencies for connector
2424
psycopg2-binary = "^2.9.9"
2525

sample.env

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,8 @@ M8FLOW_BACKEND_CELERY_FLOWER_BASIC_AUTH=admin:admin
9797

9898

9999
# --- Connector proxy ---
100-
CONNECTOR_PROXY_PORT=8004
101-
M8FLOW_BACKEND_CONNECTOR_PROXY_URL=http://localhost:8004
100+
# CONNECTOR_PROXY_PORT=8004
101+
# M8FLOW_BACKEND_CONNECTOR_PROXY_URL=http://localhost:8004
102102
# --- M8Flow Connector: SMTP ---
103103
# Local directory for connector to map attachments to.
104104
M8FLOW_CONNECTOR_SMTP_ATTACHMENTS_DIR=../email_attachments

0 commit comments

Comments
 (0)