Skip to content

Conversation

@jcscottiii
Copy link
Collaborator

No description provided.

Introduces the `BackendAdapter` in `gcppubsubadapters` to handle publishing
`SearchConfigurationChangedEvent` messages from the API layer.

This adapter encapsulates the logic for mapping the API's `SavedSearchResponse` model
to the internal event struct. This simplifies the handler code by allowing it to
pass the response object directly along with context like `userID` and `isCreation`.

This infrastructure is required to trigger the "Cold Start" (initial state generation)
or "Query Update" workflows in the Event Producer whenever a user creates or
modifies a saved search.

Changes:
- **Adapter**: Added `BackendAdapter` with `PublishSearchConfigurationChanged`.
- **Wiring**: Integrated the publisher into the Backend Server and its handlers
  (`CreateSavedSearch`, `UpdateSavedSearch`).
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