mirror of
https://github.com/apache/rocketmq-dashboard.git
synced 2026-02-21 04:45:41 +08:00
* feat(rocketmq-console) set spring version to 2.2.2 * feat(connect-console) refactor all the codes * bug(rocketmq-console) updated aspectj version * bug(rocketmq-console) excluded slf4j and logback dependencies in rocketmq dependencies
This commit is contained in:
@@ -23,9 +23,9 @@ import org.apache.rocketmq.common.MixAll;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
import org.springframework.boot.web.servlet.ErrorPage;
|
||||
import org.springframework.boot.web.servlet.ErrorPageRegistrar;
|
||||
import org.springframework.boot.web.servlet.ErrorPageRegistry;
|
||||
import org.springframework.boot.web.server.ErrorPage;
|
||||
import org.springframework.boot.web.server.ErrorPageRegistrar;
|
||||
import org.springframework.boot.web.server.ErrorPageRegistry;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.http.HttpStatus;
|
||||
|
||||
@@ -26,9 +26,8 @@ import javax.servlet.ServletRequest;
|
||||
import javax.servlet.ServletResponse;
|
||||
import javax.servlet.annotation.WebFilter;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
@Component
|
||||
|
||||
@WebFilter(urlPatterns = "/*", filterName = "httpBasicAuthorizedFilter")
|
||||
public class HttpBasicAuthorizedFilter implements Filter {
|
||||
|
||||
|
||||
@@ -20,6 +20,11 @@ import org.apache.rocketmq.console.service.checker.CheckerType;
|
||||
import org.apache.rocketmq.console.service.checker.RocketMqChecker;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
|
||||
/**
|
||||
* TODO
|
||||
* here the checkers is not implemented yet
|
||||
*/
|
||||
@Service
|
||||
public class TopicOnlyOneBrokerCheckerImpl implements RocketMqChecker {
|
||||
@Override
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
server.contextPath=
|
||||
server.address=0.0.0.0
|
||||
server.port=8080
|
||||
|
||||
### SSL setting
|
||||
|
||||
Reference in New Issue
Block a user