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