Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev 1.9.0 code fix #627

Closed
wants to merge 74 commits into from
Closed

Dev 1.9.0 code fix #627

wants to merge 74 commits into from

Conversation

v-kkhuang
Copy link

What is the purpose of the change

EngineConn-Core defines the the abstractions and interfaces of the EngineConn core functions.
The Engine Service in Linkis 0.x is refactored, EngineConn will handle the engine connection
and session management.

Related issues/PRs

Related issues: close #590 close #591
Related pr:#591

Brief change log

  • Define the core abstraction and interfaces of the EngineConn Factory;
  • Define the core abstraction and interfaces of Executor Manager.

Checklist

  • I have read the Contributing Guidelines on pull requests.
  • I have explained the need for this PR and the problem it solves
  • I have explained the changes or the new features added to this PR
  • I have added tests corresponding to this change
  • I have updated the documentation to reflect this change
  • I have verified that this change is backward compatible (If not, please discuss on the Linkis mailing list first)
  • If this is a code change: I have written unit tests to fully verify the new behavior.

peacewong and others added 30 commits August 19, 2024 10:50
* ai generate code init

* 人工修改代码

* 人工修改提交
* 代码由AI自动生成接口和AI插件生成

* 代码由AI自动生成接口和AI插件生成

* 代码由人工修改

---------

Co-authored-by: “v_kkhuang” <“[email protected]”>
* 代码由AI自动生成接口和AI插件生成

* 代码由AI自动生成接口和AI插件生成

* 代码由人工修改

* bug  fix

* bug  fix

---------

Co-authored-by: “v_kkhuang” <“[email protected]”>
* 使用ai生成单元测试案例

* 人工修改单元测试

* 人工修改单元测试

* add instance info
…-webank-merge

# Conflicts:
#	linkis-computation-governance/linkis-manager/linkis-application-manager/src/main/scala/org/apache/linkis/manager/am/conf/AMConfiguration.scala
peacewong and others added 28 commits October 18, 2024 17:55
…615)

* Added StarRocks task timeout alarm and timeout kill function

* Added StarRocks task timeout alarm and timeout kill function

---------

Co-authored-by: “v_kkhuang” <“[email protected]”>
-Change DecimalType to class, supporting different precision and decimal places
-Modify the dataType recognition logic to support various representations of the decimal type
-Update Excel write logic to correctly handle different decimal types

Co-authored-by: “v_kkhuang” <“[email protected]”>
* Data source password encryption enhancement

Introduce AES encryption mechanism to enhance the security of data source passwords. This submission includes the implementation of encrypting and decrypting data source passwords to ensure password security during storage and transmission.

* Using Error Exception to Handle Exceptions in AESUtils

* 加密和密码管理改进

- 更新了AESUtils中的错误异常消息,以符合代码规范。
- 在ConfigurationRestfulApi中,对特定配置的密码进行了加密处理,以增强安全性。
- 修改了DataSourceCoreRestfulApi中的注释,并对密码字段的加密处理进行了优化。
- 在NebulaEngineConnExecutor中,密码现在使用AES进行解密,以确保数据安全性。

* Code optimization, adding data source encryption switch

* Code optimization, adding data source encryption switch

* Update AESUtils.java

update default key

---------

Co-authored-by: “v_kkhuang” <“[email protected]”>
Co-authored-by: Casion <[email protected]>
…inspection (#617)

* 添加部门级别的结果集限制配置和检查

- 在 Configuration.scala 中添加 JOB_RESULT_DEPARTMENT_LIMIT 变量,用于配置部门结果集限制- 实现 canResultSetByDepartment 方法,根据部门 ID 判断是否有结果集权限
- 在 QueryRestfulApi.java 中调用 canResultSetByDepartment 方法,将结果加入 API响应

* Update Configuration.scala

update default department id

---------

Co-authored-by: “v_kkhuang” <“[email protected]”>
Co-authored-by: Casion <[email protected]>
* fix hive engine error

* Security work order repair

* sync  ddl

---------

Co-authored-by: “v_kkhuang” <“[email protected]”>
Co-authored-by: “v_kkhuang” <“[email protected]”>
Co-authored-by: “v_kkhuang” <“[email protected]”>
* fix datasource error

* fix jdbc error

---------

Co-authored-by: “v_kkhuang” <“[email protected]”>
* fix datasource error

* fix jdbc error

* fix et-monitor error

---------

Co-authored-by: “v_kkhuang” <“[email protected]”>
* fix datasource error

* fix jdbc error

* fix et-monitor error

* fix et-monitor error

---------

Co-authored-by: “v_kkhuang” <“[email protected]”>
…-webank

# Conflicts:
#	linkis-computation-governance/linkis-client/linkis-cli/src/main/java/org/apache/linkis/cli/application/interactor/job/common/LogRetriever.java
#	linkis-computation-governance/linkis-client/linkis-cli/src/main/java/org/apache/linkis/cli/application/interactor/job/interactive/InteractiveJob.java
#	linkis-computation-governance/linkis-engineconn/linkis-computation-engineconn/src/main/scala/org/apache/linkis/engineconn/computation/executor/hook/PythonModuleLoadEngineConnHook.scala
#	linkis-computation-governance/linkis-engineconn/linkis-computation-engineconn/src/main/scala/org/apache/linkis/engineconn/computation/executor/service/TaskExecutionServiceImpl.scala
#	linkis-engineconn-plugins/hive/src/main/scala/org/apache/linkis/engineplugin/hive/executor/HiveEngineConnExecutor.scala
#	linkis-engineconn-plugins/spark/src/main/scala/org/apache/linkis/engineplugin/spark/factory/SparkEngineConnFactory.scala
#	linkis-extensions/linkis-et-monitor/src/main/java/org/apache/linkis/monitor/scheduled/UserDepartmentInfoSync.java
#	linkis-extensions/linkis-et-monitor/src/main/java/org/apache/linkis/monitor/until/HttpsUntils.java
#	linkis-extensions/linkis-et-monitor/src/main/scala/org/apache/linkis/monitor/jobhistory/jobtime/StarrocksTimeExceedRule.scala
#	linkis-public-enhancements/linkis-configuration/src/main/java/org/apache/linkis/configuration/restful/api/ConfigurationRestfulApi.java
#	linkis-public-enhancements/linkis-datasource/linkis-datasource-manager/server/src/main/java/org/apache/linkis/datasourcemanager/core/restful/DataSourceOperateRestfulApi.java
#	linkis-public-enhancements/linkis-udf-service/src/main/java/org/apache/linkis/udf/api/UDFRestfulApi.java
#	linkis-public-enhancements/linkis-udf-service/src/main/scala/org/apache/linkis/udf/api/rpc/UdfReceiver.scala
@v-kkhuang v-kkhuang closed this Oct 29, 2024
@v-kkhuang v-kkhuang deleted the dev-1.9.0-code-fix branch October 29, 2024 08:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants