github.com/slspeek/camlistore_namedsearch@v0.0.0-20140519202248-ed6f70f7721a/pkg/serverinit/testdata/with_blog-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  		"/blog/": {
    16  			"handler": "publish",
    17  			"handlerArgs": {
    18  				"blobRoot": "/bs-and-maybe-also-index/",
    19  				"cache": "/cache/",
    20  				"css": [
    21  					"blog-purple.css"
    22  				],
    23  				"goTemplate": "blog.html",
    24  				"rootName": "blogRoot",
    25  				"rootPermanode": [
    26  					"/sighelper/",
    27  					"sha1-2790ec1ec6fd44b9620b21155c8738aa08d4e3a0"
    28  				],
    29  				"scaledImage": {
    30  					"file": "/tmp/camli-cache/blog-thumbnails.kv",
    31  					"type": "kv"
    32  				},
    33  				"searchRoot": "/my-search/"
    34  			}
    35  		},
    36  		"/bs-and-index/": {
    37  			"handler": "storage-replica",
    38  			"handlerArgs": {
    39  				"backends": [
    40  					"/bs/",
    41  					"/index/"
    42  				]
    43  			}
    44  		},
    45  		"/bs-and-maybe-also-index/": {
    46  			"handler": "storage-cond",
    47  			"handlerArgs": {
    48  				"read": "/bs/",
    49  				"write": {
    50  					"else": "/bs/",
    51  					"if": "isSchema",
    52  					"then": "/bs-and-index/"
    53  				}
    54  			}
    55  		},
    56  		"/bs/": {
    57  			"handler": "storage-filesystem",
    58  			"handlerArgs": {
    59  				"path": "/tmp/blobs"
    60  			}
    61  		},
    62  		"/cache/": {
    63  			"handler": "storage-filesystem",
    64  			"handlerArgs": {
    65  				"path": "/tmp/blobs/cache"
    66  			}
    67  		},
    68  		"/importer/": {
    69  			"handler": "importer",
    70  			"handlerArgs": {}
    71  		},
    72  		"/index/": {
    73  			"handler": "storage-index",
    74  			"handlerArgs": {
    75  				"blobSource": "/bs/",
    76  				"storage": {
    77  					"file": "/path/to/indexkv.db",
    78  					"type": "kv"
    79  				}
    80  			}
    81  		},
    82  		"/my-search/": {
    83  			"handler": "search",
    84  			"handlerArgs": {
    85  				"index": "/index/",
    86  				"owner": "sha1-f2b0b7da718b97ce8c31591d8ed4645c777f3ef4",
    87  				"slurpToMemory": true
    88  			}
    89  		},
    90  		"/setup/": {
    91  			"handler": "setup"
    92  		},
    93  		"/share/": {
    94  			"handler": "share",
    95  			"handlerArgs": {
    96  				"blobRoot": "/bs/"
    97  			}
    98  		},
    99  		"/sighelper/": {
   100  			"handler": "jsonsign",
   101  			"handlerArgs": {
   102  				"keyId": "26F5ABDA",
   103  				"publicKeyDest": "/bs-and-index/",
   104  				"secretRing": "/path/to/secring"
   105  			}
   106  		},
   107  		"/status/": {
   108  			"handler": "status"
   109  		},
   110  		"/sync/": {
   111  			"handler": "sync",
   112  			"handlerArgs": {
   113  				"from": "/bs/",
   114  				"queue": {
   115  					"file": "/tmp/blobs/sync-to-index-queue.kv",
   116  					"type": "kv"
   117  				},
   118  				"to": "/index/"
   119  			}
   120  		},
   121  		"/ui/": {
   122  			"handler": "ui",
   123  			"handlerArgs": {
   124  				"cache": "/cache/",
   125  				"jsonSignRoot": "/sighelper/",
   126  				"publishRoots": [
   127  					"/blog/"
   128  				],
   129  				"scaledImage": {
   130  					"file": "/tmp/blobs/thumbmeta.kv",
   131  					"type": "kv"
   132  				}
   133  			}
   134  		}
   135  	}
   136  }