Postinstallation 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 the
$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
:Property Description Default Value extResource.enableOfferValidation
Enable offer validation false
- In the
$OM_HOME/roles/configurator/standalone/config/ConfigValues_Common.xml
file, ifenableSecureAPI
istrue
, 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 the OPE Login API. This API returns an OAuth token that is passed along the offerValidation
API ifenableSecureAPI
istrue
.http://localhost:8181/login
extResource.opeSecureApiUsername
Username 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 the
$OM_HOME/roles/configurator/standalone/config/ConfigValues_Common.xml
file, ifenableSecureAPI
isfalse
, then the orchestrator calls the non-secure API of Offer and Price Engine. Set the following flag for this:Property Description Default Value extResource.opeOfferValidationNonSecureURL
Complete URL for OPE non-secure offer validation URL. http://localhost:9090/opes/api/v1/offers/validate
- To enable the offer validation, set the value of the following property as
- In the
$OM_HOME/roles/ocs/standalone/config/application.properties
file, configure the following properties.-
Property Description Default Value com.tibco.af.ope.default.tenantId
It refers to the default tenant of OPE. TIBCO
- 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
Note: The user does not need to change the URL for configurations. - For the 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
Note: The user does not need to change the URL for configurations.
-