Browse Source

Pull request #14884: REPORT-135245 fix: 设计器启动初始化超管后不允许迁移到外置库

Merge in DESIGN/design from ~ANNER/design:fbp/release to fbp/release

* commit '8fc4596daae2c80536b11d6de15a6613134a9ffa':
  REPORT-135245 fix: 设计器启动初始化超管后不允许迁移到外置库
  REPORT-135245 fix: 设计器启动初始化超管后不允许迁移到外置库
fbp/release
Anner-王敬松 2 months ago
parent
commit
55728aa488
  1. 4
      designer-realize/src/main/java/com/fanruan/boot/pre/DesignPreStartComponent.java

4
designer-realize/src/main/java/com/fanruan/boot/pre/DesignPreStartComponent.java

@ -5,6 +5,7 @@ import com.fanruan.fs.FileServer;
import com.fanruan.fs.RepositoryFactory; import com.fanruan.fs.RepositoryFactory;
import com.fanruan.fs.repository.local.LocalFileRepository; import com.fanruan.fs.repository.local.LocalFileRepository;
import com.fanruan.product.ProductConstants; import com.fanruan.product.ProductConstants;
import com.fr.decision.inject.node.impl.DecisionSystemInjectNode;
import com.fr.design.ConfigHelper; import com.fr.design.ConfigHelper;
import com.fanruan.boot.key.StartupArgsShell; import com.fanruan.boot.key.StartupArgsShell;
import com.fanruan.carina.Carina; import com.fanruan.carina.Carina;
@ -223,7 +224,8 @@ public class DesignPreStartComponent {
ConfigProviderFactory.getInstance().registerProvider(ConfigRealm.SHARE, new ShareConfigProviderImpl()); ConfigProviderFactory.getInstance().registerProvider(ConfigRealm.SHARE, new ShareConfigProviderImpl());
ConfigProviderFactory.getInstance().registerProvider(ConfigRealm.PUBLIC, new PublicConfigProviderImpl()); ConfigProviderFactory.getInstance().registerProvider(ConfigRealm.PUBLIC, new PublicConfigProviderImpl());
ConfigRepositoryFactory.getInstance().registerConfigRepositoryBuilder(new LocalConfigRepositoryBuilder(ConfigHelper.getBaseProperties(), ConfigHelper.BASE_PATH)); ConfigRepositoryFactory.getInstance().registerConfigRepositoryBuilder(new LocalConfigRepositoryBuilder(ConfigHelper.getBaseProperties(), ConfigHelper.BASE_PATH));
// 标识默认使用内置库
DecisionSystemInjectNode.KEY.registerSystemInjectInfo("startFromDesign", decisionInjectExtraInfoBuilder -> () -> true);
} }

Loading…
Cancel
Save