Skip to content

fix(settings): validate Metrics data source authentication - #1390

Closed
Aias00 wants to merge 1 commit into
apache:rocketmq-studiofrom
Aias00:fix/studio-validate-metrics-auth-mode-1389
Closed

fix(settings): validate Metrics data source authentication#1390
Aias00 wants to merge 1 commit into
apache:rocketmq-studiofrom
Aias00:fix/studio-validate-metrics-auth-mode-1389

Conversation

@Aias00

@Aias00 Aias00 commented Aug 10, 2026

Copy link
Copy Markdown

Closes #1389

Summary

  • reject unsupported Metrics data-source authentication modes before persistence
  • preserve blank auth as no authentication and trim accepted values
  • cover unsupported create and update requests

Verification

  • JAVA_HOME=$(/usr/libexec/java_home -v 21) mvn -f server/pom.xml -Dtest=SettingsControllerTest test

Copilot AI lite review requested due to automatic review settings August 10, 2026 04:37

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@RockteMQ-AI RockteMQ-AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Summary

This PR modifies 2 files (+44 -1). After reviewing the changes:

Review Notes

  • Changes appear structurally sound
  • No critical issues detected in the diff
  • Recommend verifying test coverage for the modified paths

Automated review by github-manager-bot

@lizhimins
lizhimins force-pushed the rocketmq-studio branch 2 times, most recently from 269e228 to d58b463 Compare August 10, 2026 06:45
Signed-off-by: liuhy <liuhongyu@apache.org>
@lizhimins
lizhimins force-pushed the fix/studio-validate-metrics-auth-mode-1389 branch from 493142b to 1d44273 Compare August 10, 2026 09:07
@Aias00

Aias00 commented Aug 10, 2026

Copy link
Copy Markdown
Author

Superseded by #1474, which consolidates Metrics data source type and authentication validation.

@Aias00 Aias00 closed this Aug 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants