Skip to content
CAI
Software that uses CAICheck a score

wso2/product-integrator-si

37.6

Weak · 10 November 2026

1.4k

lines of production code

Java

primary language

9

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

This system is the distribution and testing infrastructure for WSO2 Streaming Integrator, a platform designed for real-time stream processing using Siddhi applications. It provides the packaged server runtime, including startup scripts, OSGi configuration, and Docker deployment assets, alongside a comprehensive suite of sample applications demonstrating integrations with Kafka, HTTP, and cloud storage. The system also encompasses extensive test frameworks for OSGi bundle validation, Kubernetes integration, and performance benchmarking to ensure stability and throughput metrics.

How it got here

2014–2017 — Initial distribution and test infrastructure

8 changes.

This period focused on establishing the initial product distribution for WSO2 Streaming Integrator, including assembly packaging, launcher scripts, and OSGi framework configuration. It also introduced comprehensive testing infrastructure, adding OSGi, integration, and Kubernetes-based test modules along with supporting microservices and sample applications.

2018–2019 — Performance benchmarking and containerization support

14 changes.

This period focused on enhancing performance testing capabilities by introducing TCP-based benchmarking artifacts, a new throughput measurement extension, and sample clients for high-volume stream ingestion. It also expanded deployment and integration options through the addition of Docker containerization support, Java 11+ compatibility updates, and sample applications for Kafka, Google Cloud Storage, and Micro Integrator connectivity.

2020–2022 — OSGi test distribution setup

9 changes.

This period focused on establishing a comprehensive OSGi test distribution for WSO2 Streaming Integrator, including the creation of platform-specific launcher and runtime scripts for both Unix and Windows environments. The work involved configuring the OSGi framework, setting up logging and network transport properties, and packaging the distribution with necessary legal and containerization assets. Additionally, a suite of integration tests was developed to verify core capabilities such as Siddhi application deployment, extension installation, and state persistence.

Features

Add Docker distribution for WSO2 Streaming Integrator

A new Dockerfile has been added to the docker-distribution module, enabling users to containerize the WSO2 Streaming Integrator. The image is based on AdoptOpenJDK 8 (Alpine) and configures a non-root user (wso2carbon) to run the application. It exposes standard ports (7443, 7070, 9090, 9443, 7711, 7611) and sets the entry point to the server startup script, allowing the product to be deployed as a Docker container.

modules/distribution/src/docker-distribution · high confidence

Add Dockerfile for Siddhi Apps deployment

A new Dockerfile has been added to the distribution resources to support containerized deployments. It extends the base WSO2 Streaming Integrator image and copies Siddhi application files into the server's deployment directory, enabling users to build and run custom Siddhi apps within a Docker environment.

modules/distribution/carbon-home/resources/dockerfiles · high confidence

Add HTTP request-response sample for streaming integrator

A new Siddhi application sample (HttpRequestResponseSample.siddhi) is introduced to demonstrate an HTTP request-response pattern. The sample defines a SweetProductionStream source that listens on port 8006, a LowProductionAlertStream sink that sends requests to http://0.0.0.0:8080/abc, and a ResponseStream source that captures the 200 OK responses, logging the processed data for users to verify the end-to-end flow.

modules/samples/artifacts/HttpRequestResponseSample · high confidence

The distribution module now includes dedicated Privacy Policy and Cookie Policy pages for WSO2 Streaming Integrator 4.2.0, accessible via a new Policies landing page. These pages detail how the application collects, uses, and stores personal information and cookies for security, preferences, and performance, and clarify that WSO2 Inc. does not access data stored within the user's instance.

modules/distribution/src/policies/pages · high confidence

Add new launcher scripts for Carbon tools and server startup

New batch (.bat) and shell (.sh) scripts have been added to the distribution's bin directory to support various Carbon tools and server operations. These include launchers for the cipher tool, ICF provider, JNI provider, SPI provider, JAR-to-bundle converter, and OSGI library deployer, all of which invoke the \org.wso2.carbon.tools.CarbonToolExecutor\ with specific tool identifiers. Additionally, updated \server.bat\ and \server.sh\ scripts now automatically execute the \install-jars\ tool during startup to handle jar installation before launching the server.

modules/distribution/carbon-home/bin · high confidence

Added Carbon tool launcher scripts for the test distribution

The test distribution's bin directory now includes launcher scripts (ciphertool, icf-provider, jartobundle, osgi-lib, and server) for both Windows and Unix, along with a version.txt file. These scripts enable users to execute specific Carbon tools—such as the CipherTool, ICF provider, JAR-to-bundle converter, and OSGI library deployer—within the test environment, and the server script now explicitly triggers the 'install-jars' tool before starting the instance.

modules/osgi-tests/test-distribution/carbon-home/bin · high confidence

