diff options
author | Chris Doherty <cdoherty@chef.io> | 2015-12-08 15:52:12 -0800 |
---|---|---|
committer | Chris Doherty <cdoherty@chef.io> | 2015-12-10 14:03:36 -0800 |
commit | b7353c8ff6f9f432b0ad3727e883c425a8357109 (patch) | |
tree | caf77931a583e795d35b1996b06d6475b8d2a3b5 /lib/chef_zero/server.rb | |
parent | 582f9ded02b928afade414749656ad2411e6d9fa (diff) | |
download | chef-zero-b7353c8ff6f9f432b0ad3727e883c425a8357109.tar.gz |
Implement /cookbook_artifacts endpoints.
Diffstat (limited to 'lib/chef_zero/server.rb')
-rw-r--r-- | lib/chef_zero/server.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/chef_zero/server.rb b/lib/chef_zero/server.rb index 2d84a52..c96150e 100644 --- a/lib/chef_zero/server.rb +++ b/lib/chef_zero/server.rb @@ -45,6 +45,9 @@ require 'chef_zero/endpoints/actor_endpoint' require 'chef_zero/endpoints/cookbooks_endpoint' require 'chef_zero/endpoints/cookbook_endpoint' require 'chef_zero/endpoints/cookbook_version_endpoint' +require 'chef_zero/endpoints/cookbook_artifacts_cookbook_endpoint' +require 'chef_zero/endpoints/cookbook_artifacts_cookbook_identifier' +require 'chef_zero/endpoints/cookbook_artifacts_endpoint' require 'chef_zero/endpoints/containers_endpoint' require 'chef_zero/endpoints/container_endpoint' require 'chef_zero/endpoints/dummy_endpoint' @@ -558,6 +561,9 @@ module ChefZero [ "/organizations/*/cookbooks", CookbooksEndpoint.new(self) ], [ "/organizations/*/cookbooks/*", CookbookEndpoint.new(self) ], [ "/organizations/*/cookbooks/*/*", CookbookVersionEndpoint.new(self) ], + [ "/organizations/*/cookbook_artifacts", CookbookArtifactsEndpoint.new(self) ], + [ "/organizations/*/cookbook_artifacts/*", CookbookArtifactsCookbookEndpoint.new(self) ], + [ "/organizations/*/cookbook_artifacts/*/*", CookbookArtifactsCookbookIdentifierEndpoint.new(self) ], [ "/organizations/*/data", DataBagsEndpoint.new(self) ], [ "/organizations/*/data/*", DataBagEndpoint.new(self) ], [ "/organizations/*/data/*/*", DataBagItemEndpoint.new(self) ], |