Skip to content
Aborted

Changes

Summary

  1. GH-1421: Fix leshanServerBuilder.setUpdateRegistrationOnNotification (details)
  2. Make sure that ReverseProxy is started at the end of start method. (details)
  3. NOT_FOUND for send means: Reported Object was not registered to Server (details)
Commit b57049afd7928557589fbc0019ca2f054de832ae by Simon Bernard
GH-1421: Fix leshanServerBuilder.setUpdateRegistrationOnNotification
The file was modified leshan-server-core/src/main/java/org/eclipse/leshan/server/observation/LwM2mNotificationReceiver.java (diff)
The file was modified leshan-server-core/src/main/java/org/eclipse/leshan/server/observation/ObservationServiceImpl.java (diff)
The file was modified leshan-integration-tests/src/test/java/org/eclipse/leshan/integration/tests/server/redis/RedisRegistrationStoreTest.java (diff)
The file was modified leshan-server-cf/src/test/java/org/eclipse/leshan/server/californium/observation/LwM2mObservationStoreTest.java (diff)
The file was modified leshan-server-cf/src/main/java/org/eclipse/leshan/server/californium/endpoint/CaliforniumServerEndpointsProvider.java (diff)
The file was modified leshan-integration-tests/src/test/java/org/eclipse/leshan/integration/tests/observe/DynamicIPObserveTest.java (diff)
Commit 42bda55e1d0c7d6afa9d4ad03253329f329b5d59 by Simon Bernard
Make sure that ReverseProxy is started at the end of start method.

This should fix some instability in test using that class.
The file was modified leshan-integration-tests/src/test/java/org/eclipse/leshan/integration/tests/util/ReverseProxy.java (diff)
Commit 7459ed3558f712cb167f3fa5995bcb929fb57746 by Simon Bernard
NOT_FOUND for send means: Reported Object was not registered to Server

So we should rather use BAD_REQUEST which means "Undetermined error
occurred"
See : https://www.openmobilealliance.org/release/LightweightM2M/V1_2_1-20221209-A/HTML-Version/OMA-TS-LightweightM2M_Transport-V1_2_1-20221209-A.html#Table-67-4-Response-Codes-Information-Reporting-Interface
The file was modified leshan-server-cf/src/main/java/org/eclipse/leshan/server/californium/send/SendResource.java (diff)
The file was modified leshan-integration-tests/src/test/java/org/eclipse/leshan/integration/tests/send/DynamicIPSendTest.java (diff)