Added GCS sink sample for publishing events to Google Cloud Storage

A new Siddhi application sample (GCSSinkSample.siddhi) has been added to demonstrate how to publish events to a Google Cloud Storage bucket. The sample consumes JSON events via an HTTP source on localhost:8006 and uses the siddhi-io-gcs sink extension to aggregate and commit objects to a specified GCS bucket, requiring users to configure their GCP credentials and bucket name.

modules/samples/artifacts/PublishEventsToGooglCloudStorage · high confidence

Added Grafana dashboard resources for Streaming Integrator metrics

This change adds a set of pre-configured Grafana dashboard JSON files and a usage README to the test distribution resources. The dashboards cover general Siddhi statistics (overall, server, query, aggregation, on-demand query, sink) and specific source/sink statistics (CDC scheduled/streaming, file source/sink), enabling users to visualize metrics exposed via the Prometheus reporter in the Streaming Integrator.

modules/osgi-tests/test-distribution/carbon-home/resources · high confidence

Added HTTP/HTTPS server sample for receiving events

A new sample HTTP server has been added to the \modules/samples/sample-clients/http-server\ directory, providing a standalone Java application that listens for incoming HTTP and HTTPS requests. The sample includes an Ant build script (\build.xml\) and source files (\HttpServerMain\, \HttpServerListenerHandler\, \HttpsServerListnerHandler\, and \HttpServerListener\) that set up a server on port 8080 (HTTP) or a configurable port (HTTPS using a default keystore), logging received event bodies and headers to aid in testing and integration scenarios.

modules/samples/sample-clients/http-server · high confidence

Added Kafka producer sample client

A new sample client has been added to the Kafka producer module, consisting of a main entry point (KafkaClient) and an event generation utility (EventSendingUtil). This sample allows users to send events to a Kafka topic via a Siddhi application, supporting JSON, XML, text, and binary message formats, with options for continuous sending, file-based input, and configurable delays.

modules/samples/sample-clients/kafka-consumer/src, modules/samples/sample-clients/kafka-producer/src · high confidence

Added Kafka transport sample for event conversion

A new sample application (HelloKafka.siddhi) and its input data file have been added to demonstrate consuming JSON events from a Kafka topic, aggregating them in batches of three, and publishing XML-formatted alerts to a different Kafka topic when production totals fall below a threshold.

modules/samples/artifacts/WorkingWithKafka · high confidence

Added TCP Benchmark Siddhi artifacts for performance testing

New Siddhi application artifacts have been added to the \modules/performance/artifacts\ directory to support TCP-based performance benchmarking. These include configurations for filtering, simple passthrough, and time-based windowing (1 second and 1 minute). Additionally, persistence artifacts are provided for inserting and updating data in Microsoft SQL Server, MySQL, and Oracle databases, alongside artifacts for partitioning and complex event pattern matching.

modules/performance/artifacts · high confidence

Added TCP-based performance sample clients

New sample clients have been added to the performance testing suite to facilitate benchmarking via TCP. This includes a general TCP client for sending high-volume event streams to a source, and a specific Store Test client for validating data persistence. These samples utilize the Siddhi TCP transport and binary event mapping, allowing users to run performance tests against the platform's ingestion capabilities.

modules/performance/sample-clients · high confidence

Added WSO2 icon font assets to the policies module

The policies module now includes the WSO2 icon font library (version 1.0.0), adding the CSS definitions, minified styles, and font files (EOT, WOFF, TTF, SVG) to the public assets. This enables the use of WSO2-specific icons (prefixed with 'fw-') in the policies user interface.

_modules/distribution/src/policies/public/js/libs/font-wso2\1.0.0 · high confidence

Added Windows and Unix startup scripts for the test distribution runtime

New \carbon.bat\ (Windows) and \carbon.sh\ (Unix/Linux) scripts have been added to the test distribution's runtime server directory. These scripts handle environment variable detection (JAVA\_HOME, CARBON\_HOME), classpath construction, and server lifecycle commands (start, stop, restart, debug, version). Notably, the Windows script includes logic to detect the Java version and apply specific JVM arguments (\--add-opens\) for Java 11+, enabling the test distribution to run correctly on modern Java versions.

modules/osgi-tests/test-distribution/carbon-home/runtime · high confidence

Added extension installer shell and batch scripts

New shell (extension-installer.sh) and batch (extension-installer.bat) scripts have been added to the distribution module. These scripts resolve the CARBON\_HOME environment variable and invoke the underlying extension-installer tool located in the wso2/tools/extension-installer/bin directory, enabling users to run the extension installer from the command line on both Unix-like and Windows systems.

modules/distribution/src/scripts · high confidence

