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 repush code #625

Merged
merged 13 commits into from
Oct 29, 2024
Merged

Dev 1.9.0 repush code #625

merged 13 commits into from
Oct 29, 2024

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.

v-kkhuang and others added 12 commits October 29, 2024 10:32
…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]”>
Copy link

@casionone casionone left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@casionone casionone merged commit 1869c1f into dev-1.9.0-webank Oct 29, 2024
2 of 16 checks passed
@v-kkhuang v-kkhuang deleted the dev-1.9.0-repush-code branch November 12, 2024 01:40
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.

2 participants