bcgov / ExitSurveyAdmin

The Exit Survey Administration Tool will assist BC Stats in administering the BCPS Exit Survey.
https://www2.gov.bc.ca/gov/content/data/statistics/government/employee-research/exit-survey
Apache License 2.0
3 stars 1 forks source link

CallWeb batching #229

Closed hangler closed 1 year ago

hangler commented 1 year ago

Overview

This PR involves a significant rewrite of the services involved in creating and updating employees in the ESA, allowing batching of a number of operations.

Specifically, it features:

In almost all cases, methods which previously supported operations on a single Employee at a time now support batched operations on Lists of Employees.

A new TaskOutcome class helps tracking successes and failures across a number of steps. This should make the process more robust and provide finer-grained insight into exceptions and other failures on an Employee level.

The resulting process is considerably faster than in the previous system, allowing full refreshes of employee statuses, creations from the API, etc. in less than one minute, vs. several minutes for the previous code.

Fixes