From 535e92630242d31aa8bcd51a96edbdcdc25596ff Mon Sep 17 00:00:00 2001 From: Anner Date: Fri, 20 Sep 2024 15:12:56 +0800 Subject: [PATCH 1/2] =?UTF-8?q?REPORT-135245=20fix:=20=E8=AE=BE=E8=AE=A1?= =?UTF-8?q?=E5=99=A8=E5=90=AF=E5=8A=A8=E5=88=9D=E5=A7=8B=E5=8C=96=E8=B6=85?= =?UTF-8?q?=E7=AE=A1=E5=90=8E=E4=B8=8D=E5=85=81=E8=AE=B8=E8=BF=81=E7=A7=BB?= =?UTF-8?q?=E5=88=B0=E5=A4=96=E7=BD=AE=E5=BA=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/fanruan/boot/pre/DesignPreStartComponent.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/designer-realize/src/main/java/com/fanruan/boot/pre/DesignPreStartComponent.java b/designer-realize/src/main/java/com/fanruan/boot/pre/DesignPreStartComponent.java index d77bafc3b4..1418df85c3 100644 --- a/designer-realize/src/main/java/com/fanruan/boot/pre/DesignPreStartComponent.java +++ b/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); } From 8fc4596daae2c80536b11d6de15a6613134a9ffa Mon Sep 17 00:00:00 2001 From: Anner Date: Fri, 20 Sep 2024 15:35:38 +0800 Subject: [PATCH 2/2] =?UTF-8?q?REPORT-135245=20fix:=20=E8=AE=BE=E8=AE=A1?= =?UTF-8?q?=E5=99=A8=E5=90=AF=E5=8A=A8=E5=88=9D=E5=A7=8B=E5=8C=96=E8=B6=85?= =?UTF-8?q?=E7=AE=A1=E5=90=8E=E4=B8=8D=E5=85=81=E8=AE=B8=E8=BF=81=E7=A7=BB?= =?UTF-8?q?=E5=88=B0=E5=A4=96=E7=BD=AE=E5=BA=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/fanruan/boot/pre/DesignPreStartComponent.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/designer-realize/src/main/java/com/fanruan/boot/pre/DesignPreStartComponent.java b/designer-realize/src/main/java/com/fanruan/boot/pre/DesignPreStartComponent.java index 1418df85c3..3ad246a9a8 100644 --- a/designer-realize/src/main/java/com/fanruan/boot/pre/DesignPreStartComponent.java +++ b/designer-realize/src/main/java/com/fanruan/boot/pre/DesignPreStartComponent.java @@ -225,7 +225,7 @@ public class DesignPreStartComponent { ConfigProviderFactory.getInstance().registerProvider(ConfigRealm.PUBLIC, new PublicConfigProviderImpl()); ConfigRepositoryFactory.getInstance().registerConfigRepositoryBuilder(new LocalConfigRepositoryBuilder(ConfigHelper.getBaseProperties(), ConfigHelper.BASE_PATH)); // 标识默认使用内置库 - DecisionSystemInjectNode.KEY.registerSystemInjectInfo("transferred", decisionInjectExtraInfoBuilder -> () -> true); + DecisionSystemInjectNode.KEY.registerSystemInjectInfo("startFromDesign", decisionInjectExtraInfoBuilder -> () -> true); }