-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Postgresql protocol adapter Alpha #726
base: master
Are you sure you want to change the base?
Conversation
...esql/src/main/java/com/hivemq/edge/adapters/postgresql/PostgreSQLPollingProtocolAdapter.java
Outdated
Show resolved
Hide resolved
...esql/src/main/java/com/hivemq/edge/adapters/postgresql/PostgreSQLPollingProtocolAdapter.java
Outdated
Show resolved
Hide resolved
...esql/src/main/java/com/hivemq/edge/adapters/postgresql/PostgreSQLPollingProtocolAdapter.java
Outdated
Show resolved
Hide resolved
...esql/src/main/java/com/hivemq/edge/adapters/postgresql/PostgreSQLPollingProtocolAdapter.java
Outdated
Show resolved
Hide resolved
601df9a
to
d128f6a
Compare
...esql/src/main/java/com/hivemq/edge/adapters/postgresql/PostgreSQLPollingProtocolAdapter.java
Outdated
Show resolved
Hide resolved
...esql/src/main/java/com/hivemq/edge/adapters/postgresql/PostgreSQLPollingProtocolAdapter.java
Outdated
Show resolved
Hide resolved
...esql/src/main/java/com/hivemq/edge/adapters/postgresql/PostgreSQLPollingProtocolAdapter.java
Outdated
Show resolved
Hide resolved
...esql/src/main/java/com/hivemq/edge/adapters/postgresql/PostgreSQLPollingProtocolAdapter.java
Outdated
Show resolved
Hide resolved
|
||
import static org.junit.jupiter.api.Assertions.*; | ||
|
||
class PostgreSQLProtocolAdapterInformationTest { |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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
There was a problem hiding this 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.
...esql/src/main/java/com/hivemq/edge/adapters/postgresql/PostgreSQLPollingProtocolAdapter.java
Outdated
Show resolved
Hide resolved
add config option to set the connection timeout
@Override | ||
public @NotNull String getLogoUrl() { | ||
// this is a default image that is always available. | ||
return "/images/postgres-logo.jpg"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did you check the license of the image we use here?
We probably need a source ackonwledgement.
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.