Permalink
Commits on Nov 18, 2016
  1. Revert "MB-20511: Fix create_bucket API call in cbdocloader"

    mikewied committed Nov 18, 2016
    This reverts commit 62e98af.
    
    Change-Id: Iac3024111bef5ae9befcc84ca7f13874e5cdf64b
    Reviewed-on: http://review.couchbase.org/70053
    Reviewed-by: Michael Wiederhold <mike@couchbase.com>
    Tested-by: Michael Wiederhold <mike@couchbase.com>
Commits on Nov 4, 2016
  1. MB-21569: Defer indexes for being built until all indexes are added i…

    mikewied committed Nov 4, 2016
    …n samples
    
    Change-Id: I3bdf97ef46f130cc3829ff7f6a3a04cc065c65c7
    Reviewed-on: http://review.couchbase.org/69669
    Reviewed-by: Michael Wiederhold <mike@couchbase.com>
    Tested-by: Michael Wiederhold <mike@couchbase.com>
Commits on Aug 15, 2016
  1. MB-20511: Fix create_bucket API call in cbdocloader

    mikewied committed Aug 12, 2016
    We updated the create_bucket call in the cluster_manager and forgot
    to update cbdocloader. The new create_bucket call also includes
    a synchronous create option so we no longer need to code that
    waits for bucket creation in cbdocloader.
    
    Change-Id: I156aaccab16f124a21071d4233ce81cc4ac226cb
    Reviewed-on: http://review.couchbase.org/66743
    Reviewed-by: Eben Haber <eben@couchbase.com>
    Tested-by: Michael Wiederhold <mike@couchbase.com>
Commits on May 5, 2016
  1. MB-18729, MB-19400, MB-18771, MB-18967: Update sample buckets

    avsej committed May 4, 2016
    Change-Id: I58f5d9a29a7f1bb7cdb4a8b12fcb9645fadaf54c
    Reviewed-on: http://review.couchbase.org/63727
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Matt Ingenthron <matt@couchbase.com>
    Reviewed-by: Keshav Murthy <keshav@couchbase.com>
Commits on Apr 20, 2016
  1. Remove simplejson and use json instead

    mikewied committed Apr 20, 2016
    We only used simple json to provide python 2.4 and 2.5 support. Since
    we no longer support these versions we can remove this code.
    
    Change-Id: I16c069bceee7e313cd72cbb6e65c5f1d743ecc6a
    Reviewed-on: http://review.couchbase.org/63135
    Reviewed-by: Eben Haber <eben@couchbase.com>
    Tested-by: Michael Wiederhold <mike@couchbase.com>
  2. MB-19250: Show an auth error if the username and password are incorrect

    mikewied committed Apr 19, 2016
    The docloader originally relied on a couchbase-python-client project
    that is 3 years old. Instead of fixing that project and bringing
    in all of it's code for two function calls we can use the ClusterManager
    in the couchbase-cli repo.
    
    Change-Id: Id20dee7176306c60c4301e04d37404a36841b512
    Reviewed-on: http://review.couchbase.org/63062
    Reviewed-by: Eben Haber <eben@couchbase.com>
    Tested-by: Michael Wiederhold <mike@couchbase.com>
Commits on Apr 19, 2016
  1. Ignore .DS_Store files in .gitignore

    mikewied committed Apr 19, 2016
    Change-Id: I443b316d1c8984d9802bdf8df048e9e6f50b9ef2
    Reviewed-on: http://review.couchbase.org/63061
    Reviewed-by: Eben Haber <eben@couchbase.com>
    Tested-by: Michael Wiederhold <mike@couchbase.com>
Commits on Feb 26, 2016
  1. MB-18221: Add hotels to travel sample

    avsej committed Feb 22, 2016
    Change-Id: I479bf946eedea8718a16f7831d8a493ffc94ee86
    Reviewed-on: http://review.couchbase.org/60338
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
    Reviewed-by: Matt Ingenthron <matt@couchbase.com>
    Tested-by: Matt Ingenthron <matt@couchbase.com>
Commits on Jan 28, 2016
  1. Add a way to increase the log level from the docloader

    mikewied committed Jan 22, 2016
    Change-Id: Iaf18008de6875e3e05a75b5f4843d6cd9c9163dd
    Reviewed-on: http://review.couchbase.org/58925
    Reviewed-by: Eben Haber <eben@couchbase.com>
    Tested-by: Michael Wiederhold <mike@couchbase.com>
Commits on Jan 18, 2016
  1. Delete gamesim-sample directory

    mikewied committed Jan 15, 2016
    This was unzipped and merged by accident
    
    Change-Id: I8d770aa6e50212969d6605364759cf9ae75088db
    Reviewed-on: http://review.couchbase.org/58674
    Reviewed-by: Eben Haber <eben@couchbase.com>
    Tested-by: Michael Wiederhold <mike@couchbase.com>
Commits on Jul 28, 2015
  1. MB-15890: Clean up obsolete code

    Bin Cui committed with bcui6611 Jul 28, 2015
    Change-Id: Ibdfaeca018e362b1c5db5ad9d4cbe0b3dd87e041
    Reviewed-on: http://review.couchbase.org/53826
    Reviewed-by: Bin Cui <bin.cui@gmail.com>
    Tested-by: Bin Cui <bin.cui@gmail.com>
