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 Oracle Banking Microservices Architecture, 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
-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>
-Dflyway.domain.placeholders.sms.showUnlockClearUser=Y
-Dflyway.domain.placeholders.plato.services.entityservices.port=<portnumer>
-Dspring.main.allow-circular-references=true
**For kafka Resilience - Add below placeholders for every domain else do not add this.
-Dspring.cloud.stream.kafka.default.producer.sync=TRUE"
-Dspring.cloud.stream.kafka.default.producer.configuration.max.block.ms=5000"
-Dspring.cloud.stream.kafka.binder.replication-factor=3"
-Dspring.cloud.stream.kafka.binder.required-acks=all"
-Dflyway.domain.placeholders.spring.cloud.stream.kafka.binder.brokers=<HostName>:<port>,<HostName>:<port>,<HostName>:<port>
-Dflyway.domain.placeholders.spring.cloud.stream.kafka.binder.zknodes=<HostName>:<port>,<HostName>:<port>,<HostName>:<port>
-Dflyway.domain.placeholders.plato-batch-server.plato.eventhub.kafka.brokers=<HostName>:<port>,<HostName>:<port>,<HostName>:<port>
-Dflyway.domain.placeholders.plato-batch-server.plato.eventhub.zk.nodes=<HostName>:<port>,<HostName>:<port>,<HostName>:<port>
**
export JAVA_OPTIONS