package de.tu_dresden.diplom.richter_mirko_mat2628335.services.ticketReservation;

import org.apache.log4j.Logger;
import org.apache.log4j.MDC;
import de.tu_dresden.diplom.richter_mirko_mat2628335.common.handler.BaseHandler;
import de.tu_dresden.diplom.richter_mirko_mat2628335.common.context.StepContext;
import de.tu_dresden.diplom.richter_mirko_mat2628335.common.services.reserveTickets.ReservationRequest;
import de.tu_dresden.diplom.richter_mirko_mat2628335.common.services.reserveTickets.ReservationResponse;

/**
 * 
 */
public class ReservationService {

   private static final Logger logger = Logger.getLogger(ReservationService.class);

   public ReservationResponse makeReservation(ReservationRequest request){
      MDC.put("logInfo", "TicketReservationService.makeReservation");
      //((StepContext)BaseHandler.getHandlingInfo().getCountingContext().getStepContext()).setNonce("" + System.currentTimeMillis());
      ReservationResponse result = null;

      MDC.remove("logInfo");
      return result;
   }

}
