Skip to content

Add support for NetapiClient methods to Saltnado #25460

Closed

Description

@whiteinge

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.

Refs #25427.

Activity

  1. added
    Feature
    on Jul 15, 2015
  2. added this to the Approved milestone on Jul 15, 2015
  3. jacksontj commented on Jul 15, 2015

    @jacksontj
    Contributor

    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 :)

  4. whiteinge commented on Jul 15, 2015

    @whiteinge
    ContributorAuthor
  5. added
    Core
    P3
    on Aug 11, 2015
  6. whiteinge commented on Apr 3, 2017

    @whiteinge
    ContributorAuthor

    Enumerating client interfaces in the other issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    CoreFeatureP3Salt-API

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions