Vertx.io is a polyglot (Java, JavaScript, Groovy, Ruby, Ceylon, Scala and 
Kotlin) 
toolkit based on netty and intended to build minimalistic reactive apps on JVM. 
Its design
is based on the non-blocking event loop model and in this way is similar to 
node.js. 
You can read more here http://vertx.io/.

scripts/build image=openjdk8-zulu-compact3-with-java-beans,vertx

Signed-off-by: Waldemar Kozaczuk <[email protected]>
---
 vertx/Makefile                             | 18 ++++++++++++++++++
 vertx/module.py                            |  5 +++++
 vertx/usr.manifest                         |  1 +
 vertx/vertx-default-jul-logging.properties | 10 ++++++++++
 4 files changed, 34 insertions(+)
 create mode 100644 vertx/Makefile
 create mode 100644 vertx/module.py
 create mode 100644 vertx/usr.manifest
 create mode 100644 vertx/vertx-default-jul-logging.properties

diff --git a/vertx/Makefile b/vertx/Makefile
new file mode 100644
index 0000000..e370a1f
--- /dev/null
+++ b/vertx/Makefile
@@ -0,0 +1,18 @@
+src = $(shell readlink -f ../..)
+app-dir = $(src)/apps/vertx
+
+all: module
+module: vertx
+
+module: vertx-examples/.git
+       mkdir $(app-dir)/vertx-examples/maven-simplest/src/main/resources
+       cp $(app-dir)/vertx-default-jul-logging.properties 
$(app-dir)/vertx-examples/maven-simplest/src/main/resources/
+       cd $(app-dir)/vertx-examples/maven-simplest && mvn package
+
+.PHONY: vertx
+
+vertx-examples/.git: 
+       cd $(app-dir) && git clone --depth 1 
https://github.com/vert-x3/vertx-examples.git
+
+clean:
+       cd $(app-dir) && rm -rf vertx-examples
diff --git a/vertx/module.py b/vertx/module.py
new file mode 100644
index 0000000..886f1e4
--- /dev/null
+++ b/vertx/module.py
@@ -0,0 +1,5 @@
+from osv.modules import api
+
+api.require('java')
+
+default = api.run('/java.so -Xms64m -Xmx64m -Dvertx.disableDnsResolver=true 
-jar HelloWorld.jar')
diff --git a/vertx/usr.manifest b/vertx/usr.manifest
new file mode 100644
index 0000000..76f826f
--- /dev/null
+++ b/vertx/usr.manifest
@@ -0,0 +1 @@
+/HelloWorld.jar : 
${MODULE_DIR}/vertx-examples/maven-simplest/target/maven-simplest-3.5.0-fat.jar
diff --git a/vertx/vertx-default-jul-logging.properties 
b/vertx/vertx-default-jul-logging.properties
new file mode 100644
index 0000000..2cd3e6b
--- /dev/null
+++ b/vertx/vertx-default-jul-logging.properties
@@ -0,0 +1,10 @@
+handlers=java.util.logging.ConsoleHandler
+java.util.logging.SimpleFormatter.format=%5$s %6$s\n
+java.util.logging.ConsoleHandler.formatter=java.util.logging.SimpleFormatter
+java.util.logging.ConsoleHandler.level=FINEST
+
+.level=FINEST
+io.vertx.ext.web.level=FINEST
+io.vertx.level=FINEST
+com.hazelcast.level=INFO
+io.netty.util.internal.PlatformDependent.level=FINEST
-- 
2.7.4

-- 
You received this message because you are subscribed to the Google Groups "OSv 
Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to