Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-10445

Add deprecation warning to find/search/save/destroy methods in the abstract rest terminus

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • None
    • PUP 6.16.0
    • None
    • Deprecation
    • Hide
      Calling Puppet::Indirection::Rest.{find,search,save,destroy,head} is deprecated as part of an effort to separate the indirector and http requests. If a custom terminus extends the abstract rest terminus, then it should implement the networking request itself or call puppet's http client like the builtin rest termini do, such as Puppet::Indirector::Node::Rest.
      Show
      Calling Puppet::Indirection::Rest.{find,search,save,destroy,head} is deprecated as part of an effort to separate the indirector and http requests. If a custom terminus extends the abstract rest terminus, then it should implement the networking request itself or call puppet's http client like the builtin rest termini do, such as Puppet::Indirector::Node::Rest.
    • Needs Assessment

    Description

      Add deprecation warnings to the find/search/save/destroy methods to the Puppet::Indirection::Rest.

      Attachments

        Issue Links

          Activity

            People

              josh Josh Cooper
              josh Josh Cooper
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support