Grant Limberg
19ccc98f91
more variations on checking json
2025-10-09 15:28:48 -07:00
Grant Limberg
e3f65ff359
compiler fix
2025-10-09 15:02:16 -07:00
Grant Limberg
47367673f9
more robustifying incoming messages
2025-10-09 14:47:25 -07:00
Grant Limberg
46a8cd7b67
robustify the handling of tags/capabilities/rules which are strings of encoded json
2025-10-09 14:39:46 -07:00
Grant Limberg
946d96f482
dont NACK failed messages. That gets us into a loop of failing the same messages over and over again
2025-10-09 14:34:24 -07:00
Grant Limberg
6b74bf289a
fix assign mode json
2025-10-06 15:10:42 -07:00
Grant Limberg
fe221b9359
debug output for IP addressing & fixing order of operations in a couple of places. Only send notification of a change to pubsub after it's been written to the DB
2025-10-06 14:24:57 -07:00
Grant Limberg
6df7366753
no need for these timeouts
2025-10-02 16:00:08 -07:00
Grant Limberg
1ef7ea0fe6
Fixing more JSON issues
2025-10-02 15:04:57 -07:00
Grant Limberg
18714c7785
add explicit nack if there's an error processing a pubsub message
2025-10-02 11:56:44 -07:00
Grant Limberg
a75d06ad64
cleaning up some gross JSON code
2025-10-02 11:35:03 -07:00
Grant Limberg
4861b7df1e
one last json parsing fix. but really this time
2025-10-01 17:18:31 -07:00
Grant Limberg
0d21250b62
one last json parsing fix
2025-10-01 16:33:17 -07:00
Grant Limberg
3bbf194594
pubsub writer should work now
2025-10-01 16:25:27 -07:00
Grant Limberg
fb75369597
throwing stuff at the wall cuz I can't actually debug this right now
2025-10-01 16:08:06 -07:00
Grant Limberg
a8b5c89efa
think this is where things are crashing, but I'm not sure why yet. Comment it out to make sure
2025-10-01 15:05:34 -07:00
Grant Limberg
80f82132dd
fix tags/capabilities?
2025-10-01 14:00:17 -07:00
Grant Limberg
7faf705e10
make the default an empty array here
2025-10-01 13:33:02 -07:00
Grant Limberg
1f557b516f
more debug output
2025-10-01 13:30:25 -07:00
Grant Limberg
aecd7fdace
more logging
2025-10-01 13:13:58 -07:00
Grant Limberg
dad1a1eda6
more logging
2025-10-01 13:12:45 -07:00
Grant Limberg
f028213c7f
debug output
2025-10-01 12:40:50 -07:00
Grant Limberg
b4f018b918
debug output from parsing pubsub messages
2025-10-01 09:07:08 -07:00
Grant Limberg
20a67ab1de
fix attempted null -> string conversion
2025-10-01 08:06:40 -07:00
Grant Limberg
02908e5202
stray ` got in there
2025-09-30 10:52:00 -07:00
Grant Limberg
97d20a1155
more logging for errors on pubsub listener
2025-09-30 10:32:21 -07:00
Grant Limberg
315bf240fc
json field fix
2025-09-25 16:34:08 -07:00
Grant Limberg
c6b7c263d2
query fix for new networks
2025-09-25 16:09:57 -07:00
Grant Limberg
e51e516f85
fix subscription creation
2025-09-25 15:38:28 -07:00
Grant Limberg
069d7c1862
set objtype on messages received via PubSub
2025-09-25 15:14:30 -07:00
Grant Limberg
6196e87303
only create the subscription if pubsub emulator is being used.
2025-09-22 16:32:28 -07:00
Grant Limberg
d96d3b27d2
try making the controller attach to an existing pubsub subscription if it already exists
2025-09-22 10:52:06 -07:00
Grant Limberg
6113bad61e
make pubsub topics configurable
...
Also for pubsub trips back to CV1/CV2, rather than having 2 queues for each service (networks & members), theres now only a single queue for each change type, and `frontend = (cv1|cv2)` attribute is set on the message for filtering.
2025-09-18 09:33:04 -07:00
Grant Limberg
493cc4fe4f
fix version string
2025-09-10 08:13:56 -07:00
Grant Limberg
7aa451bec1
clean up deprecation warnings in pqxx
2025-09-10 07:43:21 -07:00
Grant Limberg
012443acfa
wire up pubsub notifications from controller to frontend
2025-09-08 16:01:50 -07:00
Grant Limberg
ee87eb3101
removing some log output
2025-09-08 11:34:03 -07:00
Grant Limberg
facca364fb
only update os, architecture and client version if they've changed (or don't exist)
2025-09-08 11:00:17 -07:00
Grant Limberg
1d65c1e43e
back to bulk apply for status updates in BigTable
2025-09-08 10:50:10 -07:00
Grant Limberg
1ba4ccd98d
pass version info to status writer
2025-09-08 10:46:01 -07:00
Grant Limberg
934aa93ef8
forgot a ;
2025-09-08 10:32:57 -07:00
Grant Limberg
88f08fa58c
append 8 random hex chars to the subscription id
2025-09-08 10:29:30 -07:00
Grant Limberg
f51bfdb666
delete pubsub subscription on shutdown
2025-09-08 10:25:32 -07:00
Grant Limberg
190d836b42
alloc meatadata with new so pubsub can delete it
2025-09-08 09:49:26 -07:00
Grant Limberg
006ced2900
more fixes
2025-09-08 09:05:00 -07:00
Grant Limberg
71d68e9a60
fix stack corruption in DB::get
2025-09-08 08:49:23 -07:00
Grant Limberg
36219c59ae
compiler on mac doesn't like this. not really needed though
2025-09-06 15:02:48 -07:00
Grant Limberg
3d72a43a19
misc bugfixes
2025-09-06 12:37:28 -07:00
Grant Limberg
024824c2fe
wire up pubsub outgoing status changes from controller -> CV2
2025-09-05 14:52:16 -07:00
Grant Limberg
74f0525470
Add frontend column to networks & network_memberships tables so the controller knows which system owns the networks & members
2025-09-05 08:43:06 -07:00