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.
- Go to the weblogic installation path (FMW installation path) in the Weblogic server where the plato, sms, common core, mid office is getting deployed.
- Go to location : Middleware/Oracle_Home/user_projects/domains/<respective_domain>/bin
- 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
export JAVA_OPTIONS