Siddhi Distributions - Test Framework

Siddhi Test Framework

License

License

Categories

Categories

Distribution Build Tools Siddhi Business Logic Libraries Machine Learning
GroupId

GroupId

io.siddhi.distribution
ArtifactId

ArtifactId

io-siddhi-distribution-test-framework
Last Version

Last Version

5.1.2
Release Date

Release Date

Type

Type

jar
Description

Description

Siddhi Distributions - Test Framework
Siddhi Test Framework
Project URL

Project URL

https://siddhi.io
Project Organization

Project Organization

WSO2

Download io-siddhi-distribution-test-framework

How to add to project

<!-- https://jarcasting.com/artifacts/io.siddhi.distribution/io-siddhi-distribution-test-framework/ -->
<dependency>
    <groupId>io.siddhi.distribution</groupId>
    <artifactId>io-siddhi-distribution-test-framework</artifactId>
    <version>5.1.2</version>
</dependency>
// https://jarcasting.com/artifacts/io.siddhi.distribution/io-siddhi-distribution-test-framework/
implementation 'io.siddhi.distribution:io-siddhi-distribution-test-framework:5.1.2'
// https://jarcasting.com/artifacts/io.siddhi.distribution/io-siddhi-distribution-test-framework/
implementation ("io.siddhi.distribution:io-siddhi-distribution-test-framework:5.1.2")
'io.siddhi.distribution:io-siddhi-distribution-test-framework:jar:5.1.2'
<dependency org="io.siddhi.distribution" name="io-siddhi-distribution-test-framework" rev="5.1.2">
  <artifact name="io-siddhi-distribution-test-framework" type="jar" />
</dependency>
@Grapes(
@Grab(group='io.siddhi.distribution', module='io-siddhi-distribution-test-framework', version='5.1.2')
)
libraryDependencies += "io.siddhi.distribution" % "io-siddhi-distribution-test-framework" % "5.1.2"
[io.siddhi.distribution/io-siddhi-distribution-test-framework "5.1.2"]

Dependencies

compile (10)

Group / Artifact Type Version
io.siddhi : siddhi-core jar 5.1.11
org.slf4j : slf4j-api jar 1.7.12
org.ops4j.pax.logging : pax-logging-log4j2 jar 1.11.2
org.wso2.carbon.datasources : org.wso2.carbon.datasource.core jar 1.1.8
findbugs : findbugs jar 1.0.0
org.apache.commons : commons-io jar 1.3.2
org.apache.kafka : kafka_2.11 jar 0.10.0.0
org.testcontainers : testcontainers jar 1.12.4
io.nats : java-nats-streaming jar 2.2.3
org.wso2.carbon : org.wso2.carbon.tools.core jar 5.2.12

test (7)

Group / Artifact Type Version
mysql : mysql-connector-java jar 8.0.18
org.jacoco : org.jacoco.ant jar 0.8.5
org.testng : testng jar 7.0.0
org.assertj : assertj-core jar 3.14.0
io.siddhi.extension.io.http : siddhi-io-http jar 2.2.0
io.siddhi.extension.map.json : siddhi-map-json jar 5.0.6
io.siddhi.extension.io.nats : siddhi-io-nats jar 2.0.10

Project Modules

There are no modules declared in this project.

Siddhi Distribution

Jenkins Build Status GitHub (pre-)release GitHub (Pre-)Release Date GitHub last commit License

Introduction

Siddhi is a Streaming and Complex Event Processing engine that listens to events from data streams, detects complex conditions described via a Streaming SQL language, and triggers actions. This repo contains necessary source code which creates the Siddhi runner and Siddhi tooling distributions by embedding Siddhi library in it.

Siddhi maintains two distributions as Siddhi-Runner and Siddhi-Tooling distribution.

  • Siddhi-Runner distribution bundles the Siddhi runtime which runs the Siddhi logic in a production environment.

  • Siddhi-Tooling distribution bundles the tooling editor profile which can be used for developing, testing and debugging Siddhi applications before moving to production.

Build from Source

Prerequisites

Steps to Build

  1. Get a clone or download source from Github

    git clone https://github.com/siddhi-io/distribution.git
  2. Run the Maven command mvn clean install from the root directory

  3. Find the Siddhi distributions in the following directories,
    Runner: runner/target
    Tooling: tooling/target

Try Siddhi Runner & Tooling

Siddhi Runner Distribution

Download the latest released distributions from here

  1. Extract the Siddhi runner distribution.

  2. Unzip the siddhi-runner-x.x.x.zip.

  3. Navigate to the <RUNNER_HOME>/bin directory. Start SiddhiApps with the runner config by executing the following commands from the distribution directory

    Linux/Mac :

    ./bin/runner.sh -Dapps=<siddhi-file> -Dconfig=<config-yaml-file>

    Windows :

    bin\runner.bat -Dapps=<siddhi-file> -Dconfig=<config-yaml-file>

Running Multiple SiddhiApps in one runner

To run multiple SiddhiApps in one runtime, have all SiddhiApps in a directory and pass its location through -Dapps parameter as follows,

-Dapps=<siddhi-apps-directory>

"Always use absolute path for SiddhiApps and runner configs." Providing absolute path of SiddhiApp file, or directory in -Dapps parameter, and when providing the Siddhi runner config yaml on -Dconfig parameter while starting Siddhi runner.

Siddhi Tooling Distribution

Download the latest released distributions from here

  1. Extract the Siddhi tooling distribution.
  2. Navigate to the <TOOLING_HOME>/bin directory and issue the following command:
    For Windows: tooling.bat
    For Linux: ./tooling.sh
  3. Access the Editor UI using the following URL.
    http://localhost:<EDITOR_PORT>/editor (e.g: https://localhost:9390/editor)

Please refer the link for more details.

Reporting Issues

We encourage you to report issues. However, please consider searching the existing issues in GitHub and communicating in Siddhi-Dev Google Group if you are unsure if it is a bug before filing a new issue.

To file a non-security issues:

  1. Click the Issues tab in the GitHub repository,

  2. Click the New Issue button,

  3. Fill out all sections in the issue template and submit.

Communicating with the team

Siddhi-Dev Google Group Group is the main Siddhi project discussion forum for developers.

Users can use Siddhi-User Google Group to raise any queries and get some help to achieve their use cases.

StackOverflow also can be used to get support, and GitHub for issues and code repositories.

io.siddhi.distribution

Siddhi - Cloud Native Stream Processor

Siddhi is an open source, lightweight, stream processing and complex event processing engine.

Versions

Version
5.1.2
5.1.0
5.1.0-m2
5.1.0-m1
5.1.0-alpha