Skip to content

[Improvement-18084][API] Address the inconsistent class comments in DataSourceService and DataSourceServiceImpl classes.#18086

Open
njnu-seafish wants to merge 4 commits intoapache:devfrom
njnu-seafish:Improvement-18084
Open

[Improvement-18084][API] Address the inconsistent class comments in DataSourceService and DataSourceServiceImpl classes.#18086
njnu-seafish wants to merge 4 commits intoapache:devfrom
njnu-seafish:Improvement-18084

Conversation

@njnu-seafish
Copy link
Copy Markdown
Contributor

Was this PR generated or assisted by AI?

NO

Purpose of the pull request

close #18084

Brief change log

Address the inconsistent class comments in DataSourceService and DataSourceServiceImpl classes.

Verify this pull request

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:

(or)

Pull Request Notice

Pull Request Notice

If your pull request contains incompatible change, you should also add it to docs/docs/en/guide/upgrade/incompatible.md

@ApiException(CONNECT_DATASOURCE_FAILURE)
public Result<Boolean> connectDataSource(@Parameter(hidden = true) @RequestAttribute(value = Constants.SESSION_USER) User loginUser,
@io.swagger.v3.oas.annotations.parameters.RequestBody(description = "dataSourceParam") @RequestBody String jsonStr) {
public Result<Boolean> connectDataSource(@io.swagger.v3.oas.annotations.parameters.RequestBody(description = "dataSourceParam") @RequestBody String jsonStr) {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why change this?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why change this?

This issue is related to user authentication and will be addressed in a separate PR. Per the senior developer's suggestion, I will split these two types of issues into distinct Issues and PRs.

please review this:
#18073

@sonarqubecloud
Copy link
Copy Markdown

@SbloodyS SbloodyS added the improvement make more easy to user or prompt friendly label Mar 26, 2026
@SbloodyS SbloodyS added this to the 3.4.2 milestone Mar 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend improvement make more easy to user or prompt friendly

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Improvement][API] Address the inconsistent class comments in DataSourceService and DataSourceServiceImpl classes.

2 participants