Commit graph

58 commits

Author SHA1 Message Date
iLLiCiTiT
2c3ebb0c13 added exception message when there are no events to register 2019-11-15 16:08:06 +01:00
iLLiCiTiT
daee320863 check_ftrack_url has moved from event_server_cli to lib to be importable 2019-11-15 16:07:36 +01:00
Milan Kolar
ca9222804b missing variable when mongo is unavailable 2019-11-11 13:30:31 +01:00
Milan Kolar
129c264f49 fixing signal errors 2019-11-11 12:19:37 +01:00
Jakub Jezek
dd967d87aa fix(ftrack): signals for linux 2019-11-06 14:06:06 +01:00
Milan Kolar
384843a8b4 change old way to `legacy 2019-10-31 18:52:35 +01:00
Milan Kolar
c3cbab14b9 missing self 2019-10-31 18:42:15 +01:00
iLLiCiTiT
6f93743c8d added old_way_server which can handle same way as was before and restart event server when ftrack connection fails 2019-10-29 18:01:02 +01:00
iLLiCiTiT
92ccd406c5 created exception for mongo permission error 2019-10-29 18:00:20 +01:00
iLLiCiTiT
5b70ddf32f added oldway argument to event server cli 2019-10-29 17:59:36 +01:00
iLLiCiTiT
75ce8f1196 added subprocess file for oldway event server 2019-10-29 17:58:29 +01:00
iLLiCiTiT
10d6956037 event server will wait some time if subprocess crashed many times in row 2019-10-25 18:27:31 +02:00
iLLiCiTiT
38a6c84fe5 its used lib to get mongo port and host in event server cli 2019-10-25 18:26:38 +02:00
iLLiCiTiT
11f0c41e90 crash all server if mongo error happened 2019-10-25 18:25:44 +02:00
iLLiCiTiT
5d6f91d614 socket thread stores info if mongo error has happened during subprocess 2019-10-25 18:24:36 +02:00
iLLiCiTiT
e0f7752205 sub event processor print traceback 2019-10-25 18:24:12 +02:00
iLLiCiTiT
4313cc5667 mongo permissions error is sent with socket message 2019-10-25 18:23:52 +02:00
iLLiCiTiT
24175a2587 atexit register has args now 2019-10-25 18:22:28 +02:00
iLLiCiTiT
e7c9a61b2e added lib to ftrack_server with functios able to handle mongo url parts 2019-10-25 18:21:44 +02:00
iLLiCiTiT
3a5525edf6 processed events older than 3 days are removed from mongo db 2019-10-23 18:45:41 +02:00
iLLiCiTiT
7c59df5ec5 max timeout of heartbeat increased to 35 2019-10-23 18:03:29 +02:00
iLLiCiTiT
11f4451af1 added basic docstrings 2019-10-23 18:02:53 +02:00
iLLiCiTiT
bfa61e2e98 kill threads with subprocesses on exit 2019-10-23 17:34:11 +02:00
iLLiCiTiT
565c43971c added sigkill signal 2019-10-23 17:33:32 +02:00
iLLiCiTiT
ee8f09cf46 added error logs 2019-10-23 16:52:07 +02:00
iLLiCiTiT
aad641f233 import fixes 2019-10-23 16:48:13 +02:00
iLLiCiTiT
ac290711b9 sort events by date there were stored 2019-10-23 16:47:45 +02:00
iLLiCiTiT
4290af23e7 moved event server files in hierarchy 2019-10-23 14:57:53 +02:00
iLLiCiTiT
f1c873fedc minor fixes, occupied socket ports are skipped and logger is renamed 2019-10-23 14:38:32 +02:00
iLLiCiTiT
4921783d1a terminate signal is registered too to be able terminate subprocesses 2019-10-23 14:36:54 +02:00
iLLiCiTiT
d1bfa2412e pymongo connection error cause that subprocess will end 2019-10-23 14:33:01 +02:00
iLLiCiTiT
b7c2954061 changed default ports 2019-10-23 14:26:31 +02:00
iLLiCiTiT
28f2d14318 pype logging is not used in event_server_cli for cases when mongo is not accessible and removed backup solution 2019-10-22 14:01:58 +02:00
iLLiCiTiT
5c70f3eb13 modified event_server_cli to be able run subprocesses and handle their liveability 2019-10-22 12:12:54 +02:00
iLLiCiTiT
631dcb56ea added modified ftrack sessions, one for storing, second for processing events 2019-10-22 12:12:15 +02:00
iLLiCiTiT
1ee8ab0dab added socket thread which is able to start subprocess with connection to specific port with sockets 2019-10-22 12:11:46 +02:00
iLLiCiTiT
8b8427ca87 added scripts to be able to be run as subprocess, one for storing, second for processing events 2019-10-22 12:11:12 +02:00
iLLiCiTiT
f0e5f39342 run server in ftrack server gives ability to use other session and not to load plugins 2019-10-22 12:02:22 +02:00
iLLiCiTiT
43f63fd260 print traceback when error during plugin registration happens 2019-10-22 12:01:43 +02:00
iLLiCiTiT
c6d5e1fe2f ftrack server print out traceback when file load fails 2019-09-04 11:09:43 +02:00
iLLiCiTiT
b9c7450b76 ftrack server changes are required due to adding paths to ftrack_actions/events_path 2019-08-13 16:00:53 +02:00
iLLiCiTiT
4553ecc6b7 ftrack server send presets to ftrack plugins 2019-08-09 19:37:18 +02:00
iLLiCiTiT
24974b6dab ftrack_server do not look for ignore_me attribute 2019-08-02 16:25:53 +02:00
Jakub Trllo
ce7ab3eae1 added brief documentation for usage 2019-06-04 13:57:59 +02:00
Jakub Trllo
05b2548a9b logged information error on ftrack connection failure 2019-05-22 21:59:50 +02:00
Jakub Trllo
7ff6e24daa fixed validation debug message 2019-05-22 21:59:22 +02:00
Jakub Trllo
a30a5088f3 check existence of credentials before testing session 2019-05-22 21:58:59 +02:00
Jakub Trllo
3133ff0e0b event server cli can handle args 2019-05-22 18:09:12 +02:00
Jakub Trllo
7f0e860347 event_server removed (using Qt and not used in production) 2019-05-22 13:49:55 +02:00
Milan Kolar
6c0bba1168 Merge branch 'develop' into 2.0/sync_from_1.0 2019-04-09 22:38:28 +02:00