BoYiZhang opened a new issue #3841:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/3841


   
   
   This Feature is the front of #3820.
   https://github.com/apache/incubator-dolphinscheduler/issues/3820
   
   Change 1:
   
   File storage is divided by project.
   
   The currently scheduled file management is stored in hdfs.
   The storage path rule is: /dolphinscheduler/tenant code/resources
   
   Change the storage path rule to: /dolphinscheduler/project code/resources
   
   The current version has the following problems.
   1. Complicated permissions division, for example, if there are 100 projects, 
if there are mutual references, the permissions of the referenced resource 
files will be very complicated.
   2. Export the project from the development environment, there is no way to 
split the resource file.
   
   The changes are as follows:
   1. The code field is added to the resource file as a unique identifier. The 
code is unique within the same project.
   2. The resource files are stored according to the project code.
   3. The permissions part can be the most basic version first, and the people 
in the same project group can be seen. Later, the catalog can be expanded 
according to the role.
   
   
   Change 2: Data sources are divided according to projects. [Similar to file 
management]
   1. The code field is added to the data source to be used as a unique 
identifier. The code is unique within the same project.
   2. The data source is stored according to the project code.
   3. The permissions part can be the most basic version first, and the people 
in the same project group can be seen. Later, the catalog can be expanded 
according to the role.
   
   
   
   It is recommended to open a new branch for processing.
   
   
   ---------------------------------------------------------
   
   
   
   
   
   该Feature 为 #3820 的前置.
   https://github.com/apache/incubator-dolphinscheduler/issues/3820
   
   变更1 :
   
   文件存储按照项目划分. 
   
   目前调度的文件管理是存储在hdfs.
   存储路径规则为:  /dolphinscheduler/租户编码/resources
   
   变更为存储路径规则为:  /dolphinscheduler/项目编码/resources
   
   这样存在以下的问题.
   1.权限划分复杂, 比如有100个项目,如果存在相互引用的问题.引用的资源文件权限会很复杂.
   2.从开发环境导出项目,资源文件没有办法做到拆分. 
   
   变动如下:
   1.资源文件增加code字段,用作唯一标识. 同一项目内编码唯一.
   2.资源文件按照项目编码进行存储.
   3.权限部分可以先做到最基础版, 同一项目组内的人员可见.  后期按角色,目录都可以再扩展.
   
   
   变更2: 数据源按照项目进行划分. [与文件管理类似]
   1.数据源增加code字段,用作唯一标识. 同一项目内编码唯一.
   2.数据源按照项目编码进行存储.
   3.权限部分可以先做到最基础版, 同一项目组内的人员可见.  后期按角色,目录都可以再扩展.
   
   
   
   建议新开一个分支处理.
   
   
   
   
   
   
   
   
   
   


----------------------------------------------------------------
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.

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


Reply via email to