(4) HSI-DataSync-FP Release 1.0 on Websphere 9
1 Introduction
HSI-DataSync-FP, is a Spring Boot application that is responsible for providing one way synchronization of data from Fairpass Online Form channel to Salesforce.
Despite being a Spring Boot application, the build is configured to produce a .ear file: hsi-datasync-fp.ear
2 Configuration
Prerequisite:
Before configure setup for HSI-Datasync-FP, make sure already setup for HSI-Datasync-TCS, if not, please follow up HSI-Datasync-TCS (env related) setup.
Here only for HSI-Datasync-FP features and OData API related configuration (not include configuration with Salesforce).
2.1 WAS App Server System Properties
In WAS admin console, navigate to: Servers -> Server Types -> WebSphere Application Servers -> click the server of HSI-Intranet -> on Configuration tab -> Java and Process Management -> Process definition -> Java Virtual Machine -> Custom properties. Define following properties.
Name | DEV/(new sandbox ) | QA | PROD |
---|---|---|---|
hsi.fp.auth.url | https://was-intra-qa.toronto.ca/c3api_auth/v2/AuthService.svc/AuthSet | https://was-intra-qa.toronto.ca/c3api_auth/v2/AuthService.svc/AuthSet | https://insideto-secure.toronto.ca/c3api_auth/v2/AuthService.svc/AuthSet |
hsi.fp.base.url | https://was-intra-qa.toronto.ca | https://was-intra-qa.toronto.ca | https://insideto-secure.toronto.ca |
hsi.fp.migrate.nas.drive | smb://SSVDATAN1/Z_HSI_FPA_DATA_TRANSFER/ | smb://SSVDATAN1/Z_HSI_FPA_DATA_TRANSFER/ | smb://SSVDATAN1/Z_HSI_FPA_DATA_TRANSFER/ |
hsi.fp.nas.sender.host | M4XD0166233.wkstn.toronto.ca (local machine full name-FQDN ) | sparta-b1.corp.toronto.ca or noah-b1.corp.toronto.ca | scorpio-a1.corp.toronto.ca or leda-a1.corp.toronto.ca |
hsi.fp.nas.user.domain | org | org | org |
hsi.fp.nas.user.id | hsisysidqa | hsisysidqa | hsisysid |
hsi.fp.nas.user.password | ****** | ****** | ****** |
hsi.fp.tmp.folder | ${WAS_TEMP_DIR} | ${WAS_TEMP_DIR} | ${WAS_TEMP_DIR} |
TrustStore and Certificates (Optional)
(Because FairPass Online Form Channel's OData API and HSI DataSync FP are both in same server (QA and production), the certificates may not be necessary.)
Communicating with FairPass Online Form channel's OData API is based on a Restful service (HTTPs), so it need Fairpass Online Form channel's OData API's host certificate.
Because FairPass Online Form application is also deployed in same Server with HSI Datasync applications, may have already setup ready.
Below is just a reference for DEV.
---------------------------------------------------------------------------
It can be retrieved from Websphere console.
Procedure:
1) Login into Websphere Console;
2) Navigate to Security > SSL certificate and key management > Key stores and certificates > {select a truststore in cell/node} >Signer certificates
First try retrieve from port
Input | QA | PROD |
Port | 443 | 443 |
Host | was-intra-qa.toronto.ca | insideto-secure.toronto.ca |
Alias | OData | OData |
SSL configuration for outbound connection | {selected trust store} | {selected trust store} |
Or add manually:
Click Add to import certificate(s), if there are multiple levels certificate, need add/import root, intermedia and all nodes' certificate.
here is local dev example