When you are running Order Hub in a container environment, you can connect
to the Sterling™ Intelligent Promising (SIP) cloud environment. Configuring a connection
from Order Hub to SIP enables real-time access to inventory and fulfillment data,
helping businesses to provide accurate delivery promises and optimize order fulfillment. This
integration helps to reduce stockouts, improve customer satisfaction, and streamline operations by
using SIP’s intelligent decision-making capabilities.
Procedure
- In the
OMEnvironment yaml, configure the JWT section as follows.
common:
jwt:
issuer: oms
alias: <alias>
algorithm: RS256
For example,
common:
jwt:
issuer: oms
alias: operator
algorithm: RS256
Note: The algorithm must be RS256. You cannot use RS512.
- In the
OMEnvironment yaml, add the following properties to the
appserver:
- yfs.yfs.jwt.create.claims=ivTenantId,envId,jwtId
- yfs.yfs.jwt.create.claims.envId.value=oms-container-<ivTenantId>
- yfs.yfs.jwt.create.claims.jwtId.value=oms-container-<ivTenantId>
- yfs.yfs.jwt.create.claims.ivTenantId.value=<ivTenantId>
- iv_integration.tenantId=<ivTenantId>
- iv_integration.clientId=<ivClientId>
- iv_integration.secret=<ivSecret>
- iv_integration.baseUrl=https://api.watsoncommerce.ibm.com/inventory
For example,
yfs.yfs.jwt.create.claims=ivTenantId,envId,jwtId
yfs.yfs.jwt.create.claims.envId.value=oms-container-us-123456a1
yfs.yfs.jwt.create.claims.jwtId.value=oms-container-us-123456a1
yfs.yfs.jwt.create.claims.ivTenantId.value=us-123456a1
iv_integration.tenantId=us-123456a1
iv_integration.clientId=Abc1Def2Ghi3Jkl4Mno5Pqr6Stu7vwx8yz
iv_integration.secret=Zyx9wvu8Tsr7Qpo6Nml5Kji4Hgf3Edc2ba
iv_integration.baseUrl=https://api.watsoncommerce.ibm.com/inventory
- From the persistent volume, get the public key. Browse the persistent volume, and in the
directory that contains the keystore, run the following command:
keytool -export -keystore <keystore_name> -alias <alias> | openssl x509 -inform der -pubkey -noout
For example,
keytool -export -keystore jwt.jks -alias operator | openssl x509 -inform der -pubkey -noout
- Contact IBM Support, and ask for a JWT configuration to be added to your Sterling Intelligent Promising tenant.
When you contact IBM Support, provide the
following information:
- The value of the
yfs.yfs.jwt.create.claims.ivTenantId.value property.
- The value of the
yfs.yfs.jwt.create.claims.jwtId.value property
- The public key
What to do next
After you configure a connection from Order Hub to SIP, you enable and
validate the integration so that Order Hub can use SIP services effectively. Some
actions to take are as follows.
- Validate the JWT authentication
- Configure core SIP services such as promising, inventory, and optimization
- Set up the Catalog service
- Define carrier services and transit details
- Create nodes and distribution groups
- Test the integration