normalcc01 opened a new pull request #3742:
URL: https://github.com/apache/incubator-dolphinscheduler/pull/3742


   ## What is the purpose of the pull request
   
    - *This pull request add Tag function to ProcessDefinition. Write the Tag's 
controller, sercive, mapper code, so that simple CRUD can be completed 
independently. And you can add and delete Tags for ProcessDefiniton, and find 
ProcessDefinitions based on Tag*
   
   ## Brief change log
   
     - *create `t_ds_process_definiton_tags` table to store Tag information 
like `tagname` `project_id` `user_id`.
   create `t_ds_relation_process_tag` table to store the relationship between 
Tag and ProcessDefinition*
     - *add the `Tag` `ProcessTag` classes, the `controller` `sercive` `mapper` 
`xml` code for Tag and ProcessTag. In order to realize the verification 
authority of the Tag, the `project_id` `user_id` field is added to 
`t_ds_process_definiton_tags` table, imitating the similar function code 
defined in ProcessDefinition.*
    - *`addProcessDefinitionTags` `deleteProcessDefinitionTags` 
`queryProcessDefinitionByTagId` the three new methods have been added in 
`ProcessDefinitionService` to realize ProcessDefinition add, delete tags, and 
query ProcessDefinitions based on tag*
   
   
   
   ## Verify this pull request
   
   This change added tests and can be verified as follows:
   
     - *Added `TagControllerTest` `TagServiceTest` `TagMapperTest`.*
     - *Added `ProcessTagMapperTest`.*
     - *Added ProcessDefinition-sercive, controller tests for 
`testAddProcessDefinitionTags` `testDeleteProcessDefinitionTags` 
`testQueryProcessDefinitionByTagId`.*
   


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