[UIM CN] How To Inject Custom Configuration Files
(Doc ID 3053189.1)
Last updated on OCTOBER 21, 2024
Applies to:
Oracle Communications Unified Inventory Management - Version 7.5.1.0.0 and laterInformation in this document applies to any platform.
Goal
Q1. We need to add a properties file that is used by our application but that is not part of the any cartridges. We have some external properties files which are not part of any solution cartridges. They include properties like:
Flag that can be used to enable/disable some business logic in UIM code.
External Interface properties such as connection url.
Key Value Pair Mapping ( Which can be used to souce : target value mapping)
As per the UIM CN Deployment guide, this can be achived by packaging this file as part of the Image built.
For OSM CNTK, there is an option to do this as part of CNTK
https://docs.oracle.com/en/industries/communications/order-service-management/7.4.1/cloud-native/exploring-alternate-configuration-options1.html#GUID-B71AE007-9F50-4AF5-99C7-04F0DB33A8E0
We need similar solution as part of the UIM, as rolling out config files as part of Image is not feasible solution since:
These file changes frequently and rebuilding the base image for every change is not a feasible solution.
These are read only and needs to be rollout only after restart of the server not to change dynamically during runtime
Q2. Is it possible to maintain different env.properties for each instance like Dev, SIT, UAT and Prod. (Each instance will have different values). If so please let us know how how to add separate file for each instance?
Solution
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Goal |
Solution |
References |