Previous Next JavaScript must be enabled to correctly display this content

## 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 Oracle Banking Microservices Architecture, 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>
    -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>,<HostN ame>:<port>
    -Dflyway.domain.placeholders.plato-batch- server.plato.eventhub.zk.nodes=<HostName>:<port>,<HostName>:<port>,<HostName>:
    <port>
    **
    -Ddomain.eventhub.broker.hosts=<Kafka properties for broker host and port>
    -Ddomain.eventhub.zookeper.hosts=<Kafka properties for zookeeper host and port>
    -Dcmc-branch-services.localHolidayPropogation.sync.enabled=<This is to decide whether sync/async logic needs to be enabled for Local Holiday Propogation from HO branch. Sync enabled: Y. Async: Y.>
    -Ddomain.eventhub.broker.hosts=<Kafka properties for broker host and port>
    -Ddomain.eventhub.zookeper.hosts=<Kafka properties for zookeeper host and port>

    export JAVA_OPTIONS