key9527 opened a new pull request, #18592:
URL: https://github.com/apache/dolphinscheduler/pull/18592

   <!--Thanks very much for contributing to Apache DolphinScheduler, we are 
happy that you want to help us improve DolphinScheduler! -->
   
   ## Was this PR generated or assisted by AI?
   No
   <!--(Please answer YES or NO. If YES, please specify which parts were 
generated or assisted by AI)-->
   
   ## Purpose of the pull request
   This pull request add Gitlab as resource storage backend
   <!--(For example: This pull request adds checkstyle plugin).-->
   
   ## Brief change log
   - 新增dolphinscheduler-storage-gitlab模块,使用GitLab4J API提供的sdk调用Gitlab REST API 
[https://github.com/gitlab4j/gitlab4j-api/tree/5.8.1](url)
   - 新增相关配置项: Gitlab host, private-token, project-id, branch-ref
   - 引入gitlab管理资源文件的目的是规范管理SQL等文件,开发者应该在git上操作文件的增删改,因此Gitlab 
StorageOperator的上传、更新、删除等操作已禁用
   - 由于gitlab是文件版本管理,不同于常规的文件存储系统,无法适配DolphinScheduler的租户隔离资源文件的架构设计,为此修改了以下文件:
      - 
org.apache.dolphinscheduler.api.validator.resource.AbstractResourceValidator
      - org.apache.dolphinscheduler.api.service.impl.ResourcesServiceImpl
      - 
org.apache.dolphinscheduler.api.validator.resource.PagingResourceItemRequestTransformer
   
   <!--*(for example:)*
   - *Add maven-checkstyle-plugin to root pom.xml*
   -->
   
   ## Verify this pull request
   
   <!--*(Please pick either of the following options)*-->
   
   This pull request is code cleanup without any test coverage.
   
   *(or)*
   
   This pull request is already covered by existing tests, such as *(please 
describe tests)*.
   
   (or)
   
   This change added tests and can be verified as follows:
   
   <!--*(example:)*
   - *Added dolphinscheduler-dao tests for end-to-end.*
   - *Added CronUtilsTest to verify the change.*
   - *Manually verified the change by testing locally.* -->
   
   (or)
   
   ## Pull Request Notice
   [Pull Request 
Notice](https://github.com/apache/dolphinscheduler/blob/dev/docs/docs/en/contribute/join/pull-request.md)
   
   If your pull request contains incompatible change, you should also add it to 
`docs/docs/en/guide/upgrade/incompatible.md`
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to