Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update signage/HC Signage and SiteNow v1/v2/v3 to work with new Emergency endpoint #7655

Closed
1 of 3 tasks
briand44 opened this issue May 6, 2024 · 3 comments
Closed
1 of 3 tasks

Comments

@briand44
Copy link
Contributor

briand44 commented May 6, 2024

Story

As a consumer of Hawk Alerts from the Emergency website, we would like to update our integrations to work with the new endpoint so that when the new Emergency site launches, folks can still be notified of Hawk Alerts on Signage and SiteNow websites.

Additional Info

New endpoint - /api/active

  • Signage
  • HC Signage
  • SiteNow v1 - only seeing the uiowa_alerts module enabled on Hawktools after searching 701-703.
  • SiteNow v2/v3

Tasks

  1. emergency.uiowa.edu medium signage.uiowa.edu story
  2. SiteNow v2 SiteNow v3 emergency.uiowa.edu medium story
  3. SiteNow v1 emergency.uiowa.edu medium story
@briand44 briand44 changed the title Update signage/HC Signage and SiteNow v1/v2/v3 to work with new endpoint Update signage/HC Signage and SiteNow v1/v2/v3 to work with new Emergency endpoint May 6, 2024
@cory-skeers
Copy link
Contributor

Link to the endpoint changes with fewer clicks:
#7550 (comment)

Removed the /api/active.xml endpoint option.
We couldn't determine significant usage for this endpoint. Consumers are encouraged to switch to the JSON format.
Changed the /api/active.json endpoint to /api/active
It is still JSON but without the file extension. The endpoint won't resolve with .json appended.

The other changes are in order to follow the JSON 1.0 specification:
The outside wrapper uihphawkalert becomes data.
The inside wrapper hawkalert becomes attributes.
date changes from UNIX timestamp to ISO-8601 YYYY-MM-DDThh:mm:ssTZD
more_info_link has been updated to output the website URL with https:// prefix.
Public Safety would like to deprecate use of e.uiowa.edu going forward.

@briand44
Copy link
Contributor Author

Grooming conversation... Discussed scoping the initial slice to Signage and HC Signage. This will help us understand the size of the work better. We don't want to deploy until launch of the Emergency site.

Related to v2/v3, Sean mentioned maybe there is a way we can make the endpoint configurable so the new code could be deployed in advance of the Emergency site launch. At launch we could do some sort of blt ume cset.

@briand44 briand44 added the epic label May 15, 2024
@briand44
Copy link
Contributor Author

Closing this in favor of the individual issus in the task list

@briand44 briand44 closed this as not planned Won't fix, can't repro, duplicate, stale May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants