Skip to content

[Studio] fix: reject updates for missing data sources - #581

Merged
lizhimins merged 1 commit into
apache:rocketmq-studiofrom
yx9o:dev-580
Jul 29, 2026
Merged

[Studio] fix: reject updates for missing data sources#581
lizhimins merged 1 commit into
apache:rocketmq-studiofrom
yx9o:dev-580

Conversation

@yx9o

@yx9o yx9o commented Jul 25, 2026

Copy link
Copy Markdown

What is the purpose of the change

Fixes #580 .

Prevent /api/settings/datasources/update from creating a new data source when the submitted key does not exist.

Brief changelog

  • Reject unknown data source keys with HTTP 404.
  • Atomically replace existing data sources so update cannot create a missing entry.
  • Preserve existing create and valid update behavior.
  • Add service and repository regression tests.

@lizhimins
lizhimins force-pushed the rocketmq-studio branch 5 times, most recently from b1f151b to 434c2ea Compare July 28, 2026 11:40
@lizhimins
lizhimins merged commit 07ebe44 into apache:rocketmq-studio Jul 29, 2026
3 checks passed
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