Commit Graph
56 Commits
Author SHA1 Message Date
Axel Uhl 59b5962ee1 added comments regarding Igtimi Riot CELL logging, as provided by Riedel 2025-07-07 13:04:46 +02:00
Axel Uhl 86d11a7365 bug6146: use a dedicated foreground thread pool for handling listener notifications in RiotServer 2025-06-28 15:15:13 +02:00
Axel Uhl 6b8475fc80 bug6140 aftermath: display logs with time stamp 2025-06-27 17:11:00 +02:00
Axel Uhl f83b6be9e5 bug6140 aftermath: add buttons for enable/disable OTA logging for Igtimi devices 2025-06-26 14:38:43 +02:00
Axel Uhl f7a32ff439 implemented safe way to avoid replication-based deadlock asking for SecurityService in RiotServer prematurely 2025-06-24 17:21:32 +02:00
Axel Uhl 31e0e76e51 Merge branch 'main' into bug6140 2025-06-24 16:30:55 +02:00
Axel Uhl 91aae57a66 fix deadlock during RiotServerImpl initialization;
when the service is being initialized on a replica, queued operations
will be applied after receiving the initial load; at this time, the
SecurityServiceImpl may not yet be available, so asking for it can lead
to a deadlock. WebSocket connections, however, can not exist yet when
the RiotServerImpl hasn't announced it's ready yet. So accessing the
SecurityService only when there are active WebSocket connections should
solve this problem.
2025-06-24 16:28:30 +02:00
Axel Uhl 847043a31e FIXME regarding Riot deadlock while applying queued replication operations 2025-06-24 16:10:58 +02:00
Axel Uhl 8e63af9689 bug6140: added log output to Igtimi freestyle command dialog 2025-06-23 18:14:06 +02:00
Axel Uhl f059b48864 bug6140: added a prototypical freestyle command sending facility 2025-06-23 17:30:09 +02:00
Axel Uhl 5c00b043db bug6140: sending log cell ... commands to enable/disable OTA logging 2025-06-23 16:26:02 +02:00
Axel Uhl 07c718a3b1 bug6140: log every Igtimi device Log message to our logs 2025-06-22 17:23:53 +02:00
Axel Uhl 3990d1eb27 bug6140: use logs from Log data fix messages, not DeviceManagementResponse 2025-06-22 11:55:50 +02:00
Axel Uhl 55e85c2427 bug6140: started to implement command response handling 2025-06-18 18:25:17 +02:00
Axel Uhl 836e2e9af1 bug6140: added icon/action to send the IMU calibration commands to a WindBot 2025-06-18 18:05:48 +02:00
Axel Uhl e5ff9c84eb bug6125: logging all Throwables in RiotServerImpl.run() 2025-05-18 09:34:17 +02:00
Axel Uhl 2d4df68b9a bug6121: log in case not all bytes to be sent to device could be written to SocketChannel 2025-05-12 17:20:05 +02:00
Axel Uhl 6e42af2a4e bug6121: let missing device heartbeat terminate the connection 2025-05-12 16:24:54 +02:00
Axel Uhl 51b64a69e2 fixed NPE when unauthenticated user requests latest fix 2025-04-28 14:26:48 +02:00
Axel Uhl bf2ff39aa3 don't send Igtimi AuthResponse without having seen the device serial number;
However, two firmware problems remain, and this doesn't solve them.
When sending a DGT in the successful AuthResponse, the device stops
sending the serial number in data messages. This would be fine because
now we delay the AuthResponse until having received the serial number at
least once. However, when the connection is interrupted thereafter, a
new AuthRequest on the newly established connection is attempted, but no
serial numbers are transmitted anymore. The firmware fails to realize
that with a new connection the server cannot know the serial number of
the connected device anymore. Therefore, we currently don't send the DGT
in the AuthResponse at all.

The other firmward problem is that there seems to be a problem, leading
to an error message:

  E -      : Cannot encode api message type. Only device group call supported