Added sample artifacts for connecting Streaming Integrator to Micro Integrator via gRPC

New sample files have been added to the ConnectToMicroIntegratorFromSI directory to demonstrate how to trigger a sequence in Micro Integrator from Streaming Integrator using the gRPC protocol. The package includes a Siddhi application (HelloMi.siddhi) that defines streams for receiving HTTP events, sending them via gRPC, and handling the response, along with the necessary Micro Integrator configuration files (grpcInboundEndpoint.xml and inSeq.xml) to set up the gRPC inbound endpoint and processing sequence.

modules/samples/artifacts/ConnectToMicroIntegratorFromSI · high confidence

Added test Siddhi application and placeholder file

A new test Siddhi application named 'TestSiddhiApp' has been added to the distribution, defining a stream processing flow that moves data from 'FooStream' to 'BarStream'. Additionally, an empty placeholder file was included to support IDE compatibility.

modules/distribution/carbon-home/deployment/siddhi-files · high confidence

Added test distribution packaging and policy assets for WSO2 Streaming Integrator

The test distribution assembly now packages the WSO2 Streaming Integrator (version 4.2.0-m1) with a Dockerfile for containerized testing, a cookie policy, and a privacy policy page. This change ensures that the test environment includes the necessary legal documentation and container configuration to support OSGi tests for the Streaming Integrator server.

modules/osgi-tests/test-distribution/src · high confidence

Added test infrastructure and event collection service for Kubernetes integration tests

This change introduces the \tests-kubernetes-integration\ module and the \test-results-service\ to support automated integration testing on Kubernetes. The \test-results-service\ is a new MSF4J-based microservice that collects Siddhi events via HTTP POST requests and allows test suites to retrieve and verify those events via GET endpoints. The \tests-kubernetes-integration\ module provides the core test framework, including YAML configuration readers, script execution utilities, and infrastructure beans, to automate the deployment of test environments and the execution of test suites against them.

modules/integration · high confidence

Initial OSGi test distribution configuration for WSO2 Streaming Integrator

This change introduces the baseline configuration files for the WSO2 Streaming Integrator test distribution, enabling the OSGi test environment. It adds \launch.properties\ to configure the OSGi framework, including exposing JDK Dynalink packages and setting boot delegation rules. It also provides \deployment.yaml\ to define server identity, HTTP/HTTPS listener ports, and data bridge configurations for Thrift and Binary receivers. Additionally, \log4j2.xml\ sets up logging appenders with specific pattern layouts, and \netty-transports.yaml\ configures Netty transport properties such as request size validation, header validation, and bootstrap settings for both server and client connections.

modules/osgi-tests/test-distribution/carbon-home/conf · high confidence

Initial distribution assembly for WSO2 Streaming Integrator

The product distribution is now assembled into a zip package named 'wso2si-${project.version}'. The build process copies the WSO2 Carbon Kernel base, custom configuration files, and sample data into the distribution, while excluding specific kernel binaries and IDE files. It also includes the Extension Installer CLI tool, in-place update utilities, and Java 11-specific dependencies.

modules/distribution/src/assembly · high confidence

New public policies page with branding and styling

A new public-facing policies page has been added to the distribution module, featuring the WSO2 logo and a dedicated stylesheet that defines the layout, typography, and visual design for the landing content.

modules/distribution/src/policies/public · high confidence

New throughput performance measurement extension

A new Siddhi execution extension named 'throughput' has been added to measure stream processor performance. This extension accepts an input timestamp and a metric type ('throughput', 'latency', or 'both') to calculate and export performance metrics to CSV files. It includes configurable parameters for the event record window size and a unique identifier for the extension instance, allowing users to track throughput and latency statistics over defined event batches.

modules/performance/extension/siddhi-execution-performance/component · high confidence

Behavioural changes

7 commits (0 fixes) modifying modules/distribution/carbon-home/resources/security

A change to existing behaviour in modules/distribution/carbon-home/resources/security — 7 commits, 2 files.

modules/distribution/carbon-home/resources/security · medium confidence · unverified

The OSGi launch configuration now includes a new \launch.properties\ file that enables OSGi cache cleaning on restart (\osgi.clean=true\) and registers a custom server listener for bundle deployment. Additionally, the configuration explicitly exposes JDK Dynalink packages (\jdk.dynalink\ and sub-packages) to the OSGi framework via \system.packages.extra\ and configures boot delegation for specific security and reflection classes, enabling dynamic linking capabilities within the runtime.

modules/distribution/carbon-home/conf/osgi · high confidence

Updated server startup scripts for Java 11+ and Java 24+ compatibility

