-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: codelists endpoints #343
base: main
Are you sure you want to change the base?
Conversation
👋 Version 4.12.0-SNAPSHOT deployed on docker hub |
👋 Version 4.12.0-SNAPSHOT.1 deployed on docker hub |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
J'ai pas d'IDE java opérationnel donc j'ai fait ça avec VSCode mais sans de syntaxe check donc possible qu'il y ait des coquilles dans mes suggestions.
src/main/java/fr/insee/pogues/service/QuestionnaireService.java
Outdated
Show resolved
Hide resolved
@BeforeEach | ||
void initQuestionnaireService(){ | ||
questionnaireService = new QuestionnaireService(); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Vous faites pas du Mockito pour les Tests Unitaires ?
src/test/java/fr/insee/pogues/service/QuestionnaireServiceTest.java
Outdated
Show resolved
Hide resolved
src/test/java/fr/insee/pogues/service/QuestionnaireServiceTest.java
Outdated
Show resolved
Hide resolved
src/test/java/fr/insee/pogues/service/QuestionnaireServiceTest.java
Outdated
Show resolved
Hide resolved
src/test/java/fr/insee/pogues/service/QuestionnaireServiceTest.java
Outdated
Show resolved
Hide resolved
👋 Version 4.12.0-SNAPSHOT.3 deployed on docker hub |
👋 Version 4.12.0-SNAPSHOT.4 deployed on docker hub |
👋 Version 4.12.0-SNAPSHOT.5 deployed on docker hub |
👋 Version 4.12.0-SNAPSHOT.6 deployed on docker hub |
|
||
@Service | ||
@Slf4j | ||
public class CodesListService { | ||
private QuestionnairesService questionnairesService; | ||
private VariableService variableService; | ||
|
||
@Autowired |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Plus besoin du @Autowired
comme tu utilises déjà l'injection par constructeur. tu eux remove
@Autowired |
Il reste une couche de test 🙄 à ajouter, mais c'est fonctionnel 🚀
Autre préciser: On supprime et on envoie un message à l'utilisateur
Reste à faire: