Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TZ & celery VAR for rabbitmq in ecommerce #46

Open
wants to merge 1 commit into
base: open-release/ironwood.master
Choose a base branch
from
Open
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
12 changes: 12 additions & 0 deletions playbooks/roles/ecommerce/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,12 @@ ECOMMERCE_CYBERSOURCE_CANCEL_PAGE_URL: '/checkout/cancel-checkout/'
ECOMMERCE_CYBERSOURCE_SEND_LEVEL_2_3_DETAILS: true
ECOMMERCE_CYBERSOURCE_SOAP_API_URL: 'https://ics2wstest.ic3.com/commerce/1.x/transactionProcessor/CyberSourceTransaction_1.140.wsdl'

# ElasticAPM
ECOMMERCE_ELASTIC_APM_SERVICE_NAME: 'SET-ME-PLEASE'
ECOMMERCE_ELASTIC_APM_SERVER_URL: 'SET-ME-PLEASE'
ECOMMERCE_ELASTIC_APM_ENVIRONMENT: 'SET-ME-PLEASE'
ECOMMERCE_ELASTIC_APM_SECRET_TOKEN: 'SET-ME-PLEASE'

# PayPal
ECOMMERCE_PAYPAL_MODE: 'sandbox'
ECOMMERCE_PAYPAL_CLIENT_ID: 'SET-ME-PLEASE'
Expand Down Expand Up @@ -157,6 +163,7 @@ ECOMMERCE_BROKER_URL: '{{ ECOMMERCE_BROKER_TRANSPORT }}://{{ ECOMMERCE_BROKER_US
ECOMMERCE_DISCOVERY_SERVICE_URL: 'http://localhost:8008'
ECOMMERCE_ENTERPRISE_URL: '{{ ECOMMERCE_LMS_URL_ROOT }}'


ecommerce_service_config_overrides:
LANGUAGE_COOKIE_NAME: '{{ ECOMMERCE_LANGUAGE_COOKIE_NAME }}'
EDX_API_KEY: '{{ ECOMMERCE_EDX_API_KEY }}'
Expand Down Expand Up @@ -193,6 +200,11 @@ ecommerce_service_config_overrides:
DEFAULT_SITE_THEME: "{{ ECOMMERCE_DEFAULT_SITE_THEME }}"
CSRF_COOKIE_SECURE: "{{ ECOMMERCE_CSRF_COOKIE_SECURE }}"
SESSION_COOKIE_SECURE: '{{ ECOMMERCE_SESSION_COOKIE_SECURE}}'
# ElasticAPM
ELASTIC_APM_SERVICE_NAME: '{{ ECOMMERCE_ELASTIC_APM_SERVICE_NAME }}'
ELASTIC_APM_SERVER_URL: '{{ ECOMMERCE_ELASTIC_APM_SERVER_URL }}'
ELASTIC_APM_ENVIRONMENT: '{{ ECOMMERCE_ELASTIC_APM_ENVIRONMENT }}'
ELASTIC_APM_SECRET_TOKEN: '{{ ECOMMERCE_ELASTIC_APM_SECRET_TOKEN }}'

ECOMMERCE_GUNICORN_WORKER_CLASS: "gevent"
ECOMMERCE_GUNICORN_MAX_REQUESTS: 3000
Expand Down
1 change: 1 addition & 0 deletions playbooks/roles/ecomworker/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ ECOMMERCE_WORKER_SERVICE_CONFIG:


ecommerce_worker_environment:
TZ: 'Australia/Melbourne'
WORKER_CONFIGURATION_MODULE: 'ecommerce_worker.configuration.production'
ECOMMERCE_WORKER_CFG: '{{ COMMON_CFG_DIR }}/{{ ecommerce_worker_service_name }}.yml'

Expand Down