Commits on Jul 21, 2015
  1. MB-13684: Define indexes for sample data

    avsej committed Jul 21, 2015
    Generator script as additional change here (to avoid several commits
    with BLOBs) with changes regarding producing pristine zip file:
    
    * use --no-extra switch for zip to strip all OS-specific info
    * reset mtime for all files and directories
    * initialize random
    
    Change-Id: I7e1149a6bf9ffa7aab59022ea605647516bdaf58
    Reviewed-on: http://review.couchbase.org/53473
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Mark Nunberg <mark.nunberg@couchbase.com>
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Commits on Jul 10, 2015
  1. MB-15168: design doc processed in transfer engine

    Bin Cui committed with bcui6611 Jul 10, 2015
    Change-Id: I2eff8a1c188af0f122295d7b6838e8b1e64197fe
    Reviewed-on: http://review.couchbase.org/53091
    Reviewed-by: Bin Cui <bin.cui@gmail.com>
    Tested-by: Bin Cui <bin.cui@gmail.com>
Commits on May 27, 2015
  1. Distance field for routes

    avsej committed May 19, 2015
    Change-Id: Iabc7c117424b3757c8c75c09ac4734f86cbf90ae
    Reviewed-on: http://review.couchbase.org/51199
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Mark Nunberg <mark.nunberg@couchbase.com>
    Tested-by: Mark Nunberg <mark.nunberg@couchbase.com>
Commits on May 12, 2015
  1. MB-14589: Add spatial views to sample data

    avsej committed May 10, 2015
    Change-Id: I927da30e6318df77720c3c0df3295e7c736e151d
    Reviewed-on: http://review.couchbase.org/50827
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
Commits on May 4, 2015
  1. MB-14699: remove airport_4303, which has invalid GEO

    avsej committed Apr 25, 2015
    Change-Id: Ifa4cb1f3de1d495b6bb1f1e4231a4d84f6b76415
    Reviewed-on: http://review.couchbase.org/50236
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Commits on Apr 1, 2015
  1. Add travel data reduced set

    avsej committed Mar 27, 2015
    airport:  1969
    route:    24076
    landmark: 5389
    airline:  187
    
    Change-Id: Ibaf1fd1307eed0cc2f692ae0817e8993326f6179
    Reviewed-on: http://review.couchbase.org/48863
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Todd Greenstein <toddman@gmail.com>
Commits on Mar 9, 2015
  1. MB-13834: Check if a file is uploaded

    bcui6611 committed Mar 9, 2015
    Change-Id: I644ae8761de3bb87e68c32a83d2f63f62003503b
    Reviewed-on: http://review.couchbase.org/47966
    Reviewed-by: Bin Cui <bin.cui@gmail.com>
    Tested-by: Bin Cui <bin.cui@gmail.com>
Commits on Oct 31, 2014
  1. MB-11131: handle default port case

    bcui6611 committed Oct 31, 2014
    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>
Commits on Sep 11, 2014
  1. MB-11567: Allow to only use bucket name and password

    bcui6611 committed Sep 10, 2014
    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>
Commits on Aug 28, 2014
  1. MB-12087: License the example data properly

    vmx committed with melkote Aug 27, 2014
    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>
Commits on Aug 18, 2014
  1. MB-11820: Update wrapper script to reflect location change

    bcui6611 committed Aug 18, 2014
    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>
  2. MB-11820: Move cbdocloader to bin directory

    bcui6611 committed Aug 18, 2014
    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>
Commits on Aug 15, 2014
  1. MB-11820: Check if bucket is ready before populating data

    bcui6611 committed Aug 15, 2014
    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>
Commits on May 28, 2014
  1. MB-11106: handle paths with spaces

    ceejatec committed with trondn May 28, 2014
    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>
Commits on Apr 11, 2014
  1. MB-10415 Allow to use bucket credentials in cbdocloader

    vzasade committed with alk Apr 10, 2014
    ... 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>
Commits on Apr 10, 2014
  1. MB-10682: Make the script relocatable

    trondn committed Apr 10, 2014
    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>
Commits on Apr 9, 2014
  1. Revert "MB-10682: Make the script relocatable"

    vzasade committed with alk Apr 9, 2014
    This reverts commit d4996d3.
    
    Change-Id: I3968d4b8c156ac584b5f3a22704adf13c55f64d6
    Reviewed-on: http://review.couchbase.org/35524
    Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
    Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
  2. MB-10682: Make the script relocatable

    trondn committed Apr 9, 2014
    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>
Commits on Mar 21, 2014
  1. Added CMake PROJECT setting

    trondn committed with ceejatec Mar 21, 2014
    Change-Id: I85d40093f9b95a87f319b30dfb24b83c275c8f29
    Reviewed-on: http://review.couchbase.org/34761
    Reviewed-by: Chris Hillery <ceej@couchbase.com>
    Tested-by: Chris Hillery <ceej@couchbase.com>
Commits on Nov 22, 2013
  1. Transition to CMake

    trondn committed Nov 21, 2013
    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>
Commits on Nov 5, 2013
  1. MB-9406: Check if input zip file exists or not

    bcui6611 committed Oct 29, 2013
    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>
Commits on Jan 9, 2013
  1. MB-7359: Rename brewery property "geo.lng" to "geo.lon"

    avsej committed with bcui6611 Nov 21, 2012
    <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: avsej/beer-sample@5efe203
    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>
Commits on Nov 9, 2012
  1. MB-7126 Add "if guards" in sample data view functions

    avsej committed with steveyen Nov 8, 2012
    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>
Commits on Oct 29, 2012
  1. MB-6969 added missing zip files to dist target

    farshidce committed with Farshid Ghods Oct 26, 2012
    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>