Issue #7145 has been reported by R.I. Pienaar. ---------------------------------------- Feature #7145: A plugin should be able to transform a reply into a different format https://projects.puppetlabs.com/issues/7145
Author: R.I. Pienaar Status: Accepted Priority: Normal Assignee: R.I. Pienaar Category: SimpleRPC Target version: 1.2.0 Keywords: Branch: Affected mCollective version: Given a scenario where a user wants to use mcollective to feed data into another system: * A user should be able to specify a custom destination, see 6938 * The reply should be transformed into a format the other system expects We'll need a new type of plugin that receives a RPC::Reply and transforms it into a new representation. An example call might be: <pre> mco rpc nrpe runcommand command=check_disk --reply-to /queue/other.system --transform json </pre> This will result in a transformer called - something like _MCollective::Transform::Json.transform(request)_ - the reply will be sent to "/queue/other.system" Using --reply-to should imply --no-response and a default transform of a simple request 2 json should be included. -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
