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, and 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 with 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.url=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
-Dhttps.proxyHost=<If proxy required to connect fci else This argument is not required>
-Dhttps.proxyPort=<If proxy required to connect fci else This argument is not required>
-Dhttp.nonProxyHosts=<If proxy required to connect fci else This argument is not required>
-Dhttps.nonProxyHosts=<If proxy required to connect fci else This argument is not required>
-Dobrh.keystore.password=<Keystore Password>
-Dobrh.keystore.path=</scratch/certificates/ssl/keystore File>
-Dobrh.usekeystore=true
-Dobrh.keystore.aliaspassword=<Alias Password>
-Dobrh.keystore.alias=<Keystore alias name>
-Dobrh.audit.id-generator=SNOWFLAKE
-Dcmc-obrh-jms-consumer.server.port=<portno>
-Dcmc-obrh-jms-consumer.connectionFactory=<>
-Dcmc-obrh-jms-consumer.queue=<>
-Dobrh.audit.maxConcurrentConsumers=<100>
-Dobrh.audit.type=KAFKA
-Dsms-core-services.coherence.enabled=<true/false>
-Dsms-core-services.loadCacheOnStartUp=<true/false>
-DutilityCache.evict.fixedrate.milliseconds=600000 
-DutilityCache.evict.initialdelay.milliseconds=600000
-Dcmc-customer-services.loadCacheOnStartUp=true
-Dcmc-interest-rate-services.server.port=<portno>
-Dcmc-interest-rate-services.schemas=<schema name>
-Dcoherence.server.address=<Hostname where Coherence is deployed>
-Dcoherence.server.port=7574 
-Dcoherence.enabled=<<true or false>>
-Dflyway.domain.placeholders.plato.eventhub.consumer.maxPollInterval=300000
-Dflyway.domain.placeholders.plato.eventhub.consumer.maxPollRecords=500
-Dhttps.proxyHost=<proxy detail>    
-Dhttps.proxyPort=<proxy port>   
-Dhttp.nonProxyHosts=<no proxy host >  
-Dhttps.nonProxyHosts=<no proxy host > 
-Dobrh.keystore.password=<password> 
-Dobrh.keystore.path=<certificate_path>
-Dobrh.usekeystore=true 
-Dobrh.keystore.aliaspassword=<password>
-Dobrh.keystore.alias=<alias_name>
-Dflyway.domain.placeholders.user.hierarchyLevel=4
-Dflyway.domain.placeholders.user.reporteesHierarchyLevel=4
export JAVA_OPTIONS