3 Environment Variables for OBSCFCM Domain
The following configuration should be applied to the OBSCFCM domain set up in the WebLogic server where the services are being deployed.
- Go to the installation directory of the WebLogic server where the OBSCFCM services are being deployed.
Note:
For Ex:/scratch/app/Oracle/Middleware/Oracle_Home/user_projects/domains/obscfcm/bin/
- Create a file named setUserOverrides.sh with the following paramers.
Note:
The necessary placeholders for OBSCFCM services are provided. Please update the values as needed.
#!/bin/bash
JAVA_OPTIONS=”${JAVA_OPTIONS}”
-Dplato.services.config.uri=${PLATO_SERVICES_CONFIG_URI}
-Dflyway.domain.placeholders.plato.service.logging.path=${LOG_PATH}
-Dplato.service.logging.path=${LOG_PATH}
-Dflyway.domain.placeholders.plato.service.env=${LOGGING_ENV}
-Dmulti.entity.enabled=true
-Dconductor.properties=/scratch/obma_installer/deployables/properties/config.properties
-Dapigateway.url=${APIGATEWAY_URL}
-Dflyway.platoui.placeHolders.apigateway.url=${APIGATEWAY_URL}
-Dapigateway.url=${APIGATEWAY_URL}
-Dapigateway_url=${APIGATEWAY_URL}
-Dapigateway.host=${APIGATEWAY_HOST}
-Dplato.services.entityservices.port=${SMS_PORT}
-Dobremo.processlog.logging.required=true
-Dflyway.platoui.placeHolders.apigateway.host=${APIGATEWAY_HOST}
-Dflyway.platoui.placeHolders.apigateway.port=${PLATO_APIGATEWAY_ROUTER_PORT}
-Dplato.db.jndi=${PLATO_JNDI}
-Dsms.db.jndi=${SMS_JNDI}
-Dplatoui.db.jndi=${PLATOUI_JNDI}
-Dcmc.db.jndi=${CMNCORE_JNDI}
-Dplatofeed.db.jndi=${PLATOFEED_JNDI}
-Deodbatch.db.jndi=${EODBATCH_JNDI}
-Deod.db.jndi=${EOD_JNDI}
-Daccnt.db.jndi=${OBSCFCM_ACCOUNTING_JNDI}
-Dcharges.db.jndi=${OBSCFCM_CHARGES_JNDI}
-Dobscfcmcore.db.jndi=${OBSCFCM_CORE_SERVICES_JNDI}
-Dfilter.db.jndi=${OBSCFCM_FILTER_JNDI}
-Dinstrument.db.jndi=${OBSCFCM_INSTRUMENTS_JNDI}
-Dmanualrecon.db.jndi=${OBSCFCM_RECON_JNDI}
-Dmaint.db.jndi=${OBSCFCM_MAINTENANCE_JNDI}
-Dreport.db.jndi=${OBSCFCM_REPORT_JNDI}
-Dworkflow.db.jndi=${OBSCFCM_WORKFLOWS_JNDI}
-Dplatoorch.domain.jndi=${PLATOORCH_JNDI}
-Dplatosecurity.domain.jndi=${PLATOSECURITY_JNDI}
-Dplatobatch.db.jndi=${PLATOBATCH_JNDI}
-Dsfsalert.db.jndi=${SFS_ALERTS_JNDI}
-Dobscfcmalert.db.jndi=${OBSCFCM_ALERTS_JNDI}
-Dcache.evict.interval.milliseconds=7200000
-Dcache.evict.initialdelay.milliseconds=120000
-DapplicationCode=${APPLICATION_CODE}
-Dflyway.sms.placeHolders.applicationCode=${APPLICATION_CODE}
-Deureka.readTimeout=10000
-Dribbon.connectTimeout=20000
-Dribbon.readTimeout=20000
-Dplato.services.eureka.uri=${EUREKA_PROTOCOL}://${APIGATEWAY_HOST}:${EUREKA_PORT}
-Dspring.zipkin.enabled=false
-Dspring.cloud.gcp.trace.enabled=false
-Dspring.sleuth.enabled=false
-Deureka.host=${APIGATEWAY_HOST}
-Deureka.port=${EUREKA_PORT}
-Dworkflowservice.eureka.port=${EUREKA_PROTOCOL}
-Dkafka.host=${APIGATEWAY_HOST}
-Dkafka.port=9092
-Dzookeeper.port=2181
-Dflyway.domain.placeHolders.eureka.protocol=${EUREKA_PROTOCOL}
-Dobscfcm.maintenance.service.appId=OBSCFCMMAINT
-Dobscfcm.conductor.service.appId=OBSCFCMCDTR
-Dobcm.isObcmUserAvailable=N
-Dobcm.isObcmBranchAvailable=N
-Dobcm.service.userId=ADMINUSER1
-Dobcm.service.appId=OBCMCFF
-Dobcm.service.branchCode=000
-DSERVICECONSUMER=OBSCFCM_OBCM
-Dobscfcm.finance.service.appId=SCFFIN
-Dobscf.core.service.appId=SCFCORE
-Dspring.cloud.loadbalancer.ribbon.enabled=false
-Dplatosecurity.app.locations=db/migration/platosecurity/obscfcm-master-maintenance-services
-Dalert.service.alertMessage=AlertMessage
-Dobscfcm.mastermaintenance.service.appId=OBSCFCMMAINT
-Dobscfcm.maintenance.service.appId=OBSCFCMMAINT
-Dobscfcm.filter.service.appId=OBSCFCMFILTER
-Dobscfcm.core.service.appId=SCFCORE
-Dalert.service.serviceConsumer=SFS_ALERTS
-Dalert.service.serviceConsumer=OBSCFCM_ALERTS
-DapplicationCode=${APPLICATION_CODE}
-DutilityCache.evict.fixedrate.milliseconds=600000
-DutilityCache.evict.initialdelay.milliseconds=600000
-Dflyway.domain.placeHolders.applicationCode=${APPLICATION_CODE}
-Xms1500m -Xmx3000m
-Dobcmmultinetting.service.appId=OBCMMULTINET
-DEncryptionFlag=false
-Dflyway.domain.placeHolders.branchCode=000
-Dflyway.domain.placeHolders.isFreshInstallation=Y
-Dscfcm.isObvamUserAvailable=false
-Dscfcm.isObvamBranchAvailable=false
-Dscfcm.isFcubsUserAvailable=false
-Dscfcm.isFcubsBranchAvailable=false
-Dflyway.sms.placeHolders.OBSCFCM_GENAI_ENABLED=N
-Dflyway.domain.placeHolders.application_code=${APPLICATION_CODE}
-Dflyway.platoui.placeholders.apigateway_url=${APIGATEWAY_URL}
-Dflyway.domain.placeHolders.application_code=${APPLICATION_CODE}
-Dspring.main.allow-circular-references=true
-Dspring.main.allow-bean-definition-overriding=true
-Dflyway.cmc.placeholders.applicationCode=${APPLICATION_CODE}
-Dobcm.collection.maint.service.appId=OBCMCOL
-Ddedupe.service.serviceConsumer=OBSCFCM_FINANCE_DEDUPE
-Ddedupe.service.register=REGISTER
-Ddedupe.service.status=STATUS
-Ddedupe.service.finance=FINANCINGS
-Ddedupe.service.cancel=CANCELLATIONS
-Ddedupe.service.cancelStatus=CANCELLATIONSSTATUS
-Ddedupe.service.clientId=77QdQGPI6aXS0aKY6bua2SgyyXIoxwjG
-Ddedupe.service.clientSecret=442t9wuejDJANnZBZMYNJ_KCGDCZ-7VHAbagSeq8_o5oVNJeLIVy1g7dVvhnpUhN
-Ddedupe.service.audience=https://api.uat.securefinancing.com
-Ddedupe.service.grantType=client_credentials
-Ddedupe.service.documentType=CINV
-Ddedupe.service.cancellationReason=EXNB
-Ddedupe.service.submitFinancialInstitutionId=3ac506ec-8b62-4eab-b4c3-0dead0bc9f21
-Dpartner.status.fetch.limit=500
-Dinvoice.ml.serviceConsumerService=PredictAnomaly
-Dinvoice.ml.serviceConsumer=OBSCFCM_ML
-Dflyway.domain.placeholders.accounting.obvam.userid=ADMINUSER1
-Dflyway.domain.placeHolders.manualrecon.obvam.userid=ADMINUSER1
-Dobvam.service.sourceCode=OBDX
-Dinvoice.ml.pollStatusConsumerService=PollPredictionStatus
-Dinvoice.ml.ReadAnomalyStatus=ReadAnomalyStatus
-Dautoreconbatch.gridSize=50
-Dflyway.domain.placeHolders.normal.front.prod=VENF
-Dflyway.domain.placeHolders.compound.rear.prod=BCVD
-Dflyway.domain.placeHolders.normal.rear.prod=SUPF
export JAVA_OPTIONS
Insert the below placeholders only if kafka Resilience is getting deployed.
-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}
-Dflyway.platoorch.placeHolders.obscf_role_id=null
-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=1
-Dspring.cloud.stream.kafka.binder.required-acks=all
-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}
Note:
To avoid running the plato script for a particular module, simply delete its entry.