|
|
|
@ -5,6 +5,7 @@ import com.alibaba.csp.sentinel.dashboard.auth.AuthAction;
|
|
|
|
|
import com.alibaba.csp.sentinel.dashboard.auth.AuthService;
|
|
|
|
|
import com.alibaba.csp.sentinel.dashboard.auth.AuthService.PrivilegeType;
|
|
|
|
|
import com.alibaba.csp.sentinel.dashboard.client.CommandNotFoundException;
|
|
|
|
|
import com.alibaba.csp.sentinel.dashboard.controller.base.BaseRuleController;
|
|
|
|
|
import com.alibaba.csp.sentinel.dashboard.datasource.entity.SentinelVersion;
|
|
|
|
|
import com.alibaba.csp.sentinel.dashboard.datasource.entity.rule.ParamFlowRuleEntity;
|
|
|
|
|
import com.alibaba.csp.sentinel.dashboard.discovery.AppManagement;
|
|
|
|
@ -25,7 +26,6 @@ import java.util.Date;
|
|
|
|
|
import java.util.List;
|
|
|
|
|
import java.util.Optional;
|
|
|
|
|
import java.util.concurrent.ExecutionException;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 热点参数规则控制器
|
|
|
|
|
*
|
|
|
|
@ -34,7 +34,7 @@ import java.util.concurrent.ExecutionException;
|
|
|
|
|
*/
|
|
|
|
|
@RestController
|
|
|
|
|
@RequestMapping(value = "/paramFlow")
|
|
|
|
|
public class ParamFlowRuleController extends BaseRuleController{
|
|
|
|
|
public class ParamFlowRuleController extends BaseRuleController {
|
|
|
|
|
|
|
|
|
|
private final Logger logger = LoggerFactory.getLogger(ParamFlowRuleController.class);
|
|
|
|
|
|
|
|
|
|