History log of /3.0.2-MP2/couchbase-examples/ (Results 1 - 25 of 83)
Revision (<<< Hide revision tags) (Show revision tags >>>)Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
5f87273a31-Oct-2014 Bin Cui <bin.cui@gmail.com>

MB-11131: handle default port case

Change-Id: I3ffca42afcc96414acb54b5a3933567425785ce1
Reviewed-on: http://review.couchbase.org/42673
Reviewed-by: Bin Cui <bin.cui@gmail.com>
Te

MB-11131: handle default port case

Change-Id: I3ffca42afcc96414acb54b5a3933567425785ce1
Reviewed-on: http://review.couchbase.org/42673
Reviewed-by: Bin Cui <bin.cui@gmail.com>
Tested-by: Bin Cui <bin.cui@gmail.com>

show more ...

3bf85cd710-Sep-2014 Bin Cui <bin.cui@gmail.com>

MB-11567: Allow to only use bucket name and password

When it is called from ns_server, only bucket name and bucket pwd
are passwd because the bucket is created first. As such, we should

MB-11567: Allow to only use bucket name and password

When it is called from ns_server, only bucket name and bucket pwd
are passwd because the bucket is created first. As such, we should
bypass bucket creation step and only check bucket status.

Change-Id: I9293ff99d34aeff9c45299cec4d3e76d99d76f92
Reviewed-on: http://review.couchbase.org/41292
Tested-by: Bin Cui <bin.cui@gmail.com>
Reviewed-by: Bin Cui <bin.cui@gmail.com>

show more ...

4829266f27-Aug-2014 Volker Mische <vmx@couchbase.com>

MB-12087: License the example data properly

The beer sample comes from the Open Beer Database and is licensed
under the Open Database License and Database Contents License.

The

MB-12087: License the example data properly

The beer sample comes from the Open Beer Database and is licensed
under the Open Database License and Database Contents License.

The gamesim sample was generated by Couchbase and is licensed under
the Apache License 2.0.

Change-Id: Ia5b6c5eba2440cb2d2da443f8b78b46d88313e4c
Reviewed-on: http://review.couchbase.org/40983
Reviewed-by: Sriram Melkote <siri@couchbase.com>
Tested-by: Sriram Melkote <siri@couchbase.com>

show more ...

3e2d4fdc18-Aug-2014 Bin Cui <bin.cui@gmail.com>

MB-11820: Update wrapper script to reflect location change

Change-Id: Id790641fdc1bd9e03e93ead247f7616602e961af
Reviewed-on: http://review.couchbase.org/40706
Reviewed-by: Bin Cui <b

MB-11820: Update wrapper script to reflect location change

Change-Id: Id790641fdc1bd9e03e93ead247f7616602e961af
Reviewed-on: http://review.couchbase.org/40706
Reviewed-by: Bin Cui <bin.cui@gmail.com>
Tested-by: Bin Cui <bin.cui@gmail.com>

show more ...

b7e40daf18-Aug-2014 Bin Cui <bin.cui@gmail.com>

MB-11820: Move cbdocloader to bin directory

Change-Id: If3d2903504731ae8715970dede2363ae305d0f06
Reviewed-on: http://review.couchbase.org/40699
Reviewed-by: Bin Cui <bin.cui@gmail.co

MB-11820: Move cbdocloader to bin directory

Change-Id: If3d2903504731ae8715970dede2363ae305d0f06
Reviewed-on: http://review.couchbase.org/40699
Reviewed-by: Bin Cui <bin.cui@gmail.com>
Tested-by: Bin Cui <bin.cui@gmail.com>

show more ...

670bcc9015-Aug-2014 Bin Cui <bin.cui@gmail.com>

MB-11820: Check if bucket is ready before populating data

Also, leverage cbtransfer to upload json files to cluster

Change-Id: Ia9071874826c45443f75d275b374496cba217028
Reviewed

MB-11820: Check if bucket is ready before populating data

Also, leverage cbtransfer to upload json files to cluster

Change-Id: Ia9071874826c45443f75d275b374496cba217028
Reviewed-on: http://review.couchbase.org/40660
Reviewed-by: Bin Cui <bin.cui@gmail.com>
Tested-by: Bin Cui <bin.cui@gmail.com>

show more ...

bdad3f1928-May-2014 Chris Hillery <ceej@couchbase.com>

MB-11106: handle paths with spaces

Change-Id: I80d511e62cac1a7a19d288f78b489b0de1f19dd8
Reviewed-on: http://review.couchbase.org/37630
Tested-by: Chris Hillery <ceej@couchbase.com>

