Skip to content

[Studio] Validate LiteTopic TTL update requests - #559

Closed
Aias00 wants to merge 1 commit into
apache:rocketmq-studiofrom
Aias00:fix/studio-lite-topic-ttl-validation
Closed

[Studio] Validate LiteTopic TTL update requests#559
Aias00 wants to merge 1 commit into
apache:rocketmq-studiofrom
Aias00:fix/studio-lite-topic-ttl-validation

Conversation

@Aias00

@Aias00 Aias00 commented Jul 24, 2026

Copy link
Copy Markdown

Summary

  • enable bean validation on LiteTopic TTL update requests
  • require a topic pattern and positive TTL before invoking service logic
  • add controller tests for missing topic pattern and non-positive TTL

Scope

  • RocketMQ Studio contest scope: Track 1 / META-01 LiteTopic management
  • Does not introduce RocketMQ Namespace behavior

Tests

  • JAVA_HOME=/Users/aias/Library/Java/JavaVirtualMachines/openjdk-21.0.2/Contents/Home mvn -q -Dtest=LiteTopicControllerTest,LiteTopicServiceTest test
  • JAVA_HOME=/Users/aias/Library/Java/JavaVirtualMachines/openjdk-21.0.2/Contents/Home mvn -q test
  • git diff --check

Copilot AI review requested due to automatic review settings July 24, 2026 16:01

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 encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@Aias00

Aias00 commented Jul 27, 2026

Copy link
Copy Markdown
Author

Superseded by #634. Consolidated with related instance resource action validation changes to reduce review overhead while preserving the same scoped fixes and tests.

@Aias00 Aias00 closed this Jul 27, 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.

2 participants