diff --git a/yugabyte-integration/src/main/java/com/ondc/yugabyte_integration/Service/SessionDetailsService.java b/yugabyte-integration/src/main/java/com/ondc/yugabyte_integration/Service/SessionDetailsService.java index 9228521..3e0c7bb 100644 --- a/yugabyte-integration/src/main/java/com/ondc/yugabyte_integration/Service/SessionDetailsService.java +++ b/yugabyte-integration/src/main/java/com/ondc/yugabyte_integration/Service/SessionDetailsService.java @@ -3,6 +3,8 @@ import com.ondc.yugabyte_integration.Entity.SessionDetails; import com.ondc.yugabyte_integration.Repository.SessionDetailsRepository; import jakarta.transaction.Transactional; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; import org.springframework.stereotype.Service; import java.util.List; import java.util.Optional; @@ -10,6 +12,8 @@ @Service public class SessionDetailsService { + private final Logger Log = LoggerFactory.getLogger(SessionDetailsService.class); + private final SessionDetailsRepository sessionDetailsRepository; public SessionDetailsService(SessionDetailsRepository sessionDetailsRepository) { @@ -30,6 +34,7 @@ public boolean checkSessionById(String sessionId) { @Transactional public SessionDetails createSession(SessionDetails sessionDetails) { + Log.info("Creating session - {}", sessionDetails); return sessionDetailsRepository.save(sessionDetails); } diff --git a/yugabyte-integration/target/classes/com/ondc/yugabyte_integration/Controller/SessionDetailsController.class b/yugabyte-integration/target/classes/com/ondc/yugabyte_integration/Controller/SessionDetailsController.class index cfc0350..79528ba 100644 Binary files a/yugabyte-integration/target/classes/com/ondc/yugabyte_integration/Controller/SessionDetailsController.class and b/yugabyte-integration/target/classes/com/ondc/yugabyte_integration/Controller/SessionDetailsController.class differ diff --git a/yugabyte-integration/target/classes/com/ondc/yugabyte_integration/Entity/SessionDetails$SessionType.class b/yugabyte-integration/target/classes/com/ondc/yugabyte_integration/Entity/SessionDetails$SessionType.class index a89b361..7419e7e 100644 Binary files a/yugabyte-integration/target/classes/com/ondc/yugabyte_integration/Entity/SessionDetails$SessionType.class and b/yugabyte-integration/target/classes/com/ondc/yugabyte_integration/Entity/SessionDetails$SessionType.class differ diff --git a/yugabyte-integration/target/classes/com/ondc/yugabyte_integration/Entity/SessionDetails$Type.class b/yugabyte-integration/target/classes/com/ondc/yugabyte_integration/Entity/SessionDetails$Type.class index 60bc72e..6583795 100644 Binary files a/yugabyte-integration/target/classes/com/ondc/yugabyte_integration/Entity/SessionDetails$Type.class and b/yugabyte-integration/target/classes/com/ondc/yugabyte_integration/Entity/SessionDetails$Type.class differ diff --git a/yugabyte-integration/target/classes/com/ondc/yugabyte_integration/Entity/SessionDetails.class b/yugabyte-integration/target/classes/com/ondc/yugabyte_integration/Entity/SessionDetails.class index 80ae659..aeefe47 100644 Binary files a/yugabyte-integration/target/classes/com/ondc/yugabyte_integration/Entity/SessionDetails.class and b/yugabyte-integration/target/classes/com/ondc/yugabyte_integration/Entity/SessionDetails.class differ diff --git a/yugabyte-integration/target/classes/com/ondc/yugabyte_integration/Service/SessionDetailsService.class b/yugabyte-integration/target/classes/com/ondc/yugabyte_integration/Service/SessionDetailsService.class index 2ba4857..9a19589 100644 Binary files a/yugabyte-integration/target/classes/com/ondc/yugabyte_integration/Service/SessionDetailsService.class and b/yugabyte-integration/target/classes/com/ondc/yugabyte_integration/Service/SessionDetailsService.class differ