Skip to content

Latest commit

 

History

History
52 lines (39 loc) · 2.89 KB

README.md

File metadata and controls

52 lines (39 loc) · 2.89 KB

This repository contains ready-made CloudSlang @Actions, flows, operations and tests for the Couchbase integration.

Travis CI Maven Central Rating Test coverage Dependencies
Build Status Maven Central Codacy Badge Codacy Badge Dependency Status

Integration

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 Information

<dependency>
    <groupId>io.cloudslang.content</groupId>
    <artifactId>cs-couchbase</artifactId>
    <version>0.1.0</version>
</dependency>

Usage

Pre-requisites: JAVA JRE >=7

  1. Download the CloudSlang CLI file named cslang-cli.zip/tar.gz:
  2. Extract it.
  3. Go to the folder cslang/bin/
  4. Run the executable :
    • For Linux: bash cslang
    • For Windows: cslang.bat
  5. 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.