cloudio-project / cloudio-endpoint-python

cloud.iO Python endpoint library/client
MIT License
2 stars 3 forks source link

Invalid @nodeAdded message format #11

Closed cm0x4D closed 6 years ago

cm0x4D commented 6 years ago

In @nodeAddded messages the node contains a field interfaces that is not conform to the JSON format and causes the server to drop the message without processing. Only implements and objects fields are allowed as children of a node.

cm0x4D commented 6 years ago

Exception when receiving the @nodeAddded message:

2018-01-25 11:00:22.156 ERROR 1 --- [TaskExecutor-15] c.h.c.c.m.l.AbstractLifecycleService     : Exception during @nodeAdded message handling:

com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "interfaces" (class ch.hevs.cloudio.cloud.model.Node), not marked as ignorable (2 known properties: "implements", "objects"])
boozo-unlimited commented 6 years ago

Fixed in 2ac3dab