Skip to content

westmann/loader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

A small program to load JSON files generated by socialGen into Couchbase.

After building the project with mvn package a package (*-binary-assembly*) is available in the target directory. The binary package contains a bash script loader.sh that can be used to load the data into Couchbase. Run the script without arguments to see the parameters:

$ ./target/loader-1.0-SNAPSHOT-binary-assembly/bin/loader.sh
no arguments
Parameters: [options] <filename>
Options:
  -l <num>        (limit - number of records to load)
  -b <bucketname> (default: "default")
  -f              (flush bucket before loading)
  -h <host>       (default: "localhost")
  -k <fieldname>  (key field, can occur more than once, first match is chosen)
  -u <username>   (admin user)
  -p <password>   (admin password)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages