package com.jay.monitor.data.server.controllers;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 服务的请求类
 *
 * @author ： liukx
 * @time ： 2019/11/6 - 10:19
 */
@Controller
@RequestMapping(value = "/server")
public class ServerController {

//    @Autowired
//    private MapRegisterProcess mapRegisterProcess;

//    @RequestMapping(value = "/list", method = RequestMethod.GET)
//    @ResponseBody
//    public List<DomainData> serverList() throws Exception {
//        Map<String, DomainData> clientRegister = mapRegisterProcess.getClientRegister();
//        List<DomainData> domainDataList = new ArrayList<>();
//        clientRegister.forEach((K, V) -> {
//            domainDataList.add(V);
//        });
//        return domainDataList;
//    }
}
