Rack Rules

This commit is contained in:
CHIEFSOFT\ameye
2025-06-10 06:58:53 -04:00
parent 4d08983ae3
commit 0af1b7567b
2 changed files with 8 additions and 2 deletions
+6 -2
View File
@@ -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,
+2
View File
@@ -65,7 +65,9 @@ class Config:
"rule14-no-lien", "rule14-no-lien",
"rule15-null-ignore" "rule15-null-ignore"
] ]
rac_false_rules = [
]