Browse Source
* commit '5e0b3139982af82662be0f56bc8a1b1d5f60cfe7': REPORT-128071 插件引擎适配微服务-适配支持特定服务 无jira任务,修复打包 feat: REPORT-136751 FR&FVS数据中心取数第二期-过滤优化 无JIRA:修复打包fbp/merge
superman
1 month ago
8 changed files with 168 additions and 100 deletions
File diff suppressed because one or more lines are too long
@ -1,42 +0,0 @@
|
||||
package com.fanruan.boot.env; |
||||
|
||||
import com.fanruan.boot.CorePluginComponent; |
||||
import com.fanruan.carina.Carina; |
||||
import com.fanruan.carina.annotions.DependsOn; |
||||
import com.fanruan.carina.annotions.FineComponent; |
||||
import com.fanruan.carina.annotions.Start; |
||||
import com.fanruan.carina.annotions.Supplemental; |
||||
import com.fanruan.plugin.autonomy.AutonomyClassManagerGroup; |
||||
import com.fanruan.plugin.autonomy.AutonomyClassManagerProvider; |
||||
import com.fr.plugin.ExtraClassManager; |
||||
|
||||
/** |
||||
* DesignCorePluginComponent |
||||
* |
||||
* @author Destiny.Lin |
||||
* @since 11.0 |
||||
* Created on 2024/8/9 |
||||
*/ |
||||
@FineComponent(name = "design_plugin_core") |
||||
@DependsOn(dependencies = {"design_plugin"}) |
||||
public class DesignCorePluginComponent extends CorePluginComponent { |
||||
|
||||
/** |
||||
* prepare |
||||
*/ |
||||
@Supplemental |
||||
public void supportFunctionDef() { |
||||
super.supportFunctionDef(); |
||||
} |
||||
|
||||
/** |
||||
* start |
||||
*/ |
||||
@Start |
||||
public void start() { |
||||
/// 插件下沉不能直接调用fbp的逻辑,此时内置服务器未启动,一部分逻辑要拆到内置服务器启动的时候再做
|
||||
// super.start();
|
||||
} |
||||
|
||||
|
||||
} |
@ -0,0 +1,31 @@
|
||||
package com.fanruan.boot.env; |
||||
|
||||
import com.fanruan.boot.VersionComponent; |
||||
import com.fanruan.carina.annotions.DependsOn; |
||||
import com.fanruan.carina.annotions.FineComponent; |
||||
import com.fanruan.carina.annotions.Start; |
||||
import com.fanruan.version.ServiceVersion; |
||||
import com.fanruan.version.VersionCenter; |
||||
import com.fanruan.version.VersionConstants; |
||||
|
||||
/** |
||||
* 设计器版本模块 |
||||
* |
||||
* @author Leo.Qin |
||||
* @since 11.0 |
||||
* Created on 2024/11/11 |
||||
*/ |
||||
@FineComponent(name = "design_version") |
||||
@DependsOn(dependencies = {"design_env_prepare"}) |
||||
public class DesignVersionComponent extends VersionComponent { |
||||
|
||||
@Start |
||||
@Override |
||||
public void start() { |
||||
super.start(); |
||||
ServiceVersion serviceVersion = VersionCenter.getInstance().getServiceVersion(); |
||||
serviceVersion.setName(VersionConstants.SERVICE_NAME_FR); |
||||
VersionCenter.getInstance().register(serviceVersion); |
||||
} |
||||
|
||||
} |
Loading…
Reference in new issue