Skip to content

feat(server): add PostgreSQL persistence profile - #957

Closed
Aias00 wants to merge 1 commit into
apache:rocketmq-studiofrom
Aias00:feat/studio-postgres-settings
Closed

feat(server): add PostgreSQL persistence profile#957
Aias00 wants to merge 1 commit into
apache:rocketmq-studiofrom
Aias00:feat/studio-postgres-settings

Conversation

@Aias00

@Aias00 Aias00 commented Aug 4, 2026

Copy link
Copy Markdown

Summary

Adds PostgreSQL 16+ support for the existing Studio MyBatis-Plus persistence layer.

  • adds the PostgreSQL JDBC runtime driver and Testcontainers test dependencies
  • adds a postgres Spring profile that initializes the PostgreSQL schema
  • adds a PostgreSQL DDL equivalent for all current Studio persistence entities
  • adds a PostgreSQL integration test for general settings and data-source CRUD
  • documents external PostgreSQL deployment configuration

Validation

  • mvn -Dtest=PostgreSqlSettingsRepositoryIntegrationTest test
    • compiles successfully; the Testcontainers test is skipped locally because this machine's Docker Java client reports API 1.32 while the Docker daemon requires 1.40
  • manual PostgreSQL 16 validation through Docker CLI:
    • started Studio with the postgres profile
    • created a data source through the settings API
    • restarted Studio and confirmed the data source was still returned
    • confirmed one persisted rmq_data_source row in PostgreSQL

Closes #956

Signed-off-by: liuhy <liuhongyu@apache.org>
Copilot AI lite review requested due to automatic review settings August 4, 2026 08:32

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.

@Aias00

Aias00 commented Aug 5, 2026

Copy link
Copy Markdown
Author

Superseded by #980, which now contains this change.

@Aias00 Aias00 closed this Aug 5, 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