Skip to content

leshan-1.0.0-M1

Compare
Choose a tag to compare
@sbernard31 sbernard31 released this 13 Feb 16:41
· 1717 commits to master since this release

Build artifacts are available on maven central.

Main changes are :
#192 Merge of Client and Observation registries
#225 support new Content-Format code for TLV/Json
#144 Make naming more consistent

Change logs:
ff2b1c8: Existing observations clean-up
43f4182: Clean addRegistration javadoc
008fc12: complete javadoc : add timeoutexception on lwm2mserver.send()
9d36a5f: Spelling fixes
df8c842: Use SecurityMode instead of magic numbers
9749354: Javadoc error fixes
f261f4f: Remove redundant type arguments
78c438a: Remove unnecessary semicolons
7b49f70: Remove unnecessary casts and warn about them
59b38a9: Make naming consistent (remove Client as we are in client project)
68fdd50: Delete "client" package (move classes in "registration" package)
4020369: Remove unused classes
0fbd090: Rename CaliforniumObservationTest in ObservationServiceTest
8749645: Rename ClientSortObjectTest in RegistrationSortObjectLinksTest
b1da287: Move ObserveSpecParserTest from leshan-client-core to leshan-core
f262300: Remove unnecessary "final" keyword
85e2def: code formatting : format "all line" instead of "edited line"
6203018: Do no create default SecurityStore
f7943cf: Fix config verify messages in RPK and X509 modes
98c9374: Spelling fixes
a4e4fe6: Use InvalidRequestException in ObservationService
84957fb: Update exception handling javadoc of LwM2mServer.
2a0a03e: Throw InvalidResponseException instead of IllegalArgumentException
521bf72: Remove ResourceAccessEx... and enhance server-demo exception handling
8cdb7b5: Create a new InvalidResponseException
fa16c12: Use try-with-resources more
05f9bc0: Zero pad hex encoded bytes in UI
3ee3c21: Add missing @OverRide annotations and warn about them
5aaef6a: Made executors configurable.
7da9fba: remove unused attributes
2036cd9: Remove send with ticket API
7fffadf: Update LwM2Mserver Javadoc.
774b4c3: Add tests : check that CodecException is raised when sending bad payload
daba913: Clean encoder exception handling
2bac473: change CodecException in "unchecked" Exception
961585d: Clean decoder exception handling
04ae191: Remove getPath() to CodecException.
0ca405b: Rename InvalidValueException in CodecException
450abdc: add registration parameters for observations event
82e7c5f: Add observations cancelled on deregister event.
05d647d: RegistrationService.getAllRegistrations() returns an iterator
ca83975: RegistrationStore.getAllRegistrations() returns an iterator
70ce28b: Fix RegistrationStore.getRegistrationByAdress API and use it.
4e57846: Clean RegistrationServiceImpl intern API
5bbca50: #244: Throw UnsupportedOperationEx when encoding format is not supported
19de0ab: Add a test to check we handle error on notification
35d10e3: add toString() to Observation class
c7c25f5: #206 Add a way to handle exception on new notification
2d0a43b: Log exception which could occur during registration and update task
085dfb0: Use SecurityMode instead of hardcoded value
0e4c70d: Move SecurityMode from leshan-server-core to leshan-core
4d1af8d: Fix northbound API contentformat serialization for read/observe request
df1d16f: Remove TODO as we will not check content format on register request
5014323: Remove invalid TODO: 3/0/13 is now typed as Time, Time is unsigned int
9779ac0: Remove invalid TODO (we will not implement this)
995b4fd: Remove invalid TODO : parameters is validate in request constructor
c313f75: Remove code used to handle old bootstrap config.
eb91339: Clean registration tests : </0/0> should not be part of link format.
e11bf35: Rename LinkObject in Link to use the rfc6690 terminology
aa64da8: Rename getFormat in getContentFormat (API consistency)
76b6aa0: Remove bracket on single if+throw block
bdc31b0: Move null check in utility function
3f63359: Add test for invalid registration request.
6d632d4: Remove unnecessary check
8608768: Send BadRequest on InvalidRequestException
b1c4fcc: Add InvalidRequestException on Request constructor
b353b1c: Make registrationID parameter consistent between requests
841f3a5: Remove final keyword on method arguments for Requests.
1054f40: Removed LwM2mObservationStore interface and its implementations
3a213af: Create "leshan-core-cf" project.
55cf279: #225: Support new Content-Format code for TLV/Json
2826841: Remove current queue mode implementation.
65829d5: Add authorizer interface to allow custom LWM2M client authorization
a7a0b0b: Introduced RequestRejectException
ef85b74: Create an InMemorySecurityStore
67ec454: Move Startable, Stopable, Destoyable feature on the stores.
1e870ea: Rename SecurityRegistry in EditableSecurityStore.
b338532: Remove SecurityRegistry from the API, the real contract is SecurityStore
4fc59f1: Remove publicKey, privateKey, certificates from SecurityRegistry
063537a: Rename ObservationRegistry to ObservationService
daa5e4a: Remove addObservation from the ObservationRegistry API
64b2776: Bugfix extracting CN from x509.
a258b71: Rename Client in Registration (so clientUpdate, clientSerDes, ...)
cc2208d: Remove encoder/decoder attributes from LeshanServer
dc8b838: Remove RegistrationService from LeshanServer constructor
6cc8ccd: Rename ClientRegistryListener in RegistrationListener
a36f00e: Rename ClientRegistry in RegistrationService (implementation too)
32623d8: Remove RedisClientRegistry
4174500: Remove register/update/deregister from ClientRegistry interface.
a2fb1e2: #217: fix deadlock in registrationStore.
9ff2b9e: fixed humitidy minimum value to be float instead of string
7e30620: add some javadocs.
7881fc9: Add a test about registration and observe lifecycle
3dfd315: Returns obs on dereg in RedisRegistrationStore (+code rewritting)
7c9336c: Returns obs on dereg in InMemoryRegistrationStore (+code rewritting)
2a49cf3: Add endpoint to request context to be able to lock on endpoint.
0c12f95: Add Deregistration object to know observations removed on deregistration
0863a94: Move Cleaning registration responsibility to registrationStore
9abd641: Merge stores for registration and observation
c6ddbc7: use full path to jar in README.md/Compile and Run
61b9a9c: Use sys.err for error in all command line tool.
91b115d: Improving command line arguments
ae58294: Catch RuntimeException instead of Throwable
0e85181: javadoc typo fix
37496e7: fixed leshan-server-cluster runnable jar
00627e1: change logger pattern to be the same as slf4j-simple used in client demo
18f3063: use slf4j-simple in place of log4j2 for client
8a4c9c7: Fix issue #200: server cannot read null object link
f8e3b9d: Clean-up (typo, replace catching throwable by catching RuntimeException)
2598669: Rename LeshanRedisServer in LeshanClusterServer.
ba16318: Support Observations
83fd62d: add ObserveSpec support to JSON des/serialization
d5ea61f: Remove ObserveSpecParser (parse method is now in ObserverSpec class)
72282f7: Add DownlinkRequest JSON Des/serialization tests + bug fixes
e8c13b3: add ClientUpdate json deserialization and some unit tests
c864f3d: Rename server.demo.cluster package to server.cluster.
4dbe9fb: Add command line tool to run a Cluster instance.
783fd5a: Add token management to know which instance handle which LWM2M client.
53b457b: Add javadoc to RedisRegistrationEventPublished
c19a5af: Add Redis LWM2M Request/Response Handler.
203d715: Add JSON Serializer/Deserialize for Request, Response, LwM2mNode.
31bc52d: Add Add new send API (async with ticket) to LwM2mServer
9e784b7: Add observe option to manually sent notifications.
0c0eb31: Add IPSO TemperatureSensor to demo client.
9bb24bd: Fix initialization with random position.