Skip to content

Conversation

@loichenninger
Copy link
Contributor

We will receive the raw responses in a new format. Some identifiers change of name : for example questionnaireId become collectionInstrumentId, idUE become usualSurveyUnitId.

The new Raw responses will be persisted in a new collection. Then they will be processed (transformed in the Genesis model) and persisted in the same collection "responses".

Why so much change? Technically it could be a change only in the controller layer. It was possible to only impact that side of the application and leave our domain how it was before. However, this new model is something very structuring in our information system, and I think the application’s domain should comply with it. Overall, this refactor consisted in aligning our domain with the filière model (removing questionnaireId from the domain and switching to collectionInstrumentId), and handling, at the adapter level, the reading in the database of both the old and new documents.

Hajarel-moukh and others added 28 commits January 5, 2026 12:04
Validation date and questionnaire state process fix
…by-campaignId-and-between

Feat add endpoint raw responses by campaign id and between
…aires

Get unprocessed questionnaire ids from old raw responses model
usualSurveyUnitId bug fix + json export modele filiere fix + unit tests fix for modele filiere
@alexisszmundy alexisszmundy merged commit 44c014a into main Jan 7, 2026
6 of 8 checks passed
@alicela alicela deleted the devModeleFiliere branch January 8, 2026 12:46
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.

6 participants