public static CouchbaseCluster GetCouchbaseCluster() { var cf = GetCouchbaseClientConfiguration(); CouchbaseCluster cc = new global::Couchbase.Management.CouchbaseCluster(cf); return(cc); }
public void SetUp() { var config = new global::Couchbase.Configuration.CouchbaseClientConfiguration() { Bucket = "default", Password = "******" }; config.Urls.Add(new Uri("http://127.0.0.1:8091/pools")); var client = new global::Couchbase.CouchbaseClient(config); var cluster = new global::Couchbase.Management.CouchbaseCluster(config); var stats = client.Stats(); KVStore.Initialize(new Func <Interfaces.IStoreProvider>(() => new Couchbase.CouchbaseStoreProvider(client, cluster, config.Bucket))); }
public static CouchbaseCluster GetCouchbaseCluster() { var cf = GetCouchbaseClientConfiguration(); CouchbaseCluster cc = new global::Couchbase.Management.CouchbaseCluster(cf); return cc; }