Post Installation Task 5: Integrating with TIBCO Offer and Price Engine Service
TIBCO Order Management provides an inbuilt integration with TIBCO Offer and Price Engine Service.
Procedure
-
In
$OM_HOME/roles/configurator/standalone/config/ConfigValues_OrchService.xml file, within the existing parent category "OPE Configuration", configure the following properties.
- To enable the offer validation, set the value of the following property as true:
-
In
$OM_HOME/roles/configurator/standalone/config/ConfigValues_Common.xml file, if
enableSecureAPI is
true, then the Orchestrator calls the secure API of Offer and Price Engine. Set the following flags for this:
Property Description Default Value extResource.opeGetAuthTokenURL This is the complete URL for OPE Login API. This API returns oAuth token that is passed along offerValidation API if enableSecureAPI is true. http://localhost:8181/login extResource.opeSecureApiUsername User name for OPE login API admin extResource.opeSecureApiPassword Password for OPE login API admin extResource.opeOfferValidationSecureURL Complete URL for OPE Secure Offer Validation API. It supports OAuth based Authentication. http://localhost:8181/opes/api/v1/offers/validate - In $OM_HOME/roles/configurator/standalone/config/ConfigValues_Common.xml file, if enableSecureAPI is false, then the orchestrator calls the non-secure API of Offer and Price Engine. Set the following flag for this:
-
In
$OM_HOME/roles/ocs/standalone/config/application.properties file, configure the following properties.
-
-
For pricing service, set the following property:
Property Default Value com.tibco.af.ocs.pricingService.host localhost com.tibco.af.ocs.pricingService.port 8090 com.tibco.af.ocs.pricingService.username admin com.tibco.af.ocs.pricingService.password admin com.tibco.af.ocs.pricingService.url ${com.tibco.af.ocs.ap.protocol}://${com.tibco.af.ocs.pricingService.host}:${com.tibco.af.ocs.pricingService.port}/opes/api/v1/offers/prices com.tibco.af.ocs.pricingService.trust.store cert/trust.jks com.tibco.af.ocs.pricingService.trust.password changeit -
For OPE eligibility API, set the following property:
Property Default Value com.tibco.af.ocs.eligibilityService.host localhost com.tibco.af.ocs.eligibilityService.port 8090 com.tibco.af.ocs.eligibilityService.url ${com.tibco.af.ocs.ap.protocol}://${com.tibco.af.ocs.eligibilityService.host}:${com.tibco.af.ocs.eligibilityService.port}/opes/api/v1/offers/eligible com.tibco.af.ocs.eligibilityService.username admin com.tibco.af.ocs.eligibilityService.password admin com.tibco.af.ocs.eligibilityService.trust.store cert/trust.jks com.tibco.af.ocs.eligibilityService.trust.password changeit
-
Copyright © 2021. Cloud Software Group, Inc. All Rights Reserved.