Class AuditVerficationProperties
java.lang.Object
com.broadleafcommerce.promotion.offer.web.context.AuditVerficationProperties
@ConfigurationProperties("broadleaf.offer.audit.verification")
public class AuditVerficationProperties
extends Object
Configuration properties for controlling which audit checks run for the various flows.
By default, audit checks are disabled while running the applyOffer and marketing message
endpoints but on during the endpoints that retrieve and validateOfferUsage endpoints.
- Author:
- bpolster
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
protected Map<String,
AuditVerificationFlags> Controls aAuditVerificationFlags
that maps to the individual customer.static final String
static final String
static final String
static final String
static final String
static final String
static final String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionControls aAuditVerificationFlags
that maps to the individual customer.void
setAuditVerificationMap
(Map<String, AuditVerificationFlags> auditVerificationMap) Controls aAuditVerificationFlags
that maps to the individual customer.toString()
void
updateAuditVerificationProperties
(String flow, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) void
updateAuditVerificationProperties
(String flow, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, boolean skipChecksByDefault) Audit verification properties provide a mechanism for controlling when the audit checks are performed.
-
Field Details
-
APPLY_OFFERS_FLOW
- See Also:
-
EVALUATE_OFFERS_FLOW
- See Also:
-
VALIDATE_USAGE_FLOW
- See Also:
-
RETRIEVE_CODE_USABILITY
- See Also:
-
VALIDATE_VOUCHERS_FLOW
- See Also:
-
VALIDATE_SHARED_CODES_FLOW
- See Also:
-
USABILITY_BY_CODE_FLOW
- See Also:
-
GET_MARKETING_MESSAGES
- See Also:
-
auditVerificationMap
Controls a
AuditVerificationFlags
that maps to the individual customer.
-
-
Constructor Details
-
AuditVerficationProperties
public AuditVerficationProperties()
-
-
Method Details
-
lookupOfferVerificationFlagsForFlow
-
updateAuditVerificationProperties
public void updateAuditVerificationProperties(String flow, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, boolean skipChecksByDefault) Audit verification properties provide a mechanism for controlling when the audit checks are performed. By default, the system will not run audit during marketing, apply offer, and evaluate offer flows but will run everywhere else.- Parameters:
flow
-context
-skipChecksByDefault
-
-
updateAuditVerificationProperties
public void updateAuditVerificationProperties(String flow, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) -
getAuditVerificationMap
Controls a
AuditVerificationFlags
that maps to the individual customer. -
setAuditVerificationMap
Controls a
AuditVerificationFlags
that maps to the individual customer. -
toString
-