summaryrefslogtreecommitdiff
path: root/lib/chef/server_api.rb
Commit message (Collapse)AuthorAgeFilesLines
* add get_rest etc calls to ServerAPItm/back_compat_rest_callsThom May2016-01-201-0/+6
| | | | and note in rspec that we want these gone in 13
* Use double quotes by defaultThom May2016-01-141-9/+9
| | | | | | | This is an entirely mechanically generated (chefstyle -a) change, to go along with chef/chefstyle#5 . We should pick something and use it consistently, and my opinion is that double quotes are the appropriate thing.
* Convert all uses of Chef::REST to Chef::ServerAPItm/no_more_restThom May2016-01-111-0/+26
| | | | | | | In the process, stop auto-expanding JSON in the HTTP client, and let individual classes control that themselves. Fixes #2737, Fixes #3518
* add lazy require for 'chef/config'lcg/chef-config-requireLamont Granquist2015-06-021-0/+2
| | | | | this is probably pulled in by chef/http at the top, but make it explict (lazy to break circular deps).
* Hoist socketless chef-zero support into Chef::HTTPdanielsdeleo2015-04-011-0/+1
| | | | | | Was hoping to avoid this, but there are multiple subclasses of Chef::HTTP that interact with the server, which all must support socketless mode.
* - Adding X-Remote-Request-Id to the set of headers for every request from ↵PrajaktaPurohit2014-02-071-1/+3
| | | | | | | | | | CCR and knife that will be sent to erchef - Each knife request has a different X-Remote-Request-Id, where as it remains the same for all requests originating from the same chef-client run. - Adding and fixing tests
* Use new Chef::ServerAPI API class in upload/download/diffJohn Keiser2013-10-091-0/+41