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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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