You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add support for NetapiClient methods to Saltnado #25460
Corerelates to code central or existential to SaltFeaturenew functionality including changes to functionality and code refactors, etc.P3Priority 3Salt-API
Retiring the rest_cherrypy module will require that Saltnado supports all the NetapiClient methods, both blocking and non-blocking. The non-async clients should present a long-lived, blocking HTTP response regardless of the backend implementation. The async clients should run the job in the background somehow and return an immediate HTTP response with a JID that can be used to look up the result of the job once it finishes.
To @jacksontj 's point, now that Tornado is a core dep this is also a good opportunity to revisit how RunnerClient and WheelClient handle async operations on the backend.
Because of that consistent API (normal is blocking, async is jid) I'll probably want to refactor the code in the API to all only require an async implementation and then just wait for returns. Should clean up the code quite a bit :)
Corerelates to code central or existential to SaltFeaturenew functionality including changes to functionality and code refactors, etc.P3Priority 3Salt-API
Activity
jacksontj commentedon Jul 15, 2015
Because of that consistent API (normal is blocking, async is jid) I'll probably want to refactor the code in the API to all only require an async implementation and then just wait for returns. Should clean up the code quite a bit :)
whiteinge commentedon Jul 15, 2015
whiteinge commentedon Apr 3, 2017
Enumerating client interfaces in the other issue.