Skip to content

Commit

Permalink
Update to 3.2.0
Browse files Browse the repository at this point in the history
And update API
  • Loading branch information
cescoffier committed Nov 26, 2015
1 parent 78514e9 commit e954398
Show file tree
Hide file tree
Showing 102 changed files with 194 additions and 186 deletions.
2 changes: 1 addition & 1 deletion Procfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
web: java $JAVA_OPTS -Dhttp.port=$PORT -jar heroku-example/target/heroku-example-3.1.0-fat.jar
web: java $JAVA_OPTS -Dhttp.port=$PORT -jar heroku-example/target/heroku-example-3.2.0-SNAPSHOT-fat.jar
2 changes: 1 addition & 1 deletion core-examples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>io.vertx</groupId>
<artifactId>core-examples</artifactId>
<version>3.1.0</version>
<version>3.2.0-SNAPSHOT</version>

<dependencies>

Expand Down
2 changes: 1 addition & 1 deletion docker-examples/vertx-docker-example-fabric8/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>io.vertx</groupId>
<artifactId>vertx-docker-example-fabric</artifactId>
<version>3.1.0</version>
<version>3.2.0-SNAPSHOT</version>

<name>Sample Docker Image for Fabric8</name>

Expand Down
2 changes: 1 addition & 1 deletion docker-examples/vertx-docker-example/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>io.vertx</groupId>
<artifactId>vertx-docker-example</artifactId>
<version>3.1.0</version>
<version>3.2.0-SNAPSHOT</version>

<name>Sample Docker Image with Maven</name>

Expand Down
2 changes: 1 addition & 1 deletion docker-examples/vertx-docker-java-fatjar/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

FROM java:8

ENV VERTICLE_FILE hello-verticle-fatjar-3.1.0-fat.jar
ENV VERTICLE_FILE hello-verticle-fatjar-3.2.0-SNAPSHOT-fat.jar

# Set the location of the verticles
ENV VERTICLE_HOME /usr/verticles
Expand Down
2 changes: 1 addition & 1 deletion docker-examples/vertx-docker-java-fatjar/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>io.vertx</groupId>
<artifactId>hello-verticle-fatjar</artifactId>
<version>3.1.0</version>
<version>3.2.0-SNAPSHOT</version>

<name>Sample Docker Image for Java - FatJar</name>

Expand Down
2 changes: 1 addition & 1 deletion docker-examples/vertx-docker-java/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
FROM vertx/vertx3

ENV VERTICLE_NAME io.vertx.sample.hello.HelloVerticle
ENV VERTICLE_FILE target/hello-verticle-3.1.0.jar
ENV VERTICLE_FILE target/hello-verticle-3.2.0-SNAPSHOT.jar

# Set the location of the verticles
ENV VERTICLE_HOME /usr/verticles
Expand Down
2 changes: 1 addition & 1 deletion docker-examples/vertx-docker-java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>io.vertx</groupId>
<artifactId>hello-verticle</artifactId>
<version>3.1.0</version>
<version>3.2.0-SNAPSHOT</version>

<name>Sample Docker Image for Java</name>

Expand Down
2 changes: 1 addition & 1 deletion examples-utils/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>vertx-examples</artifactId>
<groupId>io.vertx</groupId>
<version>3.1.0</version>
<version>3.2.0-SNAPSHOT</version>
</parent>

<modelVersion>4.0.0</modelVersion>
Expand Down
2 changes: 1 addition & 1 deletion gradle-simplest/README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Because the application plugin is being used, you may directly run the applicati

You may also run the fat jar as a standalone runnable jar:

java -jar build/libs/gradle-simplest-3.1.0-fat.jar
java -jar build/libs/gradle-simplest-3.2.0-SNAPSHOT-fat.jar

(You can take that jar and run it anywhere there is a Java 8+ JDK. It contains all the dependencies it needs so you
don't need to install Vert.x on the target machine).
Expand Down
2 changes: 1 addition & 1 deletion gradle-simplest/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ repositories {
}
}

version = '3.1.0'
version = '3.2.0-SNAPSHOT'
sourceCompatibility = '1.8'

