github.com/slspeek/camlistore_namedsearch@v0.0.0-20140519202248-ed6f70f7721a/pkg/serverinit/testdata/s3_nolocaldisk-want.json (about) 1 { 2 "auth": "userpass:camlistore:pass3179", 3 "https": false, 4 "listen": "localhost:3179", 5 "prefixes": { 6 "/": { 7 "handler": "root", 8 "handlerArgs": { 9 "blobRoot": "/bs-and-maybe-also-index/", 10 "searchRoot": "/my-search/", 11 "statusRoot": "/status/", 12 "stealth": false 13 } 14 }, 15 "/bs-and-index/": { 16 "handler": "storage-replica", 17 "handlerArgs": { 18 "backends": [ 19 "/bs/", 20 "/index/" 21 ] 22 } 23 }, 24 "/bs-and-maybe-also-index/": { 25 "handler": "storage-cond", 26 "handlerArgs": { 27 "read": "/bs/", 28 "write": { 29 "else": "/bs/", 30 "if": "isSchema", 31 "then": "/bs-and-index/" 32 } 33 } 34 }, 35 "/bs/": { 36 "handler": "storage-s3", 37 "handlerArgs": { 38 "aws_access_key": "key", 39 "aws_secret_access_key": "secret", 40 "bucket": "bucket" 41 } 42 }, 43 "/cache/": { 44 "handler": "storage-filesystem", 45 "handlerArgs": { 46 "path": "/tmp/camli-cache" 47 } 48 }, 49 "/importer/": { 50 "handler": "importer", 51 "handlerArgs": {} 52 }, 53 "/index/": { 54 "handler": "storage-index", 55 "handlerArgs": { 56 "blobSource": "/bs/", 57 "storage": { 58 "file": "/path/to/indexkv.db", 59 "type": "kv" 60 } 61 } 62 }, 63 "/my-search/": { 64 "handler": "search", 65 "handlerArgs": { 66 "index": "/index/", 67 "owner": "sha1-f2b0b7da718b97ce8c31591d8ed4645c777f3ef4", 68 "slurpToMemory": true 69 } 70 }, 71 "/setup/": { 72 "handler": "setup" 73 }, 74 "/share/": { 75 "handler": "share", 76 "handlerArgs": { 77 "blobRoot": "/bs/" 78 } 79 }, 80 "/sighelper/": { 81 "handler": "jsonsign", 82 "handlerArgs": { 83 "keyId": "26F5ABDA", 84 "publicKeyDest": "/bs-and-index/", 85 "secretRing": "/path/to/secring" 86 } 87 }, 88 "/status/": { 89 "handler": "status" 90 }, 91 "/sync/": { 92 "handler": "sync", 93 "handlerArgs": { 94 "from": "/bs/", 95 "queue": { 96 "file": "/path/to/sync-to-index-queue.kv", 97 "type": "kv" 98 }, 99 "to": "/index/" 100 } 101 }, 102 "/ui/": { 103 "handler": "ui", 104 "handlerArgs": { 105 "cache": "/cache/", 106 "jsonSignRoot": "/sighelper/" 107 } 108 } 109 } 110 }