Skip to content

Conversation

@alexisszmundy
Copy link
Contributor

@alexisszmundy alexisszmundy commented Dec 20, 2024

Ajout du traitement des données brutes JSON

@alexisszmundy alexisszmundy marked this pull request as ready for review December 23, 2024 10:06
Copy link

@nsenave nsenave left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

quelques retours

dataCount += surveyUnitModels.size();
}
return ResponseEntity.ok("%d document(s) processed".formatted(dataCount));
}catch (GenesisException e){ //TODO replace with spring exception handler
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice comment 🙃


@Data
@Document(collection = Constants.MONGODB_VARIABLETYPE_COLLECTION_NAME)
public class VariableTypeDocument {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Si mongo le permet je convertirais bien cette classe aussi en record

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Peut être dans un refacto général des documents

Copy link

@nsenave nsenave left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

quelques commentaires sur la forme

@loichenninger
Copy link
Contributor

We should go through the dataVerifier before persisting the data in Genesis

@loichenninger loichenninger merged commit a65d5cd into main Mar 20, 2025
3 of 5 checks passed
@alicela alicela deleted the devRawDataProcessing branch March 24, 2025 10:11
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.

5 participants