MB-11106: handle paths with spaces

Change-Id: I80d511e62cac1a7a19d288f78b489b0de1f19dd8
Reviewed-on: http://review.couchbase.org/37630
Tested-by: Chris Hillery <ceej@couchbase.com>
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>

show more ...

f8fe356710-Apr-2014 Artem Stemkovski <artem@couchbase.com>

MB-10415 Allow to use bucket credentials in cbdocloader

... if bucket already exists
access /nodes/self that requires admin priveleges only if bucket
needs to be created

Cha

MB-10415 Allow to use bucket credentials in cbdocloader

... if bucket already exists
access /nodes/self that requires admin priveleges only if bucket
needs to be created

Change-Id: Ib8eb7062dc6a8cf750d97455c640eac0528c26a4
Reviewed-on: http://review.couchbase.org/35540
Tested-by: Artem Stemkovski <artem@couchbase.com>
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>

show more ...

f10b38fa10-Apr-2014 Trond Norbye <trond.norbye@gmail.com>

MB-10682: Make the script relocatable

Previously we hardcoded the absolute path of the installed binary
into the wrapper script. This patch determines the path at
runtime.

L

MB-10682: Make the script relocatable

Previously we hardcoded the absolute path of the installed binary
into the wrapper script. This patch determines the path at
runtime.

Limitation:
The directory layout have to be:

bin/tools/program
lib/python/python-file

Change-Id: Ia2139ec59c7cb92bdf28b2caabc504075f03f282
Reviewed-on: http://review.couchbase.org/35543
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>

show more ...

67fefb3b09-Apr-2014 Artem Stemkovski <artem@couchbase.com>

Revert "MB-10682: Make the script relocatable"

This reverts commit d4996d32be86519e39d37354f1dcdbe1626571ee.

Change-Id: I3968d4b8c156ac584b5f3a22704adf13c55f64d6
Reviewed-on: ht

Revert "MB-10682: Make the script relocatable"

This reverts commit d4996d32be86519e39d37354f1dcdbe1626571ee.

Change-Id: I3968d4b8c156ac584b5f3a22704adf13c55f64d6
Reviewed-on: http://review.couchbase.org/35524
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>

show more ...

d4996d3209-Apr-2014 Trond Norbye <trond.norbye@gmail.com>

MB-10682: Make the script relocatable

Previously we hardcoded the absolute path of the installed binary
into the wrapper script. This patch determines the path at
runtime.

L

MB-10682: Make the script relocatable

Previously we hardcoded the absolute path of the installed binary
into the wrapper script. This patch determines the path at
runtime.

Limitation:
The directory layout have to be:

bin/program
lib/python/python-file

Change-Id: I23af76bbe3d5c3036474c4a40c03b2ad7cfcfe1e
Reviewed-on: http://review.couchbase.org/35499
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>

show more ...

5c92ba8c21-Mar-2014 Trond Norbye <trond.norbye@gmail.com>

Added CMake PROJECT setting

Change-Id: I85d40093f9b95a87f319b30dfb24b83c275c8f29
Reviewed-on: http://review.couchbase.org/34761
Reviewed-by: Chris Hillery <ceej@couchbase.com>
Te

Added CMake PROJECT setting

Change-Id: I85d40093f9b95a87f319b30dfb24b83c275c8f29
Reviewed-on: http://review.couchbase.org/34761
Reviewed-by: Chris Hillery <ceej@couchbase.com>
Tested-by: Chris Hillery <ceej@couchbase.com>

show more ...

c04d521221-Nov-2013 Trond Norbye <trond.norbye@gmail.com>

Transition to CMake

Change-Id: I86872e43d7503cbf4f50fe47b5e335dec5b7d0de
Reviewed-on: http://review.couchbase.org/30441
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-

Transition to CMake

Change-Id: I86872e43d7503cbf4f50fe47b5e335dec5b7d0de
Reviewed-on: http://review.couchbase.org/30441
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>

show more ...

1fb1d29229-Oct-2013 Bin Cui <bin.cui@gmail.com>

MB-9406: Check if input zip file exists or not

Change-Id: I0863852c5f1297f3431dd868e8e34fc67aaec725
Reviewed-on: http://review.couchbase.org/29855
Reviewed-by: Pavel Paulau <pavel.pa

MB-9406: Check if input zip file exists or not

Change-Id: I0863852c5f1297f3431dd868e8e34fc67aaec725
Reviewed-on: http://review.couchbase.org/29855
Reviewed-by: Pavel Paulau <pavel.paulau@gmail.com>
Tested-by: Bin Cui <bin.cui@gmail.com>

show more ...

Revision tags: 2.0.1-linux
cd9c860021-Nov-2012 Sergey Avseyev <sergey.avseyev@gmail.com>

MB-7359: Rename brewery property "geo.lng" to "geo.lon"

<mschoch> for breweries we encode the geo point as { lat: x, lng: y }
<mschoch> elasticsearch supports a variety of formats, but n

MB-7359: Rename brewery property "geo.lng" to "geo.lon"

<mschoch> for breweries we encode the geo point as { lat: x, lng: y }
<mschoch> elasticsearch supports a variety of formats, but not that one
<mschoch> it requires "lon" not "lng"
<mschoch> if we switched to "lon" it would pretty much work out of the box

Reference: https://github.com/avsej/beer-sample/commit/5efe2032
Change-Id: I882959bea7991353b592724439be1005bb0ec13d
Reviewed-on: http://review.couchbase.org/22729
Reviewed-by: Matt Ingenthron <matt@couchbase.com>
Tested-by: Bin Cui <bin.cui@gmail.com>

show more ...

c59551ad08-Nov-2012 Sergey Avseyev <sergey.avseyev@gmail.com>

MB-7126 Add "if guards" in sample data view functions

gamesim-sample/design_docs/players.json:leaderboard/map

function (doc, meta) {
if (doc.jsonType == "player" && doc.ex

MB-7126 Add "if guards" in sample data view functions

gamesim-sample/design_docs/players.json:leaderboard/map

function (doc, meta) {
if (doc.jsonType == "player" && doc.experience) {
emit(doc.experience, null);
}
}

beer-sample/design_docs/beer.json:brewery_beers/map

function(doc, meta) {
switch(doc.type) {
case "brewery":
emit([meta.id]);
break;
case "beer":
if (doc.brewery_id) {
emit([doc.brewery_id, meta.id]);
}
break;
}
}

Change-Id: Ibb6039580ec1d2a4f232e4302e57baeaeb8530e6
Reviewed-on: http://review.couchbase.org/22364
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Reviewed-by: Aaron Miller <apage43@ninjawhale.com>
Tested-by: Bin Cui <bin.cui@gmail.com>

show more ...

544688dc26-Oct-2012 Farshid Ghods <farshid.ghods@gmail.com>

MB-6969 added missing zip files to dist target

Change-Id: I565f71f7a33abd2c9507b62e6aac023316ea512e
Reviewed-on: http://review.couchbase.org/21996
Reviewed-by: Bin Cui <bin.cui@gmail

MB-6969 added missing zip files to dist target

Change-Id: I565f71f7a33abd2c9507b62e6aac023316ea512e
Reviewed-on: http://review.couchbase.org/21996
Reviewed-by: Bin Cui <bin.cui@gmail.com>
Reviewed-by: Farshid Ghods <farshid@couchbase.com>
Tested-by: Farshid Ghods <farshid@couchbase.com>

show more ...

21e6161a01-Oct-2012 Bin Cui <bin.cui@gmail.com>

MB-6784: Add uuid.py to bin directory

uuid.py is indirectly referenced by couchbase python library even
though it is not directly used anywhere by docloader itself.

Change-Id: I

MB-6784: Add uuid.py to bin directory

uuid.py is indirectly referenced by couchbase python library even
though it is not directly used anywhere by docloader itself.

Change-Id: I786bc8da62fae275d5eb253db160d023ab304d9a
Reviewed-on: http://review.couchbase.org/21226
Tested-by: Bin Cui <bin.cui@gmail.com>
Reviewed-by: Farshid Ghods <farshid@couchbase.com>
Tested-by: Farshid Ghods <farshid@couchbase.com>

show more ...

a9e2e92b17-Sep-2012 Sergey Avseyev <sergey.avseyev@gmail.com>

MB-6674 Remove spatial view because it's experimental

Link: https://github.com/avsej/beer-sample/commit/071c5661
Change-Id: I0e7bdee838151eda993ec7cf0933130515f51383
Reviewed-on: htt

MB-6674 Remove spatial view because it's experimental

Link: https://github.com/avsej/beer-sample/commit/071c5661
Change-Id: I0e7bdee838151eda993ec7cf0933130515f51383
Reviewed-on: http://review.couchbase.org/20909
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>

show more ...

bdc5d5f317-Sep-2012 Sergey Avseyev <sergey.avseyev@gmail.com>

MB-6675 Rename docs using underscored names separated with dash

Example:

Brewery "Borsodi Sörgyár" => "borsodi_sorgyar"
Beer "Alt Munich Dark" => "hacker_pschorr_bru-alt_

MB-6675 Rename docs using underscored names separated with dash

Example:

Brewery "Borsodi Sörgyár" => "borsodi_sorgyar"
Beer "Alt Munich Dark" => "hacker_pschorr_bru-alt_munich_dark"

Links:

https://github.com/avsej/beer-sample/commit/1ae4f6f4
https://github.com/avsej/beer-sample/commit/0d7977df

Change-Id: I3e3bfb0e9ff1c960624aa65f91201da4c7345a93
Reviewed-on: http://review.couchbase.org/20908
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Reviewed-by: Matt Ingenthron <matt@couchbase.com>

show more ...

e7ede56926-Sep-2012 Bin Cui <bin.cui@gmail.com>

MB-6731: Add required modules for docloadgen

Since we remove module workloadgen, we need to make docloadgen
self sufficient to copy all dependent modules during build

Change-Id:

MB-6731: Add required modules for docloadgen

Since we remove module workloadgen, we need to make docloadgen
self sufficient to copy all dependent modules during build

Change-Id: I0794705032b0b91b590df84a81594b3d25fd395e
Reviewed-on: http://review.couchbase.org/21118
Reviewed-by: Farshid Ghods <farshid@couchbase.com>
Tested-by: Farshid Ghods <farshid@couchbase.com>

show more ...

693225bb20-Sep-2012 Bin Cui <bin.cui@gmail.com>

CBD-594: Add cbdocloader func spec

Change-Id: I086222c5e6eede296a29435a2f4bd490ac3f7061
Reviewed-on: http://review.couchbase.org/20996
Reviewed-by: Steve Yen <steve.yen@gmail.com>

CBD-594: Add cbdocloader func spec

Change-Id: I086222c5e6eede296a29435a2f4bd490ac3f7061
Reviewed-on: http://review.couchbase.org/20996
Reviewed-by: Steve Yen <steve.yen@gmail.com>
Tested-by: Bin Cui <bin.cui@gmail.com>

show more ...

0a08bf1415-Sep-2012 Bin Cui <bin.cui@gmail.com>

MB-6669: Use system provided random temp directory

mkdtemp creates a temporary directory in secure manner.

Change-Id: I962c5cdce4250e48c7a145f6e92a2678d4738364
Reviewed-on: http

MB-6669: Use system provided random temp directory

mkdtemp creates a temporary directory in secure manner.

Change-Id: I962c5cdce4250e48c7a145f6e92a2678d4738364
Reviewed-on: http://review.couchbase.org/20888
Reviewed-by: Jens Alfke <jens@couchbase.com>
Reviewed-by: Steve Yen <steve.yen@gmail.com>
Tested-by: Bin Cui <bin.cui@gmail.com>

show more ...

6c6ff9fb17-Sep-2012 Sergey Avseyev <sergey.avseyev@gmail.com>

Strip file extension properly (fixes docloader)

Change-Id: Ic0b5860a48b601cb112fa7cf8b6bd217945e65a3
Reviewed-on: http://review.couchbase.org/20910
Tested-by: Sergey Avseyev <sergey.

Strip file extension properly (fixes docloader)

Change-Id: Ic0b5860a48b601cb112fa7cf8b6bd217945e65a3
Reviewed-on: http://review.couchbase.org/20910
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Reviewed-by: Pavel Paulau <pavel.paulau@gmail.com>

show more ...

c71d9aec15-Sep-2012 Bin Cui <bin.cui@gmail.com>

MB-6452: Use same extractall function as for python 2.4

For python2.6 on Mac, zipfile.extractall() wrongly create parent
directory as file. And it lealds to extractall failure. The ZipUt

MB-6452: Use same extractall function as for python 2.4

For python2.6 on Mac, zipfile.extractall() wrongly create parent
directory as file. And it lealds to extractall failure. The ZipUtil
implementation won't have such problems.

Change-Id: I17a7e8dc5a664680ffbce58ba7cd3106c3a527b0
Reviewed-on: http://review.couchbase.org/20880
Reviewed-by: Jens Alfke <jens@couchbase.com>
Tested-by: Farshid Ghods <farshid@couchbase.com>
Reviewed-by: Farshid Ghods <farshid@couchbase.com>

show more ...

1234