Skip to content

Commit

Permalink
Merge pull request #27 from MaheshMadushan/GetTableName
Browse files Browse the repository at this point in the history
SiddhiAppGenerator moved to SiddhiAppComopiste
  • Loading branch information
MaheshMadushan authored Mar 13, 2023
2 parents 79c6a75 + cc13225 commit 1f7a0a3
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
String sqlStatement = "SELECT ip@string, timestamp@string, SUM(traffic@int) as sum_traffic " +
" FROM networkTrafficTable WHERE (traffic@int = 1000 AND traffic@int > 2000)";

SiddhiAppComposites siddhiApp = SiddhiAppGenerator
SiddhiAppComposites siddhiApp = SiddhiAppComposites.SiddhiAppGenerator
.generateSiddhiApp(
"SiddhiAppName-dev-custom-app-name",
sqlStatement,
Expand Down
1 change: 1 addition & 0 deletions src/main/java/App.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import SiddhiAppComposites.Annotation.Sink.LogSink;
import SiddhiAppComposites.Annotation.Source.LiveSource;
import SiddhiAppComposites.SiddhiApp;
import SiddhiAppComposites.SiddhiAppGenerator;

public class App {
public static void main(String[] args) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
package SiddhiAppComposites;

import Engine.IEngine;
import Engine.MiddleEngine;
import SiddhiAppComposites.Annotation.Attributes.IAttributes;
Expand Down
1 change: 1 addition & 0 deletions src/test/java/SQLtoSiddhiQLCompilerTest.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import static org.junit.jupiter.api.Assertions.assertEquals;

import SiddhiAppComposites.SiddhiApp;
import SiddhiAppComposites.SiddhiAppGenerator;
import net.sf.jsqlparser.JSQLParserException;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
Expand Down

0 comments on commit 1f7a0a3

Please sign in to comment.