Closed AO-StreetArt closed 7 years ago
Current Response: {"msg_type":4,"err_code":100,"transaction_id":"123465","scenes":[{"key":"BADKEY10","latitude":0.0,"longitude":0.0,"distance":0.0,"devices":[]}]}
0.04s$ sudo docker logs --tail 50 crazyivan
"scenes":[
{
"key":"BADKEY10",
"name":"Test Scene 10",
"latitude":124.0,
"longitude":122.0,
"distance":100.0,
"devices":[
{
"key":"Ud_132",
"transform":{
"translation":[1.0,1.0,1.0],
"rotation":[1.0,1.0,1.0]
}
}
]
}
]
}
_key
2017-06-18 17:27:55,844 [DEBUG] main::Input String Cleaned
2017-06-18 17:27:55,844 [DEBUG] main::
2017-06-18 17:27:55,844 [INFO] obj::Creating Scene from Rapidjson Document
2017-06-18 17:27:55,844 [DEBUG] obj::Message Type found
2017-06-18 17:27:55,844 [DEBUG] obj::Transaction ID found
2017-06-18 17:27:55,844 [DEBUG] obj::Error Code found
2017-06-18 17:27:55,844 [DEBUG] obj::Error Message found
2017-06-18 17:27:55,844 [DEBUG] obj::Scene List found
2017-06-18 17:27:55,844 [DEBUG] obj::Key found
2017-06-18 17:27:55,844 [DEBUG] obj::Name found
2017-06-18 17:27:55,844 [DEBUG] obj::Latitude found
2017-06-18 17:27:55,844 [DEBUG] obj::Longitude found
2017-06-18 17:27:55,844 [DEBUG] obj::Distance found
2017-06-18 17:27:55,844 [DEBUG] obj::Device List found
2017-06-18 17:27:55,844 [DEBUG] obj::UD Key found
2017-06-18 17:27:55,844 [DEBUG] obj::UD Transform found
2017-06-18 17:27:55,844 [DEBUG] obj::Processing Transform Member:
2017-06-18 17:27:55,844 [DEBUG] obj::translation
2017-06-18 17:27:55,844 [DEBUG] obj::Translation found
2017-06-18 17:27:55,844 [DEBUG] obj::Processing Transform Member:
2017-06-18 17:27:55,844 [DEBUG] obj::rotation
2017-06-18 17:27:55,844 [DEBUG] obj::Rotation found
2017-06-18 17:27:55,844 [DEBUG] obj::Scene List
2017-06-18 17:27:55,844 [DEBUG] obj::4
2017-06-18 17:27:55,844 [DEBUG] obj::Test
2017-06-18 17:27:55,844 [DEBUG] obj::100
2017-06-18 17:27:55,844 [DEBUG] obj::123465
2017-06-18 17:27:55,844 [DEBUG] obj::10
2017-06-18 17:27:55,844 [DEBUG] obj::Scene Data
This is actually expected.
Whey CrazyIvan recieves a registration message for a scene that doesn't exist, it creates the scene and then builds the registration link.
A Registration message sent in on a scene that doesn't exist should return an error response.