Issue #5701 has been updated by R.I. Pienaar. Status changed from Accepted to Ready For Checkin Branch set to ripienaar/feature/master/5701
---------------------------------------- Bug #5701: Abstract creation of request and reply hashes from security plugins https://projects.puppetlabs.com/issues/5701 Author: R.I. Pienaar Status: Ready For Checkin Priority: Normal Assignee: R.I. Pienaar Category: Core Target version: 1.1.x Keywords: Branch: ripienaar/feature/master/5701 Affected mCollective version: Currently all security plugins need to have something like: <code> def encodereply(sender, target, msg, requestid, filter={}) @log.debug("Encoded a message for request #{requestid}") YAML.dump({:senderid => @config.identity, :requestid => requestid, :senderagent => sender, :msgtarget => target, :msgtime => Time.now.to_i, :body => msg}) end </code> And similar for the replies, we should remove the creation of these structures from the security plugins so that changes to its structure will not require all security plugins to be rewritten. Security plugin should still choose the serialization to use though. -- 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.
