update - 新增版本判断的逻辑
This commit is contained in:
parent
d324911745
commit
eefabc4f55
@ -20,7 +20,6 @@ import static cn.axzo.workflow.client.config.FeignRequestInterceptor.HEADER_HTTP
|
||||
import static cn.axzo.workflow.client.config.FeignRequestInterceptor.HEADER_HTTP_CLIENT_VALUE;
|
||||
import static cn.axzo.workflow.client.config.FeignRequestInterceptor.HEADER_SERVER_NAME;
|
||||
import static cn.axzo.workflow.core.common.code.OtherRespCode.CLIENT_VERSION_SUPPORT;
|
||||
import static cn.axzo.workflow.core.common.code.OtherRespCode.MICRO_SERVER_NEED_REBUILD;
|
||||
|
||||
/**
|
||||
* 客户端与服务端的版本比较
|
||||
@ -66,7 +65,7 @@ public class RequestHeaderContextInterceptor implements HandlerInterceptor {
|
||||
log.info("request uri 2 : {}", request.getRequestURI());
|
||||
String serverName = request.getHeader(HEADER_SERVER_NAME);
|
||||
log.info("server Name is : {}", serverName);
|
||||
throw new WorkflowEngineException(MICRO_SERVER_NEED_REBUILD, serverName);
|
||||
// throw new WorkflowEngineException(MICRO_SERVER_NEED_REBUILD, serverName);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user