Commit graph

600 commits

Author SHA1 Message Date
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
45370876e3 replaced args with options(kwargs) in custom db connector 2019-10-23 15:29:05 +02:00
iLLiCiTiT
1ca674f33f added atexit to custom db connector to run uninstall on exit 2019-10-23 15:05:07 +02:00
iLLiCiTiT
19f810ff57 added check active table to custom db connector 2019-10-23 15:01:51 +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
bcf8bf17a5 session instance validation also checks for process session and raises exception if does not match ftrack_api session 2019-10-22 14:02:49 +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
11e2382dfd session check is happening during initialization not before register of each plugin 2019-10-22 12:00:04 +02:00
iLLiCiTiT
2676a8b048 fix of not correctly storing hierarchical attributes 2019-10-18 15:32:32 +02:00
Jakub Trllo
0c181f78a1 Merged in bugfix/PYPE-559_hier_attrs_event_fix (pull request #324)
Bugfix/PYPE-559 hier attrs event fix
2019-10-18 09:31:07 +00:00
iLLiCiTiT
d375a5142b fixed lines of events where KeyError was raised due to missing values (or keys) 2019-10-18 10:21:15 +02:00
Jakub Trllo
37e842a8b3 Merged in feature/PYPE-544_effective_ftrack_queries (pull request #308)
Feature/PYPE-544 effective ftrack queries
2019-10-17 21:51:45 +00:00
iLLiCiTiT
be50b0ec05 fix unused and debug imports 2019-10-17 17:16:12 +02:00
iLLiCiTiT
642020ae12 added debug logging to hierarchical attrs event 2019-10-17 16:45:49 +02:00
iLLiCiTiT
aea0eefab0 process entities based on entity action (add, remove or update) 2019-10-17 16:45:04 +02:00
Jakub Trllo
705411be08 Merged in hotfix/event_thumb_update_fix (pull request #317)
Hotfix/event thumb update fix
2019-10-16 13:20:21 +00:00
Jakub Jezek
2b619c86c7 Merge branch 'develop' into feature/PYPE-539_improve_sync_logging 2019-10-16 14:39:52 +02:00
iLLiCiTiT
7241c44d15 fixed KeyError exception when entity from event does not have keys 2019-10-10 12:59:37 +02:00
iLLiCiTiT
aefb323668 print traceback when exception happens in sync event 2019-10-03 10:27:55 +02:00
iLLiCiTiT
194ac53004 sync to avalon actions query most of data at once instead of querying on each get attr call 2019-10-02 19:06:03 +02:00
iLLiCiTiT
ade23cd77a type objects are queried at once not for each type separately 2019-10-02 18:53:33 +02:00
iLLiCiTiT
2591f0136a custom attributes from avalon group are queried much faster now 2019-10-02 18:52:29 +02:00
iLLiCiTiT
c997ca6eff added debug logs into sync to avalon so we can track what happened 2019-10-01 19:04:19 +02:00
iLLiCiTiT
19a5747aa1 fix logging in job killer 2019-09-26 10:44:55 +02:00
iLLiCiTiT
dd66e18873 typo fix 2019-09-26 10:43:54 +02:00
iLLiCiTiT
b1ef62e66f added alternatives for fstart and fend in custom attribute doctor 2019-09-26 10:43:08 +02:00
iLLiCiTiT
11a2bc2378 ignore doctors by default 2019-09-26 10:42:31 +02:00
iLLiCiTiT
b35a06ed7b remove deprecated actions 2019-09-26 10:42:15 +02:00
Jana Mizikova
497ae5265c fix(ftrack): custome attribute doctor was not respecting attributes after change of names 2019-09-13 09:46:25 +02:00
iLLiCiTiT
cbaab0ce96 fixed sync to avalon action class name 2019-09-05 12:21:33 +02:00