Module: ChefZero

Defined in:
lib/chef_zero/data_store/data_error.rb,
lib/chef_zero.rb,
lib/chef_zero/log.rb,
lib/chef_zero/rspec.rb,
lib/chef_zero/server.rb,
lib/chef_zero/version.rb,
lib/chef_zero/rest_base.rb,
lib/chef_zero/rest_router.rb,
lib/chef_zero/rest_request.rb,
lib/chef_zero/solr/solr_doc.rb,
lib/chef_zero/solr/query/term.rb,
lib/chef_zero/solr/solr_parser.rb,
lib/chef_zero/solr/query/phrase.rb,
lib/chef_zero/chef_data/acl_path.rb,
lib/chef_zero/solr/query/subquery.rb,
lib/chef_zero/rest_error_response.rb,
lib/chef_zero/socketless_server_map.rb,
lib/chef_zero/endpoints/acl_endpoint.rb,
lib/chef_zero/solr/query/range_query.rb,
lib/chef_zero/data_store/memory_store.rb,
lib/chef_zero/endpoints/role_endpoint.rb,
lib/chef_zero/data_store/interface_v1.rb,
lib/chef_zero/chef_data/cookbook_data.rb,
lib/chef_zero/endpoints/node_endpoint.rb,
lib/chef_zero/data_store/interface_v2.rb,
lib/chef_zero/endpoints/acls_endpoint.rb,
lib/chef_zero/endpoints/cookbooks_base.rb,
lib/chef_zero/endpoints/group_endpoint.rb,
lib/chef_zero/endpoints/actor_endpoint.rb,
lib/chef_zero/solr/query/unary_operator.rb,
lib/chef_zero/endpoints/groups_endpoint.rb,
lib/chef_zero/endpoints/search_endpoint.rb,
lib/chef_zero/endpoints/actors_endpoint.rb,
lib/chef_zero/data_store/raw_file_store.rb,
lib/chef_zero/chef_data/default_creator.rb,
lib/chef_zero/data_store/default_facade.rb,
lib/chef_zero/chef_data/data_normalizer.rb,
lib/chef_zero/data_store/memory_store_v2.rb,
lib/chef_zero/endpoints/sandbox_endpoint.rb,
lib/chef_zero/endpoints/license_endpoint.rb,
lib/chef_zero/solr/query/binary_operator.rb,
lib/chef_zero/endpoints/version_endpoint.rb,
lib/chef_zero/endpoints/policies_endpoint.rb,
lib/chef_zero/data_store/v1_to_v2_adapter.rb,
lib/chef_zero/endpoints/cookbook_endpoint.rb,
lib/chef_zero/solr/query/regexpable_query.rb,
lib/chef_zero/endpoints/searches_endpoint.rb,
lib/chef_zero/data_store/v2_to_v1_adapter.rb,
lib/chef_zero/endpoints/data_bag_endpoint.rb,
lib/chef_zero/endpoints/principal_endpoint.rb,
lib/chef_zero/endpoints/sandboxes_endpoint.rb,
lib/chef_zero/endpoints/not_found_endpoint.rb,
lib/chef_zero/endpoints/data_bags_endpoint.rb,
lib/chef_zero/endpoints/rest_list_endpoint.rb,
lib/chef_zero/endpoints/cookbooks_endpoint.rb,
lib/chef_zero/endpoints/container_endpoint.rb,
lib/chef_zero/endpoints/containers_endpoint.rb,
lib/chef_zero/endpoints/environment_endpoint.rb,
lib/chef_zero/endpoints/rest_object_endpoint.rb,
lib/chef_zero/data_store/data_not_found_error.rb,
lib/chef_zero/endpoints/organization_endpoint.rb,
lib/chef_zero/endpoints/organizations_endpoint.rb,
lib/chef_zero/endpoints/data_bag_item_endpoint.rb,
lib/chef_zero/endpoints/system_recovery_endpoint.rb,
lib/chef_zero/endpoints/file_store_file_endpoint.rb,
lib/chef_zero/endpoints/cookbook_version_endpoint.rb,
lib/chef_zero/endpoints/environment_role_endpoint.rb,
lib/chef_zero/endpoints/organization_user_endpoint.rb,
lib/chef_zero/data_store/data_already_exists_error.rb,
lib/chef_zero/endpoints/environment_nodes_endpoint.rb,
lib/chef_zero/endpoints/role_environments_endpoint.rb,
lib/chef_zero/endpoints/authenticate_user_endpoint.rb,
lib/chef_zero/endpoints/user_organizations_endpoint.rb,
lib/chef_zero/endpoints/organization_users_endpoint.rb,
lib/chef_zero/endpoints/environment_recipes_endpoint.rb,
lib/chef_zero/endpoints/environment_cookbook_endpoint.rb,
lib/chef_zero/endpoints/environment_cookbooks_endpoint.rb,
lib/chef_zero/endpoints/user_association_request_endpoint.rb,
lib/chef_zero/endpoints/user_association_requests_endpoint.rb,
lib/chef_zero/endpoints/organization_validator_key_endpoint.rb,
lib/chef_zero/endpoints/environment_cookbook_versions_endpoint.rb,
lib/chef_zero/endpoints/organization_authenticate_user_endpoint.rb,
lib/chef_zero/endpoints/user_association_requests_count_endpoint.rb,
lib/chef_zero/endpoints/organization_association_request_endpoint.rb,
lib/chef_zero/endpoints/organization_association_requests_endpoint.rb

Overview

Author

John Keiser (<[email protected]>)

Copyright

Copyright © 2013 Opscode, Inc.

License

Apache License, Version 2.0

Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Defined Under Namespace

Modules: ChefData, DataStore, Endpoints, RSpec, Solr Classes: Log, NoSocketlessPortAvailable, RestBase, RestErrorResponse, RestRequest, RestRouter, Server, ServerNotFound, SocketlessServerMap

Constant Summary collapse

CERTIFICATE =
"-----BEGIN CERTIFICATE-----\nMIIDMzCCApygAwIBAgIBATANBgkqhkiG9w0BAQUFADCBnjELMAkGA1UEBhMCVVMx\nEzARBgNVBAgMCldhc2hpbmd0b24xEDAOBgNVBAcMB1NlYXR0bGUxFjAUBgNVBAoM\nDU9wc2NvZGUsIEluYy4xHDAaBgNVBAsME0NlcnRpZmljYXRlIFNlcnZpY2UxMjAw\nBgNVBAMMKW9wc2NvZGUuY29tL2VtYWlsQWRkcmVzcz1hdXRoQG9wc2NvZGUuY29t\nMB4XDTEyMTEyMTAwMzQyMVoXDTIyMTExOTAwMzQyMVowgZsxEDAOBgNVBAcTB1Nl\nYXR0bGUxEzARBgNVBAgTCldhc2hpbmd0b24xCzAJBgNVBAYTAlVTMRwwGgYDVQQL\nExNDZXJ0aWZpY2F0ZSBTZXJ2aWNlMRYwFAYDVQQKEw1PcHNjb2RlLCBJbmMuMS8w\nLQYDVQQDFCZVUkk6aHR0cDovL29wc2NvZGUuY29tL0dVSURTL3VzZXJfZ3VpZDCC\n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