Skip to content

Commit

Permalink
FEAT : CDE-183 Ajout ligne de log lors de la création du provider :
Browse files Browse the repository at this point in the history
     - ajout d'une ligne de log dans TopicConsumer.java lors de la création du provider
  • Loading branch information
EryneKL committed Nov 2, 2023
1 parent 5e79c43 commit 7bcf7ad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/fr/abes/bestppn/kafka/TopicConsumer.java
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,7 @@ private ProviderPackage handlerProvider(Optional<Provider> providerOpt, String f
//pas de provider, ni de package, on les crée tous les deux
Provider newProvider = new Provider(providerName);
Provider savedProvider = providerRepository.save(newProvider);
log.info("Le provider " + savedProvider.getProvider() + " a été créé.");
ProviderPackage providerPackage = new ProviderPackage(packageName, packageDate, savedProvider.getIdtProvider(), 'N');
return providerPackageRepository.save(providerPackage);
}
Expand Down

0 comments on commit 7bcf7ad

Please sign in to comment.