sul-dlss / FOLIO-Project-Stanford

Task management for Stanford’s analysis of FOLIO.
2 stars 0 forks source link

Rollover Testing - incorrect link in email #639

Closed ahafele closed 4 months ago

ahafele commented 4 months ago

After a rollover test is complete an email is sent to the foliotesting list. The email includes a link intended to take the user to testing results but it is going to base url for production even though test happened on folio-stage. The UUID is correct so adding -stage to url takes you to the correct rollover logs screen. We suspect there is something that needs to be configured differently to point to -stage.

example

Hi scaneda,

The results of your fiscal year rollover test from 16-05-2024 00:11:10 for SUL are ready for review. Click here to review the results.

FOLIO

shelleydoljack commented 4 months ago

mod-finance-storage looks at the okapi config entries for USERSBL and uses the FOLIO_HOST value. On stage, this was prod's since we didn't update it after refreshing prod to stage. I changed it to folio-stage.stanford.edu. For reference: https://github.com/folio-org/mod-finance-storage/blob/54223f3ff8fa846517211df3fa1fd609f53ade03/src/main/java/org/folio/service/email/EmailService.java#L35