package com.cmeeting.controller;

import com.cmeeting.dto.CimcOrganization;
import com.cmeeting.util.CimcUtil;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
@RequestMapping("/cimc")
public class CimcController {

    @Resource
    private CimcUtil cimcUtil;

    /**
     * 测试服务器能否访问中集AD
     */
    @GetMapping("/testSSL")
    public void testSSL() {
        cimcUtil.testSSLTimeout(1, CimcOrganization.class);
    }
}
