src/main/java/br/eng/joaofaro/taskmanager/utils/UUIDImpl.java
/**
     * Method responsible for create a {@code UUID code} and put into a {@code MDC} map.
     * @see UUIDFactory
     * @see MDC
     * @return code
     */
Method responsible for create a  UUID code and put into a  MDC map.
@see UUIDFactory
@see MDC
@return code
Method responsible for create a UUID code and put into a MDC map . @see UUIDFactory @see MDC @return code
public static String createUUID() {
        String uuid = UUIDFactory.generateCodeAsUUID();
        MDC.put(UUID_TRANSACTION_KEY, UUID_TRANSACTION_KEY.concat(" [").concat(uuid).concat("]"));
        log.info(MDC.get(UUID_TRANSACTION_KEY));
        return uuid;
    }
public static String createUUID ( ) { String uuid = UUIDFactory . generateCodeAsUUID ( ) ; MDC . put ( UUID_TRANSACTION_KEY , UUID_TRANSACTION_KEY . concat ( " [" ) . concat ( uuid ) . concat ( "]" ) ) ; log . info ( MDC . get ( UUID_TRANSACTION_KEY ) ) ; return uuid ; }
Method responsible for create a {@code UUID code} and put into a {@code MDC} map.
Method responsible for create a { @code UUID code } and put into a { @code MDC } map .