This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"interface":":4984", | |
"adminInterface":":4985", | |
"metricsInterface":":4986", | |
"use_tls_server":false, | |
"log": ["*"], | |
"logging": { | |
"log_file_path": "/var/tmp/sglogs", | |
"console": { | |
"log_level": "debug", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"interface":":4984", | |
"adminInterface":":4985", | |
"metricsInterface":":4986", | |
"use_tls_server":false, | |
"log": ["*"], | |
"logging": { | |
"log_file_path": "/var/tmp/sglogs", | |
"console": { | |
"log_level": "debug", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function sync(doc, oldDoc) { | |
// Every document write is processed by access control function | |
/* Data Validation */ | |
// Validate the presence of email field. | |
validateNotEmpty("email", doc.email); | |
// Validate that the document Id _id is prefixed by owner |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"interface":":4984", | |
"adminInterface":":4985", | |
"metricsInterface":":4986", | |
"log": ["*"], | |
"logging": { | |
"log_file_path": "/var/tmp/sglogs", | |
"console": { | |
"log_level": "debug", | |
"log_keys": ["*"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"interface":":4984", | |
"adminInterface":":4985", | |
"log": ["*"], | |
"logging": { | |
"log_file_path": "/var/tmp/sglogs", | |
"console": { | |
"log_level": "debug", | |
"log_keys": ["*"] | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"interface":":4984", | |
"log": ["*"], | |
"logging": { | |
"log_file_path": "/var/tmp/sglogs", | |
"console": { | |
"log_level": "debug", | |
"log_keys": ["*"] | |
}, | |
"error": { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"logging": { | |
"console": { | |
"log_keys": ["*"] | |
} | |
}, | |
"databases": { | |
"db": { | |
"server": "couchbase://localhost", | |
"username": "admin", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"logging": { | |
"console": { | |
"log_keys": ["*"] | |
} | |
}, | |
"databases": { | |
"travel-sample": { | |
"server": "couchbase://localhost", | |
"username": "admin", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"username": "demo", | |
"click": "to edit", | |
"with JSON": "there are no reserved field names", | |
"count": 2, | |
"_sync": { | |
"rev": "1-d11d94c12f77e03cb08070ebd5980458", | |
"sequence": 34, | |
"recent_sequences": [ | |
34 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"_deleted": true, | |
"_sync": { | |
"rev": "2-d06bc90a77b80dce7d007db5681475c4", | |
"flags": 1, | |
"sequence": 33, | |
"recent_sequences": [ | |
32, | |
33 | |
], |
NewerOlder