[feature][PES][datasource] Add support for getting published datasource by type and proxy user
- Dominant language
- Java
- Stars
- 3.4k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Description
### Search before asking
- [x] I had searched in the [issues](https://github.com/apache/linkis/issues) and found no similar feature requirement.
### Problem Description
Currently there is no API to get published datasource by type and proxy user.
### Description
Add support for getting published datasource by type and proxy user.
### Use case
Users need to query published datasources filtered by datasource type and proxy user.
### Solutions
1. Added GetPublishedDataSourceByTypeAction and GetPublishedDataSourceByTypeResult
2. Modified DataSourceInfoServiceImpl to support the new query
3. Updated PES client to support the new API
### Are you willing to submit a PR?
- [x] Yes I am willing to submit a PR!
Contributor guide
Research direction
Start by locating the existing published-datasource query flow and the mentioned GetPublishedDataSourceByTypeAction and GetPublishedDataSourceByTypeResult classes. Read DataSourceInfoServiceImpl and the PES client to understand how requests and results are handled. Done means the API can return published datasources filtered by datasource type and proxy user across the service and client layers.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- api, databases
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100