The Windows (carbon.bat) and Unix (carbon.sh) server startup scripts have been updated to support modern Java versions. The scripts now detect the JDK version and automatically apply necessary JVM flags: for Java 11 and above, it adds specific module opens and exports (such as com.sun.jndi.ldap) to resolve OSGi and reflection issues; for Java 24 and above, it includes additional flags like --sun-misc-unsafe-memory-access=allow and --enable-native-access=ALL-UNNAMED. This ensures the server starts correctly on newer JDKs without manual configuration.

modules/distribution/carbon-home/runtime · high confidence

Test coverage

Add OSGi and integration test modules for Streaming Integrator; Added OSGi integration tests for Streaming Integrator; Added OSGi test configuration resources for WSO2 Streaming Integrator; Added Siddhi application and stream definitions for OSGi tests.

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

How this codebase got here

Score

  • CAI 34 → 38 (+3.1)
  • Rubric changed (rubric-2026.10.5 → rubric-2026.11.2) — scores are not directly comparable.

Lenses

  • Code Health 61 → 61 (+0.0)
  • Architecture 94 → 94 (+0.0)
  • Maturity 30 → 30 (+0.6)
  • Readiness 26 → 35 (+9.4)
  • Security 70 → 61 (-8.7)
  • Accessibility 38 → 37 (-0.2)

Resolved (18)

  • Documentation: no project overview (docs/api/latest.md)
  • High secret: WD-SECRET-0005 (modules/samples/sample-clients/rabbitmq-consumer/build.xml)
  • No assertions: testConditionalSelectWithSuccessResponse (modules/osgi-tests/tests/src/test/java/org/wso2/si/osgi/test/SiddhiStoreAPITestcase.java)
  • No assertions: testDisableMetrics (modules/osgi-tests/tests/src/test/java/org/wso2/si/osgi/test/SiddhiMetricsAPITestcase.java)
  • No assertions: testDisableMetricsForFirstTime (modules/osgi-tests/tests/src/test/java/org/wso2/si/osgi/test/SiddhiMetricsAPITestcase.java)
  • No assertions: testEmptyAppName (modules/osgi-tests/tests/src/test/java/org/wso2/si/osgi/test/SiddhiStoreAPITestcase.java)
  • No assertions: testEmptyQuery (modules/osgi-tests/tests/src/test/java/org/wso2/si/osgi/test/SiddhiStoreAPITestcase.java)
  • No assertions: testMetricsLoadAvgMbeanName (modules/osgi-tests/tests/src/test/java/org/wso2/si/osgi/test/SiddhiMetricsTestcase.java)
  • No assertions: testMetricsProcessCpuMbeanName (modules/osgi-tests/tests/src/test/java/org/wso2/si/osgi/test/SiddhiMetricsTestcase.java)
  • No assertions: testMetricsSystemCpuMbeanName (modules/osgi-tests/tests/src/test/java/org/wso2/si/osgi/test/SiddhiMetricsTestcase.java)
  • No assertions: testMetricsWithMemoryUsageMbeanName (modules/osgi-tests/tests/src/test/java/org/wso2/si/osgi/test/SiddhiMetricsTestcase.java)
  • No assertions: testNonExistentSiddhiApp (modules/osgi-tests/tests/src/test/java/org/wso2/si/osgi/test/SiddhiStoreAPITestcase.java)
  • No assertions: testNonExistentTable (modules/osgi-tests/tests/src/test/java/org/wso2/si/osgi/test/SiddhiStoreAPITestcase.java)
  • No assertions: testNullAppName (modules/osgi-tests/tests/src/test/java/org/wso2/si/osgi/test/SiddhiStoreAPITestcase.java)
  • No assertions: testNullQuery (modules/osgi-tests/tests/src/test/java/org/wso2/si/osgi/test/SiddhiStoreAPITestcase.java)
  • No assertions: testReEnableMetrics (modules/osgi-tests/tests/src/test/java/org/wso2/si/osgi/test/SiddhiMetricsAPITestcase.java)
  • No assertions: testReEnableMetricsFirstTime (modules/osgi-tests/tests/src/test/java/org/wso2/si/osgi/test/SiddhiMetricsAPITestcase.java)
  • No assertions: testSelectAllWithSuccessResponse (modules/osgi-tests/tests/src/test/java/org/wso2/si/osgi/test/SiddhiStoreAPITestcase.java)

New (1)

  • Assertions commented out: getPostToEcho (modules/integration/tests-kubernetes-integration/src/test/java/org/sp/tests/routing/EchoService.java)

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

Survey your own repository

wso2/product-integrator-si was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.

About this page

  • The score is its most recent published measurement, taken on 10 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit a7629c26690ebd76074d3f55bb04b9d267a1d9e1 — the exact code this score is about.
  • Scored under rubric-2026.11.2 — the same rubric and the same method as every other entry in this index.
  • Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.4+preprod-464a0040a931.