Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | WIPjr/pedant-client-keys | Jordan Running | 2016-02-10 | 11 | -89/+131 |
| | |||||
* | Make client keys Pedant specs pass | Jordan Running | 2016-02-10 | 16 | -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 routes | Jordan Running | 2016-02-10 | 4 | -9/+14 |
| | |||||
* | Make user keys endpoint specs pass | Jordan Running | 2016-02-10 | 12 | -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-gem | Lamont Granquist | 2016-02-04 | 1 | -0/+5 |
|\ | | | | | fix necessary for metadata gem | ||||
| * | fix necessary for metadata gemlcg/metadata-gem | Lamont Granquist | 2016-02-04 | 1 | -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 master | John Keiser | 2016-01-29 | 1 | -1/+1 |
| | |||||
* | Update rubygems / bundlerv4.5.0jk/run-against-master-chef-sometimes | John Keiser | 2016-01-29 | 1 | -0/+4 |
| | |||||
* | Run chef-zero against master chef on travis | John Keiser | 2016-01-28 | 5 | -9/+24 |
| | |||||
* | Bump revision to 4.5.0jk/bump-4.5.0 | John Keiser | 2016-01-28 | 2 | -1/+14 |
| | |||||
* | Merge pull request #194 from chef/cd/run-acl-specs | John Keiser | 2016-01-28 | 8 | -17/+14 |
|\ | | | | | Make ACLs for policies/policy_groups/cookbook_artifacts work | ||||
| * | Fix container creation (was using wrong path)cd/run-acl-specs | John Keiser | 2016-01-28 | 3 | -7/+3 |
| | | |||||
| * | Make default policy ACLs look more normal | John Keiser | 2016-01-27 | 2 | -11/+3 |
| | | |||||
| * | Move skip-acl to ChefFS | John Keiser | 2016-01-27 | 1 | -1/+1 |
| | | |||||
| * | Stop skipping ACL tests | John Keiser | 2016-01-27 | 2 | -2/+0 |
| | | |||||
| * | Restore creator into policy_group ACL | John Keiser | 2016-01-27 | 1 | -1/+1 |
| | | |||||
| * | Correct policy_groups default permissions | John Keiser | 2016-01-27 | 2 | -2/+10 |
| | | |||||
| * | Point at branch with proper authorization tags | John Keiser | 2016-01-27 | 1 | -1/+1 |
| | | |||||
| * | Treat policies and policy_groups as directories | John Keiser | 2016-01-27 | 1 | -4/+3 |
| | | |||||
| * | changes to test chef-zero ACLs. | Chris Doherty | 2016-01-27 | 3 | -3/+7 |
| | | |||||
| * | DataNormalizer: Uniqify the list of actors, to satisfy pedant :acl specs ↵ | Chris Doherty | 2016-01-26 | 1 | -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-specs | Chris Doherty | 2016-01-25 | 3 | -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-specs | Chris Doherty | 2016-01-25 | 3 | -1/+17 |
|/ | |||||
* | Merge pull request #191 from chef/cd/run-container-specs | Chris Doherty | 2016-01-22 | 4 | -3/+15 |
|\ | | | | | Enable container specs. | ||||
| * | Remove --skip-containers.cd/run-container-specs | Chris Doherty | 2016-01-21 | 1 | -1/+0 |
| | | |||||
| * | idiomiaticify conversion of arbitrary input into a real Boolean. | Chris Doherty | 2016-01-21 | 1 | -1/+1 |
| | | |||||
| * | List of containers was missing policy_groups. | Chris Doherty | 2016-01-21 | 1 | -1/+1 |
| | | |||||
| * | Implement POST /containers to create a container with the given 'id' or ↵ | Chris Doherty | 2016-01-21 | 1 | -0/+13 |
|/ | | | | 'container_name'. | ||||
* | Enable headers pedant tests | danielsdeleo | 2016-01-21 | 1 | -2/+1 |
| | |||||
* | Enable rvm busting in pedant knife testsenable-knife-pedants | danielsdeleo | 2016-01-20 | 1 | -1/+1 |
| | |||||
* | Add a new test matrix entry for pedant knife tests | danielsdeleo | 2016-01-19 | 1 | -0/+2 |
| | |||||
* | Enable pedant knife tests via ENV var | danielsdeleo | 2016-01-19 | 1 | -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-cheffs | John Keiser | 2016-01-15 | 1 | -3/+5 |
| | |||||
* | Fix changelog version | John Keiser | 2016-01-15 | 1 | -2/+2 |
| | |||||
* | Bump revision to 4.3.3v4.4.2 | John Keiser | 2016-01-15 | 2 | -3/+12 |
| | |||||
* | Merge branch 'jk/cookbook-artifacts-hoover' | John Keiser | 2016-01-15 | 4 | -17/+27 |
|\ | |||||
| * | Support Chef versions that don't support cookbook_artifactsjk/cookbook-artifacts-hoover | John Keiser | 2016-01-15 | 1 | -1/+8 |
| | | |||||
| * | Rename cookbook artifacts | John Keiser | 2016-01-15 | 3 | -9/+10 |
| | | |||||
| * | Make hoovering and deleting parent dir work everywhere for cookbook_artifacts | John Keiser | 2016-01-15 | 2 | -8/+10 |
|/ | |||||
* | Internal orgs appears to be unused in oc-chef-pedant | danielsdeleo | 2016-01-14 | 1 | -1/+0 |
| | |||||
* | Explain why we don't support USAGs either | danielsdeleo | 2016-01-14 | 1 | -1/+7 |
| | |||||
* | Explain why omnibus/authz/authN/validation checks are skipped | danielsdeleo | 2016-01-14 | 1 | -3/+13 |
| | |||||
* | Bump revision to 4.4.1v4.4.1 | John Keiser | 2016-01-14 | 2 | -1/+11 |
| | |||||
* | Fix cookbook_artifact | John Keiser | 2016-01-14 | 2 | -18/+34 |
| | |||||
* | Only test master branch and PRsdont-double-test-pr | danielsdeleo | 2016-01-13 | 1 | -0/+6 |
| | |||||
* | Merge pull request #180 from chef/fix_pedant_branch | Tyler Ball | 2015-12-15 | 1 | -1/+1 |
|\ | | | | | Point chef-server back to master | ||||
| * | Point back to master | Thom May | 2015-12-15 | 1 | -1/+1 |
|/ | |||||
* | Merge pull request #176 from chef/tm/ignore-pedant-universe | Thom May | 2015-12-15 | 2 | -2/+5 |
|\ | | | | | Ignore the universe endpoint tests in pedant | ||||
| * | Ignore the universe endpoint tests in pedanttm/ignore-pedant-universe | Thom May | 2015-11-30 | 2 | -2/+5 |
| | | |||||
* | | Update changelog for 4.4.0. | Chris Doherty | 2015-12-14 | 1 | -1/+21 |
| | |