28 Commits

Author SHA1 Message Date
Greg Karékinian
21f3a9f60f Remove all duplication the specs
S3 and Swift now run the same specs. The only difference is the before
block that defines the stubbed HTTP requests and the responses from the
Swift and S3 servers
2018-04-26 13:17:43 +02:00
Greg Karékinian
ac6bec48c4 Remove all Riak code and its dependencies
Closes #75
2018-04-16 11:54:32 +02:00
Greg Karékinian
fac033cff5 Use all keys from the config file's redis section in the specs
You can pass a db index, and the code was using it, but not the specs
2018-03-08 12:59:03 +01:00
Garret Alfert
067f4a1553 Use shorter Redis key for dir backend config
rsc:db:username instead of rs_config:dir_backend:username
2016-03-02 14:33:48 +01:00
Garret Alfert
409628c9e7 Trying to fix specs when run on Travis 2016-02-01 18:04:35 +01:00
Garret Alfert
a4673e9661 Use directory backend config from redis instead of config file 2016-01-29 16:18:09 +01:00
Garret Alfert
f73c286ce9 Purge all keys from redis before every test run 2016-01-23 12:34:08 -05:00
Garret Alfert
990ea9cf28 Save object metadata in redis 2016-01-20 15:33:35 -05:00
Greg Karékinian
35c04f85e4 Add a Swift remoteStorage provider 2015-04-29 20:13:04 +02:00
Garret Alfert
20d33cc1af Read CS credentials from file 2013-10-11 17:30:05 +02:00
Garret Alfert
4f91c9aa87 Purge cs binary bucket after tests 2013-10-10 14:58:08 +02:00
Garret Alfert
e5dfbff82d Test that files get deleted from Riak CS 2013-10-10 14:57:10 +02:00
Garret Alfert
b12df5470f Make sure that 'allow_mult' is false for all buckets 2013-10-07 15:23:09 +02:00
Garret Alfert
db1272b6fe Set RACK_ENV before requiring files in spec_helper.rb
This is because liquor_cabinet.rb is using the
environment to read the appropriate configuration
settings.
2013-04-30 12:10:16 +02:00
eaa3dbfe83 Use opslog instead of counters
Account for eventual consistency by storing log items for
create/update/delete operations instead of using counter keys. We can
then map/reduce over the log items in order to extract category sizes
and object counts. Furthermore, we can combine single items from time to
time in order to keep things fast and tidy.
2013-04-29 22:11:41 +02:00
c78be51e8f Fix merge conflict 2013-04-29 18:38:40 +02:00
1be4020991 Use config_file, include backend module depending on config (closes #8) 2013-04-25 23:11:25 +02:00
e94928c2ed Log object sizes to a per-user-and-category counter (closes #22) 2013-04-20 14:45:02 +02:00
e2095a34a6 Detect binary data even when content-type doesn't contain 'charset=binary' 2012-11-04 19:29:54 +01:00
44d276a387 Set indexes for binary objects 2012-11-03 15:17:40 +01:00
84c1f419be Make bucket names configurable by environment (refs #16) 2012-10-25 11:29:34 +02:00
ba979dfe04 Spec helper for writing the last response to a file 2012-10-22 12:18:31 +02:00
2882bca483 Fix user filtering for directory listings 2012-10-20 11:32:34 +02:00
4d01144bf4 Add spec helper that waits for the next second to begin (instead of sleeping for a whole second) 2012-09-26 20:00:07 +02:00
ebe499211a Support directory listings 2012-09-26 11:10:02 +02:00
9d124ce48a Move Riak-specific specs to their own file 2012-03-05 22:43:26 +01:00
b2b2980cf0 Prepare for Travis CI 2012-02-28 01:28:58 +01:00
0d15277178 Initial commit 2012-02-27 16:32:12 +01:00