kylozw opened a new pull request #4539:
URL: https://github.com/apache/incubator-dolphinscheduler/pull/4539
## What is the purpose of the pull request
Optimize the api *ProjectService.queryAllProjectList*.
It's not good to query all processDefinition list and pick the project ids
in menmory.
## Brief change log
ProjectServiceImpl.java
- Changed methord `queryAllProjectList`
ProjectServiceTest.java
- Changed methord `testQueryAllProjectList`
ProcessDefinitionMapper.java
- Added method `listProjectIds`
ProcessDefinitionMapper.xml
- Added sql for `listProjectIds` mapper
ProcessDefinitionMapperTest.java
- Added method `listProjectIds`
## Verify this pull request
This pull request is already covered by existing tests:
- *ProjectServiceTest.testQueryAllProjectList*
- *ProcessDefinitionMapperTest.listProjectIds*
----------------------------------------------------------------
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]