Browse Source

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

fbp/release
Anner 2 months ago
parent
commit
535e926302
  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.repository.local.LocalFileRepository;
import com.fanruan.product.ProductConstants;
import com.fr.decision.inject.node.impl.DecisionSystemInjectNode;
import com.fr.design.ConfigHelper;
import com.fanruan.boot.key.StartupArgsShell;
import com.fanruan.carina.Carina;
@ -223,7 +224,8 @@ public class DesignPreStartComponent {
ConfigProviderFactory.getInstance().registerProvider(ConfigRealm.SHARE, new ShareConfigProviderImpl());
ConfigProviderFactory.getInstance().registerProvider(ConfigRealm.PUBLIC, new PublicConfigProviderImpl());
ConfigRepositoryFactory.getInstance().registerConfigRepositoryBuilder(new LocalConfigRepositoryBuilder(ConfigHelper.getBaseProperties(), ConfigHelper.BASE_PATH));
// 标识默认使用内置库
DecisionSystemInjectNode.KEY.registerSystemInjectInfo("transferred", decisionInjectExtraInfoBuilder -> () -> true);
}

Loading…
Cancel
Save