Rack Rules
This commit is contained in:
@@ -5,7 +5,9 @@ import logging
|
|||||||
|
|
||||||
from app.config import Config
|
from app.config import Config
|
||||||
|
|
||||||
RAC_CHECK_RULES = Config.rac_true_rules
|
RAC_TRUE_CHECK_RULES = Config.rac_true_rules
|
||||||
|
RAC_FALSE_CHECK_RULES = Config.rac_false_rules
|
||||||
|
|
||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger(__name__)
|
||||||
|
|
||||||
class OfferAnalysis:
|
class OfferAnalysis:
|
||||||
@@ -39,7 +41,9 @@ class OfferAnalysis:
|
|||||||
@staticmethod
|
@staticmethod
|
||||||
def _analyze_rack_checks(rack_response):
|
def _analyze_rack_checks(rack_response):
|
||||||
logger.info(f"This is PayLoad for ANALYSYS ***** : {str(rack_response)}", exc_info=True)
|
logger.info(f"This is PayLoad for ANALYSYS ***** : {str(rack_response)}", exc_info=True)
|
||||||
logger.info(f"RACk RUKES {str(RAC_CHECK_RULES)}", exc_info=True)
|
logger.info(f"RACk TRUE RULES {str(RAC_TRUE_CHECK_RULES)}", exc_info=True)
|
||||||
|
logger.info(f"RACk FALSE RULES {str(RAC_FALSE_CHECK_RULES)}", exc_info=True)
|
||||||
|
|
||||||
# "racResponse": {
|
# "racResponse": {
|
||||||
# "accountStatus": true,
|
# "accountStatus": true,
|
||||||
# "bvnValidated": true,
|
# "bvnValidated": true,
|
||||||
|
|||||||
@@ -65,7 +65,9 @@ class Config:
|
|||||||
"rule14-no-lien",
|
"rule14-no-lien",
|
||||||
"rule15-null-ignore"
|
"rule15-null-ignore"
|
||||||
]
|
]
|
||||||
|
rac_false_rules = [
|
||||||
|
|
||||||
|
]
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user