summaryrefslogtreecommitdiffstats
path: root/spec/integration
Commit message (Collapse)AuthorAgeFilesLines
...
* Rewriting the tests for the package resource type, fixing #930.Luke Kanies2007-11-261-0/+24
|
* Using the Environment class to determine the default environment,Luke Kanies2007-11-201-2/+4
| | | | | rather than plenty of different places having the logic of how to determine the default environment.
* File serving should work now, both recursive andLuke Kanies2007-10-242-5/+108
| | | | | | | | | | | | | | single files, across modules, local file system, and the traditional file server. This work revolves around making sure that the termini produce functional file instances, meaning that they know how to find their content or metadata, which largely comes down to setting their paths correctly. I also created a new terminus base class for the local filesystem, since there was so much common code between content and metadata.
* Link handling is now in the file serving classes.Luke Kanies2007-10-221-1/+1
| | | | | | | | | | This was done by putting all of the functionality in the Content and Metadata class (actually, in a new base class for them). There are still some issues, and there need to be integration tests between the :local (soon to be renamed :file) termini for these classes.
* Renaming the 'mounts' terminus to 'file_server', and renamingLuke Kanies2007-10-204-36/+36
| | | | tests accordingly.
* File serving now works. I've tested a couple of ways toLuke Kanies2007-10-192-0/+66
| | | | | | | | | | | | | | | | use it, and added integration tests at the most important hook points. This provides the final class structure for all of these classes, but a lot of the class names are pretty bad, so I'm planning on going through all of them (especially the file_server stuff) and renaming. The functionality is all here for finding files, though (finally). Once the classes are renamed, I'll be adding searching ability (which will enable the recursive file copies) and then adding the link management and enabling ignoring files.
* I've now split the file-serving termini into two separate types (inLuke Kanies2007-10-184-0/+73
| | | | | | | | | | | | | | | | addition to Rest): A local terminus that just uses direct file paths, and a mounts terminus that uses the file server to figure out what the path should be. It looks like it also makes sense to split the 'mounts' terminus further, so there is a 'modules' terminus used to look files up in the terminus. I've added some integration tests to verify that everything is hooked together correctly. Lastly, I added a directory for shared behaviours. There's a ton of duplication in this setup, because the Content and Metadata classes behave almost but not quite identically across the board.
* Translating the report handler to an indirected model.Luke Kanies2007-10-131-0/+14
| | | | | | | | | | | I've provided backward compatibility with the old handler. The only terminus type that currently exists for reports is the 'code' terminus, which is used to process reports in the style of the old handler. At some point, we should likely switch at least some of these report types (e.g., 'store') to terminus types.
* Adding the integration tests to the Rakefile for spec,Luke Kanies2007-10-042-3/+2
| | | | | | fixing the integration tests, and extending the Classmethods for the indirector so that indirected classes can set the terminus class and cache class.
* Adding a "memory" node terminus, which willLuke Kanies2007-09-231-0/+46
| | | | | | be used by 'puppet' and the Cfengine 'module_puppet', since they need to set up the node specially with classes and other weird things.
* Adding my first integration test, verifying thatLuke Kanies2007-09-231-0/+48
checksum interaction behaves as I expect when interacting with the file terminus. I've also changed how files and checksums behave a bit. Files now create model instances with the content as the only argument during initialization, and checksums now calculate their checksums rather than having them passed in.