<commit_before>package com.mbds.first.controller;

import com.mbds.first.domain.ResultWrapperGuava;
import org.slf4j.LoggerFactory;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.smartcardio.CardException;
import javax.smartcardio.CardTerminal;
import javax.smartcardio.TerminalFactory;
import java.util.List;

/**
 * Created by marwen on 15/12/15.
 */

@RestController
public class CardController {

    private static final org.slf4j.Logger LOGGER = LoggerFactory.getLogger(CardController.class);

    @RequestMapping(value = "/terminal", produces = "application/json")
    public ResultWrapperGuava terminalList() throws CardException {
        TerminalFactory terminalFactory = TerminalFactory.getDefault();
        List<CardTerminal> cardTerminalList = terminalFactory.terminals().list();
        LOGGER.info("Terminal Connected {}", cardTerminalList);
        return new ResultWrapperGuava(cardTerminalList.toString());
    }
<commit_msg>feat(backEnd-First) change url terminal-- MS<commit_after>package com.mbds.first.controller;

import com.mbds.first.domain.ResultWrapperGuava;
import org.slf4j.LoggerFactory;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.smartcardio.CardException;
import javax.smartcardio.CardTerminal;
import javax.smartcardio.TerminalFactory;
import java.util.List;

/**
 * Created by marwen on 15/12/15.
 */

@RestController
public class CardController {

    private static final org.slf4j.Logger LOGGER = LoggerFactory.getLogger(CardController.class);

    @RequestMapping(value = "/terminals", produces = "application/json")
    public ResultWrapperGuava terminalList() throws CardException {
        TerminalFactory terminalFactory = TerminalFactory.getDefault();
        List<CardTerminal> cardTerminalList = terminalFactory.terminals().list();
        LOGGER.info("Terminal Connected {}", cardTerminalList);
        return new ResultWrapperGuava(cardTerminalList.toString());
    }

{'fraction_non_alphanumeric': 0.10104364326375712, 'fraction_numerical': 0.007590132827324478, 'mean_word_length': 5.202941176470588, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4041969', 'n_tokens_mistral': 590, 'n_tokens_neox': 582, 'n_words': 112}