-
Notifications
You must be signed in to change notification settings - Fork 129
Unify tray servers #651
Comments
@mkolar you might want to look into Pyro to communicate between interpreters with shared objects or kicking off methods from the specific interpreter in a dcc to the pype virtual env. I've had a lot of success with it in the past with Ironpython and vanilla python. |
Branch feature/651-unify-tray-servers created! |
Required steps1.) Current Websocket server implementation from Websocket module add to avalon tools as websocket server for non python hosts, each host implementation would have own handlers (stubs) for the tool.
2.) Rename Websocket module to Webserver module as it can handle more than websocket protocol. Remove host implementation specific parts from server and prepare interface to register route handlers from other modules. 3.) Find/Implement Rest api module for 4.) Convert current rest api handlers to new interface. 5.) Remove Rest api module. |
Resolved with #1119 |
We have multiple small services currently running from tray. With recent implementation of websocket server, it seems that we can unify all or most of these into just one.
Rest API - currently only serves static images to ftrack actions, this could be handled by the websocket server
Adobe communicator - not used at all as all adobe products are being switched to websockets. Can be deleted
There might be a problem with communication with the websockets from hosts that only support python2 like maya and nuke. For that purpose we can temporarily leave in a service that will act as a translator between simple requests to our websocket server running in the tray. This should be deprecated once we get rid of python2 for good (considering how keen Foundry is on switching nuke to py3, it might be around the year 2055)
A more robust and unified server in the tray should open paths for various other features dependent on it, like automatic timer switching based on context changes. #21
The text was updated successfully, but these errors were encountered: