Pegasus EM - Support HTTP file watch

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Type: Task
    • Resolution: Fixed
    • Priority: Major
    • panorama
    • Affects Version/s: 5.0.0
    • Component/s: Ensemble Manager
    • None

      Add support for http file watch on Pegasus-EM triggering functionality.

      Ryan's instructions:
      1) Create a command object just like this one, then add it to commands here.
      2) Add the route in views.py just like this one.
      3) Add something like HTTP = "HTTP" to TriggerType here.
      4) Create the trigger object in trigger.py to do the heavy lifting just like this.
      In a nutshell, when you create a trigger (issue the CLI command), a request is sent to the service (running flask process). The service (in the route you’ve added), will create the trigger object with a READY state and add it to the database. The TriggerManager process will periodically polling that db and when it sees a READY trigger object, it will set the state to RUNNING, and start your custom trigger class, which should inherit from TriggerThread .

            Assignee:
            George Papadimitriou (Inactive)
            Reporter:
            George Papadimitriou (Inactive)
            Archiver:
            Rajiv Mayani

              Created:
              Updated:
              Resolved:
              Archived: