WSO2 Siddhi Execution Extension - env Pom

WSO2 is an open source application development software company focused on providing service-oriented architecture solutions for professional developers.

License

License

Categories

Categories

Siddhi Business Logic Libraries Machine Learning
GroupId

GroupId

org.wso2.extension.siddhi.execution.env
ArtifactId

ArtifactId

siddhi-execution-env-parent
Last Version

Last Version

2.0.0
Release Date

Release Date

Type

Type

zip
Description

Description

WSO2 Siddhi Execution Extension - env Pom
WSO2 is an open source application development software company focused on providing service-oriented architecture solutions for professional developers.
Project URL

Project URL

http://wso2.org
Project Organization

Project Organization

WSO2
Source Code Management

Source Code Management

https://github.com/wso2-extensions/siddhi-execution-env.git

Download siddhi-execution-env-parent

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

Siddhi Execution Extension - Env

The siddhi-execution-env extension is an extension to Siddhi that provides the capability to read environment properties inside Siddhi stream definitions and use it inside queries. Functions of the env extension are as follows..

Find some useful links below:

Latest API Docs

Latest API Docs is 2.0.0.

How to use

Using the extension in WSO2 Stream Processor

  • You can use this extension in the latest WSO2 Stream Processor that is a part of WSO2 Analytics offering, with editor, debugger and simulation support.

  • This extension is shipped by default with WSO2 Stream Processor, if you wish to use an alternative version of this extension you can replace the component jar that can be found in the <STREAM_PROCESSOR_HOME>/lib directory.

Using the extension as a java library

  • This extension can be added as a maven dependency along with other Siddhi dependencies to your project.
     <dependency>
        <groupId>org.wso2.extension.siddhi.execution.env</groupId>
        <artifactId>siddhi-execution-env</artifactId>
        <version>x.x.x</version>
     </dependency>

Jenkins Build Status


Branch Build Status
master Build Status

Features

  • getEnvironmentProperty (Function)

    This function returns the Java environment property that corresponds with the key provided

  • getOriginIPFromXForwarded (Function)

    This function returns the public origin IP from the given X-Forwarded header.

  • getSystemProperty (Function)

    This function returns the system property referred to via the system property key.

  • getUserAgentProperty (Function)

    This function returns the value that corresponds with a specified property name of a specified user agent

  • getYAMLProperty (Function)

    This function returns the YAML property requested or the default values specified if such avariable is not specified in the 'deployment.yaml'.

  • resourceIdentifier (Stream Processor)

    The resource identifier stream processor is an extension to register a resource name with a reference in a static map and serve a static resources count for a specific resource name.

  • resourceBatch (Window)

    This extension is a resource batch (tumbling) window that holds a number of events based on the resource count inferred from the 'env:resourceIdentifier' extension, and with a specific attribute as the grouping key. The window is updated each time a batch of events arrive with a matching value for the grouping key, and where the number of events is equal to the resource count.

How to Contribute

Contact us

Support

  • We are committed to ensuring support for this extension in production. Our unique approach ensures that all support leverages our open development methodology and is provided by the very same engineers who build the technology.

  • For more details and to take advantage of this unique opportunity contact us via http://wso2.com/support/.

org.wso2.extension.siddhi.execution.env

WSO2 Extensions

Versions

Version
2.0.0
1.1.0
1.0.13
1.0.12
1.0.11
1.0.10
1.0.9
1.0.8
1.0.7
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0