Skip to content

Conversation

mackenzie-grimes-noaa
Copy link
Contributor

Linear Issue

N/A

Changes

  • NWSC Proxy API: support optional query param includeInactive on GET requests
    • If includeInactive query param included, NWSC Proxy returns profiles whether or not they have isLive: false in their JSON
    • Default is False (unchanged behavior from before)

Explanation

These changes let us "turn off" a profile from future IDSSE processing without permanently deleting the profile and all its data. Previously we had to nuke any Profile in the Proxy, erasing all history, if we wanted to stop it from generating Event Portfolios.

By default, the NWSC Gateway (which feeds Risk Processor) will continue to only see Support Profiles in the NWSC Proxy that have isLive: false. However, the NOAA UI a.k.a. Criteria Builder needs a way to query all existing Profiles, so users can see deactivated Profiles and reactivate them if needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant