github.com/slspeek/camlistore_namedsearch@v0.0.0-20140519202248-ed6f70f7721a/pkg/serverinit/testdata/google_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-googlecloudstorage", 37 "handlerArgs": { 38 "auth": { 39 "client_id": "clientId", 40 "client_secret": "clientSecret", 41 "refresh_token": "refreshToken" 42 }, 43 "bucket": "bucketName" 44 } 45 }, 46 "/cache/": { 47 "handler": "storage-filesystem", 48 "handlerArgs": { 49 "path": "/tmp/camli-cache" 50 } 51 }, 52 "/importer/": { 53 "handler": "importer", 54 "handlerArgs": {} 55 }, 56 "/index/": { 57 "handler": "storage-index", 58 "handlerArgs": { 59 "blobSource": "/bs/", 60 "storage": { 61 "file": "/path/to/indexkv.db", 62 "type": "kv" 63 } 64 } 65 }, 66 "/my-search/": { 67 "handler": "search", 68 "handlerArgs": { 69 "index": "/index/", 70 "owner": "sha1-f2b0b7da718b97ce8c31591d8ed4645c777f3ef4", 71 "slurpToMemory": true 72 } 73 }, 74 "/setup/": { 75 "handler": "setup" 76 }, 77 "/share/": { 78 "handler": "share", 79 "handlerArgs": { 80 "blobRoot": "/bs/" 81 } 82 }, 83 "/sighelper/": { 84 "handler": "jsonsign", 85 "handlerArgs": { 86 "keyId": "26F5ABDA", 87 "publicKeyDest": "/bs-and-index/", 88 "secretRing": "/path/to/secring" 89 } 90 }, 91 "/status/": { 92 "handler": "status" 93 }, 94 "/sync/": { 95 "handler": "sync", 96 "handlerArgs": { 97 "from": "/bs/", 98 "queue": { 99 "file": "/path/to/sync-to-index-queue.kv", 100 "type": "kv" 101 }, 102 "to": "/index/" 103 } 104 }, 105 "/ui/": { 106 "handler": "ui", 107 "handlerArgs": { 108 "cache": "/cache/", 109 "jsonSignRoot": "/sighelper/" 110 } 111 } 112 } 113 }