SuccessChanges

Summary

  1. [#1661, #504] Include MQTT client ID in Credentials.get request (#1666) (details)
  2. Update downloads and release notes with 1.0.2 release (details)
  3. Upgrade to Caffeine 2.8.0 (details)
  4. Increase memory limit of adapter containers (details)
  5. Reduce log verbosity (details)
  6. Use Helm 3 by default in all commands (details)
  7. [#1635] Support overriding supported SASL mechanisms. (details)
  8. [#1635] Make supported SASL mechanisms configurable. (details)
  9. [#1635] Add release notes entry. (details)
  10. Delegate to MessageHelper for creating downstream message (details)
  11. [#1635] Fix configuration variable names (details)
  12. [#1674] Make resource requests/limits of containers configurable (details)
  13. Remove misleading reference to client certificate (details)
  14. [#1635] Use only SASL PLAIN in example registry (details)
  15. To enable sharing of the same value object for Adapter configurations (details)
  16. [#1673] Let checkConnected() wait on concurrent connect attempts. (details)
  17. [#1684] Use namespace scoped Role for example data grid auth (details)
  18. Add icon to Helm chart (details)
  19. Migrate unit tests to JUnit 5 (details)
  20. Migrate unit tests to JUnit 5 (details)
  21. Add HonoConnection#getRemoteContainer, use it in client span. (details)
  22. Add span context parameter to sendAsyncCommand(). (details)
  23. Fix registration of health checks (details)
  24. [#1687] Ensure response is ended if it got closed prematurely. (details)
  25. Check for availability of Prometheus meter registry on classpath (details)
  26. [#1695] Use Prometheus based resource limit checks in demo deployment (details)
  27. Reduce connect timeout for DelegatingAuthenticationService (details)
  28. [#1674] Allow configuring service specific JDK_JAVA_OPTIONS (details)
  29. Adjust resource limits (details)
  30. Add some reasonable resource limits to DEFAULT_TENANT (details)
  31. [#1697] Always finish Span for tracking resource limit checks (details)
  32. [#1696] Fix link in readme of tests (details)
  33. Add receiver exception handling; fix wrong span being used. (details)
  34. Allow unit tests to be run in parallel (details)
  35. Migrate tests to JUnit 5 (details)
  36. Migrate tests to JUnit 5 (details)
  37. Replace usage of deprecated API (details)
  38. Add 'logging.profile' property for integration tests. (details)
  39. [#1336] Extract span context from incoming MQTT message. (details)
  40. [#1691] Add isConnected(timeout); use it in client factories. (details)
  41. [#1701] Finish spans in management API event bus adapters. (details)
  42. Fix JavaDoc (details)
  43. Update to Checkstyle 8.28 (details)
  44. Do not use deprecated API anymore (details)
  45. [#1655] Use latest version of Spring Boot Maven plugin (details)
  46. Re-try TTD requests (details)
  47. Update to latest Docker Maven plugin (details)
  48. Document latest fixes in release notes. (details)
Commit 98a3e5bb1f168829324979cf742f3df8c8c0b47c by GitHub
[#1661, #504] Include MQTT client ID in Credentials.get request (#1666)
* [#1661, #504] Include MQTT client ID in Credentials.get request
The MQTT adapter now always includes the device's MQTT client
identifier
service in the
In order for this to work, the example Credentials service
implementation had to be changed so that it no longer asserts that a
device's credentials on record also contain the properties submitted in
the client context. The check now only makes sure that if a property of
a matching name is on record, its value is the same as the value
provided
Fixes #1661
Signed-off-by: Kai Hudalla <kai.hudalla@bosch-si.com>
The file was modifiedadapters/mqtt-vertx-base/src/main/java/org/eclipse/hono/adapter/mqtt/ConnectPacketAuthHandler.java (diff)
The file was modifiedservice-base/src/main/java/org/eclipse/hono/service/auth/device/AuthHandler.java (diff)
The file was modifiedadapters/mqtt-vertx-base/src/main/java/org/eclipse/hono/adapter/mqtt/X509AuthHandler.java (diff)
The file was addedadapters/mqtt-vertx-base/src/test/java/org/eclipse/hono/adapter/mqtt/ConnectPacketAuthHandlerTest.java
The file was modifiedservice-base/src/main/java/org/eclipse/hono/service/auth/device/ExecutionContextAuthHandler.java (diff)
The file was modifiedservice-base/src/test/java/org/eclipse/hono/service/credentials/AbstractCredentialsServiceTest.java (diff)
The file was modifiedservices/device-registry/src/test/java/org/eclipse/hono/deviceregistry/FileBasedCredentialsServiceTest.java (diff)
The file was modifiedservices/device-registry/src/main/java/org/eclipse/hono/deviceregistry/FileBasedCredentialsService.java (diff)
The file was modifiedadapters/mqtt-vertx-base/src/test/java/org/eclipse/hono/adapter/mqtt/X509AuthHandlerTest.java (diff)
The file was modifiedsite/documentation/content/user-guide/mqtt-adapter.md (diff)
Commit d974787ab503bc9525ee2e81dad888e51d924375 by Kai Hudalla
Update downloads and release notes with 1.0.2 release
Signed-off-by: Kai Hudalla <kai.hudalla@bosch-si.com>
The file was modifiedsite/homepage/content/downloads.md (diff)
The file was modifiedsite/homepage/content/release-notes.md (diff)
Commit af36ade176e54a4d2ab1b9337f2fbbbcfeb4faa3 by Kai Hudalla
Upgrade to Caffeine 2.8.0
Signed-off-by: Kai Hudalla <kai.hudalla@bosch-si.com>
The file was modifiedbom/pom.xml (diff)
Commit e343737ee55ee3108d49a1c546dc66322ae5bced by Kai Hudalla
Increase memory limit of adapter containers
When running the integration tests locally one of the protocol adapters
sporadically gets OOM killed by the docker daemon. Increasing the memory
limit from 256 to 300 MB might help preventing this.
Signed-off-by: Kai Hudalla <kai.hudalla@bosch-si.com>
The file was modifiedtests/pom.xml (diff)
Commit de2d049e8032d37e51ff2f1fa56002c7bbd3a89a by Kai Hudalla
Reduce log verbosity
Signed-off-by: Kai Hudalla <kai.hudalla@bosch-si.com>
The file was modifiedclient/src/main/java/org/eclipse/hono/client/impl/AbstractRequestResponseClient.java (diff)
Commit 19a30731b0413cbb2586f46fbc431e3646cfdfc6 by Kai Hudalla
Use Helm 3 by default in all commands
but still provide Helm 2 based variant of commands.
Signed-off-by: Kai Hudalla <kai.hudalla@bosch-si.com>
The file was modifiedsite/documentation/content/deployment/helm-based-deployment.md (diff)
Commit f8770c952c889a56613e48811bd06b53aedd2982 by Carsten Lohmann
[#1635] Support overriding supported SASL mechanisms.
Signed-off-by: Carsten Lohmann <carsten.lohmann@bosch-si.com>
The file was modifiedservice-base/src/main/java/org/eclipse/hono/service/auth/AbstractHonoAuthenticationService.java (diff)
The file was modifiedservice-base/src/main/java/org/eclipse/hono/service/auth/HonoSaslAuthenticator.java (diff)
The file was modifiedservice-base/src/main/java/org/eclipse/hono/service/auth/HonoSaslAuthenticatorFactory.java (diff)
The file was modifiedservice-base/src/main/java/org/eclipse/hono/service/auth/AuthenticationService.java (diff)
The file was modifiedservice-base/src/main/java/org/eclipse/hono/service/auth/EventBusAuthenticationService.java (diff)
Commit b361c6675cfa38d2a00ca1ba746e188c3a95376f by Carsten Lohmann
[#1635] Make supported SASL mechanisms configurable.
Signed-off-by: Carsten Lohmann <carsten.lohmann@bosch-si.com>
The file was modifieddeploy/src/main/deploy/helm/values.yaml (diff)
The file was modifiedservices/auth/src/main/java/org/eclipse/hono/service/auth/impl/FileBasedAuthenticationService.java (diff)
The file was modifiedservices/auth/src/main/java/org/eclipse/hono/service/auth/impl/AuthenticationServerConfigProperties.java (diff)
The file was modifiedsite/documentation/content/admin-guide/auth-server-config.md (diff)
The file was modifiedsite/documentation/content/admin-guide/device-registry-config.md (diff)
The file was modifiedservice-base/src/main/java/org/eclipse/hono/service/auth/delegating/DelegatingAuthenticationService.java (diff)
The file was modifiedservice-base/src/main/java/org/eclipse/hono/service/auth/delegating/AuthenticationServerClientConfigProperties.java (diff)
Commit 3de45e3de00f3ddaef5132ebcd967d5927d28e22 by Carsten Lohmann
[#1635] Add release notes entry.
Signed-off-by: Carsten Lohmann <carsten.lohmann@bosch-si.com>
The file was modifiedsite/homepage/content/release-notes.md (diff)
Commit d34bdf1dc133c0d47c30a550494edf434abaed9e by Kai Hudalla
Delegate to MessageHelper for creating downstream message
The AbstractProtocolAdapterBase class now uses the recently introduced
MessageHelper.newMessage() method instead of duplicating the code for
creating a new downstream message. The JavaDoc had already indicated so
and now the implementation follows.
Signed-off-by: Kai Hudalla <kai.hudalla@bosch-si.com>
The file was modifiedservice-base/src/main/java/org/eclipse/hono/service/AbstractProtocolAdapterBase.java (diff)
Commit 53f2be4c379e5b1cfcc2af2899dc323560c4badd by Kai Hudalla
[#1635] Fix configuration variable names
Signed-off-by: Kai Hudalla <kai.hudalla@bosch-si.com>
The file was modifiedsite/documentation/content/admin-guide/device-registry-config.md (diff)
Commit f4524d4f824f6c7e298f26b4f929f50429af57ec by Kai Hudalla
[#1674] Make resource requests/limits of containers configurable
All containers' resource requests and limits can now be configured using
configuration properties of the Helm chart. Reasonable defaults for the
example deployment have also been added.
Signed-off-by: Kai Hudalla <kai.hudalla@bosch-si.com>
The file was modifieddeploy/src/main/deploy/helm/templates/hono-adapter-http/hono-adapter-http-vertx-deployment.yaml (diff)
The file was modifieddeploy/src/main/deploy/helm/templates/hono-service-device-registry/hono-service-device-registry-deployment.yaml (diff)
The file was modifieddeploy/src/main/deploy/helm/templates/hono-adapter-amqp/hono-adapter-amqp-vertx-deployment.yaml (diff)
The file was modifieddeploy/src/main/deploy/helm/templates/hono-adapter-kura/hono-adapter-kura-deployment.yaml (diff)
The file was modifieddeploy/src/main/deploy/helm/templates/example-data-grid/statefulset.yaml (diff)
The file was modifieddeploy/src/main/deploy/helm/templates/hono-adapter-coap/hono-adapter-coap-vertx-deployment.yaml (diff)
The file was modifieddeploy/src/main/deploy/helm/templates/hono-adapter-mqtt/hono-adapter-mqtt-vertx-deployment.yaml (diff)
The file was modifieddeploy/src/main/deploy/helm/values.yaml (diff)
The file was modifieddeploy/src/main/deploy/helm/templates/hono-service-auth/hono-service-auth-deployment.yaml (diff)
The file was modifieddeploy/src/main/deploy/helm/templates/dispatch-router/dispatch-router-deployment.yaml (diff)
The file was modifieddeploy/src/main/deploy/helm/templates/hono-adapter-lora/hono-adapter-lora-vertx-deployment.yaml (diff)
The file was modifieddeploy/src/main/deploy/helm/templates/artemis/artemis-deployment.yaml (diff)
The file was modifieddeploy/src/main/deploy/helm/templates/jaeger/jaeger-deployment.yaml (diff)
The file was modifieddeploy/src/main/deploy/helm/templates/hono-service-device-connection/hono-service-device-connection-deployment.yaml (diff)
Commit caecf02bd7a595e3bfbcdc92defe62e45e8c6d84 by Kai Hudalla
Remove misleading reference to client certificate
The example device registry's Admin Guide mentioned a client certificate
to be used as a fall back for validating tokens issued by the
Authentication service. However, there is no reason why such a client
certificate should be configured.
Signed-off-by: Kai Hudalla <kai.hudalla@bosch-si.com>
The file was modifiedsite/documentation/content/admin-guide/device-registry-config.md (diff)
The file was modifiedservice-base/src/main/java/org/eclipse/hono/service/auth/delegating/DelegatingAuthenticationServiceConfig.java (diff)
Commit c63ddeb614111e201d36a6020605df5351412cb1 by Kai Hudalla
[#1635] Use only SASL PLAIN in example registry
The Helm chart now configures the example device registry to only
support SASL PLAIN by default as this is the only SASL mechanism that
can be delegated to the Authentication service.
Signed-off-by: Kai Hudalla <kai.hudalla@bosch-si.com>
The file was modifieddeploy/src/main/deploy/helm/values.yaml (diff)
The file was modifiedservice-base/src/main/java/org/eclipse/hono/service/auth/delegating/DelegatingAuthenticationService.java (diff)
The file was modifieddeploy/src/main/deploy/helm/templates/hono-service-auth/hono-service-auth-secret.yaml (diff)
The file was modifiedservices/auth/src/main/java/org/eclipse/hono/service/auth/impl/FileBasedAuthenticationService.java (diff)
The file was modifieddeploy/src/main/deploy/helm/templates/hono-service-device-registry/hono-service-device-registry-secret.yaml (diff)
Commit 6586ce22c8e395c9084bb4c8a83907cf26f9e318 by Kai Hudalla
To enable sharing of the same value object for Adapter configurations
between the Management API and Tenant API from Hono 2.0.0. Now the class
`org.eclipse.hono.service.management.tenant.Adapter` is deprecated and
from Hono 2.0.0 onwards it will be replaced by
`org.eclipse.hono.util.Adapter`. The Tenant API now offers additional
methods that make use of the newly added
`org.eclipse.hono.util.Adapter`.
Signed-off-by: Kartheeswaran Kalidass
<Kartheeswaran.Kalidass@bosch-si.com>
The file was modifiedservice-base/src/main/java/org/eclipse/hono/service/management/tenant/Adapter.java (diff)
The file was modifiedservice-base/src/main/java/org/eclipse/hono/service/management/tenant/Tenant.java (diff)
The file was modifiedservices/device-registry/src/main/java/org/eclipse/hono/deviceregistry/FileBasedTenantService.java (diff)
The file was addedcore/src/main/java/org/eclipse/hono/util/Adapter.java
The file was modifiedcore/src/main/java/org/eclipse/hono/util/TenantObject.java (diff)
The file was modifiedcore/src/test/java/org/eclipse/hono/util/TenantObjectTest.java (diff)
Commit f1d3d92c7249891c43df759e1ee1a0e59a544aae by Carsten Lohmann
[#1673] Let checkConnected() wait on concurrent connect attempts.
Signed-off-by: Carsten Lohmann <carsten.lohmann@bosch-si.com>
The file was modifiedclient/src/main/java/org/eclipse/hono/client/impl/HonoConnectionImpl.java (diff)
The file was modifiedclient/src/test/java/org/eclipse/hono/client/impl/HonoConnectionImplTest.java (diff)
Commit 7a303dc127a57551f6fa39b9439106c689e7280f by Kai Hudalla
[#1684] Use namespace scoped Role for example data grid auth
The example Infinispan based data grid's nodes only need authorization
to list pods of the current namespace. Thus, a standard Role and
RoleBinding is sufficient instead of a ClusterRole and
ClusterRoleBinding.
Fixes #1684
Signed-off-by: Kai Hudalla <kai.hudalla@bosch-si.com>
The file was modifieddeploy/src/main/deploy/helm/templates/example-data-grid/roles.yaml (diff)
Commit a40cb0fa44793d266da60fdf561d69cde07ec7db by Kai Hudalla
Add icon to Helm chart
Signed-off-by: Kai Hudalla <kai.hudalla@bosch-si.com>
The file was modifieddeploy/src/main/deploy/helm/Chart.yaml (diff)
Commit 2af4bff9973696fae43c1586c55ac7706c3986e3 by Kai Hudalla
Migrate unit tests to JUnit 5
Signed-off-by: Kai Hudalla <kai.hudalla@bosch-si.com>
The file was modifiedservice-base/src/test/java/org/eclipse/hono/service/credentials/AbstractCredentialsServiceTest.java (diff)
The file was modifiedservices/auth/src/test/java/org/eclipse/hono/service/auth/impl/SimpleAuthenticationServerTest.java (diff)
The file was modifiedservices/auth/src/test/java/org/eclipse/hono/service/auth/impl/FileBasedAuthenticationServiceTest.java (diff)
The file was modifiedservices/auth/pom.xml (diff)
The file was modifiedservices/pom.xml (diff)
Commit f331c5cc3ceb2755b28aea759dad5df2f52e2391 by Kai Hudalla
Migrate unit tests to JUnit 5
Signed-off-by: Kai Hudalla <kai.hudalla@bosch-si.com>
The file was modifiedadapters/mqtt-vertx/src/test/java/org/eclipse/hono/adapter/mqtt/impl/VertxBasedMqttProtocolAdapterTest.java (diff)
Commit c89a8c71b91e1af53e0a6dfb28360da5f3241ce8 by Carsten Lohmann
Add HonoConnection#getRemoteContainer, use it in client span.
Signed-off-by: Carsten Lohmann <carsten.lohmann@bosch-si.com>
The file was modifiedcore/src/main/java/org/eclipse/hono/tracing/TracingHelper.java (diff)
The file was modifiedclient/src/main/java/org/eclipse/hono/client/impl/AbstractHonoClient.java (diff)
The file was modifiedclient/src/main/java/org/eclipse/hono/client/HonoConnection.java (diff)
The file was modifiedclient/src/main/java/org/eclipse/hono/client/impl/HonoConnectionImpl.java (diff)
The file was modifiedclient/src/test/java/org/eclipse/hono/client/impl/HonoClientUnitTestHelper.java (diff)
Commit a1f6652e3bd152471a6b2aad9011825ba4168d83 by Carsten Lohmann
Add span context parameter to sendAsyncCommand().
Signed-off-by: Carsten Lohmann <carsten.lohmann@bosch-si.com>
The file was modifiedclient/src/main/java/org/eclipse/hono/client/AsyncCommandClient.java (diff)
The file was modifiedclient/src/main/java/org/eclipse/hono/client/impl/AsyncCommandClientImpl.java (diff)
Commit 7475d1d2db7f8d3bf67fc21e0a493c8f67b1a3e3 by Kai Hudalla
Fix registration of health checks
The Device Connection service erroneously registered the service
implementation's health checks multiple times while it did not register
the auth service's health checks at all.
Signed-off-by: Kai Hudalla <kai.hudalla@bosch-si.com>
The file was modifiedservice-base/src/main/java/org/eclipse/hono/service/AbstractBaseApplication.java (diff)
The file was modifiedservices/device-connection/src/main/java/org/eclipse/hono/deviceconnection/infinispan/Application.java (diff)
Commit cde62cebf41f9c1fab2eed6e2c51747aef015014 by Carsten Lohmann
[#1687] Ensure response is ended if it got closed prematurely.
Signed-off-by: Carsten Lohmann <carsten.lohmann@bosch-si.com>
The file was modifiedservice-base/src/main/java/org/eclipse/hono/service/http/HttpUtils.java (diff)
The file was modifiedadapters/http-vertx-base/src/main/java/org/eclipse/hono/adapter/http/AbstractVertxBasedHttpProtocolAdapter.java (diff)
Commit d31009c7c9bfa504c689297b36d7d4b31ccfe11d by Kai Hudalla
Check for availability of Prometheus meter registry on classpath
The PrometheusBasedResourceLimitsCheck is now only created if the
PrometheusMeterRegistry class is on the classpath.
Signed-off-by: Kai Hudalla <kai.hudalla@bosch-si.com>
The file was modifiedservice-base/src/main/java/org/eclipse/hono/service/AbstractAdapterConfig.java (diff)
The file was modifiedservice-base/src/main/java/org/eclipse/hono/service/AbstractProtocolAdapterBase.java (diff)
Commit e338a24b8ad201aac66d41efde387224fc333ca9 by Kai Hudalla
[#1695] Use Prometheus based resource limit checks in demo deployment
Fixes #1695
Signed-off-by: Kai Hudalla <kai.hudalla@bosch-si.com>
The file was modifiedservice-base/src/main/java/org/eclipse/hono/service/resourcelimits/PrometheusBasedResourceLimitChecks.java (diff)
The file was modifieddeploy/src/main/deploy/helm/templates/_helpers.tpl (diff)
Commit 2f2adc46592a1279463ca45d03de9ca45df2bb5a by Kai Hudalla
Reduce connect timeout for DelegatingAuthenticationService
The timout for establishing a connection to the Auth Server has been
reduced to a value (2s) below the (hard-coded) vert.x EventBus request
timeout used for delegating the authentication to the Auth Server.
Signed-off-by: Kai Hudalla <kai.hudalla@bosch-si.com>
The file was modifieddeploy/src/main/deploy/helm/templates/hono-service-device-registry/hono-service-device-registry-secret.yaml (diff)
Commit e820610f3771207f0519769bfbd07fc9bc281d83 by Kai Hudalla
[#1674] Allow configuring service specific JDK_JAVA_OPTIONS
The helm chart now supports configuration of JVM options per service
component. If not configured explicitly, the default options are used.
Signed-off-by: Kai Hudalla <kai.hudalla@bosch-si.com>
The file was modifieddeploy/src/main/deploy/helm/values.yaml (diff)
The file was modifieddeploy/src/main/deploy/helm/templates/hono-adapter-amqp/hono-adapter-amqp-vertx-deployment.yaml (diff)
The file was modifieddeploy/src/main/deploy/helm/templates/hono-adapter-mqtt/hono-adapter-mqtt-vertx-deployment.yaml (diff)
The file was modifieddeploy/src/main/deploy/helm/templates/hono-adapter-coap/hono-adapter-coap-vertx-deployment.yaml (diff)
The file was modifieddeploy/src/main/deploy/helm/templates/hono-adapter-http/hono-adapter-http-vertx-deployment.yaml (diff)
The file was modifieddeploy/src/main/deploy/helm/templates/hono-adapter-kura/hono-adapter-kura-deployment.yaml (diff)
The file was modifieddeploy/src/main/deploy/helm/templates/hono-service-auth/hono-service-auth-deployment.yaml (diff)
The file was modifieddeploy/src/main/deploy/helm/templates/hono-service-device-connection/hono-service-device-connection-deployment.yaml (diff)
The file was modifieddeploy/src/main/deploy/helm/templates/hono-service-device-registry/hono-service-device-registry-deployment.yaml (diff)
The file was modifieddeploy/src/main/deploy/helm/templates/hono-adapter-lora/hono-adapter-lora-vertx-deployment.yaml (diff)
Commit 81c05fed37f433df07757e82b0bc68a8221eaeb3 by Kai Hudalla
Adjust resource limits
Increased memory for example device registry and minimum CPU in order to
allow for proper operation of services.
Signed-off-by: Kai Hudalla <kai.hudalla@bosch-si.com>
The file was modifieddeploy/src/main/deploy/helm/values.yaml (diff)
Commit cddbbab91814212c6aa285bd792a7624852ef20b by Kai Hudalla
Add some reasonable resource limits to DEFAULT_TENANT
In order to actually see the Prometheus based resource limit checks kick
ni, the DEFAULT_TENANT has been configured with some resource limits.
Signed-off-by: Kai Hudalla <kai.hudalla@bosch-si.com>
The file was modifieddeploy/src/main/deploy/example-tenants.json (diff)
Commit 3c4f190f2c095d118df9aab755be84c2f5b6d830 by Kai Hudalla
[#1697] Always finish Span for tracking resource limit checks
Also split up the information being logged into individual fields.
Fixes #1697
Signed-off-by: Kai Hudalla <kai.hudalla@bosch-si.com>
The file was modifiedservice-base/src/test/java/org/eclipse/hono/service/resourcelimits/PrometheusBasedResourceLimitChecksTest.java (diff)
The file was modifiedservice-base/src/main/java/org/eclipse/hono/service/resourcelimits/PrometheusBasedResourceLimitChecks.java (diff)
Commit 13907d187b13f06fda18dc3a6d2b47ba5bc73fe7 by Kai Hudalla
[#1696] Fix link in readme of tests
The readme file in the tests module now points to the section in the
developer
source.
Fixes #1696
Signed-off-by: Abel Buechner-Mihaljevic <Abel.Buechner@bosch-si.com>
The file was modifiedtests/readme.md (diff)
Commit fed9acb361d07f9ccaef867550dd8fa8b0ee9bf6 by Carsten Lohmann
Add receiver exception handling; fix wrong span being used.
Signed-off-by: Carsten Lohmann <carsten.lohmann@bosch-si.com>
The file was modifiedadapters/amqp-vertx/src/main/java/org/eclipse/hono/adapter/amqp/impl/VertxBasedAmqpProtocolAdapter.java (diff)
The file was modifiedservice-base/src/main/java/org/eclipse/hono/service/tenant/TenantTraceSamplingHelper.java (diff)
The file was modifiedservice-base/src/main/java/org/eclipse/hono/service/amqp/RequestResponseEndpoint.java (diff)
Commit 8b1ee7b615e428cc88c290c2b9f1d193ae06ba18 by Kai Hudalla
Allow unit tests to be run in parallel
Added configuration properties to the Surefire plugin that allows JUnit
5 based unit test classes to be run in parallel. The individual test
methods of each class are still run on the same thread in order to
prevent race conditions arising from field access.
Signed-off-by: Kai Hudalla <kai.hudalla@bosch-si.com>
The file was modifiedpom.xml (diff)
Commit c7246f23f0483dc2dda6c976b40514cb7a76b4de by Kai Hudalla
Migrate tests to JUnit 5
Some of the slowest executing tests have been migrate to JUnit 5 in
order to allow for them to be executed in parallel.
Signed-off-by: Kai Hudalla <kai.hudalla@bosch-si.com>
The file was modifiedcore/src/test/java/org/eclipse/hono/util/MessageTapTest.java (diff)
The file was modifiedcore/src/test/java/org/eclipse/hono/util/CredentialsObjectTest.java (diff)
The file was modifiedcore/src/test/java/org/eclipse/hono/util/JwtHelperTest.java (diff)
The file was modifiedcore/src/test/java/org/eclipse/hono/tracing/MessageAnnotationsInjectExtractAdapterTest.java (diff)
The file was modifiedcore/src/test/resources/logback-test.xml (diff)
The file was modifiedcore/src/test/java/org/eclipse/hono/config/KeyLoaderTest.java (diff)
The file was modifiedcore/pom.xml (diff)
The file was modifiedcore/src/test/java/org/eclipse/hono/auth/SpringBasedHonoPasswordEncoderTest.java (diff)
The file was modifiedcore/src/test/java/org/eclipse/hono/connection/impl/ConnectionFactoryImplTest.java (diff)
The file was modifiedcore/src/test/java/org/eclipse/hono/tracing/TracingHelperTest.java (diff)
Commit 97c1bf128438487f6d05addca8f96956980a8211 by Kai Hudalla
Migrate tests to JUnit 5
Some of the slowest executing tests have been migrate to JUnit 5 in
order to allow for them to be executed in parallel.
Signed-off-by: Kai Hudalla <kai.hudalla@bosch-si.com>
The file was modifiedadapters/amqp-vertx/src/test/java/org/eclipse/hono/adapter/amqp/impl/VertxBasedAmqpProtocolAdapterTest.java (diff)
The file was modifiedadapters/amqp-vertx/src/test/java/org/eclipse/hono/adapter/amqp/impl/VertxBasedAmqpProtocolAdapterLegacyEndpointTest.java (diff)
The file was modifiedadapters/amqp-vertx/src/test/resources/logback-test.xml (diff)
Commit 498802bb2f18e5eedd548308cd50b7435df8fa02 by Kai Hudalla
Replace usage of deprecated API
Signed-off-by: Kai Hudalla <kai.hudalla@bosch-si.com>
The file was modifiedtests/src/test/java/org/eclipse/hono/tests/registry/TenantApiTests.java (diff)
Commit 8d6c11c6c71ec4646639dc6d83e8d383a1a90c0f by Carsten Lohmann
Add 'logging.profile' property for integration tests.
Signed-off-by: Carsten Lohmann <carsten.lohmann@bosch-si.com>
The file was modifiedtests/pom.xml (diff)
The file was modifiedtests/readme.md (diff)
Commit 1d4897b428f309ab0c0964493d99a027b1a06a63 by Carsten Lohmann
[#1336] Extract span context from incoming MQTT message.
Signed-off-by: Carsten Lohmann <carsten.lohmann@bosch-si.com>
The file was modifiedadapters/mqtt-vertx-base/src/main/java/org/eclipse/hono/adapter/mqtt/PropertyBag.java (diff)
The file was modifiedadapters/mqtt-vertx-base/src/main/java/org/eclipse/hono/adapter/mqtt/AbstractVertxBasedMqttProtocolAdapter.java (diff)
The file was modifiedadapters/mqtt-vertx-base/src/test/java/org/eclipse/hono/adapter/mqtt/PropertyBagTest.java (diff)
The file was modifiedcore/src/main/java/org/eclipse/hono/tracing/TracingHelper.java (diff)
Commit 9193dfc04015cbc1d51c4cb926249b4c0407eee7 by Carsten Lohmann
[#1691] Add isConnected(timeout); use it in client factories.
Signed-off-by: Carsten Lohmann <carsten.lohmann@bosch-si.com>
The file was modifiedclient/src/test/java/org/eclipse/hono/client/impl/DownstreamSenderFactoryImplTest.java (diff)
The file was modifiedclient/src/main/java/org/eclipse/hono/client/impl/HonoConnectionImpl.java (diff)
The file was modifiedclient/src/main/java/org/eclipse/hono/client/ConnectionLifecycle.java (diff)
The file was modifiedclient/src/main/java/org/eclipse/hono/client/impl/AbstractHonoClientFactory.java (diff)
The file was modifiedclient/src/main/java/org/eclipse/hono/client/impl/TenantClientFactoryImpl.java (diff)
The file was modifiedclient/src/test/java/org/eclipse/hono/client/impl/AbstractTenantTimeoutRelatedClientFactoryTest.java (diff)
The file was modifiedclient/src/test/java/org/eclipse/hono/client/impl/HonoConnectionImplTest.java (diff)
The file was modifiedclient/src/main/java/org/eclipse/hono/client/impl/CredentialsClientFactoryImpl.java (diff)
The file was modifiedclient/src/main/java/org/eclipse/hono/client/impl/GatewayMapperImpl.java (diff)
The file was modifiedclient/src/main/java/org/eclipse/hono/client/impl/ConnectionLifecycleWrapper.java (diff)
The file was modifiedclient/src/main/java/org/eclipse/hono/client/impl/DownstreamSenderFactoryImpl.java (diff)
The file was modifiedclient/src/main/java/org/eclipse/hono/client/impl/RegistrationClientFactoryImpl.java (diff)
The file was modifiedclient/src/main/java/org/eclipse/hono/client/impl/DeviceConnectionClientFactoryImpl.java (diff)
The file was addedclient/src/main/java/org/eclipse/hono/client/impl/DeferredConnectionCheckHandler.java
Commit fa3d878702c996ce413881402ae0192df8885a56 by Carsten Lohmann
[#1701] Finish spans in management API event bus adapters.
Signed-off-by: Carsten Lohmann <carsten.lohmann@bosch-si.com>
The file was modifiedservice-base/src/main/java/org/eclipse/hono/service/management/tenant/EventBusTenantManagementAdapter.java (diff)
The file was modifiedservice-base/src/main/java/org/eclipse/hono/service/management/credentials/EventBusCredentialsManagementAdapter.java (diff)
The file was modifiedservice-base/src/main/java/org/eclipse/hono/service/management/device/EventBusDeviceManagementAdapter.java (diff)
Commit b8d57c048d96b268b92269f11c26e2d861a9b14f by Kai Hudalla
Fix JavaDoc
Added missing @throws tag.
Signed-off-by: Kai Hudalla <kai.hudalla@bosch.io>
The file was modifiedtests/src/test/java/org/eclipse/hono/tests/mqtt/MqttCommandEndpointConfiguration.java (diff)
The file was modifiedcore/src/main/java/org/eclipse/hono/util/CacheDirective.java (diff)
The file was modifiedtests/src/test/java/org/eclipse/hono/tests/jms/JmsBasedHonoConnection.java (diff)
Commit 678af0d9a3747523459d5a246c31eef9c99d5897 by Kai Hudalla
Update to Checkstyle 8.28
Some configuration properties of the JavadocMethod check have been
removed in 8.28. Valiation of @throws tags has been enabled.
Signed-off-by: Kai Hudalla <kai.hudalla@bosch.io>
The file was modifiedpom.xml (diff)
The file was modifiedlegal/src/main/resources/checkstyle/default.xml (diff)
The file was modifiedtests/src/test/java/org/eclipse/hono/tests/jms/JmsBasedRegistrationClient.java (diff)
The file was modifiedtests/src/test/java/org/eclipse/hono/tests/jms/JmsBasedTenantClient.java (diff)
The file was modifiedtests/src/test/java/org/eclipse/hono/tests/IntegrationTestSupport.java (diff)
The file was modifiedtests/src/test/java/org/eclipse/hono/tests/jms/JmsBasedCredentialsClient.java (diff)
Commit b9a9b14df633a57fc14c0b2f3b043c8fc4bcf1ea by Kai Hudalla
Do not use deprecated API anymore
Signed-off-by: Kai Hudalla <kai.hudalla@bosch.io>
The file was modifiedcore/src/main/java/org/eclipse/hono/util/TenantObject.java (diff)
The file was modifiedcore/src/test/java/org/eclipse/hono/util/TenantObjectTest.java (diff)
Commit eabf45639a7424964b84434a927d9b5bdc53f584 by Kai Hudalla
[#1655] Use latest version of Spring Boot Maven plugin
We now use the plugin matching the Spring Boot version defined in the
BOM.
Signed-off-by: Kai Hudalla <kai.hudalla@bosch.io>
The file was modifiedpom.xml (diff)
Commit ec3e6d6b86d5ef3a1fb18e9f6e6bd9987bcd4434 by Kai Hudalla
Re-try TTD requests
When sending a TTD request via HTTP, the response might be 202 instead
of 200 if the command consumer for the previous request has not been
closed yet. In such cases the request is now retried once in order to
give it another chance to succeed.
Signed-off-by: Kai Hudalla <kai.hudalla@bosch.io>
The file was modifiedtests/src/test/java/org/eclipse/hono/tests/http/HttpTestBase.java (diff)
Commit 3c9aa5f28740edbe35b46d58630e11eadbfd2305 by Kai Hudalla
Update to latest Docker Maven plugin
Signed-off-by: Kai Hudalla <kai.hudalla@bosch.io>
The file was modifiedpom.xml (diff)
Commit f17a55198953d3a1380b695b265f093a84166f70 by Kai Hudalla
Document latest fixes in release notes.
Signed-off-by: Kai Hudalla <kai.hudalla@bosch.io>
The file was modifiedsite/homepage/content/release-notes.md (diff)