HSI Jenkins Schedule Job -- Configuration and Deployment
Summary
HSI-Datasync-OW is a service application, it needs a schedule to run it.
Here setup a jenkins Schedule Job to HSI-Datasync-OW via Jenkins schedule scripts.
Production Deployment Prerequisite
- WAS App Server System Resources
- WAS App Server URL resources
- WAS App Server JVM setting
- WAS App Server mail session configuration
- All these setting can be referred by Families Portal -- Configuration and Deployment -- Employee Rel 3.3.1
1.WebSphere System Resources
1.1 Data Source (This should be ready already)
Please refer to Production 8 Setup & Deployment
1.2 URL resources
Please refer to Production 8 Setup & Deployment
Additional URLs for Families Portal – Fair Pass
URL Names | JNDI Name | URL Value | Comment |
corp_auth_session | url/corp/authSession | For accessing the corp auth session |
2.1 Corporate Authentication Service
Please make sure these certificates are existing or import them for Corp Auth Session into WebSphere DefaultCellTrustStore
Env | URL | NOTES |
---|---|---|
Dev | https://was8-intra-dev.toronto.ca | |
QA | https://was-intra-qa.toronto.ca | |
PROD | https://insideto-secure.toronto.ca |
3. Enterprise Scheduler Configuration
3.1 Enterprise Scheduler URLs
Env | URL | Notes |
---|---|---|
Dev | http://scheduler-dev.csd.toronto.ca | |
QA | http://scheduler-qa.csd.toronto.ca | |
Prod | https://scheduler.csd.toronto.ca |
3.2 Setup environmental properties in the scheduler
3.2.1 Setup Credential
Credential Name | User Name and Password | Notes |
---|---|---|
Scheduler-Credential | tcsqa01/Summer321 (DEV) tcsqa01/Summer321 (QA) (Prod please refer to Deval or Antonio) | This is the user to be authenticated to trigger the scheduled job |
Jenkins | jenkins/(Please refer to James) | This is the user to load the pipeline job from Bitbucket server |
3.2.2 Environment Variables for Scheduler
Env | Environment Name | URL | Notes |
---|---|---|---|
Dev | DATA_SYNC_ENDPOINT ENV_ID | https://citest01.csd.toronto.ca:9444/families/employee/rest/scheduler | The RESTFul provides three sub paths
|
QA | DATA_SYNC_ENDPOINT ENV_ID | https://secureqa.csd.toronto.ca/families/employee/rest/scheduler QA | |
Prod | DATA_SYNC_ENDPOINT ENV_ID | https://secure.csd.toronto.ca/families/employee/rest/scheduler PROD |
3.2.3 Create Folder in the scheduler
Create Families Portal Scheduler folder in Scheduler
3.3 Create a new job in Harmony Scheduler folder
Create a new pipeline job name: Harmony Scheduler/Harmony Datasync OW Data Pipeline
Set the scheduling period to H(10-20) 0 * * 1-5
Configure the job to load pipeline script in https://bitbucket.csd.toronto.ca/scm/es/harmony-datasync.git
SCM | Credential | Branch to build | Script Path |
---|---|---|---|
https://bitbucket.csd.toronto.ca/scm/es/harmony-datasync.git | Jenkins | develop (QA) master (Prod) | Jenkinsfile-owdata |
3.4 Create a new job for Harmony initial load copying for existing scheduler-Harmony datasync OW data Pipeline
Create a new pipeline job name: Harmony Scheduler/Harmony Datasync OW Data Pipeline (-- No "Build periodically".)
SCM | Credential | Branch to build | Script Path |
---|---|---|---|
https://bitbucket.csd.toronto.ca/scm/es/harmony-datasync.git | Jenkins | develop (QA) master (Prod) | Jenkinsfile-owdata-init |
4. All Fair-Pass Jenkins Job Scheduler Info
Scheduler Name | Scheduling period | Pipeline Script Path | Repository URL | Branches to build |
---|---|---|---|---|
Harmony Datasync OW Data Pipeline | H(10-20) 0 * * 1-5 | Jenkinsfile-owdata | https://bitbucket.csd.toronto.ca/scm/es/harmony-datasync.git | QA — develop |
Harmony Datasync OW Data Pipeline for Initial Load | N/A | Jenkinsfile-owdata-init | https://bitbucket.csd.toronto.ca/scm/es/harmony-datasync.git | QA — develop |