Browse Source

REPORT-114392 FR-FBP版本本地设计适配 初始化服务器数据集相关内容

fbp-1.0
Destiny.Lin 3 months ago
parent
commit
9c933d1fb6
  1. 1
      build.gradle
  2. 2
      designer-realize/src/main/java/com/fanruan/boot/env/function/DesignDatasourceComponent.java

1
build.gradle

@ -95,6 +95,7 @@ allprojects {
// //
implementation 'com.fr.carina:fine-carina:' + apiVersion implementation 'com.fr.carina:fine-carina:' + apiVersion
// auth // auth
implementation 'com.fr.ac:fine-ac-api:' + apiVersion
implementation 'com.fr.auth:fine-auth:' + apiVersion implementation 'com.fr.auth:fine-auth:' + apiVersion
implementation 'com.fr.auth:fine-auth-api:' + apiVersion implementation 'com.fr.auth:fine-auth-api:' + apiVersion
// lic // lic

2
designer-realize/src/main/java/com/fanruan/boot/env/function/DesignDatasourceComponent.java vendored

@ -21,6 +21,7 @@ import com.fr.decision.webservice.v10.datasource.connection.processor.impl.Conne
import com.fr.decision.webservice.v10.datasource.connection.processor.impl.JDBCConnectionProcessor; import com.fr.decision.webservice.v10.datasource.connection.processor.impl.JDBCConnectionProcessor;
import com.fr.decision.webservice.v10.datasource.connection.processor.impl.JDYConnectionProcessor; import com.fr.decision.webservice.v10.datasource.connection.processor.impl.JDYConnectionProcessor;
import com.fr.decision.webservice.v10.datasource.connection.processor.impl.JNDIConnectionProcessor; import com.fr.decision.webservice.v10.datasource.connection.processor.impl.JNDIConnectionProcessor;
import com.fr.decision.webservice.v10.datasource.dataset.processor.impl.DataSetProcessorFactory;
import com.fr.design.data.datapane.connect.LocalConnectionSource; import com.fr.design.data.datapane.connect.LocalConnectionSource;
import com.fr.file.TableDataConfigWrapper; import com.fr.file.TableDataConfigWrapper;
import com.fr.workspace.server.repository.connection.ConnectionWriterShell; import com.fr.workspace.server.repository.connection.ConnectionWriterShell;
@ -49,6 +50,7 @@ public class DesignDatasourceComponent extends DatasourceComponent {
ConnectionProcessorFactory.register(JNDIConnectionProcessor.KEY); ConnectionProcessorFactory.register(JNDIConnectionProcessor.KEY);
ConnectionProcessorFactory.register(ConnectionPluginProcessor.KEY); ConnectionProcessorFactory.register(ConnectionPluginProcessor.KEY);
ConnectionProcessorFactory.register(JDYConnectionProcessor.KEY); ConnectionProcessorFactory.register(JDYConnectionProcessor.KEY);
DataSetProcessorFactory.init();
Carina.getApplicationContext().singleton(LocalConnectionShell.class).set(new LocalConnectionSource()); Carina.getApplicationContext().singleton(LocalConnectionShell.class).set(new LocalConnectionSource());
} }

Loading…
Cancel
Save