summaryrefslogtreecommitdiff
path: root/lib/chef_zero/server.rb
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2017-07-17 09:00:14 -0700
committerGitHub <noreply@github.com>2017-07-17 09:00:14 -0700
commit650988adeb80c0eeca8703e5e45390e2acb0073a (patch)
treef082483b9f5db4138e07888e8381a0f55f580eab /lib/chef_zero/server.rb
parent64f2639f047ae368ff7b3110f1dc9bf477be77f0 (diff)
parent473df0d58dc3c0ef89862aafb111325a9af31389 (diff)
downloadchef-zero-650988adeb80c0eeca8703e5e45390e2acb0073a.tar.gz
Merge pull request #269 from chef/lcg/universe-endpoint
add the universe endpoint
Diffstat (limited to 'lib/chef_zero/server.rb')
-rw-r--r--lib/chef_zero/server.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/chef_zero/server.rb b/lib/chef_zero/server.rb
index 43b42f8..4771412 100644
--- a/lib/chef_zero/server.rb
+++ b/lib/chef_zero/server.rb
@@ -1,6 +1,6 @@
#
# Author:: John Keiser (<jkeiser@opscode.com>)
-# Copyright:: Copyright (c) 2012 Opscode, Inc.
+# Copyright:: Copyright (c) 2012-2017, Chef Software Inc.
# License:: Apache License, Version 2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -105,6 +105,7 @@ require "chef_zero/endpoints/file_store_file_endpoint"
require "chef_zero/endpoints/not_found_endpoint"
require "chef_zero/endpoints/version_endpoint"
require "chef_zero/endpoints/server_api_version_endpoint"
+require "chef_zero/endpoints/universe_endpoint"
module ChefZero
@@ -623,6 +624,7 @@ module ChefZero
[ "/organizations/*/sandboxes/*", SandboxEndpoint.new(self) ],
[ "/organizations/*/search", SearchesEndpoint.new(self) ],
[ "/organizations/*/search/*", SearchEndpoint.new(self) ],
+ [ "/organizations/*/universe", UniverseEndpoint.new(self) ],
[ "/version", VersionEndpoint.new(self) ],
[ "/server_api_version", ServerAPIVersionEndpoint.new(self) ],