Discount models can be loaded in the engine using the offline or online integration. The offline format for discount models must conform to the schema used by TIBCO Product and Service Catalog to generate the models. OPE uses the discount models to get the discounts configured in the discount catalog and correlates these discounts to a given price based on the relationship.
Note: Repeat same steps for PRODUCT and CATEGORY model processing with respective topic and queues for online model processing and use respective input bucket for offline model processing.
Procedure
Copy offline discount models in
discount-models-input bucket under MinIO.
For online model loading, create the following queue:
tibco.aff.catalog.discount.request.