feat support Fork annotation

This commit is contained in:
CaiHQ 2023-08-23 16:26:47 +08:00
parent ac62f7bbf7
commit 35e39f3dd9
3 changed files with 6 additions and 6 deletions

View File

@ -1,7 +1,6 @@
package org.bdware.sc.compiler.ap; package org.bdware.sc.compiler.ap;
import org.bdware.sc.bean.ForkInfo; import org.bdware.sc.bean.ForkInfo;
import org.bdware.sc.bean.RouteInfo;
import org.bdware.sc.compiler.AnnotationProcessor; import org.bdware.sc.compiler.AnnotationProcessor;
import org.bdware.sc.node.AnnotationNode; import org.bdware.sc.node.AnnotationNode;
import org.bdware.sc.node.ContractNode; import org.bdware.sc.node.ContractNode;

View File

@ -98,7 +98,8 @@ public class DoipClusterServer extends DoipServerImpl {
// 维护RouteInfo将RouteInfo和doipOperationName的映射关系以及所有Router中用得到的函数都维护好 // 维护RouteInfo将RouteInfo和doipOperationName的映射关系以及所有Router中用得到的函数都维护好
// TODO 移除这部分逻辑 // TODO 移除这部分逻辑
cn.maintainRouteJoinInfo(methodRouteInfoMap, methodJoinInfoMap, methodForkInfoMap, functions); cn.maintainRouteJoinInfo(methodRouteInfoMap, methodJoinInfoMap, methodForkInfoMap,
functions);
if (clusterInfo != null) if (clusterInfo != null)
repoHandleValues.add("clusterInfo", clusterInfo); repoHandleValues.add("clusterInfo", clusterInfo);
if (functions.size() > 0) if (functions.size() > 0)