[ISSUE #565] Upgrade rocketmq-console to use Spring Boot 2.2.2 (#600)

* 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:
affe
2020-07-28 10:45:20 +08:00
committed by GitHub
parent ace652a33d
commit f37df9532f
5 changed files with 68 additions and 8 deletions

View File

@@ -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;

View File

@@ -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 {

View File

@@ -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

View File

@@ -1,4 +1,4 @@
server.contextPath=
server.address=0.0.0.0
server.port=8080
### SSL setting