summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| | * | | Merge branch 'master' of git://reductivelabs.com/puppet into routingRick Bradley2007-10-2343-332/+1565
| | |\ \ \
| | * \ \ \ Merge branch 'master' of git://reductivelabs.com/puppet into routingRick Bradley2007-10-2255-82/+2441
| | |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: spec/unit/indirector/indirection.rb
| | * | | | | Fix test which is conditional on mongrel installation.Rick Bradley2007-10-171-2/+4
| | | | | | |
| | * | | | | More specs, fleshing out the returns from RESTRick Bradley2007-10-175-6/+44
| | | | | | |
| | * | | | | getting more fine-grained with the response specs -- the target is always ↵Rick Bradley2007-10-162-6/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | moving.
| | * | | | | Argument passing now supported on {webrick,mongrel}+REST.Rick Bradley2007-10-165-19/+123
| | | | | | |
| | * | | | | Make the actual runtime be more robust when mongrel is not installed.Rick Bradley2007-10-162-2/+10
| | | | | | |
| | * | | | | Make it possible to run all tests even if mongrel isn't installed. ↵Rick Bradley2007-10-163-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Shouldn't "confine" produce some output when running spec? Who knows.
| | * | | | | Refactoring, argument processing for model methods.Rick Bradley2007-10-165-25/+107
| | | | | | |
| | * | | | | Tweak to move model lookup functionality into the Handler base class where ↵Rick Bradley2007-10-165-2/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | it belongs. Robustifying the request sanitization a bit more.
| | * | | | | Refactored to use a Handler base class for server+protocol handlers. ↵Rick Bradley2007-10-166-77/+127
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Finally eliminated dependency on Puppet.start, etc., from WEBrick HTTP server class. {webrick,mongrel}+REST now support request handling uniformly; need encode/decode next.
| | * | | | | Inlined the controller, eliminating a class. Mongrel+REST has the right ↵Rick Bradley2007-10-165-85/+96
| | | | | | | | | | | | | | | | | | | | | | | | | | | | bits for request handling prior to the encode/decode/exception-handling bits. Refactored to make the common logic extractable to a base class.
| | * | | | | Registration now built for {webrick,mongrel} REST handlers.Rick Bradley2007-10-166-17/+59
| | | | | | |
| | * | | | | Going back to each server+protocol object being responsible for only one ↵Rick Bradley2007-10-168-26/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | indirection, as the REST vs. XMLRPC models are different enough that the object must register itself on initialization and handle the request when it comes in.
| | * | | | | First pass through initializers of {mongrel, webrick} REST handlers; hooks ↵Rick Bradley2007-10-1613-35/+150
| | | | | | | | | | | | | | | | | | | | | | | | | | | | into Indirection to look up models from indirected names.
| | * | | | | Minor tweaks to make the ::Server initialization a bit more robust. Fail on ↵Rick Bradley2007-10-162-5/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | unknown HTTP Server types; fail fast.
| | * | | | | Finish front end of delegation to server+protocol helper classes ("handlers").Rick Bradley2007-10-158-9/+55
| | | | | | |
| | * | | | | Bringing in initial handlers for server+protocol pairs.Rick Bradley2007-10-155-43/+47
| | | | | | |
| | * | | | | Merge branch 'master' of git://reductivelabs.com/puppet into routingRick Bradley2007-10-1547-235/+268
| | |\ \ \ \ \
| | * | | | | | Partial support for building Handlers for all handler-protocol pairs.Rick Bradley2007-10-154-11/+93
| | | | | | | |
| | * | | | | | Implementing address & port support for new webrick server.Rick Bradley2007-10-152-5/+20
| | | | | | | |
| | * | | | | | Hooking up address/port support for the various servers w/ specs. Still ↵Rick Bradley2007-10-156-40/+119
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | need to start up a webrick server w/ address + port (this is far too incestuous with Puppet lib & Puppet.start at the moment).
| | * | | | | | trivial: WEBRick -> WEBrick, to be more consistent with how the WEBrick ruby ↵Rick Bradley2007-10-155-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | classes are named.
| | * | | | | | Implementing listening state tracking for webrick and mongrel.Rick Bradley2007-10-154-6/+54
| | | | | | | |
| | * | | | | | More unit specs for mongrel and webrick; more code to make them work, yo.Rick Bradley2007-10-156-26/+147
| | | | | | | |
| | * | | | | | Pushing functionality down to webrick/mongrel classes now; cleanup in the ↵Rick Bradley2007-10-156-61/+102
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | base server / http server classes + specs.
| | * | | | | | Merge branch 'master' of git://reductivelabs.com/puppet into routingRick Bradley2007-10-1325-224/+411
| | |\ \ \ \ \ \
| | * | | | | | | more stuff for the interim commitRick Bradley2007-10-124-0/+106
| | | | | | | | |
| | * | | | | | | interim checkin of network stuffsRick Bradley2007-10-123-269/+235
| | | | | | | | |
| | * | | | | | | Merge branch 'master' of git://reductivelabs.com/puppet into routingRick Bradley2007-10-092-2/+13
| | |\ \ \ \ \ \ \
| | * \ \ \ \ \ \ \ Merge branch 'master' of git://reductivelabs.com/puppet into routingRick Bradley2007-10-0929-179/+717
| | |\ \ \ \ \ \ \ \
| | * \ \ \ \ \ \ \ \ Merge branch 'master' of git://reductivelabs.com/puppet into routingRick Bradley2007-10-0635-373/+319
| | |\ \ \ \ \ \ \ \ \
* | | | | | | | | | | | Commenting out the time debugging I was usingLuke Kanies2007-11-081-3/+3
|/ / / / / / / / / / /
* | | | | | | | | | | Adding unit tests for the module that handles theLuke Kanies2007-11-082-7/+144
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | logic around mounting and unmounting. This includes a fix for bug #761, which required a different regex for Solaris.
* | | | | | | | | | | Merge branch 'master' of ssh://reductivelabs.com/opt/rl/git/puppetLuke Kanies2007-11-088-69/+113
|\ \ \ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ \ Merge commit 'davids-bugfixes/rest/fix-760'Luke Kanies2007-11-081-0/+2
| |\ \ \ \ \ \ \ \ \ \ \
| | * | | | | | | | | | | fix #760: property_fix has to be called after creating a symlinkDavid Schmitt2007-11-081-0/+2
| | | | | | | | | | | | |
| * | | | | | | | | | | | Merge commit 'davids-bugfixes/rest/fix-731'Luke Kanies2007-11-081-1/+2
| |\ \ \ \ \ \ \ \ \ \ \ \
| | * | | | | | | | | | | | fix #731: add exported=true to collect_exportedDavid Schmitt2007-11-081-1/+2
| | |/ / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | this just adds the patch from the bugreport
| * | | | | | | | | | | | Switching the class resource evaluation to only happenLuke Kanies2007-11-084-12/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | when using :include, not (for example) when evaluating node classes.
| * | | | | | | | | | | | Classes once again get evaluated immediately when theLuke Kanies2007-11-085-64/+94
| | |_|_|_|_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'include' function is used, instead of being lazy-evaluated. Previous work caused resources to get created to model these classes, but in the process, I removed the fact that the classes were evaluated immediately. This meant that you couldn't guarantee that a class was evaluated before you went to use its variables.
* / | | | | | | | | | | Fixing the 'mount' tests so that they no longerLuke Kanies2007-11-086-280/+211
|/ / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | modify the local system and they run fine as non-root users.
* | | | | | | | | | | Switching the base class for the Relationship class.Luke Kanies2007-11-086-85/+168
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It was previously using the GRATR::Edge class, which had wonky overrides that dramatically slowed down sorting (its hash mechanism hashed the source and target so that edges with the same source/target got the same hash, which we actually don't want any more). This shouldn't change any functionality, just performance. I didn't retain all functionality from the Edge class, but a lot of that functionality was, um, horrible, like Edge[] being equivalent to Edge.new.
* | | | | | | | | | | Merge branch 'rest'Luke Kanies2007-11-0813-144/+575
|\| | | | | | | | | |
| * | | | | | | | | | Splitting the puppetd tests into two tests. It is still not a very good ↵Luke Kanies2007-11-081-27/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | test, but I do not know of a good way to test this, really.
| * | | | | | | | | | Switching the graph base class from GRATR::DigraphLuke Kanies2007-11-078-92/+136
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to Puppet::SimpleGraph, which should dramatically enhance performance. It should be largely functionally equivalent, with the only difference being that edges are no longer deduplicated.
| * | | | | | | | | | Adding a new graphing base class, because the GRATR stuffLuke Kanies2007-11-072-0/+360
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | is just too slow. This class has just about no iteration, and vertex deletation is dramatically (as in, 1000x) faster). Here are the results of some very simplistic graph operations: Vertex tests (add and remove 1000 vertices): gratr: Add: 0.01; Remove: 9.70 simple: Add: 0.02; Remove: 0.01 Edge tests (add and remove 1000 edges): gratr: Add: 0.02; Remove: 0.03 simple: Add: 0.07; Remove: 0.02 I expect I can get the cost of the edge addition down some, but even as it is, it's a couple of orders of magnitude faster. This doesn't even count things like searching, which I did some other testing on and got consistently faster results (somewhere between 1.5x and 1500x faster, depending on how the test was set up and how big the graph was).
| * | | | | | | | | | Caching the 'parent' value, which resulted inLuke Kanies2007-10-311-12/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a drastic performance increase. However, profiling has shown that GRATR just isn't going to cut it. I think I'm going to have to replace it as my graphing base class to avoid the horrible, horrible performance I keep encountering.
| * | | | | | | | | | The configurations should now be functional again --Luke Kanies2007-10-314-13/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | file recursion was previously not working, because the relationship graph was setting itself as a resource's primary configuration, which caused it to try creating its own relationship graph. I've now found that the current code is about 5x slower than the released code, so now I hope to resolve that.
| * | | | | | | | | | Fixing a bit of indentation and commenting in the xmlrpc/client fileLuke Kanies2007-10-291-4/+3
| | |_|_|_|_|_|_|_|/ | |/| | | | | | | |