summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* WIPjr/pedant-client-keysJordan Running2016-02-1011-89/+131
|
* Make client keys Pedant specs passJordan Running2016-02-1016-213/+407
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Implement client keys in: - ActorKeysEndpoint#get, #post - ActorKeyEndpoint#get - ActorsEndpoint#get, #post - ActorEndpoint#delete, #put, #populate_defaults - OrganizationsEndpoint - #post - Extract validator client creation into method. - Store the public key generated for the validator client in the client_keys store. - OrganizationEndpoint - #delete: Delete the validator client and client keys. - OrganizationUserEndpoint - #get, #delete: Don't retrieve default user public key (now handled by `DataNormalizer.normalize_user`; see below). - SearchEndpoint - Simplify `#search_container`. - RestBase - Fix RestErrorResponse exceptions to report actual `rest_path` instead associated with the failed data store operation instead of `request.rest_path`. - DataNormalizer - Fetch client and user default public_key in `DataNormalizer.normalize_{client,user}` instead of doing this in multiple other places. Requires passing `data_store` as argument. - RestRouter - Clean up logging - Print request methods, paths and bodies more readably for log_level >= INFO. - Pretty-print RestRequest objects (only printed when log_level == DEBUG). - Server - Change default log_level to WARN (to enable logging cleanup above). - Rakefile, spec/run_oc_pedant.rb - Consume RSpec, Pedant options from `ENV['RSPEC_OPTS']`, `ENV['PEDANT_OPTS']` (see `rake -D`). - Consume `ENV['LOG_LEVEL'` (see `rake -D`). - Clean up ChefZero::Server default opts and move duplicated logic to `start_chef_server` method.
* Rename UserKey(s)Endpoint to ActorKey(s)Endpoint, add client keys routesJordan Running2016-02-104-9/+14
|
* Make user keys endpoint specs passJordan Running2016-02-1012-86/+444
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Add UserKeyEndpoint; handles GET/DELETE/PUT `/user_keys/USERNAME/keys/KEY_NAME`. - Add UserKeysEndpoint; handles GET, POST `/user_keys/USERNAME`. - RestBase - Add some docs. - #json_response - Move `request_version` and `response_version` params into options hash. - Accept `:headers` option for additional headers to be set on response. - #already_json_response: #json_response - RestObjectEndpoint - Add some docs. - Move some repeated logic into methods (`identity_key_value`, `is_rename?`). - #patch_request_body: Add `:except` option to allow skipping keys not wanted in output. - ActorsEndpoint - #post: Store `public_key` in store under `user_keys/USERNAME/keys/default` instead of with user. - ActorEndpoint - #delete: Delete user keys when user is deleted. - #put: Store `public_key` in store under `user_keys` as above. - #populate_defaults: Retrieve user's default `public_key` from store and merge with user response. - OrganizationUserEndpoint - #get: Retrieve user's default `public_key` from store and merge with user response. - PrincipalEndpont - #get - Retrieve user's default `public_key` from store and merge with user response. - Refactor complex nested `if`s.
* Merge pull request #197 from chef/lcg/metadata-gemLamont Granquist2016-02-041-0/+5
|\ | | | | fix necessary for metadata gem
| * fix necessary for metadata gemlcg/metadata-gemLamont Granquist2016-02-041-0/+5
|/ | | | | | there's a Kernel#gem method in ruby because someone thought that would be a great idea, kind of messes up method_missing when the method isn't missing...
* Go back to chef masterJohn Keiser2016-01-291-1/+1
|
* Update rubygems / bundlerv4.5.0jk/run-against-master-chef-sometimesJohn Keiser2016-01-291-0/+4
|
* Run chef-zero against master chef on travisJohn Keiser2016-01-285-9/+24
|
* Bump revision to 4.5.0jk/bump-4.5.0John Keiser2016-01-282-1/+14
|
* Merge pull request #194 from chef/cd/run-acl-specsJohn Keiser2016-01-288-17/+14
|\ | | | | Make ACLs for policies/policy_groups/cookbook_artifacts work
| * Fix container creation (was using wrong path)cd/run-acl-specsJohn Keiser2016-01-283-7/+3
| |
| * Make default policy ACLs look more normalJohn Keiser2016-01-272-11/+3
| |
| * Move skip-acl to ChefFSJohn Keiser2016-01-271-1/+1
| |
| * Stop skipping ACL testsJohn Keiser2016-01-272-2/+0
| |
| * Restore creator into policy_group ACLJohn Keiser2016-01-271-1/+1
| |
| * Correct policy_groups default permissionsJohn Keiser2016-01-272-2/+10
| |
| * Point at branch with proper authorization tagsJohn Keiser2016-01-271-1/+1
| |
| * Treat policies and policy_groups as directoriesJohn Keiser2016-01-271-4/+3
| |
| * changes to test chef-zero ACLs.Chris Doherty2016-01-273-3/+7
| |
| * DataNormalizer: Uniqify the list of actors, to satisfy pedant :acl specs ↵Chris Doherty2016-01-261-1/+1
|/ | | | (possibly the list shouldn't repeat to start with, but no one will ever know.
* Merge pull request #192 from chef/cd/run-controls-specsChris Doherty2016-01-253-1/+17
|\ | | | | Return 410 on /controls so we stop skipping that pedant spec.
| * Return 410 on /controls so we stop skipping that pedant spec.cd/run-controls-specsChris Doherty2016-01-253-1/+17
|/
* Merge pull request #191 from chef/cd/run-container-specsChris Doherty2016-01-224-3/+15
|\ | | | | Enable container specs.
| * Remove --skip-containers.cd/run-container-specsChris Doherty2016-01-211-1/+0
| |
| * idiomiaticify conversion of arbitrary input into a real Boolean.Chris Doherty2016-01-211-1/+1
| |
| * List of containers was missing policy_groups.Chris Doherty2016-01-211-1/+1
| |
| * Implement POST /containers to create a container with the given 'id' or ↵Chris Doherty2016-01-211-0/+13
|/ | | | 'container_name'.
* Enable headers pedant testsdanielsdeleo2016-01-211-2/+1
|
* Enable rvm busting in pedant knife testsenable-knife-pedantsdanielsdeleo2016-01-201-1/+1
|
* Add a new test matrix entry for pedant knife testsdanielsdeleo2016-01-191-0/+2
|
* Enable pedant knife tests via ENV vardanielsdeleo2016-01-191-4/+18
| | | | | | | Setting `PEDANT_KNIFE_TESTS` will pass `--focus-knife` to pedant, running _only_ the knife tests. This will let us add them to the travis matrix without running them all the time (they are slow; take about the same time as the rest of the test suite).
* Enable policies and cookbook artifacts pedant tests for ChefFSjk/policies-cheffsJohn Keiser2016-01-151-3/+5
|
* Fix changelog versionJohn Keiser2016-01-151-2/+2
|
* Bump revision to 4.3.3v4.4.2John Keiser2016-01-152-3/+12
|
* Merge branch 'jk/cookbook-artifacts-hoover'John Keiser2016-01-154-17/+27
|\
| * Support Chef versions that don't support cookbook_artifactsjk/cookbook-artifacts-hooverJohn Keiser2016-01-151-1/+8
| |
| * Rename cookbook artifactsJohn Keiser2016-01-153-9/+10
| |
| * Make hoovering and deleting parent dir work everywhere for cookbook_artifactsJohn Keiser2016-01-152-8/+10
|/
* Internal orgs appears to be unused in oc-chef-pedantdanielsdeleo2016-01-141-1/+0
|
* Explain why we don't support USAGs eitherdanielsdeleo2016-01-141-1/+7
|
* Explain why omnibus/authz/authN/validation checks are skippeddanielsdeleo2016-01-141-3/+13
|
* Bump revision to 4.4.1v4.4.1John Keiser2016-01-142-1/+11
|
* Fix cookbook_artifactJohn Keiser2016-01-142-18/+34
|
* Only test master branch and PRsdont-double-test-prdanielsdeleo2016-01-131-0/+6
|
* Merge pull request #180 from chef/fix_pedant_branchTyler Ball2015-12-151-1/+1
|\ | | | | Point chef-server back to master
| * Point back to masterThom May2015-12-151-1/+1
|/
* Merge pull request #176 from chef/tm/ignore-pedant-universeThom May2015-12-152-2/+5
|\ | | | | Ignore the universe endpoint tests in pedant
| * Ignore the universe endpoint tests in pedanttm/ignore-pedant-universeThom May2015-11-302-2/+5
| |
* | Update changelog for 4.4.0.Chris Doherty2015-12-141-1/+21
| |