Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

SS supports many REST endpoints. POL PolyglotStewardAMQ uses the following two SS endpoints:

  • /alive
    This returns a timestamp (a long integer) to indicate the start time of the SS. (long int, plain text)
    Used for adding a SS in discoveryAMQ() if POL gets a valid long int, and removing a SS in heartbeat() if POL does not get a valid long int from the ep.
  • /applications
    This returns a JSON array, such as "[{"alias":"daffodil","conversions":[{"inputs":["csv"],"outputs":["xml"]},{"inputs":["pgm"],"outputs":["xml"]}]},{"alias":"flac","conversions":[{"inputs":["aif","aiff","fla","flac","wav"],"outputs":["aif","aiff","fla","flac","wav"]}]".
    Used for adding a SS and updating the IO graph in discoveryAMQ().

...