From 2b0b94c5011967c2bae26611cd8e4b5c80b2379c Mon Sep 17 00:00:00 2001 From: nolash Date: Tue, 13 Apr 2021 19:28:36 +0200 Subject: [PATCH] Add missing config vars for ussd --- apps/cic-ussd/.config/app.ini | 7 ++++++ apps/cic-ussd/requirements.txt | 4 ++-- .../contract-migration/scripts/config/app.ini | 24 +++++++++++++++++++ 3 files changed, 33 insertions(+), 2 deletions(-) create mode 100644 apps/contract-migration/scripts/config/app.ini diff --git a/apps/cic-ussd/.config/app.ini b/apps/cic-ussd/.config/app.ini index 5df11153..6d37c421 100644 --- a/apps/cic-ussd/.config/app.ini +++ b/apps/cic-ussd/.config/app.ini @@ -11,7 +11,14 @@ REGION=KE [ussd] MENU_FILE=/usr/src/data/ussd_menu.json +user = +pass = [statemachine] STATES=/usr/src/cic-ussd/states/ TRANSITIONS=/usr/src/cic-ussd/transitions/ + +[client] +host = +port = +ssl = diff --git a/apps/cic-ussd/requirements.txt b/apps/cic-ussd/requirements.txt index 7738c9b6..c002df3b 100644 --- a/apps/cic-ussd/requirements.txt +++ b/apps/cic-ussd/requirements.txt @@ -1,4 +1,4 @@ -cic_base[full_graph]~=0.1.2a61 -cic-eth~=0.11.0b1 +cic_base[full_graph]~=0.1.2a67 +cic-eth~=0.11.0b3 cic-notify~=0.4.0a3 cic-types~=0.1.0a10 diff --git a/apps/contract-migration/scripts/config/app.ini b/apps/contract-migration/scripts/config/app.ini new file mode 100644 index 00000000..6d37c421 --- /dev/null +++ b/apps/contract-migration/scripts/config/app.ini @@ -0,0 +1,24 @@ +[app] +ALLOWED_IP=0.0.0.0/0 +LOCALE_FALLBACK=en +LOCALE_PATH=/usr/src/cic-ussd/var/lib/locale/ +MAX_BODY_LENGTH=1024 +PASSWORD_PEPPER=QYbzKff6NhiQzY3ygl2BkiKOpER8RE/Upqs/5aZWW+I= +SERVICE_CODE=*483*46# + +[phone_number] +REGION=KE + +[ussd] +MENU_FILE=/usr/src/data/ussd_menu.json +user = +pass = + +[statemachine] +STATES=/usr/src/cic-ussd/states/ +TRANSITIONS=/usr/src/cic-ussd/transitions/ + +[client] +host = +port = +ssl =