This repository contains ready-made CloudSlang @Actions, flows, operations and tests for the Couchbase integration.
Travis CI | Maven Central | Rating | Test coverage | Dependencies |
---|---|---|---|---|
Couchbase Server is an open source, distributed, NoSQL document-oriented database.
It exposes a fast key-value store with managed cache for submillisecond data operations,
purpose-built indexers for fast queries and a query engine for executing SQL-like queries.
For mobile and Internet of Things environments Couchbase Lite runs natively on-device and
manages synchronization to Couchbase Server.
<dependency>
<groupId>io.cloudslang.content</groupId>
<artifactId>cs-couchbase</artifactId>
<version>0.1.0</version>
</dependency>
Pre-requisites: JAVA JRE >=7
- Download the CloudSlang CLI file named cslang-cli.zip/tar.gz:
- Extract it.
- Go to the folder
cslang/bin/
- Run the executable :
- For Linux:
bash cslang
- For Windows:
cslang.bat
- For Linux:
- Run a simple
Get design docs info
operation:
run --f ../slang/io/cloudslang/content/couchbase/views/get_design_docs_info.sl --i endpoint=couchbase_IP,username=couchbase_USERNAME,password=couchbase_PASSWORD,bucket_name=couchbase_BUCKET_NAME
Command line arguments in the above example:
Argument | Description |
---|---|
--f | Location of the flow to run. |
--i | Arguments the flow takes as input, for multiple arguments use a comma delimited list (e.g. var1=value1,var2=value2 ). |
For more information about the integration, content structure, contribution guide visit our wiki page here.