Riedel has so far failed to diagnose the root cause of this.
2025-01-29 18:06:38 +01:00
Axel Uhl ebccd0416b bug6085: replicate last heartbeat/remote address as Device property 2025-01-22 17:01:42 +01:00
Axel Uhl 239756cffb implement UPDATE security check for sending commands to Igtimi devices 2025-01-17 15:17:47 +01:00
Axel Uhl c085248ccc added documentation for Igtimi Riot authentication protocol 2025-01-14 17:27:59 +01:00
Axel Uhl 36442e93f3 bug6059 aftermath: added DAW filter for "last message/fix" query 2025-01-09 14:59:20 +01:00
Axel Uhl 0f407cfb1a bug6059: set ownership when implicitly creating an Igtimi device 2025-01-08 20:00:18 +01:00
Axel Uhl deca4abfd5 bug6059: added RESTART Igtimi command with action icon 2025-01-08 18:50:11 +01:00
Axel Uhl 11af72020b bug6059: fixed passing on Subject/credentials to IgtimiWindTracker thread 2025-01-08 17:20:34 +01:00
Axel Uhl 2ff915c034 bug6059: removed Igtimi "Resource" concept; all we need is their *data*;
made Selenium API tests work
2025-01-07 23:46:33 +01:00
Axel Uhl 65167ae2f9 bug6059: created protobuf test data and initialize a Riot server with it in Selenium Igtimi tests 2025-01-07 18:48:40 +01:00
Axel Uhl 57992554d6 bug6059: send command, not command name to WindBot 2025-01-07 14:46:35 +01:00
Axel Uhl d19ae78835 bug6059: take missing serial_numbers[] as "all" 2024-12-30 19:24:31 +01:00
Axel Uhl 900ba4dc07 bug6059: fixed IgtimiPersistenceTest by adding optional ClientSession to Mongo/DomainObjectFactory 2024-12-30 17:47:11 +01:00
Axel Uhl f064199231 bug6059: added method for command sending to a specific device to RiotServer[Impl] 2024-12-29 18:09:16 +01:00
Axel Uhl ae4ed99578 bug6059: carry position and battery status through for Devices; added action buttons 2024-12-29 17:54:03 +01:00
Axel Uhl bac9e84569 bug6059: allow for renaming Igtimi devices 2024-12-29 15:45:16 +01:00
Axel Uhl ee8e5cd6ee bug6059: improved connection handling by pooling based on bearer token 2024-12-29 14:58:51 +01:00
Axel Uhl a215d080b7 bug6059: implemented remote lookup of resource data, including latest datum 2024-12-28 20:27:51 +01:00
Axel Uhl b537322107 bug6059: first working Riot end-to-end connection including live web socket connection 2024-12-28 18:27:17 +01:00
Axel Uhl a7403d027f bug6059: untested approach for obtaining resource data from primary 2024-12-28 00:57:22 +01:00
Axel Uhl f2029fd57f bug6059: creation of DAWs through GWT UI seems to work 2024-12-27 00:55:08 +01:00
Axel Uhl 1bf44ebe67 bug6059: started work on GWT UI for AdminConsole support 2024-12-24 17:09:33 +01:00
Axel Uhl d5e6501aa1 bug6059: first implementation of getLatestMessage 2024-12-22 22:59:12 +01:00
Axel Uhl de49b19549 bug6059: use IGTIMI_RIOT_PORT variable in start script 2024-12-22 02:27:05 +01:00
Axel Uhl 5a851737e2 bug6059: close connections properly; replication of messages 2024-12-22 01:57:44 +01:00
Axel Uhl 1377a13994 bug6059: forwarding of messages to web socket clients tested successfully 2024-12-21 19:09:19 +01:00
Axel Uhl 8840cf9f43 bug6059: comments for how to forward to live web sockets 2024-12-21 17:13:11 +01:00
Axel Uhl 62531a75e4 bug6059: implemented a web socket server with Jetty/Jersey 2024-12-21 16:58:28 +01:00
Axel Uhl 5415f52ae6 bug6059: implemented getResourceData(...); rudimentary search for DAWs 2024-12-20 17:41:17 +01:00
Axel Uhl b155970ee3 bug6059: moved parsing of fixes out of protobuf messages from RiotConnectionImpl to FixFactory 2024-12-20 16:57:18 +01:00
Axel Uhl 6f5e87ef6f bug6059: persistence for Protobuf messages 2024-12-20 14:22:35 +01:00