iotagent-json
iotagent-json copied to clipboard
Payload measures are lost after reconnection with Orion.
Issue Description: When Orion is down, the data which is sent via IOTA is lost. Once orion is restarted, then we need to send new payload measures and get response accordingly. The IOTA does not have the property to store and update the older data in the Orion.
Reproduction Steps:
- Service Provisioning
- Device Provisioning
- Stop the Orion-CB container
- Send the payload measures
- Restart the same Orion-CB container
- Retrive value with QueryContext
Expected Result : Older data should be stored and updated in Orion, when orion is restarted.
Actual Result :
- Error found executing update action in Context Broker: RequestError: connect ECONNREFUSED 127.0.0.1:1026
- MEASURES-002: Couldn't send the updated values to the Context Broker due to an error