dependencies {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ To build the "fat jar"

To run the fat jar:

java -jar build/libs/gradle-verticle-groovy-compiled-3.1.0-fat.jar
java -jar build/libs/gradle-verticle-groovy-compiled-3.2.0-SNAPSHOT-fat.jar

(You can take that jar and run it anywhere there is a Java 8+ JDK. It contains all the dependencies it needs so you
don't need to install Vert.x on the target machine).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ repositories {
}


version = '3.1.0'
version = '3.2.0-SNAPSHOT'

sourceCompatibility = '1.8'
mainClassName = 'io.vertx.core.Launcher'
Expand Down
2 changes: 1 addition & 1 deletion gradle-verticles/gradle-verticle-groovy/README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ To build the "fat jar"

To run the fat jar:

java -jar build/libs/gradle-verticle-groovy-3.1.0-fat.jar
java -jar build/libs/gradle-verticle-groovy-3.2.0-SNAPSHOT-fat.jar

(You can take that jar and run it anywhere there is a Java 8+ JDK. It contains all the dependencies it needs so you
don't need to install Vert.x on the target machine).
Expand Down
2 changes: 1 addition & 1 deletion gradle-verticles/gradle-verticle-groovy/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ repositories {
}


version = '3.1.0'
version = '3.2.0-SNAPSHOT'

sourceCompatibility = '1.8'
mainClassName = 'io.vertx.core.Launcher'
Expand Down
2 changes: 1 addition & 1 deletion gradle-verticles/gradle-verticle-js/README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ To build the "fat jar"

To run the fat jar:

java -jar build/libs/gradle-verticle-js-3.1.0-fat.jar
java -jar build/libs/gradle-verticle-js-3.2.0-SNAPSHOT-fat.jar

(You can take that jar and run it anywhere there is a Java 8+ JDK. It contains all the dependencies it needs so you
don't need to install Vert.x on the target machine).
Expand Down
2 changes: 1 addition & 1 deletion gradle-verticles/gradle-verticle-js/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ repositories {

sourceCompatibility = '1.8'
mainClassName = 'io.vertx.core.Launcher'
version = '3.1.0'
version = '3.2.0-SNAPSHOT'

repositories {
mavenCentral()
Expand Down
2 changes: 1 addition & 1 deletion gradle-verticles/gradle-verticle-rb/README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ To build the "fat jar"

To run the fat jar:

java -jar build/libs/gradle-verticle-rb-3.1.0-fat.jar
java -jar build/libs/gradle-verticle-rb-3.2.0-SNAPSHOT-fat.jar

(You can take that jar and run it anywhere there is a Java 8+ JDK. It contains all the dependencies it needs so you
don't need to install Vert.x on the target machine).
Expand Down
2 changes: 1 addition & 1 deletion gradle-verticles/gradle-verticle-rb/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ repositories {
}
sourceCompatibility = '1.8'
mainClassName = 'io.vertx.core.Launcher'
version = '3.1.0'
version = '3.2.0-SNAPSHOT'

dependencies {
compile "io.vertx:vertx-core:$version"
Expand Down
8 changes: 4 additions & 4 deletions gradle-verticles/gradle-verticle/README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ To build the "fat jar"

To run the fat jar:

java -jar build/libs/gradle-verticle-3.1.0-fat.jar
java -jar build/libs/gradle-verticle-3.2.0-SNAPSHOT-fat.jar

(You can take that jar and run it anywhere there is a Java 8+ JDK. It contains all the dependencies it needs so you
don't need to install Vert.x on the target machine).
Expand All @@ -24,13 +24,13 @@ Now point your browser at http://localhost:8080
Writing code in verticles allow you to scale it more easily, e.g. let's say you have 8 cores on your server and you
want to utilise them all, you can deploy 8 instances as follows:

java -jar build/libs/gradle-verticle-3.1.0-fat.jar -instances 8
java -jar build/libs/gradle-verticle-3.2.0-SNAPSHOT-fat.jar -instances 8

You can also enable clustering and ha at the command line, e.g.

java -jar build/libs/gradle-verticle-3.1.0-fat.jar -cluster
java -jar build/libs/gradle-verticle-3.2.0-SNAPSHOT-fat.jar -cluster

java -jar build/libs/gradle-verticle-3.1.0-fat.jar -ha
java -jar build/libs/gradle-verticle-3.2.0-SNAPSHOT-fat.jar -ha

Please see the docs for a full list of Vert.x command line options.

2 changes: 1 addition & 1 deletion gradle-verticles/gradle-verticle/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ repositories {
}
}

version = '3.1.0'
version = '3.2.0-SNAPSHOT'
sourceCompatibility = '1.8'
mainClassName = 'io.vertx.core.Launcher'

Expand Down
4 changes: 2 additions & 2 deletions heroku-example/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>io.vertx</groupId>
<artifactId>heroku-example</artifactId>
<version>3.1.0</version>
<version>3.2.0-SNAPSHOT</version>

<properties>
<!-- the main verticle -->
Expand Down Expand Up @@ -77,7 +77,7 @@
<version>0.5.6</version>
<configuration>
<processTypes>
<web>java $JAVA_OPTS -Dhttp.port=$PORT -jar target/heroku-example-3.1.0-fat.jar</web>
<web>java $JAVA_OPTS -Dhttp.port=$PORT -jar target/heroku-example-3.2.0-SNAPSHOT-fat.jar</web>
</processTypes>
</configuration>
</plugin>
Expand Down
2 changes: 1 addition & 1 deletion jca-examples/ear/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>io.vertx</groupId>
<artifactId>vertx-jca-examples</artifactId>
<version>3.1.0</version>
<version>3.2.0-SNAPSHOT</version>
</parent>

<artifactId>vertx-jca-examples-app</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion jca-examples/ejb/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>io.vertx</groupId>
<artifactId>vertx-jca-examples</artifactId>
<version>3.1.0</version>
<version>3.2.0-SNAPSHOT</version>
</parent>

<properties>
Expand Down
2 changes: 1 addition & 1 deletion jca-examples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>io.vertx</groupId>
<artifactId>vertx-jca-examples</artifactId>
<version>3.1.0</version>
<version>3.2.0-SNAPSHOT</version>
<packaging>pom</packaging>

<name>Vert.x JCA Examples</name>
Expand Down
2 changes: 1 addition & 1 deletion jca-examples/war/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<parent>
<groupId>io.vertx</groupId>
<artifactId>vertx-jca-examples</artifactId>
<version>3.1.0</version>
<version>3.2.0-SNAPSHOT</version>
</parent>

<artifactId>vertx-jca-examples-web</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion jdbc-examples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>io.vertx</groupId>
<artifactId>jdbc-examples</artifactId>
<version>3.1.0</version>
<version>3.2.0-SNAPSHOT</version>

<dependencies>
<dependency>
Expand Down
2 changes: 1 addition & 1 deletion mail-examples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<groupId>io.vertx</groupId>
<artifactId>mail-examples</artifactId>
<version>3.1.0</version>
<version>3.2.0-SNAPSHOT</version>

<dependencies>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def email = [

def headers = MultiMap.caseInsensitiveMultiMap()

headers.add("X-Mailer", "Vert.x Mail-Client 3.0")
headers.add("X-Mailer", "Vert.x Mail-Client 3.1")
headers.add("Message-ID", "[email protected]")
headers.add("Reply-To", "[email protected]")
headers.add("Received", "by vertx mail service")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ var email = {

var headers = MultiMap.caseInsensitiveMultiMap();

headers.add("X-Mailer", "Vert.x Mail-Client 3.0");
headers.add("X-Mailer", "Vert.x Mail-Client 3.1");
headers.add("Message-ID", "[email protected]");
headers.add("Reply-To", "[email protected]");
headers.add("Received", "by vertx mail service");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

headers = Vertx::MultiMap.case_insensitive_multi_map()

headers.add("X-Mailer", "Vert.x Mail-Client 3.0")
headers.add("X-Mailer", "Vert.x Mail-Client 3.1")
headers.add("Message-ID", "[email protected]")
headers.add("Reply-To", "[email protected]")
headers.add("Received", "by vertx mail service")
Expand Down
6 changes: 3 additions & 3 deletions maven-service-factory-examples/README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ You can run the verticle from anywhere using:

[source]
----
vertx run maven:io.vertx:maven-service-factory-verticle:3.1.0::my-verticle
vertx run maven:io.vertx:maven-service-factory-verticle:3.2.0-SNAPSHOT::my-verticle
----

The identifier is constructed as follows:
Expand All @@ -34,13 +34,13 @@ link:maven-service-factory-api/src/main/java/io/vertx/examples/MyDeployingVertic
verticle is deployed using:

----
vertx.deployVerticle("maven:io.vertx:maven-service-factory-verticle:3.1.0::my-verticle", r -> { ... });
vertx.deployVerticle("maven:io.vertx:maven-service-factory-verticle:3.2.0-SNAPSHOT::my-verticle", r -> { ... });
----

To run this project just launch:

----
cd maven-service-factory-api
mvn clean package
vertx run io.vertx.examples.MyDeployingVerticle -cp target/maven-service-factory-api-3.1.0.jar
vertx run io.vertx.examples.MyDeployingVerticle -cp target/maven-service-factory-api-3.2.0-SNAPSHOT.jar
----
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>io.vertx</groupId>
<artifactId>maven-service-factory-examples</artifactId>
<version>3.1.0</version>
<version>3.2.0-SNAPSHOT</version>
</parent>

<artifactId>maven-service-factory-api</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public class MyDeployingVerticle extends AbstractVerticle {
public void start(Future<Void> future) throws Exception {
// The `my-verticle` is deployed using the following convention:
// `maven:` + groupId + `:` + artifactId + `:` + version + `::` + verticle name
vertx.deployVerticle("maven:io.vertx:maven-service-factory-verticle:3.1.0::my-verticle",
vertx.deployVerticle("maven:io.vertx:maven-service-factory-verticle:3.2.0-SNAPSHOT::my-verticle",
ar -> {
if (ar.succeeded()) {
future.complete();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>io.vertx</groupId>
<artifactId>maven-service-factory-examples</artifactId>
<version>3.1.0</version>
<version>3.2.0-SNAPSHOT</version>
</parent>

<artifactId>maven-service-factory-verticle</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion maven-service-factory-examples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>io.vertx</groupId>
<artifactId>maven-service-factory-examples</artifactId>
<version>3.1.0</version>
<version>3.2.0-SNAPSHOT</version>

<packaging>pom</packaging>

Expand Down
2 changes: 1 addition & 1 deletion maven-simplest/README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ To build a "fat jar"

To run the fat jar:

java -jar target/maven-simplest-3.1.0-fat.jar
java -jar target/maven-simplest-3.2.0-SNAPSHOT-fat.jar

(You can take that jar and run it anywhere there is a Java 8+ JDK. It contains all the dependencies it needs so you
don't need to install Vert.x on the target machine).
Expand Down
2 changes: 1 addition & 1 deletion maven-simplest/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

<groupId>io.vertx</groupId>
<artifactId>maven-simplest</artifactId>
<version>3.1.0</version>
<version>3.2.0-SNAPSHOT</version>

<properties>
<!-- the main class -->
Expand Down
2 changes: 1 addition & 1 deletion maven-verticles/maven-verticle-groovy-compiled/README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ To build a "fat jar"

To run the fat jar:

java -jar target/maven-verticle-compiled-groovy-3.1.0-fat.jar
java -jar target/maven-verticle-compiled-groovy-3.2.0-SNAPSHOT-fat.jar

(You can take that jar and run it anywhere there is a Java 8+ JDK. It contains all the dependencies it needs so you
don't need to install Vert.x on the target machine).
Expand Down
2 changes: 1 addition & 1 deletion maven-verticles/maven-verticle-groovy-compiled/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

<groupId>io.vertx</groupId>
<artifactId>maven-verticle-compiled-groovy</artifactId>
<version>3.1.0</version>
<version>3.2.0-SNAPSHOT</version>

<properties>
<!-- the Groovy class, must be prefixed by `groovy:` to use the Groovy Vert.x support -->
Expand Down
Loading

0 comments on commit e954398

Please sign in to comment.