|
|
@ -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("transferred", decisionInjectExtraInfoBuilder -> () -> true); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|