6.5 Cloud specific Configurations

Following additional configurations are required if OBDX and OBVAM are being hosted on cloud:

  1. In OBRH, enable Eureka instance for OBVAM service provider.
  2. Direct outbound calls to OBVAM for Bulk File Upload (BULKVAM) needs to be without api-gateway and authentication:
    1. delete from digx_fw_config_out_rs_cfg_b where SERVICE_ID in ('uploadAndApproveVirtualAccountManagementFile','syncVirtualAccountManagementFile');
    2. Insert into digx_fw_config_out_rs_cfg_b (SERVICE_ID,CONTEXT_URL,SERVICE_URL,
      REQUEST_MEDIA_TYPE,RESPONSE_MEDIA_TYPE,AUTHENTICATION,AUTH_TYPE,CREDENTIAL_STORE_TYPE,
      CREDENTIAL_STORE_KEY,CREATED_BY,LAST_UPDATED_BY,CREATION_DATE,LAST_UPDATED_DATE,OBJECT_STATUS,
      OBJECT_VERSION_NUMBER,MOCK_SERVICE_URL,PROXY_ENABLED) values ('uploadAndApproveVirtualAccountManagementFile',
      'https://${OBVAM_HOST_IP}:${OBVAM_HOST_PORT}','plato-feed-services/uploadAndApprove',
      'multipart/form-data','application/json','N',null,null,'OBVAM_14.4',null,null,sysdate,sysdate,
      null,null,null,null);
    3. Insert into digx_fw_config_out_rs_cfg_b (SERVICE_ID,CONTEXT_URL,SERVICE_URL,
      REQUEST_MEDIA_TYPE,RESPONSE_MEDIA_TYPE,AUTHENTICATION,AUTH_TYPE,CREDENTIAL_STORE_TYPE,
      CREDENTIAL_STORE_KEY,CREATED_BY,LAST_UPDATED_BY,CREATION_DATE,LAST_UPDATED_DATE,OBJECT_STATUS,
      OBJECT_VERSION_NUMBER,MOCK_SERVICE_URL,PROXY_ENABLED) 
      values ('syncVirtualAccountManagementFile','https://${OBVAM_HOST_IP}:${OBVAM_HOST_PORT}',
      'plato-feed-services/fileRecord/{fileName}','application/json','application/json','N',null,
      null,'OBVAM_14.4',null,null,sysdate,sysdate,null,null,null,null);
  3. On cloud by default third party adapters (used to call OBRH) are picked. So BULKVAM adapters need to be overridden so that Host specific adapter implementations can be picked:
    1. Insert into DIGX_FW_CONFIG_ALL_O (PROP_ID,PREFERENCE_NAME,PROP_VALUE,DETERMINANT_VALUE,
      CREATED_BY,CREATION_DATE,LAST_UPDATED_BY,LAST_UPDATED_DATE) 
      values ('com.ofss.digx.extxface.bulkvam.adapter.vam.fileupload.IVirtualAccountManagementFileUploadAdapter.uploadAndApprove',
      'ExtxfaceAdapterPreference','com.ofss.digx.extxface.bulkvam144.impl.fileupload.VirtualAccountManagementFileUploadAdapter',
      '01','ofssuser',sysdate,'ofssuser',sysdate);
    2. Insert into DIGX_FW_CONFIG_ALL_O (PROP_ID,PREFERENCE_NAME,PROP_VALUE,DETERMINANT_VALUE,CREATED_BY,CREATION_DATE,LAST_UPDATED_BY,
      LAST_UPDATED_DATE) values ('com.ofss.digx.extxface.bulkvam.adapter.vam.fileupload.IVirtualAccountManagementFileUploadAdapter.syncStatus',
      'ExtxfaceAdapterPreference','com.ofss.digx.extxface.bulkvam144.impl.fileupload.VirtualAccountManagementFileUploadAdapter',
      '01','ofssuser',sysdate,'ofssuser',sysdate);