Issue #6376 has been updated by James Turnbull. Status changed from Available In Testing Branch to Closed Target version changed from 2.6.x to 2.6.7
---------------------------------------- Feature #6376: Add "_search" alias for plural REST endpoints https://projects.puppetlabs.com/issues/6376 Author: Paul Berry Status: Closed Priority: Normal Assignee: Paul Berry Category: API Target version: 2.6.7 Affected Puppet version: Keywords: Branch: Puppet's current REST interface for performing indirector searches is to pluralize the name of the indirection, e.g. "catalogs" to search for a catalog, "nodes" to search for a node, etc. This creates problems when the name of the indirection is already plural, e.g. "facts" pluralizes to "factss". After discussion with Nick F., we believe that it would be easier for users to comprehend if we append "_search" to the indirection name rather than "s". For example, "catalog_search" to search for a catalog, "node_search" to search for a node, and "facts_search" to search for a set of facts. For backwards compatibility, we'll need to roll this feature out in stages: 1. We need Puppet to accept "*_search" as an alias for "*s". 2. In a future release, modify Puppet and Dashboard so that they do searches using "*_search". 3. In a release that's possibly further in the future, modify Puppet so that it issues a deprecation warning if someone tries to use the old "*s" functionality 4. Even further in the future, eliminate the old "*s" functionality. This ticket covers stage 1 only. -- 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.
