From 7bcf7ad27649390696f5d3936cc56b7e050e52c6 Mon Sep 17 00:00:00 2001 From: EryneKL <97091460+EryneKL@users.noreply.github.com> Date: Thu, 2 Nov 2023 15:02:47 +0100 Subject: [PATCH] =?UTF-8?q?FEAT=20:=20CDE-183=20Ajout=20ligne=20de=20log?= =?UTF-8?q?=20lors=20de=20la=20cr=C3=A9ation=20du=20provider=20:=20=20=20?= =?UTF-8?q?=20=20=20-=20ajout=20d'une=20ligne=20de=20log=20dans=20TopicCon?= =?UTF-8?q?sumer.java=20lors=20de=20la=20cr=C3=A9ation=20du=20provider?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/fr/abes/bestppn/kafka/TopicConsumer.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/fr/abes/bestppn/kafka/TopicConsumer.java b/src/main/java/fr/abes/bestppn/kafka/TopicConsumer.java index 3166837..f1a4247 100644 --- a/src/main/java/fr/abes/bestppn/kafka/TopicConsumer.java +++ b/src/main/java/fr/abes/bestppn/kafka/TopicConsumer.java @@ -226,6 +226,7 @@ private ProviderPackage handlerProvider(Optional 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); }