Uploaded image for project: 'Aurora'
  1. Aurora
  2. AURORA-181

make TaskObserver deal in objects

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Minor
    • Resolution: Won't Fix
    • None
    • None
    • Thermos
    • None

    Description

      Per the long-lived comment on the TaskObserver class in apache/thermos/observer/observer.py ; now that there are new first-class objects for representing observed tasks (ActiveObservedTask, FinishedObservedTask), the TaskObserver should just return them for all queries, instead of generating janky dictionaries (which the HTTP observer often ends up doing further mangling of anyway).

      This would
      a) lead to a much cleaner interface between the TaskObserver and the BottleObserver (currently the only real interface to the observer)
      b) make the TaskObserver much more usable as an API or even for command line use
      c) make it much easier to develop other interfaces to the observer, e.g. a pure JSON-over-HTTP service

      Attachments

        Activity

          People

            Unassigned Unassigned
            jonboulle Jonathan Boulle
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: