github.com/slspeek/camlistore_namedsearch@v0.0.0-20140519202248-ed6f70f7721a/pkg/serverinit/testdata/sqlite-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": "/tmp/camli.db",
    57  					"type": "sqlite"
    58  				}
    59  			}
    60  		},
    61  		"/my-search/": {
    62  			"handler": "search",
    63  			"handlerArgs": {
    64  				"index": "/index/",
    65  				"owner": "sha1-f2b0b7da718b97ce8c31591d8ed4645c777f3ef4",
    66  				"slurpToMemory": true
    67  			}
    68  		},
    69  		"/setup/": {
    70  			"handler": "setup"
    71  		},
    72  		"/share/": {
    73  			"handler": "share",
    74  			"handlerArgs": {
    75  				"blobRoot": "/bs/"
    76  			}
    77  		},
    78  		"/sighelper/": {
    79  			"handler": "jsonsign",
    80  			"handlerArgs": {
    81  				"keyId": "26F5ABDA",
    82  				"publicKeyDest": "/bs-and-index/",
    83  				"secretRing": "/path/to/secring"
    84  			}
    85  		},
    86  		"/status/": {
    87  			"handler": "status"
    88  		},
    89  		"/sync/": {
    90  			"handler": "sync",
    91  			"handlerArgs": {
    92  				"from": "/bs/",
    93  				"queue": {
    94  					"file": "/tmp/blobs/sync-to-index-queue.sqlite",
    95  					"type": "sqlite"
    96  				},
    97  				"to": "/index/"
    98  			}
    99  		},
   100  		"/ui/": {
   101  			"handler": "ui",
   102  			"handlerArgs": {
   103  				"cache": "/cache/",
   104  				"jsonSignRoot": "/sighelper/",
   105  				"scaledImage": {
   106  					"file": "/tmp/blobs/thumbmeta.kv",
   107  					"type": "kv"
   108  				}
   109  			}
   110  		}
   111  	}
   112  }