Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Configurator tests: work against test-local config | Jeremy Daer | 2017-07-09 | 1 | -3/+3 |
| | | | | | | So tests pass when service configs aren't set up. References #28 | ||||
* | Tests: Dir.mktmpdir neatly wraps up tmpdir + join | Jeremy Daer | 2017-07-09 | 2 | -4/+2 |
| | |||||
* | Add basic tests to the Configurator#build (#28) | Dino Maric | 2017-07-09 | 1 | -0/+15 |
| | |||||
* | Direct uploads for S3 | David Heinemeier Hansson | 2017-07-09 | 3 | -9/+32 |
| | |||||
* | Test URL generation for S3 and Disk | David Heinemeier Hansson | 2017-07-09 | 2 | -0/+10 |
| | |||||
* | Example of keyfile specification | David Heinemeier Hansson | 2017-07-09 | 1 | -1/+12 |
| | |||||
* | Merge pull request #26 from jeremy/service-configurator | David Heinemeier Hansson | 2017-07-09 | 1 | -1/+1 |
|\ | | | | | Clarify how a service can build other composed services | ||||
| * | Clarify how a service can build other composed services | Jeremy Daer | 2017-07-09 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | * Service.build takes the literal YAML config hash for the service and a reference to the Configurator that's doing the building. * Services that compose additional services can use the Configurator to look them up and build them by name. See MirrorService for an example. References #23 | ||||
* | | Match new configurator needs | David Heinemeier Hansson | 2017-07-09 | 1 | -0/+2 |
|/ | |||||
* | Configure services that reference other services | Jeremy Daer | 2017-07-08 | 4 | -14/+19 |
| | | | | | | | | * Move service configuration from the Engine to Service * Delegate configuration mechanics to internal Service::Configurator * Delegate service building to the concrete Service classes, allowing them to configure composed services. * Implement for the Mirror service. | ||||
* | Mirror: explicit primary service and list of mirrors | Jeremy Daer | 2017-07-08 | 1 | -5/+13 |
| | | | | | | | | | | | | Pass separate primary service and list of mirrors rather than treating the first of the services list as the primary. Nice fit for keyword args, and something we've long wanted in the equivalent Basecamp file repository. Upload returns the results of the underlying service uploads rather than the io.rewind result. Rewind before uploading rather than afterward, and demonstrate that behavior with a test. Test that more than one mirror works. | ||||
* | Disk service: use binary IO throughout, not UTF-8 | Jeremy Daer | 2017-07-08 | 1 | -6/+4 |
| | |||||
* | Tests: skip GCS/AWS service tests if unconfigured | Jeremy Daer | 2017-07-08 | 1 | -0/+1 |
| | |||||
* | Test deleting a nonexistent key | George Claghorn | 2017-07-06 | 1 | -0/+6 |
| | |||||
* | Correct config path in error message | John Williams | 2017-07-06 | 1 | -1/+1 |
| | |||||
* | Fix test | George Claghorn | 2017-07-06 | 1 | -2/+2 |
| | | | | | | | * S3 fails fast if the Content-MD5 header on an upload request is an invalid checksum. Send a valid but incorrect checksum. * Rescue the service-specific exception and raise the generic one. | ||||
* | Helper methods are private | David Heinemeier Hansson | 2017-07-06 | 1 | -4/+5 |
| | |||||
* | Check integrity after uploads | David Heinemeier Hansson | 2017-07-06 | 1 | -2/+15 |
| | |||||
* | Compute checksum and byte_size client side | David Heinemeier Hansson | 2017-07-06 | 1 | -8/+0 |
| | | | | | Then we can add integrity checks on uploads to prevent errors in transport. | ||||
* | Flesh out mirror tests | George Claghorn | 2017-07-06 | 1 | -7/+26 |
| | |||||
* | Rename from Site to Service now that we're called Active Storage | David Heinemeier Hansson | 2017-07-06 | 7 | -0/+144 |