package com.dlink.service;

import com.dlink.db.service.ISuperService;
import com.dlink.gateway.result.TestResult;
import com.dlink.model.ClusterConfiguration;

import java.util.List;
import java.util.Map;

/**
 * ClusterConfigService
 *
 * @author wenmo
 * @since 2021/11/6 20:52
 */
public interface ClusterConfigurationService extends ISuperService<ClusterConfiguration> {

    ClusterConfiguration getClusterConfigById(Integer id);

    List<ClusterConfiguration> listEnabledAll();

    Map<String,Object> getGatewayConfig(Integer id);

    TestResult testGateway(ClusterConfiguration clusterConfiguration);
}
