Merging customizations into the latest Order Hub code base
Order Hub enhancements and updates are included as part of the monthly IBM® Sterling™ Order Management System Software release schedule. If you used the customization by code approach to customize any of the files that are changed in the updates, you may want to merge your customizations onto the latest Order Hub code base.
About this task
As an on-premises customer, you determine when to apply a new fix pack to your environment. When you install a new fix pack, it is optional to merge the customizations onto the latest Order Hub code base. The existing customizations work in the upgraded environment, and no changes are required. However, if you customized a route by using the customization by code method, any fixes that IBM implemented in that route are not available in the environment. To have the fixes from IBM included, you need to merge the customizations onto the new code base.
- Review the Order Hub release notes to see the fixes that are included in the fix pack.
- Decide that you want to apply the fix pack.
- Review the list of changed files in the Order Hub release notes.
- Determine whether you used the customization by code approach to customize one or more of the changed files that are included in the fix pack.
- Apply the fix pack to update your developer environment code to the latest Order Hub code base.
Procedure
- For on-premises traditional customers
- The source code is in
<runtime>/repository/orderhub/code/orderhub/on-prem-source.tar.
- Create a directory where you want to do the development work. See the following example.
mkdir -p orderhub-code/lib - Extract the lib.tar
file:
tar -xf <runtime>/repository/orderhub/code/orderhub/lib.tar --directory=orderhub-code/lib - Extract the on-prem-source.tar file. See the following
example.
tar -xf <runtime>/repository/orderhub/code/orderhub/on-prem-source.tar --directory=orderhub-code
- Create a directory where you want to do the development work. See the following example.
- For on-premises container customers
- In the updated developer toolkit environment, run the following command to extract the new
Order Hub source
code.
./om-compose.sh extract-orderhub-code oms