2 Environment Variables for SMS, COMMONCORE, Mid-office Domain

The below parametrization should be done for all the domains (sms, commoncore, mid office) which are created in the weblogic server where the micro services are going to be deployed.

  1. Go to the weblogic installation path (FMW installation path) in the Weblogic server where the plato, sms, common core, mid office is getting deployed.
  2. Go to location : Middleware/Oracle_Home/user_projects/domains/<respective_domain>/bin
  3. Create a file named setUserOverrides.sh content given below:
#!/bin/bash  
JAVA_OPTIONS="${JAVA_OPTIONS}
-Dplato.services.config.port=<port>
-Dplato.services.config.uri=http://<host>:<port>
-Dplato.service.logging.path=<dir path>
-Dflyway.enabled=true
-Dplato.services.entityservices.port=<port>
-Deureka.connectTimeout=10000
-Deureka.readTimeout=10000
-Dribbon.connectTimeout=20000
-Dribbon.readTimeout=20000
-DXms1024m 
-DXmx2048m  
-Dflyway.domain.placeHolders.plato.services.rule.uri=https://<host>:8103/rule-service
-Dflyway.domain.placeHolders.cmc-obrh-services.kafka.server.path=<host>:<port>
-Dflyway.domain.placeHolders.cmc-obrh-services.zookeeper.server.path=<host>:<port>  
-Dobrh.import.data.disable-modify=true
-Dspring.cloud.loadbalancer.ribbon.enabled=false
-Dobrh.audit.type.log.event=<>
-Dobrh.audit.type=<> 
-Dspring.main.allow-circular-references=true
-Dflyway.domain.placeholders.user.hierarchyLevel=4
-Dflyway.domain.placeholders.user.reporteesHierarchyLevel=4
-Dflyway.domain.placeholders.cmc-priority-service.coherence.enabled=<true/false based on the environment. By default, it is true>
-Dflyway.domain.placeholders.cmc-mis-services.coherence.enabled=<true/false based on the environment. By default, it is true>
-Dflyway.domain.placeholders.cmc-mis-services.loadCacheOnStartUp=<This is the placeholder to load the coherence cache for cmc-mis-services at server start up. Possible values: true/false>
-Dflyway.domain.placeholders.checklistmanagement-services.coherence.enabled=<true/false based on the environment. By default, it is true>
-Dflyway.domain.placeholders.checklistmanagement-services.loadCacheOnStartUp=<This is the placeholder to load the coherence cache for checklistmanagement-services at server start up. Possible values: true/false>
-Dflyway.domain.placeholders.applicationcategory-services.coherence.enabled=<true/false based on the environment. By default, it is true>
-Dflyway.domain.placeholders.applicationcategory-services.loadCacheOnStartUp=<This is the placeholder to load the coherence cache for applicationcategory-services at server start up. Possible values: true/false>
-Dflyway.domain.placeholders.cmc-mailnotification-services.coherence.enabled=<true/false based on the environment. By default, it is true>
-Dflyway.domain.placeholders.cmc-mailnotification-services.loadCacheOnStartUp=<This is the placeholder to load the coherence cache for cmc-mailnotification-services at server start up. Possible values: true/false>
export JAVA_OPTIONS