mirror of https://github.com/perkeep/perkeep.git
97 lines
1.9 KiB
JSON
97 lines
1.9 KiB
JSON
{ "_for-emacs": "-*- mode: js2;-*-",
|
|
"handlerConfig": true,
|
|
"auth": "appengine_app_owner:userpass:camlistore:pass3179",
|
|
"prefixes": {
|
|
|
|
"/": {
|
|
"handler": "root",
|
|
"handlerArgs": {
|
|
"ownerName": "TODO:AppEngineOwnerName",
|
|
"blobRoot": "/bs-and-maybe-also-index/",
|
|
"helpRoot": "/help/",
|
|
"statusRoot": "/status/",
|
|
"searchRoot": "/my-search/",
|
|
"stealth": false
|
|
}
|
|
},
|
|
|
|
"/ui/": {
|
|
"handler": "ui",
|
|
"handlerArgs": {
|
|
"jsonSignRoot": "/sighelper/"
|
|
}
|
|
},
|
|
|
|
"/status/": {
|
|
"handler": "status"
|
|
},
|
|
|
|
"/bs-and-maybe-also-index/": {
|
|
"handler": "storage-cond",
|
|
"handlerArgs": {
|
|
"write": {
|
|
"if": "isSchema",
|
|
"then": "/bs-and-index/",
|
|
"else": "/bs/"
|
|
},
|
|
"read": "/bs/"
|
|
}
|
|
},
|
|
|
|
"/bs-and-index/": {
|
|
"handler": "storage-replica",
|
|
"handlerArgs": {
|
|
"backends": ["/bs/", "/indexer/"]
|
|
}
|
|
},
|
|
|
|
"/sighelper/": {
|
|
"handler": "jsonsign",
|
|
"handlerArgs": {
|
|
"secretRing": "test-secring.gpg",
|
|
"keyId": "26F5ABDA",
|
|
"publicKeyDest": "/bs/"
|
|
}
|
|
},
|
|
|
|
"/bs/": {
|
|
"handler": "storage-appengine",
|
|
"handlerArgs": {
|
|
}
|
|
},
|
|
|
|
"/bs2/": {
|
|
"handler": "storage-appengine",
|
|
"handlerArgs": {
|
|
"namespace": "two"
|
|
}
|
|
},
|
|
|
|
"/sync/": {
|
|
"enabled": false,
|
|
"handler": "sync",
|
|
"handlerArgs": {
|
|
"from": "/bs/",
|
|
"to": "/indexer/"
|
|
}
|
|
},
|
|
|
|
"/indexer/": {
|
|
"handler": "storage-aeindex",
|
|
"handlerArgs": {
|
|
"namespace": "idx1",
|
|
"blobSource": "/bs/"
|
|
}
|
|
},
|
|
|
|
"/my-search/": {
|
|
"handler": "search",
|
|
"handlerArgs": {
|
|
"index": "/indexer/",
|
|
"owner": "sha1-f2b0b7da718b97ce8c31591d8ed4645c777f3ef4"
|
|
}
|
|
}
|
|
|
|
}
|
|
}
|