Skip to content

Commit

Permalink
Altered MQL references for mql-jvm 3.+
Browse files Browse the repository at this point in the history
  • Loading branch information
codyrioux committed Jun 25, 2019
1 parent 29f0535 commit 1fc79be
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions mantis-network/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@
*/

ext {
mqlVersion = '2.+'
mqlVersion = '3.+'
nettyVersion = '4.1.17.Final'
}

dependencies {
compile "io.netty:netty-handler:$nettyVersion"
compile "io.mantisrx:mql-core:$mqlVersion"
compile "io.mantisrx:mql-jvm:$mqlVersion"
compile project(':mantis-common')
}
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,12 @@ public class PushServerSse<T, S> extends PushServer<T, ServerSentEvent> {
private static IFn require = Clojure.var("clojure.core", "require");

static {
require.invoke(Clojure.read("io.mantisrx.mql.core"));
require.invoke(Clojure.read("io.mantisrx.mql.components"));
require.invoke(Clojure.read("io.mantisrx.mql.jvm.interfaces.core"));
require.invoke(Clojure.read("io.mantisrx.mql.jvm.interfaces.server"));
}

private static IFn mqlMakeQuery = Clojure.var("io.mantisrx.mql.components", "make-query");
private static IFn mqlParses = Clojure.var("io.mantisrx.mql.core", "parses?");
private static IFn mqlMakeQuery = Clojure.var("io.mantisrx.mql.jvm.interfaces.server", "make-query");
private static IFn mqlParses = Clojure.var("io.mantisrx.mql.jvm.interfaces.core", "parses?");

private Func2<Map<String, List<String>>, S, Void> requestPreprocessor;
private Func2<Map<String, List<String>>, S, Void> requestPostprocessor;
Expand Down

0 comments on commit 1fc79be

Please sign in to comment.