From 45e12f9811c73bf89de25ac5c12c9f97f0705700 Mon Sep 17 00:00:00 2001 From: Tomasz Rumak Date: Fri, 16 Feb 2024 09:54:16 +0100 Subject: [PATCH 1/2] Maven builf update. --- example/apache-ignite/pom.xml | 230 +++++++++++++++++++++++++++++++++- 1 file changed, 227 insertions(+), 3 deletions(-) diff --git a/example/apache-ignite/pom.xml b/example/apache-ignite/pom.xml index 130bc64d2..7a5f2053f 100644 --- a/example/apache-ignite/pom.xml +++ b/example/apache-ignite/pom.xml @@ -10,6 +10,9 @@ apache-ignite + + 2.16.0 + @@ -39,17 +42,22 @@ org.apache.ignite ignite-core - 2.16.0 + ${ignite.version} org.apache.ignite ignite-calcite - 2.16.0 + ${ignite.version} org.apache.ignite ignite-slf4j - 2.16.0 + ${ignite.version} + + + org.apache.ignite + ignite-kubernetes + ${ignite.version} org.scala-lang @@ -112,6 +120,222 @@ + + + org.codehaus.mojo + exec-maven-plugin + 3.1.0 + + + ignite + + exec + + + + -Xmx4G + -classpath + + --add-opens=java.base/java.nio=ALL-UNNAMED + --add-opens=java.base/jdk.internal.access=ALL-UNNAMED + --add-opens=java.base/jdk.internal.misc=ALL-UNNAMED + --add-opens=java.base/sun.nio.ch=ALL-UNNAMED + --add-opens=java.base/sun.util.calendar=ALL-UNNAMED + --add-opens=java.management/com.sun.jmx.mbeanserver=ALL-UNNAMED + --add-opens=jdk.internal.jvmstat/sun.jvmstat.monitor=ALL-UNNAMED + --add-opens=java.base/sun.reflect.generics.reflectiveObjects=ALL-UNNAMED + --add-opens=jdk.management/com.sun.management.internal=ALL-UNNAMED + --add-opens=java.base/java.io=ALL-UNNAMED + --add-opens=java.base/java.nio=ALL-UNNAMED + --add-opens=java.base/java.net=ALL-UNNAMED + --add-opens=java.base/java.util=ALL-UNNAMED + --add-opens=java.base/java.util.concurrent=ALL-UNNAMED + --add-opens=java.base/java.util.concurrent.locks=ALL-UNNAMED + --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED + --add-opens=java.base/java.lang=ALL-UNNAMED + --add-opens=java.base/java.lang.invoke=ALL-UNNAMED + --add-opens=java.base/java.math=ALL-UNNAMED + --add-opens=java.sql/java.sql=ALL-UNNAMED + --add-opens=java.base/java.lang.reflect=ALL-UNNAMED + --add-opens=java.base/java.time=ALL-UNNAMED + --add-opens=java.base/java.text=ALL-UNNAMED + --add-opens=java.management/sun.management=ALL-UNNAMED + --add-opens=java.desktop/java.awt.font=ALL-UNNAMED + -Djava.net.preferIPv4Stack=true + org.finos.vuu.example.ignite.StartIgniteMain + + + + + loader + + exec + + + + -Xmx1G + -classpath + + --add-opens=java.base/java.nio=ALL-UNNAMED + --add-opens=java.base/jdk.internal.access=ALL-UNNAMED + --add-opens=java.base/jdk.internal.misc=ALL-UNNAMED + --add-opens=java.base/sun.nio.ch=ALL-UNNAMED + --add-opens=java.base/sun.util.calendar=ALL-UNNAMED + --add-opens=java.management/com.sun.jmx.mbeanserver=ALL-UNNAMED + --add-opens=jdk.internal.jvmstat/sun.jvmstat.monitor=ALL-UNNAMED + --add-opens=java.base/sun.reflect.generics.reflectiveObjects=ALL-UNNAMED + --add-opens=jdk.management/com.sun.management.internal=ALL-UNNAMED + --add-opens=java.base/java.io=ALL-UNNAMED + --add-opens=java.base/java.nio=ALL-UNNAMED + --add-opens=java.base/java.net=ALL-UNNAMED + --add-opens=java.base/java.util=ALL-UNNAMED + --add-opens=java.base/java.util.concurrent=ALL-UNNAMED + --add-opens=java.base/java.util.concurrent.locks=ALL-UNNAMED + --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED + --add-opens=java.base/java.lang=ALL-UNNAMED + --add-opens=java.base/java.lang.invoke=ALL-UNNAMED + --add-opens=java.base/java.math=ALL-UNNAMED + --add-opens=java.sql/java.sql=ALL-UNNAMED + --add-opens=java.base/java.lang.reflect=ALL-UNNAMED + --add-opens=java.base/java.time=ALL-UNNAMED + --add-opens=java.base/java.text=ALL-UNNAMED + --add-opens=java.management/sun.management=ALL-UNNAMED + --add-opens=java.desktop/java.awt.font=ALL-UNNAMED + -Djava.net.preferIPv4Stack=true + org.finos.vuu.example.ignite.loader.IgniteOrderLoaderMain + + + + + vuu + + exec + + + + -Xmx4G + -classpath + + --add-opens=java.base/java.nio=ALL-UNNAMED + --add-opens=java.base/jdk.internal.access=ALL-UNNAMED + --add-opens=java.base/jdk.internal.misc=ALL-UNNAMED + --add-opens=java.base/sun.nio.ch=ALL-UNNAMED + --add-opens=java.base/sun.util.calendar=ALL-UNNAMED + --add-opens=java.management/com.sun.jmx.mbeanserver=ALL-UNNAMED + --add-opens=jdk.internal.jvmstat/sun.jvmstat.monitor=ALL-UNNAMED + --add-opens=java.base/sun.reflect.generics.reflectiveObjects=ALL-UNNAMED + --add-opens=jdk.management/com.sun.management.internal=ALL-UNNAMED + --add-opens=java.base/java.io=ALL-UNNAMED + --add-opens=java.base/java.nio=ALL-UNNAMED + --add-opens=java.base/java.net=ALL-UNNAMED + --add-opens=java.base/java.util=ALL-UNNAMED + --add-opens=java.base/java.util.concurrent=ALL-UNNAMED + --add-opens=java.base/java.util.concurrent.locks=ALL-UNNAMED + --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED + --add-opens=java.base/java.lang=ALL-UNNAMED + --add-opens=java.base/java.lang.invoke=ALL-UNNAMED + --add-opens=java.base/java.math=ALL-UNNAMED + --add-opens=java.sql/java.sql=ALL-UNNAMED + --add-opens=java.base/java.lang.reflect=ALL-UNNAMED + --add-opens=java.base/java.time=ALL-UNNAMED + --add-opens=java.base/java.text=ALL-UNNAMED + --add-opens=java.management/sun.management=ALL-UNNAMED + --add-opens=java.desktop/java.awt.font=ALL-UNNAMED + -Dvuu.webroot=../../vuu-ui/deployed_apps/app-vuu-example + -Dvuu.keyPath=src/main/resources/certs/key.pem + -Dvuu.certPath=src/main/resources/certs/cert.pem + -Dlogback.configurationFile=logback-netty.xml + -Djava.net.preferIPv4Stack=true + org.finos.vuu.example.ignite.IgniteVuuMain + + + + + + java + + + + + org.apache.maven.plugins + maven-jar-plugin + 3.3.0 + + + vuu-app + package + + jar + + + app + + + true + lib/ + + org.finos.vuu.example.ignite.IgniteVuuMain + + + + + + + vuu-ignite-node + package + + jar + + + node + + + true + lib/ + + org.finos.vuu.example.ignite.StartIgniteMain + + + + + + + vuu-ignite-loader + package + + jar + + + loader + + + true + lib/ + + org.finos.vuu.example.ignite.loader.IgniteOrderLoaderMain + + + + + + + + + org.apache.maven.plugins + maven-dependency-plugin + 3.6.1 + + + package + + copy-dependencies + + + ${project.build.directory}/lib + + + + \ No newline at end of file From 0be39dc4c8204eeba491db570c89c5713a1b2f51 Mon Sep 17 00:00:00 2001 From: Tomasz Rumak Date: Fri, 16 Feb 2024 14:43:15 +0100 Subject: [PATCH 2/2] Update README.md for apache-ignite example --- example/apache-ignite/README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/example/apache-ignite/README.md b/example/apache-ignite/README.md index fd2e08097..e9dabcbad 100644 --- a/example/apache-ignite/README.md +++ b/example/apache-ignite/README.md @@ -9,12 +9,20 @@ How to run: ```scala org.finos.vuu.example.ignite.StartIgniteMain ``` +or from command line : +```shell +mvn exec:exec@ignite +``` 2. Run loader process to populate orders... ```scala org.finos.vuu.example.ignite.loader.IgniteOrderLoaderMain ``` +or from command line : +```shell +mvn exec:exec@loader +``` 3. Run the static main @@ -24,6 +32,11 @@ org.finos.vuu.example.ignite.IgniteVuuMain # required jdk 17 JVM args --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/jdk.internal.access=ALL-UNNAMED --add-opens=java.base/jdk.internal.misc=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED --add-opens=java.base/sun.util.calendar=ALL-UNNAMED --add-opens=java.management/com.sun.jmx.mbeanserver=ALL-UNNAMED --add-opens=jdk.internal.jvmstat/sun.jvmstat.monitor=ALL-UNNAMED --add-opens=java.base/sun.reflect.generics.reflectiveObjects=ALL-UNNAMED --add-opens=jdk.management/com.sun.management.internal=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.base/java.util.concurrent.locks=ALL-UNNAMED --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.math=ALL-UNNAMED --add-opens=java.sql/java.sql=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.time=ALL-UNNAMED --add-opens=java.base/java.text=ALL-UNNAMED --add-opens=java.management/sun.management=ALL-UNNAMED --add-opens java.desktop/java.awt.font=ALL-UNNAMED ``` +or from command line : +```shell +mvn exec:exec@vuu +``` + ## License Copyright 2022 finos