Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Removing all the cases where the ssl host specifies | Luke Kanies | 2008-04-16 | 2 | -198/+24 | |
| | | | | | | | | | | a terminus. Also, getting rid of some metaprogramming that wasn't really helping. | |||||
* | | Making the first pass at using requests instead of | Luke Kanies | 2008-04-15 | 13 | -165/+47 | |
| | | | | | | | | | | specifying the terminus class. The individual ssl classes now work, but the ssl host class doesn't yet. | |||||
* | | Adding a :to_text method that will convert the contained | Luke Kanies | 2008-04-15 | 4 | -0/+27 | |
| | | | | | | | | thing to readable human text. | |||||
* | | Actually signing the certificates in the CA. | Luke Kanies | 2008-04-15 | 2 | -1/+40 | |
| | | ||||||
* | | Adding the first attempt at managing the certificate | Luke Kanies | 2008-04-15 | 2 | -0/+239 | |
| | | | | | | | | revocation list. | |||||
* | | Adding a :search method to the ssl_file terminus type | Luke Kanies | 2008-04-15 | 4 | -0/+140 | |
| | | | | | | | | and the SSL::Host class. | |||||
* | | Fixing a failing test that had not been updated from previous coding | Luke Kanies | 2008-04-15 | 2 | -3/+1 | |
| | | ||||||
* | | We have a basically functional CA -- it can sign | Luke Kanies | 2008-04-15 | 10 | -52/+186 | |
| | | | | | | | | | | | | requests and return certificates. There's still plenty more work to do, but I'm probably not much more than a day away from redoing puppetca to use this code. | |||||
* | | Adding tests for the easy bits of the CertificateFactory. | Luke Kanies | 2008-04-15 | 2 | -5/+121 | |
| | | | | | | | | | | | | I probably am going to skip the tests for the rest, since the code is unlikely to ever change, and it's going to be a royal pain to test. | |||||
* | | Adding tests for the certificate serial numbers | Luke Kanies | 2008-04-15 | 2 | -10/+194 | |
| | | ||||||
* | | The certificate authority is now functional and tested. | Luke Kanies | 2008-04-15 | 4 | -29/+149 | |
| | | ||||||
* | | refactoring the cert request test a bit | Luke Kanies | 2008-04-15 | 1 | -37/+29 | |
| | | ||||||
* | | This is a first pass at the certificate authority. | Luke Kanies | 2008-04-15 | 6 | -48/+387 | |
| | | | | | | | | | | The tests are basically entirely absent still, but the structure is all there. | |||||
* | | It looks like all of the new ssl classes for managing | Luke Kanies | 2008-04-15 | 12 | -75/+335 | |
| | | | | | | | | | | | | | | keys, certificates, and requests now work, including talking to the certificate authority. Now we just need the authority itself, along with the necessary REST terminii. | |||||
* | | Adding he last of the indirection classes for the ssl | Luke Kanies | 2008-04-15 | 12 | -5/+95 | |
| | | | | | | | | classes, finally including the certificate requests. | |||||
* | | The certificate and key are now correctly interacting | Luke Kanies | 2008-04-15 | 6 | -242/+201 | |
| | | | | | | | | | | with the existing cert/key store. Certificate requests are not yet handled, nor are the ca-specific collections. | |||||
* | | Removing obsolete indirection classes | Luke Kanies | 2008-04-15 | 2 | -38/+0 | |
| | | ||||||
* | | The basics for the certificate and certificate request | Luke Kanies | 2008-04-15 | 11 | -41/+304 | |
| | | | | | | | | | | indirection terminii are done. I need to move most of the test code to a shared behaviour now. | |||||
* | | Fixing a couple of broken tests. | Luke Kanies | 2008-04-15 | 2 | -0/+3 | |
| | | ||||||
* | | The new SSL classes basically work, but they're not | Luke Kanies | 2008-04-15 | 8 | -1/+264 | |
| | | | | | | | | functionally connected to any kind of indirection. | |||||
* | | Finished the certificate request wrapper class. | Luke Kanies | 2008-04-15 | 2 | -0/+95 | |
| | | ||||||
* | | First stage of cert refactoring: Private | Luke Kanies | 2008-04-15 | 5 | -116/+301 | |
| | | | | | | | | keys kind of work. | |||||
* | | Oops; final fix on the integration test failures resulting | Luke Kanies | 2008-04-15 | 1 | -1/+5 | |
| | | | | | | | | from my partial support for ssl in webrick. | |||||
* | | Fixing whitespace problems. | Luke Kanies | 2008-04-15 | 1 | -18/+18 | |
| | | ||||||
* | | Fixing an integration test of the rest terminus; it was | Luke Kanies | 2008-04-15 | 1 | -1/+5 | |
| | | | | | | | | | | | | broken by my incomplete cert support in webrick. I just stubbed out the cert usage for now; once all the cert stuff is done we'll need to go back and unstub it. | |||||
* | | Adding the necessary tests for webrick to have logging and | Luke Kanies | 2008-04-15 | 2 | -1/+218 | |
| | | | | | | | | | | ssl. The tests can't be completed until the certificate work is all done. | |||||
* | | Merge branch '0.24.x' | Luke Kanies | 2008-04-11 | 23 | -449/+1407 | |
|\| | | | | | | | | | | | Conflicts: spec/unit/network/server.rb | |||||
| * | Fixishing some pending tests, including filling in | Luke Kanies | 2008-04-11 | 3 | -15/+19 | |
| | | | | | | | | the connection information. | |||||
| * | Making the changes necessary to get the REST support | Luke Kanies | 2008-04-11 | 3 | -46/+52 | |
| | | | | | | | | | | to work with the current state of the indirection work, including using a request object and an expiration date. | |||||
| * | The 'destroy' method in the indirection now returns | Luke Kanies | 2008-04-11 | 2 | -5/+5 | |
| | | | | | | | | | | the results of destroying, so they can return true or false. | |||||
| * | fill out specs for network_* methods; refactor lowest-level network hooks | Rick Bradley | 2008-04-11 | 2 | -30/+166 | |
| | | ||||||
| * | adding rest_connection_details helper to Indirector::REST -- will need to be ↵ | Rick Bradley | 2008-04-11 | 2 | -0/+17 | |
| | | | | | | | | overridden to lookup the real connection details | |||||
| * | make sure unit indirector specs are working with #save; fill out network_put ↵ | Rick Bradley | 2008-04-11 | 1 | -3/+53 | |
| | | | | | | | | pending specs | |||||
| * | removed a debugging helper from the Indirector::Rest#save method | Rick Bradley | 2008-04-11 | 1 | -3/+1 | |
| | | ||||||
| * | updating mongrel/webrick unit tests to match integration-tested version of ↵ | Rick Bradley | 2008-04-11 | 2 | -22/+4 | |
| | | | | | | | | REST save functionality | |||||
| * | adding REST save support, with integration tests. A handful of unit tests ↵ | Rick Bradley | 2008-04-11 | 4 | -22/+112 | |
| | | | | | | | | in that area now need to be updated. | |||||
| * | disabling caching for Puppet::Indirector::Indirection as it was causing ↵ | Rick Bradley | 2008-04-11 | 1 | -1/+0 | |
| | | | | | | | | hella problems with testing save without caching; judging my luke's blog this is going to be rewritten somehow anyway | |||||
| * | work-in-progress; playing with refactoring network_* methods inside ↵ | Rick Bradley | 2008-04-11 | 1 | -2/+11 | |
| | | | | | | | | Indirector::REST | |||||
| * | Added support for destroy/DELETE over REST (including units & integrations ↵ | Rick Bradley | 2008-04-11 | 3 | -13/+157 | |
| | | | | | | | | | | | | | | | | on both webrick & mongrel). Added pending specs for the trivialities in the REST network_fetch and network_delete methods. Refactored YAML exception detection out into a private helper method. | |||||
| * | updating search integration specs to include webrick | Rick Bradley | 2008-04-11 | 2 | -8/+63 | |
| | | ||||||
| * | making search work over REST, w/ unit & integration specs | Rick Bradley | 2008-04-11 | 4 | -9/+62 | |
| | | ||||||
| * | unit specs and implementation for Indirector::REST#search method | Rick Bradley | 2008-04-11 | 2 | -8/+60 | |
| | | ||||||
| * | placeholders for integration specs on final REST methods | Rick Bradley | 2008-04-11 | 1 | -0/+24 | |
| | | ||||||
| * | ensure that we only run the mongrel specs when mongrel is available as a feature | Rick Bradley | 2008-04-11 | 2 | -0/+4 | |
| | | ||||||
| * | bringing Indirector::REST specs to mongrel-land as well. | Rick Bradley | 2008-04-11 | 1 | -44/+112 | |
| | | ||||||
| * | Make mongrel happy like WEBrick. | Rick Bradley | 2008-04-11 | 5 | -287/+274 | |
| | | | | | | | | Refactored specs to put some of the lower-level find/save/search/destroy unit tests under their own contexts. | |||||
| * | exceptions on remote end now properly passed to local end via REST and ↵ | Rick Bradley | 2008-04-11 | 2 | -4/+4 | |
| | | | | | | | | re-raised (integration-tested) | |||||
| * | Much larger commit than I would like to land at once. This is all ↵ | Rick Bradley | 2008-04-11 | 13 | -119/+242 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | REST-related code. Two specs are failing related to how Mongrel is initialized for REST; will fix those shortly. REST indirector now supports find, with deserialization. Network code in indirector now. Will still need to un-hardwire address/port for outbound connections. Will still need to urlencode path parameters. Code for search, destroy, update is coming, should be similar to find. Reworked how the Handler module is used. Needed to be included, rather than inherited. Needed to sidestep initializers for actual web servers (webrick, mongrel), needed to be possible to have handler-including class be used as a class (aka servlet) instead of as an instance. Webrick handler registration is now abstracted to "above" the servlet. Provided a #model method to use instead of @model in handler module. This allows neutering during testing. Brought class_for_protocol up into http/webrick class as a (tested) class method. Integration tests for rest indirection. Split server integration tests into mongrel and webrick tests. Got Node/REST working properly wrt the crazy-ass autoloader thing. We're now actually passing traffic w/ webrick, fwiw. | |||||
| * | a trivial integration test to test whether the RESTful indirection terminus ↵ | Rick Bradley | 2008-04-11 | 1 | -0/+35 | |
| | | | | | | | | has a remote shot at working; will need to be upgraded to actually be useful | |||||
| * | fixing Puppet::Node::REST class name to work with autoloader inflection ↵ | Rick Bradley | 2008-04-11 | 1 | -1/+1 | |
| | | | | | | | | (Puppet::Node::Rest), so we can do Puppet::Node.terminus_class = :rest |