Skip to content
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

[#3555] Device Registry JDBC native build #3598

Merged
merged 1 commit into from
Dec 20, 2023
Merged

[#3555] Device Registry JDBC native build #3598

merged 1 commit into from
Dec 20, 2023

Conversation

harism
Copy link
Contributor

@harism harism commented Dec 19, 2023

Changes needed for device registry JDBC to make native-image build succeeds and native-image integration tests run passes.

@harism harism requested a review from sophokles73 as a code owner December 19, 2023 08:35
Comment on lines 4 to 14
{ "pattern": "org\\/eclipse\\/hono\\/service\\/base\\/jdbc\\/store\\/devcon\\/base.h2.sql.yaml" },
{ "pattern": "org\\/eclipse\\/hono\\/service\\/base\\/jdbc\\/store\\/devcon\\/base.postgresql.sql.yaml" },
{ "pattern": "org\\/eclipse\\/hono\\/service\\/base\\/jdbc\\/store\\/devcon\\/base.sql.yaml" },
{ "pattern": "org\\/eclipse\\/hono\\/service\\/base\\/jdbc\\/store\\/device\\/base.h2.sql.yaml" },
{ "pattern": "org\\/eclipse\\/hono\\/service\\/base\\/jdbc\\/store\\/device\\/base.postgresql.sql.yaml" },
{ "pattern": "org\\/eclipse\\/hono\\/service\\/base\\/jdbc\\/store\\/device\\/base.sql.yaml" },
{ "pattern": "org\\/eclipse\\/hono\\/service\\/base\\/jdbc\\/store\\/tenant\\/base.sql.yaml" },
{ "pattern": "sql\\/h2\\/01-create.tenants.sql" },
{ "pattern": "sql\\/h2\\/02-create.devices.sql" },
{ "pattern": "sql\\/postgresql\\/01-create.tenants.sql" },
{ "pattern": "sql\\/postgresql\\/02-create.devices.sql" }
Copy link
Contributor

Choose a reason for hiding this comment

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

maybe we can make these more generic, e.g. using wildcards that expand to all yaml and sql files?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done, I kept some base resource directory structure under which *.yaml and *.sql files are filtered in.

@@ -47,17 +47,19 @@ jobs:
-Pbuild-native-image,metrics-prometheus -am \
-pl :hono-service-auth,:hono-service-command-router,:hono-service-device-registry-mongodb,\
:hono-adapter-mqtt,:hono-adapter-amqp,:hono-adapter-coap,:hono-adapter-http,:hono-adapter-lora,\
:hono-tests
:hono-tests,:hono-service-device-registry-jdbc
Copy link
Contributor

Choose a reason for hiding this comment

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

would you mind putting this after :hono-service-device-registry-mongodb?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

@sophokles73 sophokles73 added enhancement JDBC Device Registry The JDBC based Device Registry implementation labels Dec 19, 2023
@sophokles73 sophokles73 added this to the 2.5.0 milestone Dec 19, 2023
Copy link
Contributor

@sophokles73 sophokles73 left a comment

Choose a reason for hiding this comment

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

LGTM

Thanks for contributing 👍

@sophokles73 sophokles73 merged commit b26cd94 into eclipse-hono:master Dec 20, 2023
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement JDBC Device Registry The JDBC based Device Registry implementation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants