You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Application for fetching patron records for both SIS (aka students) and UCPath (aka employees) and formatting those records into XML to be loaded by Ex Libris into Alma using their sync process.
4
+
Application for fetching patron records for both studens and employees and formatting those records into XML to be loaded by Ex Libris into Alma using their sync process.
5
5
6
-
Ex Libris pulls the XML files from our SFTP server.
Additional documentation can be found on B-Drive: [link](https://drive.google.com/drive/folders/1pOEKi2d5SQ4VZpwjQzUwuArwBbUJzvcF)
9
7
10
-
Additional documentation can be found on B-Drive: [link](https://drive.google.com/drive/folders/1qO_7oD4tzDO9H4UMHrms7-ONzHdQ4gU2)
8
+
### Important Note
9
+
Because of differences in the two APIs (SIS and UCPath), these do not operate exactly the same. UCPath's API is driven by a "change log". When it runs, it looks back 7 days from the current date for any recods that have been added or updated and then processes those. SIS does not have a change log. Instead we pull the entire collection of users for the current semester everytime we run SIS.
11
10
12
-
___
11
+
If the SIS Alma-User-Load fails to run on it's scheduled day, it's not considered detrimental - the next scheduled run will pick up any new or updated records the previous run would have picked up.
13
12
14
-
#### Info
15
-
Alma-User_load is deployed via the Docker Swarm.
16
-
It is kept in the `lap/alma-user-load` repo.
13
+
If UCPath **fails to run on it's scheduled day**, a manual run is necessary. The `startdate` (see Commandline Options below) needs to be the date 7 days prior to the scheduled date that was missed. (e.g., if UCPath was scheduled to run on April 10, 2025 and failed and you wanted to run it on April 11th, you'd need to pass -startdate 2025-04-03 as a commandline arguement).
17
14
18
-
#### Schedule
19
-
SIS : Monday and Wednesday Mornings 1am
20
-
UCPath : Thursday Mornings 1am
15
+
You can perform that locally and manually copy the zipped file to the patron_employees folder (see XML and Zip File Output below)
21
16
22
-
The schedules are defined in the `ops/docker-swarm` repo:
You'll need to sign in with the IAM account alias uc-berkeley-library-it
37
50
and then with your IAM user name and password (created by the DevOps team).
38
51
39
-
---
52
+
In the event Alma-User-Load fails to run:
53
+
SIS: Because SIS pull the full collection of users for the current semester every run, there are no special steps for recovery. You can either let it run
54
+
55
+
40
56
## Development
41
-
#### Configuring
42
-
To run locally, clone the repo, then add a .env file to the root of the project. Check `config>secrets.yml` for necessary UCPath, SIS and LDAP settings.
43
57
44
-
#### Running
45
-
Note - you cannot run students and employees at the same time, you can only run them one at a time.
58
+
### Configuring
59
+
60
+
To run locally, clone the repo, then add a .env file to the root of the project. (API info can be found in LastPass)
0 commit comments