5 Environment Variables for OBCM Managed Servers
Create a file called setUserOverrides.sh inside the weblogic bin location of OBCM Service domain with content given below. All the environment variables for OBCM are listed. Replace the values accordingly.
#!/bin/bash JAVA_OPTIONS=$JAVA_OPTIONS}
-Dplato.db.jndi=jdbc/PLATO
-Dcmc.db.jndi=jdbc/CMNCORE
-Dplatoui.db.jndi=jdbc/PLATO_UI_CONFIG
-Dsms.db.jndi=jdbc/sms
-Dobcmcashflowforcasting.db.jndi=jdbc/OBCM_CASHFLOW_FORCAST
-Dplatofeed.db.jndi=jdbc/PLATOFEED
-Dobcmcollectionmaint.db.jndi=jdbc/OBCM_COLLECTION_MAINT
-Dcollectiontxn.db.jndi=jdbc/OBCM_COLLECTIONS
-Dobscfcmcore.db.jndi=jdbc/OBSCFCM_CORE_SERVICES
-Dworkflow.db.jndi=jdbc/OBSCFCM_WORKFLOWS_CONDUCTOR
-Dplato.services.config.port=<Port>
-Dplato.services.config.uri=http://<host>:<Port>
-Dplato.service.env=<Environment_Name>
-Dplato.service.logging.path=/scratch/work_area/application/logs
-Dapigateway.url=http://<host>:<Port>
-Deureka.host=<host>
-Deureka.port=<Port>
-Dfileupload.jdbc.url=jdbc:oracle:thin:@//<DBHost>:<Port>/orclcdb
-Dfileupload.schema.username=OBSCFCM_FILE_PROCESSING
-Dfileupload.schema.password=OBSCFCM_FILE_PROCESSING_432
-Dworkflowservice.eureka.host=<host>
-Dworkflowservice.eureka.port=<Port>
-Dkafka.host=<host>
-Dkafka.port=<Port>
-Dzookeeper.port=<Port>
-Dplato.services.gateway.port=<Port>
-Dplato.services.config.port=<Port>
-Dobcmreport.db.jndi=jdbc/OBCM_REPORT
-Dobcmcashflowprojection.db.jndi=jdbc/OBCM_CASHFLOW_PROJECTION
-Deureka.connectTimeout=10000
-Deureka.readTimeout=10000
-Dribbon.connectTimeout=20000
-Dribbon.readTimeout=20000
-Dspring.cloud.loadbalancer.ribbon.enabled=false
-DutilityCache.evict.fixedrate.milliseconds=600000
-DutilityCache.evict.initialdelay.milliseconds=600000
-Dspring.main.allow-circular-references=true
-Dflyway.platoui.placeholders.apigateway_url=<api- router host and port>
-Dcache.evict.initialdelay.milliseconds=7200000"
-Dcache.evict.interval.milliseconds=7200000"
-Dsms.app.locations=db/migration/sms/obcm-cashflow-forecasting-services,db/migration/sms/sfs-alerts-services,db/migration/sms/obscfcm-alerts-services,db/migration/sms/obcm-cashflow-projection-services,db/migration/sms/obcm-collections-maintenance-services,db/migration/sms/obcm-collections-transaction-services,db/migration/sms/obcm-report-services,db/migration/sms/obscfcm-charges-services,db/migration/sms/obscfcm-account-maintenance-services,db/migration/sms/obcm-netting-service,db/migration/sms/obscfcm-master-maintenance-services,db/migration/sms/obcm-multilateral-netting-services"
-DEncryptionFlag=false"
-Dobscfcm.instrument.service.appId=OBSCFCMINST"
-Dobscfcm.accountmaintenance.service.appId=SCFCMACCOUNT"
-Dplato.plato-orch.appId=platoorch"
-Dflyway.platobatch.locations=db/migration/platobatch"
-Dflyway.platobatch.baselineOnMigrate=true"
-Dflyway.platobatch.ignoreMissingMigrations=true"
-Dflyway.platobatch.outOfOrder=true"
-Dflyway.platobatch.placeholderReplacement=true"
-Dplatobatchflyway.enabled=true"
-Dflyway.platobatch.schemas=PLATOBATCH"
-Dflyway.platobatch.db.jndi=jdbc/PLATOBATCH"
-Dobcm.service.serviceConsumer=OBCM_EXTERNAL_BALANCE"
-Dobcm.service.accBalanceDetails=AccBalanceDetails"
-Dcmncore.cmc-branch.service.appId=CMNCORE"
-Dflyway.domain.placeholders.spring.cloud.stream.kafka.binder.brokers=${KAFKA_HOST1}:${KAFKA_SSL_PORT1},${KAFKA_HOST2}:${KAFKA_SSL_PORT2},${KAFKA_HOST3}:${KAFKA_SSL_PORT3}"
-Dspring.cloud.stream.kafka.binder.brokers=${KAFKA_HOST1}:${KAFKA_SSL_PORT1},${KAFKA_HOST2}:${KAFKA_SSL_PORT2},${KAFKA_HOST3}:${KAFKA_SSL_PORT3}"
-Dspring.cloud.stream.kafka.binder.zkNodes=${ZOOKEEPER_HOST1}:${ZOOKEEPER_PORT1},${ZOOKEEPER_HOST2}:${ZOOKEEPER_PORT2},${ZOOKEEPER_HOST3}:${ZOOKEEPER_PORT3}"
export JAVA_OPTIONS