Skip to content
This repository has been archived by the owner on Jan 26, 2022. It is now read-only.

java-rest-client-2.0.0

Latest
Compare
Choose a tag to compare
@Andyck Andyck released this 18 Jun 11:07
· 2 commits to develop since this release
d7c9863

Release 2.0.0

  • Measurement real time notification functionality was moved from InventoryApi to MeasurementApi

  • Prevent injection in update method (Pull Request #90).

  • More robust deserialization catching IllegalArgumentException being thrown by Spring Boot Class Loader for properties like "A+:1" in ThreePhaseElectricityMeasurement
    (Pull Request #91).

  • Fix erroneously wrapped numeric values in deserialized ExtensibleObjects (Pull Request #92), e.g.:
    serialized Object: temperature=ExtensibleObject{anyObject={unit=°C, value=100.0}} will be deserialized into:

    OLD:
    "temperature":{
        "value":{
            "value":"100.0"
        },
        "unit":"°C"
    }
    
    FIXED:
    "temperature":{
        "value":100.0,
        "unit":"°C"
    }
    
  • Includes Pull Request #94:

    • Usage of newest dependencies
    • Cleanup and improvements according to code inspection
  • EventApi provides the update of events as well now. (Pull Request #95)

  • Fixed cast in getSource() method of Alarm and Event

  • Added the getter as counterpart of set(Object) in ExtendedObject

  • Includes (Pull Request #96):

    • Fixed some unstable integration tests due to maybe changed behavior of the c8y API
    • Provided more details from the c8y error message in CotSdkException