github.com/olivere/camlistore@v0.0.0-20140121221811-1b7ac2da0199/server/appengine/config.json (about) 1 { "_for-emacs": "-*- mode: js2;-*-", 2 "handlerConfig": true, 3 "auth": "appengine_app_owner:userpass:camlistore:pass3179", 4 "prefixes": { 5 6 "/": { 7 "handler": "root", 8 "handlerArgs": { 9 "ownerName": "TODO:AppEngineOwnerName", 10 "blobRoot": "/bs-and-maybe-also-index/", 11 "statusRoot": "/status/", 12 "searchRoot": "/my-search/", 13 "stealth": false 14 } 15 }, 16 17 "/ui/": { 18 "handler": "ui", 19 "handlerArgs": { 20 "jsonSignRoot": "/sighelper/" 21 } 22 }, 23 24 "/status/": { 25 "handler": "status" 26 }, 27 28 "/bs-and-maybe-also-index/": { 29 "handler": "storage-cond", 30 "handlerArgs": { 31 "write": { 32 "if": "isSchema", 33 "then": "/bs-and-index/", 34 "else": "/bs/" 35 }, 36 "read": "/bs/" 37 } 38 }, 39 40 "/bs-and-index/": { 41 "handler": "storage-replica", 42 "handlerArgs": { 43 "backends": ["/bs/", "/indexer/"] 44 } 45 }, 46 47 "/sighelper/": { 48 "handler": "jsonsign", 49 "handlerArgs": { 50 "secretRing": "test-secring.gpg", 51 "keyId": "26F5ABDA", 52 "publicKeyDest": "/bs/" 53 } 54 }, 55 56 "/bs/": { 57 "handler": "storage-appengine", 58 "handlerArgs": { 59 } 60 }, 61 62 "/bs2/": { 63 "handler": "storage-appengine", 64 "handlerArgs": { 65 "namespace": "two" 66 } 67 }, 68 69 "/sync/": { 70 "enabled": false, 71 "handler": "sync", 72 "handlerArgs": { 73 "from": "/bs/", 74 "to": "/indexer/" 75 } 76 }, 77 78 "/indexer/": { 79 "handler": "storage-aeindex", 80 "handlerArgs": { 81 "namespace": "idx1", 82 "blobSource": "/bs/" 83 } 84 }, 85 86 "/my-search/": { 87 "handler": "search", 88 "handlerArgs": { 89 "index": "/indexer/", 90 "owner": "sha1-f2b0b7da718b97ce8c31591d8ed4645c777f3ef4" 91 } 92 } 93 94 } 95 }