-
Notifications
You must be signed in to change notification settings - Fork 11
Description
RunDeck may return YAML or JSON data depending on the request header.
However, although the gem supports data export via yaml, internally it does everything via xml, including getting jobs. This poses a problem as jobs are mapped differently depending on the output format which makes comparing two jobs (one from yaml, the other one from the hash made via xml) extremely difficult.
It would be best if the gem supported receiving data in other formats. In addition, for this to work a custom parser needs to be added to httparty as yaml parsing was removed from the latest version. Note that RunDeck always specifies the format sent in the http header, so this should be handled automatically based on that (httparty already does this) as error codes are always sent in xml.