Skip to content

#303 callback data refactoring#308

Open
westei wants to merge 1 commit into
developfrom
p2r/303_callbackData-refactoring
Open

#303 callback data refactoring#308
westei wants to merge 1 commit into
developfrom
p2r/303_callbackData-refactoring

Conversation

@westei

@westei westei commented Apr 29, 2026

Copy link
Copy Markdown

Still Work in Progress. The code compiles, but Tests are not yet adapted

The main Idea is:

  • the ObservationExecutionService gets all the parameters of the callback. The controller does no processing of the parameter
  • the ObservationExecutionService determines Study, Participant and Observations based on the callback and stores them in the CallbackData class.
  • The ObservationComponent can trust that the Study, Participant and Observation exists and only needs to care about additional parameters of the callback

Internally RoutingInfo is still used. It is provided by a getter of the CallbackData

This provides a clear separation of concerns and allows to transition the system in future to a token based approach, where a callback token is provided by the callback and this token is later used to lookup callback specific data.

…on and participant are retrieved and validated based on the callback parameters. The ObservationComponents just need to process additional parameters. This also prepares the system to be refactored to use a callback token instead of parameters exposing internal ids
@westei westei changed the base branch from main to develop April 29, 2026 17:49
@github-actions

Copy link
Copy Markdown
Contributor

Test Results

0 tests   0 ✅  0s ⏱️
0 suites  0 💤
0 files    0 ❌

Results for commit 67feb74.

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.

2 participants