初步完成 liteflow-solon-plugin 适配

This commit is contained in:
noear
2022-12-19 12:43:45 +08:00
parent 295c477800
commit 91e0b26eb7
427 changed files with 9581 additions and 6 deletions

View File

@@ -36,11 +36,7 @@ public class XPluginImpl implements Plugin {
//订阅 NodeComponent 组件
context.subWrapsOfType(NodeComponent.class, bw -> {
NodeComponent node1 = bw.raw();
if (Utils.isNotEmpty(bw.name())) {
node1.setName(bw.name());
node1.setNodeId(bw.name());
}
node1.setNodeId(bw.name());
FlowBus.addSpringScanNode(bw.name(), bw.raw());
});

View File

@@ -19,7 +19,7 @@ public class SolonLiteflowComponentSupport implements LiteflowComponentSupport {
if (ObjectUtil.isNotNull(liteflowComponent)) {
return liteflowComponent.name();
}else{
return nodeComponent.getNodeId();
return null;
}
}