This Service takes the current cron jobs from the TCS service, running them from this service instead.
For more description, see Confluence Sync Service Description
The following environmental variables must be provided
AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY
AWS_REGION
Failed/Out-of-date Job | Managed Bean Name | Method Name | Things that need to be done after this has been started |
---|---|---|---|
PersonOwnerRebuildJob | PersonOwnerRebuildJob | personOwnerRebuildJob | PersonElasticSearchSyncJob (assuming only this failed) |
PersonPlacementEmployingBodyTrustJob | PersonPlacementEmployingBodyJob | doPersonPlacementEmployingBodyFullSync | Re-run PersonPlacementTrainingBodyTrustJob and PersonElasticSearchSyncJob |
PersonPlacementTrainingBodyTrustJob | PersonPlacementTrainingBodyTrustJob | PersonPlacementTrainingBodyFullSync | PersonElasticSearchSyncJob (assuming only this failed) |
PostEmployingBodyTrustJob | PostEmployingBodyTrustJob | PostEmployingBodyTrustFullSync | Re-run PostTrainingBodyTrustJob |
PostTrainingBodyTrustJob | PostTrainingBodyTrustJob | PostTrainingBodyTrustFullSync | none (assuming only this failed) |
PersonRecordStatusJob | PersonRecordStatusJob | personRecordStatusJob | PersonElasticSearchSyncJob (assuming only this failed) |
PersonElasticSearchSyncJob | PersonElasticSearchJob | personElasticSearchSync | none |
PostFundingStatusSyncJob | PostFundingStatusSyncJob | postFundingStatusSyncJob | none (assuming only this failed) |
- If you want to run jobs on server, go to page https://<host IP here>/sync/.
- Click Get Status to view statuses of all the jobs. If can't get any response from the page, please refer to permission to run jobs on the page
- Then click Run job buttons or Run All Jobs button to trigger the jobs you want.
- "Machine User" role is used to view the statuses and click the buttons. If you don't have this role, you won't get any response after clicking any buttons.
- "Machine User" role is hidden in UserManagement page, so need to add this role to the database you need on the fly.
- SQL to add "Machine User" Role:
INSERT INTO UserRole(userName, roleName)
VALUES (YOUR_USER_NAME, "Machine User");
When clicking the button to run Person Record Status Sync job, a dialog box will be displayed to prompt the user for input an argument.
You can input one of the following arguments(case-insensitive):
- keep it blank: repeat the overnight job
- ANY: update all records
- date in format YYYY-MM-DD: update for a particular date
- NONE: use the parameter "dateOfChangeOverride" in the application.yml which can be set via environment variable(e.g. AWS parameter store)