-
Notifications
You must be signed in to change notification settings - Fork 0
Open
2 / 22 of 2 issues completedOpen
2 / 22 of 2 issues completed
Copy link
Labels
Description
See https://github.com/pulibrary/lib_jobs/tree/main/app/models/alma_people
The purpose of this class is slightly different from lib_jobs. In https://github.com/pulibrary/lib_jobs/blob/main/app/models/alma_people/oit_person_feed.rb, you are required to supply a begin date and end date. In our case, we want to retrieve ALL eligible users and ALL ineligible users.
However, we need the exact same functionality as https://github.com/pulibrary/lib_jobs/blob/main/app/models/alma_people/alma_xml_person.rb, since the end goal is to compare users in Alma to all users in PeopleSoft.
Acceptance criteria
- A class is made that is modeled on https://github.com/pulibrary/lib_jobs/blob/main/app/models/alma_people/alma_xml_person.rb to be able to return all eligible users and all ineligible users from the OIT person feed
- A Ruby hash is returned with the data instead of XML to reduce data footprint
- Parameter to specify whether to return all eligible or all ineligible users is supplied
- Exclude addresses and email addresses to limit the amount of information being passed around for audit purposes