github.com/slspeek/camlistore_namedsearch@v0.0.0-20140519202248-ed6f70f7721a/pkg/serverinit/testdata/s3_nolocaldisk_mysql-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 "enabled": true, 55 "handler": "storage-index", 56 "handlerArgs": { 57 "blobSource": "/bs/", 58 "storage": { 59 "database": "camlitest", 60 "host": "localhost", 61 "password": "password", 62 "type": "mysql", 63 "user": "user" 64 } 65 } 66 }, 67 "/my-search/": { 68 "handler": "search", 69 "handlerArgs": { 70 "index": "/index/", 71 "owner": "sha1-f2b0b7da718b97ce8c31591d8ed4645c777f3ef4", 72 "slurpToMemory": true 73 } 74 }, 75 "/setup/": { 76 "handler": "setup" 77 }, 78 "/share/": { 79 "handler": "share", 80 "handlerArgs": { 81 "blobRoot": "/bs/" 82 } 83 }, 84 "/sighelper/": { 85 "handler": "jsonsign", 86 "handlerArgs": { 87 "keyId": "26F5ABDA", 88 "publicKeyDest": "/bs-and-index/", 89 "secretRing": "/path/to/secring" 90 } 91 }, 92 "/status/": { 93 "handler": "status" 94 }, 95 "/sync/": { 96 "handler": "sync", 97 "handlerArgs": { 98 "from": "/bs/", 99 "idle": true, 100 "to": "/index/" 101 } 102 }, 103 "/ui/": { 104 "handler": "ui", 105 "handlerArgs": { 106 "cache": "/cache/", 107 "jsonSignRoot": "/sighelper/" 108 } 109 } 110 } 111 }