Skip to content

Conversation

anthonyolazabal
Copy link
Contributor

Motivation

Create the first alpha version of PostgreSQL protocol adapter.

Changes

This PR includes the original code and the migration to SDK 2024.9 with the new tag concept. It only cover Northbound mapping.

Note
Pooling test is not implemented for this alpha version.

@cla-bot cla-bot bot added the cla-signed label Dec 23, 2024
@anthonyolazabal anthonyolazabal changed the title Postgresql protocol adapter Postgresql protocol adapter Alpha Dec 28, 2024
@DC2-DanielKrueger DC2-DanielKrueger force-pushed the postgresql-protocol-adapter branch from 601df9a to d128f6a Compare January 7, 2025 09:57

import static org.junit.jupiter.api.Assertions.*;

class PostgreSQLProtocolAdapterInformationTest {
Copy link
Contributor

Choose a reason for hiding this comment

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

Just realized there are no integration tests.
Can you add testcontainers based integration tests please?

Copy link
Contributor

Choose a reason for hiding this comment

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

We can also add some ITs with an started edge

Copy link
Contributor Author

@anthonyolazabal anthonyolazabal left a comment

Choose a reason for hiding this comment

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

I'm fine with the modifications, thanks for sharing it.

Copy link

sonarqubecloud bot commented May 6, 2025

Quality Gate Failed Quality Gate failed

Failed conditions
10.9% Duplication on New Code (required ≤ 3%)

See analysis details on SonarQube Cloud

…o postgresql-protocol-adapter

# Conflicts:
#	build.gradle.kts
#	modules/hivemq-edge-module-databases/src/main/java/com/hivemq/edge/adapters/databases/DatabasesPollingProtocolAdapter.java
Copy link

github-actions bot commented May 23, 2025

Test Results

  436 files  +1    436 suites  +1   4m 24s ⏱️ +11s
3 696 tests +2  3 693 ✅ +2  3 💤 ±0  0 ❌ ±0 
3 701 runs  +2  3 698 ✅ +2  3 💤 ±0  0 ❌ ±0 

Results for commit 9f65785. ± Comparison against base commit fe0d2bd.

♻️ This comment has been updated with latest results.

@caoccao
Copy link
Member

caoccao commented May 27, 2025

  • .idea/inspectionProfiles/Project_Default.xml might not be included.
  • There have been some major refactors recently. It seems this PR is out of sync.

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

Successfully merging this pull request may close these issues.

4 participants