Online Model Loading
Online model loading requires the invoking of the catalog publish workflow in TIBCO Product and Service Catalog using the exposed SOAP service.
You can invoke the catalog publish workflow in TIBCO Product and Service Catalog directly by using the sample SOAP web service requests. The request can be sent using any standard SOAP client tools such as SOAPUI. Specify the correct enterprise name, user name, and password in the request. Also, specify the correct MASTERCATALOGNAME key and a PRODUCTID to publish the specific catalog.
Invoke the request against the running instance of TIBCO Product and Service Catalog on the URL, which typically looks like http://<HOST>:<PORT>/eml/services/router/MasterCatalogRecordAction.
The HOST and PORT are the machine name and port number where TIBCO Product and Service Catalog is deployed and running.
See the TIBCO Product and Service Catalog documentation for more details.
In the $OPE_HOME/roles/configurator/standalone/config/ConfigValues_CatalogService.xml file, you must enable the com.tibco.catalog.loading.using.ems flag.
Online Model Publishing
TIBCO Product and Service Catalog publishes the models on respective topics as mentioned in the following table:
Model (Catalog) |
TIBCO Product and Service Catalog JMS Topic |
---|---|
Product |
tibco.ac.productmodel.topic |
category | tibco.ac.categorymodel.topic |
discount | tibco.ac.discountmodel.topic |
price | tibco.ac.pricemodel.topic |
rule | tibco.ac.rulemodel.topic |
To make these models available to TIBCO Offer and Price Engine, the following JMS bridges must be created between the TIBCO Product and Service Catalog topics and the corresponding TIBCO Offer and Price Engine queues as mentioned in the following table:
TIBCO Product and Service CatalogSourceTopic |
TIBCO Offer and Price Engine Target Queue |
---|---|
tibco.ac.productmodel.topic |
tibco.aff.catalog.product.request |
tibco.ac.categorymodel.topic | tibco.aff.catalog.category.request |
tibco.ac.discountmodel.topic | tibco.aff.catalog.discount.request |
tibco.ac.pricemodel.topic | tibco.aff.catalog.price.request |
tibco.ac.rulemodel.topic | tibco.aff.catalog.rule.request |