diff --git a/component/.mvn/local-settings.xml b/component/.mvn/local-settings.xml index 97606a1..314f305 100644 --- a/component/.mvn/local-settings.xml +++ b/component/.mvn/local-settings.xml @@ -1,23 +1,23 @@ - - - - - - - - - - - - - - - - - - + + wso2.releases + wso2.releases + + http://maven.wso2.org/nexus/content/repositories/releases/ + + + wso2.snapshots + wso2.snapshots + + http://maven.wso2.org/nexus/content/repositories/snapshots/ + + + wso2-nexus + wso2-nexus + + http://maven.wso2.org/nexus/content/groups/wso2-public/ + maven maven diff --git a/component/pom.xml b/component/pom.xml index be41e18..14c69b3 100644 --- a/component/pom.xml +++ b/component/pom.xml @@ -58,6 +58,11 @@ gson 2.9.0 + + org.json + json + 20210307 + com.fasterxml.jackson.core jackson-databind @@ -140,6 +145,11 @@ 1.18.26 provided + + mysql + mysql-connector-java + 8.0.27 + diff --git a/component/src/main/java/io/siddhi/extension/io/live/source/DBThread.java b/component/src/main/java/io/siddhi/extension/io/live/source/DBThread.java index 9235aed..1299afe 100644 --- a/component/src/main/java/io/siddhi/extension/io/live/source/DBThread.java +++ b/component/src/main/java/io/siddhi/extension/io/live/source/DBThread.java @@ -1,45 +1,124 @@ +//package io.siddhi.extension.io.live.source; +// +//import com.c8db.C8Cursor; +//import com.c8db.C8DB; +//import com.c8db.entity.BaseDocument; +//import com.google.gson.Gson; +//import io.siddhi.core.stream.input.source.SourceEventListener; +//import io.siddhi.extension.io.live.source.Thread.AbstractThread; +//import io.siddhi.extension.io.live.utils.Monitor; +////import net.minidev.json.JSONObject; +//import lombok.Builder; +//import org.apache.tapestry5.json.JSONObject; +// +//@Builder +//public class DBThread extends AbstractThread { +// private final SourceEventListener sourceEventListener; +// private String hostName; +// private int port = 443; +// private String apiKey; +// private String user = "root"; +// private String selectSQL; +// +// @Override +// public void run() { +// final C8DB c8db = new C8DB.Builder().useSsl(true).host(hostName , port).apiKey(apiKey).user(user).build(); +// final C8Cursor cursor = c8db.db(null , "_system") +// .query(selectSQL, null, null, BaseDocument.class); +// +// while (cursor.hasNext() && isThreadRunning) { +// if(isPaused) { +// System.out.println("paused - DB thread"); +// doPause(); +// } +// Gson gson = new Gson(); +// String json = gson.toJson(cursor.next()); +// +// JSONObject jsonObject = new JSONObject(json); +// JSONObject properties = jsonObject.getJSONObject("properties"); +// properties.put("initial_data", "true"); +// json = jsonObject.toString(); +// +// sourceEventListener.onEvent(json , null); +// } +// } +//} package io.siddhi.extension.io.live.source; -import com.c8db.C8Cursor; -import com.c8db.C8DB; -import com.c8db.entity.BaseDocument; -import com.google.gson.Gson; import io.siddhi.core.stream.input.source.SourceEventListener; import io.siddhi.extension.io.live.source.Thread.AbstractThread; -import io.siddhi.extension.io.live.utils.Monitor; -//import net.minidev.json.JSONObject; import lombok.Builder; -import org.apache.tapestry5.json.JSONObject; +//import org.json.JSONObject; +import net.minidev.json.JSONObject; + +import java.sql.*; @Builder public class DBThread extends AbstractThread { private final SourceEventListener sourceEventListener; private String hostName; - private int port = 443; - private String apiKey; - private String user = "root"; + private int port; + private String username; + private String password; + private String dbName; private String selectSQL; @Override public void run() { - final C8DB c8db = new C8DB.Builder().useSsl(true).host(hostName , port).apiKey(apiKey).user(user).build(); - final C8Cursor cursor = c8db.db(null , "_system") - .query(selectSQL, null, null, BaseDocument.class); - - while (cursor.hasNext() && isThreadRunning) { - if(isPaused) { - System.out.println("paused - DB thread"); - doPause(); - } - Gson gson = new Gson(); - String json = gson.toJson(cursor.next()); + Connection connection = null; + Statement statement = null; + ResultSet resultSet = null; - JSONObject jsonObject = new JSONObject(json); - JSONObject properties = jsonObject.getJSONObject("properties"); - properties.put("initial_data", "true"); - json = jsonObject.toString(); + try { + // Create a connection to the MySQL database + String jdbcUrl = "jdbc:mysql://" + hostName + ":" + port + "/" + dbName; - sourceEventListener.onEvent(json , null); + connection = DriverManager.getConnection(jdbcUrl, username, password); + statement = connection.createStatement(); + // Execute the selectSQL query and process the results + String select = selectSQL.replaceAll("@\\w+", ""); + System.out.println("query: "+select); + resultSet = statement.executeQuery(select); + while (resultSet.next() && isThreadRunning) { + if (isPaused) { + System.out.println("paused - DB thread"); + doPause(); + } + // Convert the row to a JSON object and add the "initial_data" property + JSONObject jsonObject = new JSONObject(); + int numColumns = resultSet.getMetaData().getColumnCount(); + for (int i = 1; i <= numColumns; i++) { + String columnName = resultSet.getMetaData().getColumnName(i); + Object columnValue = resultSet.getObject(i); + System.out.println("col"+columnValue); + jsonObject.put(columnName, columnValue); + } + jsonObject.put("initial_data", "true"); + JSONObject jsonObject2 = new JSONObject(jsonObject); + JSONObject properties = new JSONObject(); + properties.put("properties",jsonObject2); + String json = properties.toString(); +// + // Send the event to the Siddhi source listener + sourceEventListener.onEvent(json, null); + } + } catch (Exception e) { + e.printStackTrace(); + } finally { + // Close the database resources + try { + if (resultSet != null) { + resultSet.close(); + } + if (statement != null) { + statement.close(); + } + if (connection != null) { + connection.close(); + } + } catch (SQLException e) { + e.printStackTrace(); + } } } -} \ No newline at end of file +} diff --git a/component/src/main/java/io/siddhi/extension/io/live/source/LiveSource.java b/component/src/main/java/io/siddhi/extension/io/live/source/LiveSource.java index e8f1ede..cf2a82d 100644 --- a/component/src/main/java/io/siddhi/extension/io/live/source/LiveSource.java +++ b/component/src/main/java/io/siddhi/extension/io/live/source/LiveSource.java @@ -217,15 +217,16 @@ public void connect(ConnectionCallback connectionCallback , State state) throws .activeConsumerRecordHandler(new ActiveConsumerRecordHandler<>()) .build(); -// dbThread = DBThread.builder() -// .sourceEventListener(sourceEventListener) -// .apiKey(apiKey) -// .port(443) -// .selectSQL(selectQuery) -// .hostName(hostName) -// .user("root") -// .build(); -// Thread threadDB = new Thread(dbThread, "Initial database thread"); + dbThread = DBThread.builder() + .sourceEventListener(sourceEventListener) + .port(3306) + .selectSQL(selectQuery) + .hostName("10.8.100.246") + .username("root") + .password("debezium") + .dbName("inventory") + .build(); + Thread threadDB = new Thread(dbThread, "Initial database thread"); consumerThread = StreamThread.builder() .sourceEventListener(sourceEventListener) @@ -235,10 +236,10 @@ public void connect(ConnectionCallback connectionCallback , State state) throws threadCon.start(); -// threadDB.start(); + threadDB.start(); try { threadCon.join(); -// threadDB.join(); + threadDB.join(); } catch (InterruptedException e) { e.printStackTrace(); } diff --git a/component/src/test/java/io/siddhi/extension/io/live/source/TestCaseOfLiveSource.java b/component/src/test/java/io/siddhi/extension/io/live/source/TestCaseOfLiveSource.java index 860474e..88a3bb7 100644 --- a/component/src/test/java/io/siddhi/extension/io/live/source/TestCaseOfLiveSource.java +++ b/component/src/test/java/io/siddhi/extension/io/live/source/TestCaseOfLiveSource.java @@ -175,7 +175,7 @@ public void SQLtoSiddhiQLCompilerWithDebeziumMySQLTest() throws InterruptedExcep System.out.println(siddhiAppString); persistenceStore.save("SiddhiApp-dev-test","table.name",siddhiApp.getTableName().getBytes()); - persistenceStore.save("SiddhiApp-dev-test","database.name","database".getBytes()); + persistenceStore.save("SiddhiApp-dev-test","database.name","inventory".getBytes()); SiddhiAppRuntime siddhiAppRuntime = siddhiManager.createSiddhiAppRuntime(siddhiAppString); siddhiAppRuntime.addCallback("SQL-SiddhiQL-dev-test", new QueryCallback() { diff --git a/component/target/classes/META-INF/DEPENDENCIES b/component/target/classes/META-INF/DEPENDENCIES deleted file mode 100644 index 1989198..0000000 --- a/component/target/classes/META-INF/DEPENDENCIES +++ /dev/null @@ -1,179 +0,0 @@ -// ------------------------------------------------------------------ -// Transitive dependencies of this project determined from the -// maven pom organized by organization. -// ------------------------------------------------------------------ - -Siddhi IO Live extension - - -From: 'an unknown organization' - - c3p0:JDBC DataSources/Resource Pools (http://c3p0.sourceforge.net) c3p0:c3p0:jar:0.9.1.1 - License: GNU LESSER GENERAL PUBLIC LICENSE (http://www.gnu.org/licenses/lgpl.txt) - - jcommander (http://jcommander.org) com.beust:jcommander:jar:1.64 - License: Apache 2.0 (http://www.apache.org/licenses/LICENSE-2.0) - - compiler (http://github.com/spullara/mustache.java) com.github.spullara.mustache.java:compiler:jar:0.9.6 - License: Apache License 2.0 (http://www.apache.org/licenses/LICENSE-2.0) - - FindBugs-jsr305 (http://findbugs.sourceforge.net/) com.google.code.findbugs:jsr305:jar:1.3.9 - License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) - - Gson (https://github.com/google/gson/gson) com.google.code.gson:gson:jar:2.9.0 - License: Apache-2.0 (https://www.apache.org/licenses/LICENSE-2.0.txt) - - error-prone annotations (http://nexus.sonatype.org/oss-repository-hosting.html/error_prone_parent/error_prone_annotations) com.google.errorprone:error_prone_annotations:jar:2.0.18 - License: Apache 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) - - Guava: Google Core Libraries for Java (https://github.com/google/guava/guava) com.google.guava:guava:bundle:23.0 - License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) - - J2ObjC Annotations (https://github.com/google/j2objc/) com.google.j2objc:j2objc-annotations:jar:1.1 - License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) - - project ':json-path' (https://github.com/jayway/JsonPath) com.jayway.jsonpath:json-path:jar:2.4.0 - License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) - - Metrics Core (http://metrics.codahale.com/metrics-core/) io.dropwizard.metrics:metrics-core:bundle:3.1.0 - License: Apache License 2.0 (http://www.apache.org/licenses/LICENSE-2.0.html) - - JVM Integration for Metrics (http://metrics.dropwizard.io/metrics-jvm/) io.dropwizard.metrics:metrics-jvm:bundle:3.2.5 - License: Apache License 2.0 (http://www.apache.org/licenses/LICENSE-2.0.html) - - Siddhi Annotations io.siddhi:siddhi-annotations:bundle:5.0.0 - License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) - - Siddhi Core io.siddhi:siddhi-core:bundle:5.0.0 - License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) - - Siddhi Query API io.siddhi:siddhi-query-api:bundle:5.0.0 - License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) - - Siddhi Query Compiler io.siddhi:siddhi-query-compiler:bundle:5.0.0 - License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) - - Bean Validation API (http://beanvalidation.org) javax.validation:validation-api:jar:1.1.0.Final - License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) - - "Java Concurrency in Practice" book annotations (http://jcip.net/) net.jcip:jcip-annotations:jar:1.0 - - - Apache log4j org.apache.log4j.wso2:log4j:bundle:1.2.17.wso2v1 - - - Bouncy Castle PKIX, CMS, EAC, TSP, PKCS, OCSP, CMP, and CRMF APIs (https://www.bouncycastle.org/java.html) org.bouncycastle:bcpkix-jdk15on:jar:1.69 - License: Bouncy Castle Licence (https://www.bouncycastle.org/licence.html) - - Bouncy Castle Provider (https://www.bouncycastle.org/java.html) org.bouncycastle:bcprov-ext-jdk15on:jar:1.69 - License: Bouncy Castle Licence (https://www.bouncycastle.org/licence.html) - - Bouncy Castle Provider (https://www.bouncycastle.org/java.html) org.bouncycastle:bcprov-jdk15on:jar:1.69 - License: Bouncy Castle Licence (https://www.bouncycastle.org/licence.html) - - Bouncy Castle ASN.1 Extension and Utility APIs (https://www.bouncycastle.org/java.html) org.bouncycastle:bcutil-jdk15on:jar:1.69 - License: Bouncy Castle Licence (https://www.bouncycastle.org/licence.html) - - org.conscrypt:conscrypt-openjdk-uber (https://conscrypt.org/) org.conscrypt:conscrypt-openjdk-uber:jar:2.5.2 - License: Apache 2 (https://www.apache.org/licenses/LICENSE-2.0) - - org.eclipse.osgi.services org.eclipse.osgi:org.eclipse.osgi.services:jar:3.3.100.v20130513-1956 - - - HdrHistogram (http://hdrhistogram.github.io/HdrHistogram/) org.hdrhistogram:HdrHistogram:bundle:2.1.10 - License: Public Domain, per Creative Commons CC0 (http://creativecommons.org/publicdomain/zero/1.0/) License: BSD-2-Clause (https://opensource.org/licenses/BSD-2-Clause) - - Quartz Enterprise Job Scheduler (http://quartz-scheduler.org/quartz/) org.quartz-scheduler:quartz:jar:2.1.1 - License: Apache 2.0 (http://www.apache.org/licenses/LICENSE-2.0) - - quartz.wso2 (http://wso2.org) org.quartz-scheduler.wso2:quartz:bundle:2.1.1.wso2v1 - - - org.eclipse.osgi org.wso2.eclipse.osgi:org.eclipse.osgi:jar:3.11.0.v20160603-1336 - - - org.eclipse.osgi.services org.wso2.eclipse.osgi:org.eclipse.osgi.services:jar:3.5.100.v20160504-1419 - - - WSO2 Carbon - Orbit - LMAX Disruptor (http://wso2.org) org.wso2.orbit.com.lmax:disruptor:bundle:3.4.2.wso2v1 - - - WSO2 Carbon Orbit - Tapestry JSON (http://wso2.org) org.wso2.orbit.org.apache.tapestry:tapestry-json:bundle:5.4.1.wso2v1 - - - SnakeYAML (http://www.snakeyaml.org) org.yaml:snakeyaml:bundle:1.24 - License: Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) - -From: 'ANTLR' (http://www.antlr.org) - - ANTLR 4 Runtime (http://www.antlr.org/antlr4-runtime) org.antlr:antlr4-runtime:jar:4.7.2 - License: The BSD License (http://www.antlr.org/license.html) - -From: 'Apache Software Foundation' (http://www.apache.org) - - Apache Log4j (http://logging.apache.org/log4j/1.2/) log4j:log4j:bundle:1.2.17 - License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) - -From: 'Apache Software Foundation' (http://www.apache.org/) - - Apache Pulsar :: Bouncy Castle :: BC (https://github.com/apache/pulsar/bouncy-castle-parent/bouncy-castle-bc) org.apache.pulsar:bouncy-castle-bc:jar:2.10.0 - License: Apache License, Version 2.0 (https://www.apache.org/licenses/LICENSE-2.0.txt) - - Pulsar Client Java (https://github.com/apache/pulsar/pulsar-client) org.apache.pulsar:pulsar-client:jar:2.10.0 - License: Apache License, Version 2.0 (https://www.apache.org/licenses/LICENSE-2.0.txt) - - Pulsar Client Admin :: API (https://github.com/apache/pulsar/pulsar-client-admin-api) org.apache.pulsar:pulsar-client-admin-api:jar:2.10.0 - License: Apache License, Version 2.0 (https://www.apache.org/licenses/LICENSE-2.0.txt) - - Pulsar Client :: API (https://github.com/apache/pulsar/pulsar-client-api) org.apache.pulsar:pulsar-client-api:jar:2.10.0 - License: Apache License, Version 2.0 (https://www.apache.org/licenses/LICENSE-2.0.txt) - -From: 'ArangoDB GmbH' (https://www.arangodb.com) - - ArangoDB Velocypack (http://maven.apache.org) com.arangodb:velocypack:jar:1.4.3 - License: Apache License 2.0 (http://www.apache.org/licenses/LICENSE-2.0) - -From: 'Atteo' (http://www.atteo.com) - - Atteo Class Index (http://atteo.org/static/classindex/classindex) org.atteo.classindex:classindex:jar:3.6 - License: Apache License, Version 2.0 - -From: 'Chemouni Uriel' (http://www.minidev.net/) - - ASM based accessors helper used by json-smart (http://accessors-smart/) net.minidev:accessors-smart:bundle:1.1 - License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) - - JSON Small and Fast Parser (http://json-smart/) net.minidev:json-smart:bundle:2.2 - License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) - -From: 'Codehaus' (http://codehaus.org) - - Animal Sniffer Annotations (http://mojo.codehaus.org/animal-sniffer/animal-sniffer-annotations) org.codehaus.mojo:animal-sniffer-annotations:jar:1.14 - License: MIT license (http://www.opensource.org/licenses/mit-license.php) - -From: 'FasterXML' (http://fasterxml.com/) - - Jackson-annotations (http://github.com/FasterXML/jackson) com.fasterxml.jackson.core:jackson-annotations:bundle:2.9.6 - License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) - - Jackson-core (https://github.com/FasterXML/jackson-core) com.fasterxml.jackson.core:jackson-core:bundle:2.9.6 - License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) - - jackson-databind (http://github.com/FasterXML/jackson) com.fasterxml.jackson.core:jackson-databind:bundle:2.9.6 - License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) - -From: 'JBoss by Red Hat' (http://www.jboss.org/) - - mvel (http://mvel.codehaus.org/) org.mvel:mvel2:jar:2.4.4.Final - License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) - -From: 'JSQLParser' - - JSQLParser library (https://github.com/JSQLParser/JSqlParser) com.github.jsqlparser:jsqlparser:bundle:4.4 - License: GNU Library or Lesser General Public License (LGPL) V2.1 (http://www.gnu.org/licenses/lgpl-2.1.html) License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) - -From: 'ObjectWeb' (http://www.objectweb.org/) - - ASM Core (http://asm.objectweb.org/asm/) org.ow2.asm:asm:jar:5.0.3 - License: BSD (http://asm.objectweb.org/license.html) - -From: 'Oracle' (http://www.oracle.com) - - JavaBeans Activation Framework (http://java.net/all/javax.activation/) com.sun.activation:javax.activation:jar:1.2.0 - License: CDDL/GPLv2+CE (https://github.com/javaee/activation/blob/master/LICENSE.txt) - -From: 'Oracle Corporation' (http://www.oracle.com/) - - javax.ws.rs-api (http://jax-rs-spec.java.net) javax.ws.rs:javax.ws.rs-api:jar:2.1 - License: CDDL 1.1 (https://oss.oracle.com/licenses/CDDL+GPL-1.1) License: GPL2 w/ CPE (https://oss.oracle.com/licenses/CDDL+GPL-1.1) - -From: 'OSGi Alliance' (http://www.osgi.org) - - org.osgi.core (http://www.osgi.org) org.osgi:org.osgi.core:jar:6.0.0 - License: Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0) - -From: 'QOS.ch' (http://www.qos.ch) - - SLF4J API Module (http://www.slf4j.org) org.slf4j:slf4j-api:jar:1.7.12 - License: MIT License (http://www.opensource.org/licenses/mit-license.php) - - SLF4J Simple Binding (http://www.slf4j.org) org.slf4j:slf4j-simple:jar:1.7.12 - License: MIT License (http://www.opensource.org/licenses/mit-license.php) - -From: 'The Apache Software Foundation' (http://www.apache.org/) - - Apache Commons Logging (http://commons.apache.org/proper/commons-logging/) commons-logging:commons-logging:jar:1.2 - License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) - - Apache HttpClient (http://hc.apache.org/httpcomponents-client) org.apache.httpcomponents:httpclient:jar:4.5.13 - License: Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) - - Apache HttpCore (http://hc.apache.org/httpcomponents-core-ga) org.apache.httpcomponents:httpcore:jar:4.4.13 - License: Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) - -From: 'The Apache Software Foundation' (https://www.apache.org/) - - Apache Commons Codec (http://commons.apache.org/proper/commons-codec/) commons-codec:commons-codec:jar:1.11 - License: Apache License, Version 2.0 (https://www.apache.org/licenses/LICENSE-2.0.txt) - - Apache Commons Lang (https://commons.apache.org/proper/commons-lang/) org.apache.commons:commons-lang3:jar:3.12.0 - License: Apache License, Version 2.0 (https://www.apache.org/licenses/LICENSE-2.0.txt) - -From: 'WSO2' (http://www.wso2.org/) - - Siddhi Extension - JSON Mapper (http://www.wso2.org/siddhi-map-json-parent/siddhi-map-json/) io.siddhi.extension.map.json:siddhi-map-json:bundle:5.0.2 - License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) - - WSO2 Carbon Kernel - Core (http://wso2.com) org.wso2.carbon:org.wso2.carbon.core:bundle:5.2.0 - License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) - - Carbon Configuration (http://wso2.com) org.wso2.carbon.config:org.wso2.carbon.config:bundle:2.1.13 - License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) - - WSO2 Carbon Metrics Core (http://wso2.com/components/org.wso2.carbon.metrics.core) org.wso2.carbon.metrics:org.wso2.carbon.metrics.core:bundle:2.3.15 - License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) - - WSO2 Carbon Secure Vault - Component (http://wso2.com) org.wso2.carbon.secvault:org.wso2.carbon.secvault:bundle:5.0.13 - License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) - - WSO2 Carbon - Utils (http://wso2.com) org.wso2.carbon.utils:org.wso2.carbon.utils:bundle:2.0.2 - License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) - - - - diff --git a/component/target/classes/META-INF/LICENSE b/component/target/classes/META-INF/LICENSE deleted file mode 100644 index d645695..0000000 --- a/component/target/classes/META-INF/LICENSE +++ /dev/null @@ -1,202 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. diff --git a/component/target/classes/META-INF/MANIFEST.MF b/component/target/classes/META-INF/MANIFEST.MF deleted file mode 100644 index 18eee16..0000000 --- a/component/target/classes/META-INF/MANIFEST.MF +++ /dev/null @@ -1,57 +0,0 @@ -Manifest-Version: 1.0 -Bnd-LastModified: 1671358551196 -Build-Jdk: 11.0.11 -Built-By: Mahesh -Bundle-Contributors: WSO2 Inc -Bundle-Copyright: WSO2 Inc -Bundle-Description: Siddhi, Stream Processing and Complex Event Processi - ng Engine -Bundle-Developers: WSO2 Inc -Bundle-DocURL: https://docs.wso2.com -Bundle-License: http://www.apache.org/licenses/LICENSE-2.0.txt -Bundle-ManifestVersion: 2 -Bundle-Name: siddhi-io-live -Bundle-SymbolicName: siddhi-io-live -Bundle-Vendor: WSO2 Inc -Bundle-Version: 1.0.0.SNAPSHOT -Created-By: Apache Maven Bundle Plugin -DynamicImport-Package: * -Export-Package: io.siddhi.extension.io.live.sink;uses:="io.siddhi.annota - tion,io.siddhi.core.config,io.siddhi.core.exception,io.siddhi.core.stre - am,io.siddhi.core.stream.output.sink,io.siddhi.core.util.config,io.sidd - hi.core.util.snapshot.state,io.siddhi.core.util.transport,io.siddhi.que - ry.api.definition";version="1.0.0",io.siddhi.extension.io.live.source;u - ses:="io.siddhi.annotation,io.siddhi.annotation.util,io.siddhi.core.con - fig,io.siddhi.core.exception,io.siddhi.core.stream,io.siddhi.core.strea - m.input.source,io.siddhi.core.util.config,io.siddhi.core.util.snapshot. - state,io.siddhi.core.util.transport,io.siddhi.extension.io.live.source. - Thread,io.siddhi.extension.io.live.utils";version="1.0.0",io.siddhi.ext - ension.io.live.source.Stream;uses:="io.siddhi.core.stream.input.source, - io.siddhi.extension.io.live.source.Stream.PulsarClient,io.siddhi.extens - ion.io.live.source.Thread,io.siddhi.extension.io.live.utils";version="1 - .0.0",io.siddhi.extension.io.live.source.Stream.PulsarClient;uses:="org - .apache.pulsar.client.api";version="1.0.0",io.siddhi.extension.io.live. - source.Thread;uses:="io.siddhi.extension.io.live.utils";version="1.0.0" - ,io.siddhi.extension.io.live.utils;version="1.0.0" -Import-Package: com.c8db;resolution:=optional,com.c8db.entity;resolution - :=optional,com.c8db.model;resolution:=optional,com.google.gson;resoluti - on:=optional;version="[2.9,3)",io.siddhi.annotation;resolution:=optiona - l;version="[5.0,6)",io.siddhi.annotation.util;resolution:=optional;vers - ion="[5.0,6)",io.siddhi.core.config;resolution:=optional;version="[5.0, - 6)",io.siddhi.core.exception;resolution:=optional;version="[5.0,6)",io. - siddhi.core.stream;resolution:=optional;version="[5.0,6)",io.siddhi.cor - e.stream.input.source;resolution:=optional;version="[5.0,6)",io.siddhi. - core.stream.output.sink;resolution:=optional;version="[5.0,6)",io.siddh - i.core.util.config;resolution:=optional;version="[5.0,6)",io.siddhi.cor - e.util.snapshot.state;resolution:=optional;version="[5.0,6)",io.siddhi. - core.util.transport;resolution:=optional;version="[5.0,6)",io.siddhi.ex - tension.io.live.source.Stream;resolution:=optional,io.siddhi.extension. - io.live.source.Stream.PulsarClient;resolution:=optional,io.siddhi.exten - sion.io.live.source.Thread;resolution:=optional,io.siddhi.extension.io. - live.utils;resolution:=optional,io.siddhi.query.api.definition;resoluti - on:=optional;version="[5.0,6)",org.apache.log4j;resolution:=optional;ve - rsion="[1.2,2)",org.apache.pulsar.client.api;resolution:=optional,org.a - pache.tapestry5.json;resolution:=optional;version="[5.4,6)" -Require-Capability: osgi.ee;filter:="(&(osgi.ee=JavaSE)(version=1.8))" -SCM-Revision: 1a7a26c325e7b408db44589872a18a7391f6b022 -Tool: Bnd-3.2.0.201605172007 diff --git a/component/target/classes/META-INF/NOTICE b/component/target/classes/META-INF/NOTICE deleted file mode 100644 index 8d74c78..0000000 --- a/component/target/classes/META-INF/NOTICE +++ /dev/null @@ -1,8 +0,0 @@ - -Siddhi IO Live extension -Copyright 2022 The Apache Software Foundation - -This product includes software developed at -The Apache Software Foundation (http://www.apache.org/). - - diff --git a/component/target/classes/SQLtoSiddhiQL-0.8.0-SNAPSHOT.jar b/component/target/classes/SQLtoSiddhiQL-0.8.0-SNAPSHOT.jar deleted file mode 100644 index 19cdfb4..0000000 Binary files a/component/target/classes/SQLtoSiddhiQL-0.8.0-SNAPSHOT.jar and /dev/null differ diff --git a/component/target/classes/io/siddhi/extension/io/live/source/LiveSource.class b/component/target/classes/io/siddhi/extension/io/live/source/LiveSource.class index 338980e..f99d96f 100644 Binary files a/component/target/classes/io/siddhi/extension/io/live/source/LiveSource.class and b/component/target/classes/io/siddhi/extension/io/live/source/LiveSource.class differ diff --git a/component/target/classes/io/siddhi/extension/io/live/source/Stream/StreamThread$1.class b/component/target/classes/io/siddhi/extension/io/live/source/Stream/StreamThread$1.class index f81b857..a9ed91e 100644 Binary files a/component/target/classes/io/siddhi/extension/io/live/source/Stream/StreamThread$1.class and b/component/target/classes/io/siddhi/extension/io/live/source/Stream/StreamThread$1.class differ diff --git a/component/target/findbugs.xml b/component/target/findbugs.xml deleted file mode 100644 index ca4d31d..0000000 --- a/component/target/findbugs.xml +++ /dev/null @@ -1,2 +0,0 @@ - -C:\Users\Mahesh\Desktop\fyp\siddhi-io-live\component\src\main\javaC:\Users\Mahesh\Desktop\fyp\siddhi-io-live\component\target\generated-sources\annotationsC:\Users\Mahesh\Desktop\fyp\siddhi-io-live\component\src\test\java \ No newline at end of file diff --git a/component/target/findbugs/findbugs-exclude.xml b/component/target/findbugs/findbugs-exclude.xml deleted file mode 100644 index 976f767..0000000 --- a/component/target/findbugs/findbugs-exclude.xml +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/component/target/findbugs/findbugsXml.xml b/component/target/findbugs/findbugsXml.xml deleted file mode 100644 index 3db6f28..0000000 --- a/component/target/findbugs/findbugsXml.xml +++ /dev/null @@ -1,2 +0,0 @@ - -C:\Users\Mahesh\Desktop\fyp\siddhi-io-live\component\target\classesC:\Users\Mahesh\.m2\repository\io\siddhi\siddhi-core\5.0.0\siddhi-core-5.0.0.jarC:\Users\Mahesh\.m2\repository\org\slf4j\slf4j-simple\1.7.12\slf4j-simple-1.7.12.jarC:\Users\Mahesh\.m2\repository\org\wso2\orbit\com\lmax\disruptor\3.4.2.wso2v1\disruptor-3.4.2.wso2v1.jarC:\Users\Mahesh\.m2\repository\com\google\guava\guava\23.0\guava-23.0.jarC:\Users\Mahesh\.m2\repository\com\google\code\findbugs\jsr305\1.3.9\jsr305-1.3.9.jarC:\Users\Mahesh\.m2\repository\com\google\errorprone\error_prone_annotations\2.0.18\error_prone_annotations-2.0.18.jarC:\Users\Mahesh\.m2\repository\com\google\j2objc\j2objc-annotations\1.1\j2objc-annotations-1.1.jarC:\Users\Mahesh\.m2\repository\org\codehaus\mojo\animal-sniffer-annotations\1.14\animal-sniffer-annotations-1.14.jarC:\Users\Mahesh\.m2\repository\org\quartz-scheduler\wso2\quartz\2.1.1.wso2v1\quartz-2.1.1.wso2v1.jarC:\Users\Mahesh\.m2\repository\org\quartz-scheduler\quartz\2.1.1\quartz-2.1.1.jarC:\Users\Mahesh\.m2\repository\c3p0\c3p0\0.9.1.1\c3p0-0.9.1.1.jarC:\Users\Mahesh\.m2\repository\io\dropwizard\metrics\metrics-core\3.1.0\metrics-core-3.1.0.jarC:\Users\Mahesh\.m2\repository\com\jayway\jsonpath\json-path\2.4.0\json-path-2.4.0.jarC:\Users\Mahesh\.m2\repository\org\eclipse\osgi\org.eclipse.osgi.services\3.3.100.v20130513-1956\org.eclipse.osgi.services-3.3.100.v20130513-1956.jarC:\Users\Mahesh\.m2\repository\org\osgi\org.osgi.core\6.0.0\org.osgi.core-6.0.0.jarC:\Users\Mahesh\.m2\repository\io\siddhi\siddhi-annotations\5.0.0\siddhi-annotations-5.0.0.jarC:\Users\Mahesh\.m2\repository\org\atteo\classindex\classindex\3.6\classindex-3.6.jarC:\Users\Mahesh\.m2\repository\io\siddhi\siddhi-query-compiler\5.0.0\siddhi-query-compiler-5.0.0.jarC:\Users\Mahesh\.m2\repository\org\mvel\mvel2\2.4.4.Final\mvel2-2.4.4.Final.jarC:\Users\Mahesh\.m2\repository\org\antlr\antlr4-runtime\4.7.2\antlr4-runtime-4.7.2.jarC:\Users\Mahesh\.m2\repository\io\siddhi\siddhi-query-api\5.0.0\siddhi-query-api-5.0.0.jarC:\Users\Mahesh\.m2\repository\log4j\log4j\1.2.17\log4j-1.2.17.jarC:\Users\Mahesh\.m2\repository\com\beust\jcommander\1.64\jcommander-1.64.jarC:\Users\Mahesh\.m2\repository\org\yaml\snakeyaml\1.24\snakeyaml-1.24.jarC:\Users\Mahesh\.m2\repository\org\apache\log4j\wso2\log4j\1.2.17.wso2v1\log4j-1.2.17.wso2v1.jarC:\Users\Mahesh\.m2\repository\io\siddhi\extension\map\json\siddhi-map-json\5.0.2\siddhi-map-json-5.0.2.jarC:\Users\Mahesh\.m2\repository\org\wso2\orbit\org\apache\tapestry\tapestry-json\5.4.1.wso2v1\tapestry-json-5.4.1.wso2v1.jarC:\Users\Mahesh\.m2\repository\net\minidev\json-smart\2.2\json-smart-2.2.jarC:\Users\Mahesh\.m2\repository\net\minidev\accessors-smart\1.1\accessors-smart-1.1.jarC:\Users\Mahesh\.m2\repository\org\ow2\asm\asm\5.0.3\asm-5.0.3.jarC:\Users\Mahesh\.m2\repository\com\arangodb\velocypack\1.4.3\velocypack-1.4.3.jarC:\Users\Mahesh\.m2\repository\org\slf4j\slf4j-api\1.7.12\slf4j-api-1.7.12.jarC:\Users\Mahesh\.m2\repository\com\google\code\gson\gson\2.9.0\gson-2.9.0.jarC:\Users\Mahesh\.m2\repository\com\fasterxml\jackson\core\jackson-databind\2.9.6\jackson-databind-2.9.6.jarC:\Users\Mahesh\.m2\repository\com\fasterxml\jackson\core\jackson-core\2.9.6\jackson-core-2.9.6.jarC:\Users\Mahesh\.m2\repository\com\fasterxml\jackson\core\jackson-annotations\2.9.6\jackson-annotations-2.9.6.jarC:\Users\Mahesh\.m2\repository\org\apache\httpcomponents\httpclient\4.5.13\httpclient-4.5.13.jarC:\Users\Mahesh\.m2\repository\org\apache\httpcomponents\httpcore\4.4.13\httpcore-4.4.13.jarC:\Users\Mahesh\.m2\repository\commons-logging\commons-logging\1.2\commons-logging-1.2.jarC:\Users\Mahesh\.m2\repository\commons-codec\commons-codec\1.11\commons-codec-1.11.jarC:\Users\Mahesh\.m2\repository\org\apache\commons\commons-lang3\3.12.0\commons-lang3-3.12.0.jarC:\Users\Mahesh\.m2\repository\org\conscrypt\conscrypt-openjdk-uber\2.5.2\conscrypt-openjdk-uber-2.5.2.jarC:\Users\Mahesh\.m2\repository\org\wso2\carbon\metrics\org.wso2.carbon.metrics.core\2.3.15\org.wso2.carbon.metrics.core-2.3.15.jarC:\Users\Mahesh\.m2\repository\io\dropwizard\metrics\metrics-jvm\3.2.5\metrics-jvm-3.2.5.jarC:\Users\Mahesh\.m2\repository\org\hdrhistogram\HdrHistogram\2.1.10\HdrHistogram-2.1.10.jarC:\Users\Mahesh\.m2\repository\org\wso2\carbon\org.wso2.carbon.core\5.2.0\org.wso2.carbon.core-5.2.0.jarC:\Users\Mahesh\.m2\repository\org\wso2\carbon\config\org.wso2.carbon.config\2.1.13\org.wso2.carbon.config-2.1.13.jarC:\Users\Mahesh\.m2\repository\org\wso2\eclipse\osgi\org.eclipse.osgi\3.11.0.v20160603-1336\org.eclipse.osgi-3.11.0.v20160603-1336.jarC:\Users\Mahesh\.m2\repository\org\wso2\eclipse\osgi\org.eclipse.osgi.services\3.5.100.v20160504-1419\org.eclipse.osgi.services-3.5.100.v20160504-1419.jarC:\Users\Mahesh\.m2\repository\org\wso2\carbon\secvault\org.wso2.carbon.secvault\5.0.13\org.wso2.carbon.secvault-5.0.13.jarC:\Users\Mahesh\.m2\repository\org\wso2\carbon\utils\org.wso2.carbon.utils\2.0.2\org.wso2.carbon.utils-2.0.2.jarC:\Users\Mahesh\.m2\repository\com\github\spullara\mustache\java\compiler\0.9.6\compiler-0.9.6.jarC:\Users\Mahesh\Desktop\fyp\siddhi-io-live\component\src\main\resources\c84j-1.1.25.2-SNAPSHOT.jarC:\Users\Mahesh\Desktop\fyp\siddhi-io-live\component\src\main\resources\SQLtoSiddhiQL-0.8.0-SNAPSHOT.jarC:\Users\Mahesh\.m2\repository\com\github\jsqlparser\jsqlparser\4.4\jsqlparser-4.4.jarC:\Users\Mahesh\.m2\repository\org\apache\pulsar\pulsar-client\2.10.0\pulsar-client-2.10.0.jarC:\Users\Mahesh\.m2\repository\org\apache\pulsar\pulsar-client-api\2.10.0\pulsar-client-api-2.10.0.jarC:\Users\Mahesh\.m2\repository\org\apache\pulsar\pulsar-client-admin-api\2.10.0\pulsar-client-admin-api-2.10.0.jarC:\Users\Mahesh\.m2\repository\javax\ws\rs\javax.ws.rs-api\2.1\javax.ws.rs-api-2.1.jarC:\Users\Mahesh\.m2\repository\org\apache\pulsar\bouncy-castle-bc\2.10.0\bouncy-castle-bc-2.10.0-pkg.jarC:\Users\Mahesh\.m2\repository\org\bouncycastle\bcpkix-jdk15on\1.69\bcpkix-jdk15on-1.69.jarC:\Users\Mahesh\.m2\repository\org\bouncycastle\bcprov-jdk15on\1.69\bcprov-jdk15on-1.69.jarC:\Users\Mahesh\.m2\repository\org\bouncycastle\bcutil-jdk15on\1.69\bcutil-jdk15on-1.69.jarC:\Users\Mahesh\.m2\repository\org\bouncycastle\bcprov-ext-jdk15on\1.69\bcprov-ext-jdk15on-1.69.jarC:\Users\Mahesh\.m2\repository\com\sun\activation\javax.activation\1.2.0\javax.activation-1.2.0.jarC:\Users\Mahesh\.m2\repository\javax\validation\validation-api\1.1.0.Final\validation-api-1.1.0.Final.jarC:\Users\Mahesh\.m2\repository\net\jcip\jcip-annotations\1.0\jcip-annotations-1.0.jarC:\Users\Mahesh\Desktop\fyp\siddhi-io-live\component\src\main\javaC:\Users\Mahesh\Desktop\fyp\siddhi-io-live\component\target\generated-sources\annotationsC:\Users\Mahesh\Desktop\fyp\siddhi-io-live\component\targetjava.io.IOExceptionjava.io.PrintStreamjava.io.Serializablejava.lang.Booleanjava.lang.IllegalAccessErrorjava.lang.InterruptedExceptionjava.lang.NoSuchFieldErrorjava.lang.NullPointerExceptionjava.lang.Objectjava.lang.Runtimejava.lang.Stringjava.lang.Threadjava.lang.Throwablejava.lang.UnsatisfiedLinkErrorjava.nio.charset.StandardCharsetsjava.util.HashMapjava.util.Map \ No newline at end of file diff --git a/component/target/maven-archiver/pom.properties b/component/target/maven-archiver/pom.properties deleted file mode 100644 index a9c0b0d..0000000 --- a/component/target/maven-archiver/pom.properties +++ /dev/null @@ -1,4 +0,0 @@ -#Created by Apache Maven 3.6.3 -groupId=io.siddhi.extension.io.live -artifactId=siddhi-io-live -version=1.0.0-SNAPSHOT diff --git a/component/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst b/component/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst deleted file mode 100644 index e69de29..0000000 diff --git a/component/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst b/component/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst deleted file mode 100644 index 457f29f..0000000 --- a/component/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst +++ /dev/null @@ -1,2 +0,0 @@ -C:\Users\Mahesh\Desktop\fyp\siddhi-io-live\component\src\test\java\io\siddhi\extension\io\live\sink\TestCaseOfLiveSink.java -C:\Users\Mahesh\Desktop\fyp\siddhi-io-live\component\src\test\java\io\siddhi\extension\io\live\source\TestCaseOfLiveSource.java diff --git a/component/target/siddhi-io-live-1.0.0-SNAPSHOT-sources.jar b/component/target/siddhi-io-live-1.0.0-SNAPSHOT-sources.jar deleted file mode 100644 index 1a37ed6..0000000 Binary files a/component/target/siddhi-io-live-1.0.0-SNAPSHOT-sources.jar and /dev/null differ diff --git a/component/target/siddhi-io-live-1.0.0-SNAPSHOT.jar b/component/target/siddhi-io-live-1.0.0-SNAPSHOT.jar deleted file mode 100644 index d3e9a12..0000000 Binary files a/component/target/siddhi-io-live-1.0.0-SNAPSHOT.jar and /dev/null differ diff --git a/component/target/test-classes/META-INF/DEPENDENCIES b/component/target/test-classes/META-INF/DEPENDENCIES deleted file mode 100644 index 1989198..0000000 --- a/component/target/test-classes/META-INF/DEPENDENCIES +++ /dev/null @@ -1,179 +0,0 @@ -// ------------------------------------------------------------------ -// Transitive dependencies of this project determined from the -// maven pom organized by organization. -// ------------------------------------------------------------------ - -Siddhi IO Live extension - - -From: 'an unknown organization' - - c3p0:JDBC DataSources/Resource Pools (http://c3p0.sourceforge.net) c3p0:c3p0:jar:0.9.1.1 - License: GNU LESSER GENERAL PUBLIC LICENSE (http://www.gnu.org/licenses/lgpl.txt) - - jcommander (http://jcommander.org) com.beust:jcommander:jar:1.64 - License: Apache 2.0 (http://www.apache.org/licenses/LICENSE-2.0) - - compiler (http://github.com/spullara/mustache.java) com.github.spullara.mustache.java:compiler:jar:0.9.6 - License: Apache License 2.0 (http://www.apache.org/licenses/LICENSE-2.0) - - FindBugs-jsr305 (http://findbugs.sourceforge.net/) com.google.code.findbugs:jsr305:jar:1.3.9 - License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) - - Gson (https://github.com/google/gson/gson) com.google.code.gson:gson:jar:2.9.0 - License: Apache-2.0 (https://www.apache.org/licenses/LICENSE-2.0.txt) - - error-prone annotations (http://nexus.sonatype.org/oss-repository-hosting.html/error_prone_parent/error_prone_annotations) com.google.errorprone:error_prone_annotations:jar:2.0.18 - License: Apache 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) - - Guava: Google Core Libraries for Java (https://github.com/google/guava/guava) com.google.guava:guava:bundle:23.0 - License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) - - J2ObjC Annotations (https://github.com/google/j2objc/) com.google.j2objc:j2objc-annotations:jar:1.1 - License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) - - project ':json-path' (https://github.com/jayway/JsonPath) com.jayway.jsonpath:json-path:jar:2.4.0 - License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) - - Metrics Core (http://metrics.codahale.com/metrics-core/) io.dropwizard.metrics:metrics-core:bundle:3.1.0 - License: Apache License 2.0 (http://www.apache.org/licenses/LICENSE-2.0.html) - - JVM Integration for Metrics (http://metrics.dropwizard.io/metrics-jvm/) io.dropwizard.metrics:metrics-jvm:bundle:3.2.5 - License: Apache License 2.0 (http://www.apache.org/licenses/LICENSE-2.0.html) - - Siddhi Annotations io.siddhi:siddhi-annotations:bundle:5.0.0 - License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) - - Siddhi Core io.siddhi:siddhi-core:bundle:5.0.0 - License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) - - Siddhi Query API io.siddhi:siddhi-query-api:bundle:5.0.0 - License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) - - Siddhi Query Compiler io.siddhi:siddhi-query-compiler:bundle:5.0.0 - License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) - - Bean Validation API (http://beanvalidation.org) javax.validation:validation-api:jar:1.1.0.Final - License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) - - "Java Concurrency in Practice" book annotations (http://jcip.net/) net.jcip:jcip-annotations:jar:1.0 - - - Apache log4j org.apache.log4j.wso2:log4j:bundle:1.2.17.wso2v1 - - - Bouncy Castle PKIX, CMS, EAC, TSP, PKCS, OCSP, CMP, and CRMF APIs (https://www.bouncycastle.org/java.html) org.bouncycastle:bcpkix-jdk15on:jar:1.69 - License: Bouncy Castle Licence (https://www.bouncycastle.org/licence.html) - - Bouncy Castle Provider (https://www.bouncycastle.org/java.html) org.bouncycastle:bcprov-ext-jdk15on:jar:1.69 - License: Bouncy Castle Licence (https://www.bouncycastle.org/licence.html) - - Bouncy Castle Provider (https://www.bouncycastle.org/java.html) org.bouncycastle:bcprov-jdk15on:jar:1.69 - License: Bouncy Castle Licence (https://www.bouncycastle.org/licence.html) - - Bouncy Castle ASN.1 Extension and Utility APIs (https://www.bouncycastle.org/java.html) org.bouncycastle:bcutil-jdk15on:jar:1.69 - License: Bouncy Castle Licence (https://www.bouncycastle.org/licence.html) - - org.conscrypt:conscrypt-openjdk-uber (https://conscrypt.org/) org.conscrypt:conscrypt-openjdk-uber:jar:2.5.2 - License: Apache 2 (https://www.apache.org/licenses/LICENSE-2.0) - - org.eclipse.osgi.services org.eclipse.osgi:org.eclipse.osgi.services:jar:3.3.100.v20130513-1956 - - - HdrHistogram (http://hdrhistogram.github.io/HdrHistogram/) org.hdrhistogram:HdrHistogram:bundle:2.1.10 - License: Public Domain, per Creative Commons CC0 (http://creativecommons.org/publicdomain/zero/1.0/) License: BSD-2-Clause (https://opensource.org/licenses/BSD-2-Clause) - - Quartz Enterprise Job Scheduler (http://quartz-scheduler.org/quartz/) org.quartz-scheduler:quartz:jar:2.1.1 - License: Apache 2.0 (http://www.apache.org/licenses/LICENSE-2.0) - - quartz.wso2 (http://wso2.org) org.quartz-scheduler.wso2:quartz:bundle:2.1.1.wso2v1 - - - org.eclipse.osgi org.wso2.eclipse.osgi:org.eclipse.osgi:jar:3.11.0.v20160603-1336 - - - org.eclipse.osgi.services org.wso2.eclipse.osgi:org.eclipse.osgi.services:jar:3.5.100.v20160504-1419 - - - WSO2 Carbon - Orbit - LMAX Disruptor (http://wso2.org) org.wso2.orbit.com.lmax:disruptor:bundle:3.4.2.wso2v1 - - - WSO2 Carbon Orbit - Tapestry JSON (http://wso2.org) org.wso2.orbit.org.apache.tapestry:tapestry-json:bundle:5.4.1.wso2v1 - - - SnakeYAML (http://www.snakeyaml.org) org.yaml:snakeyaml:bundle:1.24 - License: Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) - -From: 'ANTLR' (http://www.antlr.org) - - ANTLR 4 Runtime (http://www.antlr.org/antlr4-runtime) org.antlr:antlr4-runtime:jar:4.7.2 - License: The BSD License (http://www.antlr.org/license.html) - -From: 'Apache Software Foundation' (http://www.apache.org) - - Apache Log4j (http://logging.apache.org/log4j/1.2/) log4j:log4j:bundle:1.2.17 - License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) - -From: 'Apache Software Foundation' (http://www.apache.org/) - - Apache Pulsar :: Bouncy Castle :: BC (https://github.com/apache/pulsar/bouncy-castle-parent/bouncy-castle-bc) org.apache.pulsar:bouncy-castle-bc:jar:2.10.0 - License: Apache License, Version 2.0 (https://www.apache.org/licenses/LICENSE-2.0.txt) - - Pulsar Client Java (https://github.com/apache/pulsar/pulsar-client) org.apache.pulsar:pulsar-client:jar:2.10.0 - License: Apache License, Version 2.0 (https://www.apache.org/licenses/LICENSE-2.0.txt) - - Pulsar Client Admin :: API (https://github.com/apache/pulsar/pulsar-client-admin-api) org.apache.pulsar:pulsar-client-admin-api:jar:2.10.0 - License: Apache License, Version 2.0 (https://www.apache.org/licenses/LICENSE-2.0.txt) - - Pulsar Client :: API (https://github.com/apache/pulsar/pulsar-client-api) org.apache.pulsar:pulsar-client-api:jar:2.10.0 - License: Apache License, Version 2.0 (https://www.apache.org/licenses/LICENSE-2.0.txt) - -From: 'ArangoDB GmbH' (https://www.arangodb.com) - - ArangoDB Velocypack (http://maven.apache.org) com.arangodb:velocypack:jar:1.4.3 - License: Apache License 2.0 (http://www.apache.org/licenses/LICENSE-2.0) - -From: 'Atteo' (http://www.atteo.com) - - Atteo Class Index (http://atteo.org/static/classindex/classindex) org.atteo.classindex:classindex:jar:3.6 - License: Apache License, Version 2.0 - -From: 'Chemouni Uriel' (http://www.minidev.net/) - - ASM based accessors helper used by json-smart (http://accessors-smart/) net.minidev:accessors-smart:bundle:1.1 - License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) - - JSON Small and Fast Parser (http://json-smart/) net.minidev:json-smart:bundle:2.2 - License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) - -From: 'Codehaus' (http://codehaus.org) - - Animal Sniffer Annotations (http://mojo.codehaus.org/animal-sniffer/animal-sniffer-annotations) org.codehaus.mojo:animal-sniffer-annotations:jar:1.14 - License: MIT license (http://www.opensource.org/licenses/mit-license.php) - -From: 'FasterXML' (http://fasterxml.com/) - - Jackson-annotations (http://github.com/FasterXML/jackson) com.fasterxml.jackson.core:jackson-annotations:bundle:2.9.6 - License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) - - Jackson-core (https://github.com/FasterXML/jackson-core) com.fasterxml.jackson.core:jackson-core:bundle:2.9.6 - License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) - - jackson-databind (http://github.com/FasterXML/jackson) com.fasterxml.jackson.core:jackson-databind:bundle:2.9.6 - License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) - -From: 'JBoss by Red Hat' (http://www.jboss.org/) - - mvel (http://mvel.codehaus.org/) org.mvel:mvel2:jar:2.4.4.Final - License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) - -From: 'JSQLParser' - - JSQLParser library (https://github.com/JSQLParser/JSqlParser) com.github.jsqlparser:jsqlparser:bundle:4.4 - License: GNU Library or Lesser General Public License (LGPL) V2.1 (http://www.gnu.org/licenses/lgpl-2.1.html) License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) - -From: 'ObjectWeb' (http://www.objectweb.org/) - - ASM Core (http://asm.objectweb.org/asm/) org.ow2.asm:asm:jar:5.0.3 - License: BSD (http://asm.objectweb.org/license.html) - -From: 'Oracle' (http://www.oracle.com) - - JavaBeans Activation Framework (http://java.net/all/javax.activation/) com.sun.activation:javax.activation:jar:1.2.0 - License: CDDL/GPLv2+CE (https://github.com/javaee/activation/blob/master/LICENSE.txt) - -From: 'Oracle Corporation' (http://www.oracle.com/) - - javax.ws.rs-api (http://jax-rs-spec.java.net) javax.ws.rs:javax.ws.rs-api:jar:2.1 - License: CDDL 1.1 (https://oss.oracle.com/licenses/CDDL+GPL-1.1) License: GPL2 w/ CPE (https://oss.oracle.com/licenses/CDDL+GPL-1.1) - -From: 'OSGi Alliance' (http://www.osgi.org) - - org.osgi.core (http://www.osgi.org) org.osgi:org.osgi.core:jar:6.0.0 - License: Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0) - -From: 'QOS.ch' (http://www.qos.ch) - - SLF4J API Module (http://www.slf4j.org) org.slf4j:slf4j-api:jar:1.7.12 - License: MIT License (http://www.opensource.org/licenses/mit-license.php) - - SLF4J Simple Binding (http://www.slf4j.org) org.slf4j:slf4j-simple:jar:1.7.12 - License: MIT License (http://www.opensource.org/licenses/mit-license.php) - -From: 'The Apache Software Foundation' (http://www.apache.org/) - - Apache Commons Logging (http://commons.apache.org/proper/commons-logging/) commons-logging:commons-logging:jar:1.2 - License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) - - Apache HttpClient (http://hc.apache.org/httpcomponents-client) org.apache.httpcomponents:httpclient:jar:4.5.13 - License: Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) - - Apache HttpCore (http://hc.apache.org/httpcomponents-core-ga) org.apache.httpcomponents:httpcore:jar:4.4.13 - License: Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) - -From: 'The Apache Software Foundation' (https://www.apache.org/) - - Apache Commons Codec (http://commons.apache.org/proper/commons-codec/) commons-codec:commons-codec:jar:1.11 - License: Apache License, Version 2.0 (https://www.apache.org/licenses/LICENSE-2.0.txt) - - Apache Commons Lang (https://commons.apache.org/proper/commons-lang/) org.apache.commons:commons-lang3:jar:3.12.0 - License: Apache License, Version 2.0 (https://www.apache.org/licenses/LICENSE-2.0.txt) - -From: 'WSO2' (http://www.wso2.org/) - - Siddhi Extension - JSON Mapper (http://www.wso2.org/siddhi-map-json-parent/siddhi-map-json/) io.siddhi.extension.map.json:siddhi-map-json:bundle:5.0.2 - License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) - - WSO2 Carbon Kernel - Core (http://wso2.com) org.wso2.carbon:org.wso2.carbon.core:bundle:5.2.0 - License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) - - Carbon Configuration (http://wso2.com) org.wso2.carbon.config:org.wso2.carbon.config:bundle:2.1.13 - License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) - - WSO2 Carbon Metrics Core (http://wso2.com/components/org.wso2.carbon.metrics.core) org.wso2.carbon.metrics:org.wso2.carbon.metrics.core:bundle:2.3.15 - License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) - - WSO2 Carbon Secure Vault - Component (http://wso2.com) org.wso2.carbon.secvault:org.wso2.carbon.secvault:bundle:5.0.13 - License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) - - WSO2 Carbon - Utils (http://wso2.com) org.wso2.carbon.utils:org.wso2.carbon.utils:bundle:2.0.2 - License: The Apache Software License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) - - - - diff --git a/component/target/test-classes/META-INF/LICENSE b/component/target/test-classes/META-INF/LICENSE deleted file mode 100644 index d645695..0000000 --- a/component/target/test-classes/META-INF/LICENSE +++ /dev/null @@ -1,202 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. diff --git a/component/target/test-classes/META-INF/NOTICE b/component/target/test-classes/META-INF/NOTICE deleted file mode 100644 index 8d74c78..0000000 --- a/component/target/test-classes/META-INF/NOTICE +++ /dev/null @@ -1,8 +0,0 @@ - -Siddhi IO Live extension -Copyright 2022 The Apache Software Foundation - -This product includes software developed at -The Apache Software Foundation (http://www.apache.org/). - - diff --git a/component/target/test-classes/io/siddhi/extension/io/live/source/TestCaseOfLiveSource$2.class b/component/target/test-classes/io/siddhi/extension/io/live/source/TestCaseOfLiveSource$2.class index 2193092..a8f4158 100644 Binary files a/component/target/test-classes/io/siddhi/extension/io/live/source/TestCaseOfLiveSource$2.class and b/component/target/test-classes/io/siddhi/extension/io/live/source/TestCaseOfLiveSource$2.class differ diff --git a/component/target/test-classes/io/siddhi/extension/io/live/source/TestCaseOfLiveSource.class b/component/target/test-classes/io/siddhi/extension/io/live/source/TestCaseOfLiveSource.class index ff12789..7a14e6d 100644 Binary files a/component/target/test-classes/io/siddhi/extension/io/live/source/TestCaseOfLiveSource.class and b/component/target/test-classes/io/siddhi/extension/io/live/source/TestCaseOfLiveSource.class differ