sul-dlss / sul_pub

SUL system for harvest and managing publications for Stanford CAP, with controlled API access.
http://cap.stanford.edu
Other
8 stars 3 forks source link

change the cap_profile_id for health check, add to config #1608

Closed peetucket closed 1 year ago

peetucket commented 1 year ago

Why was this change made?

The CAP health check is currently failing because the hard-coded cap_profile_id we currently use is returning a 404 from the CAP API (may be because that person's profile is archived). This changes the cap_profile_id to one that is confirmed working and puts in the config in case we need to change it again.

Confirm separately with Profiles team that the 404 is expected from their API for this hardcoded profile id (4176 == https://profiles.stanford.edu/intranet/richard-lewis)

How was this change tested?

Deploy to UAT to confirm

Which documentation and/or configurations were updated?

Added code comments.