diff options
author | Andrew Brown <anbrown@blackberry.com> | 2015-08-12 08:52:25 -0400 |
---|---|---|
committer | Andrew Brown <anbrown@blackberry.com> | 2015-08-12 08:52:25 -0400 |
commit | 3197fc49cacb71c9c55de40935a5e08303afb7a3 (patch) | |
tree | a291011c455b191e98d32ef3db1246d2e99cf926 /lib/chef_zero/server.rb | |
parent | ae7634c600535ba3f64ce8af31afc6fef9dab31c (diff) | |
download | chef-zero-3197fc49cacb71c9c55de40935a5e08303afb7a3.tar.gz |
Preliminary support for _identifiers API
Adding preliminary support for the _identifiers REST endpoint.
Diffstat (limited to 'lib/chef_zero/server.rb')
-rw-r--r-- | lib/chef_zero/server.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/chef_zero/server.rb b/lib/chef_zero/server.rb index 9cf7b39..672f795 100644 --- a/lib/chef_zero/server.rb +++ b/lib/chef_zero/server.rb @@ -61,6 +61,7 @@ require 'chef_zero/endpoints/environment_recipes_endpoint' require 'chef_zero/endpoints/environment_role_endpoint' require 'chef_zero/endpoints/license_endpoint' require 'chef_zero/endpoints/node_endpoint' +require 'chef_zero/endpoints/node_identifiers_endpoint' require 'chef_zero/endpoints/organizations_endpoint' require 'chef_zero/endpoints/organization_endpoint' require 'chef_zero/endpoints/organization_association_requests_endpoint' @@ -540,6 +541,7 @@ module ChefZero [ "/organizations/*/environments/*/roles/*", EnvironmentRoleEndpoint.new(self) ], [ "/organizations/*/nodes", RestListEndpoint.new(self) ], [ "/organizations/*/nodes/*", NodeEndpoint.new(self) ], + [ "/organizations/*/nodes/*/_identifiers", NodeIdentifiersEndpoint.new(self) ], [ "/organizations/*/policies/*/*", PoliciesEndpoint.new(self) ], [ "/organizations/*/principals/*", PrincipalEndpoint.new(self) ], [ "/organizations/*/roles", RestListEndpoint.new(self) ], |