Skip to content

Commit

Permalink
Merge branch 'akshaykumar3-master'
Browse files Browse the repository at this point in the history
  • Loading branch information
pmlopes committed Jul 14, 2017
2 parents 65f2dce + 352d995 commit 48ce3ae
Show file tree
Hide file tree
Showing 170 changed files with 1,247 additions and 362 deletions.
4 changes: 2 additions & 2 deletions amqp-bridge-examples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>io.vertx</groupId>
<artifactId>amqp-bridge-examples</artifactId>
<version>3.4.1</version>
<version>3.4.2</version>

<dependencies>
<!-- primary deps -->
Expand Down Expand Up @@ -59,7 +59,7 @@
<repositories>
<repository>
<id>staging</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
<url>https://oss.sonatype.org/content/repositories/iovertx-3684/</url>
</repository>
</repositories>
</profile>
Expand Down
4 changes: 2 additions & 2 deletions camel-bridge-examples/README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Launch it by running the `main` method in your IDE or, after having build the pr


----
java -jar target/camel-bridge-examples-3.4.1.jar run io.vertx.example.camel.feed.FeedExample
java -jar target/camel-bridge-examples-3.4.2.jar run io.vertx.example.camel.feed.FeedExample
----

== RMI example
Expand All @@ -45,7 +45,7 @@ This example demonstrates:
Launch it by running the `main` method in your IDE , after having build the project with `mvn clean package`, with:

----
java -jar target/camel-bridge-examples-3.4.1.jar run io.vertx.example.camel.rmi.RMIExample
java -jar target/camel-bridge-examples-3.4.2.jar run io.vertx.example.camel.rmi.RMIExample
----

Then open your browser to: `http://localhost:8080/?name=world`
4 changes: 2 additions & 2 deletions camel-bridge-examples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>io.vertx</groupId>
<artifactId>camel-bridge-examples</artifactId>
<version>3.4.1</version>
<version>3.4.2</version>

<dependencies>
<dependency>
Expand Down Expand Up @@ -101,7 +101,7 @@
<repositories>
<repository>
<id>staging</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
<url>https://oss.sonatype.org/content/repositories/iovertx-3684/</url>
</repository>
</repositories>
</profile>
Expand Down
4 changes: 2 additions & 2 deletions circuit-breaker-examples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>io.vertx</groupId>
<artifactId>circuit-breaker-examples</artifactId>
<version>3.4.1</version>
<version>3.4.2</version>

<build>
<plugins>
Expand Down Expand Up @@ -52,7 +52,7 @@
<repositories>
<repository>
<id>staging</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
<url>https://oss.sonatype.org/content/repositories/iovertx-3684/</url>
</repository>
</repositories>
</profile>
Expand Down
4 changes: 2 additions & 2 deletions consul-examples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>io.vertx</groupId>
<artifactId>consul-examples</artifactId>
<version>3.4.1</version>
<version>3.4.2</version>

<dependencies>
<dependency>
Expand Down Expand Up @@ -51,7 +51,7 @@
<repositories>
<repository>
<id>staging</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
<url>https://oss.sonatype.org/content/repositories/iovertx-3684/</url>
</repository>
</repositories>
</profile>
Expand Down
4 changes: 2 additions & 2 deletions 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.4.1</version>
<version>3.4.2</version>

<dependencies>

Expand Down Expand Up @@ -64,7 +64,7 @@
<repositories>
<repository>
<id>staging</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
<url>https://oss.sonatype.org/content/repositories/iovertx-3684/</url>
</repository>
</repositories>
</profile>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ var server = vertx.createHttpServer({
});

server.requestHandler(function (req) {
req.response().putHeader("content-type", "text/html").end("<html><body>" + "<h1>Hello from vert.x!</h1>" + "<p>version = " + req.version() + "</p>" + "</body></html>");
req.response().putHeader("content-type", "text/html").end("<html><body><h1>Hello from vert.x!</h1><p>version = " + req.version() + "</p></body></html>");
}).listen(8080);
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ var server = vertx.createHttpServer({
});

server.requestHandler(function (req) {
req.response().putHeader("content-type", "text/html").end("<html><body>" + "<h1>Hello from vert.x!</h1>" + "<p>version = " + req.version() + "</p>" + "</body></html>");
req.response().putHeader("content-type", "text/html").end("<html><body><h1>Hello from vert.x!</h1><p>version = " + req.version() + "</p></body></html>");
}).listen(8443);
4 changes: 2 additions & 2 deletions 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.4.1</version>
<version>3.4.2</version>

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

Expand Down Expand Up @@ -109,7 +109,7 @@
<repositories>
<repository>
<id>staging</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
<url>https://oss.sonatype.org/content/repositories/iovertx-3684/</url>
</repository>
</repositories>
</profile>
Expand Down
4 changes: 2 additions & 2 deletions 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.4.1</version>
<version>3.4.2</version>

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

Expand Down Expand Up @@ -78,7 +78,7 @@
<repositories>
<repository>
<id>staging</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
<url>https://oss.sonatype.org/content/repositories/iovertx-3684/</url>
</repository>
</repositories>
</profile>
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-jre

ENV VERTICLE_FILE hello-verticle-fatjar-3.4.1-fat.jar
ENV VERTICLE_FILE hello-verticle-fatjar-3.4.2-fat.jar

# Set the location of the verticles
ENV VERTICLE_HOME /usr/verticles
Expand Down
4 changes: 2 additions & 2 deletions 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.4.1</version>
<version>3.4.2</version>

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

Expand Down Expand Up @@ -73,7 +73,7 @@
<repositories>
<repository>
<id>staging</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
<url>https://oss.sonatype.org/content/repositories/iovertx-3684/</url>
</repository>
</repositories>
</profile>
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.4.1.jar
ENV VERTICLE_FILE target/hello-verticle-3.4.2.jar

# Set the location of the verticles
ENV VERTICLE_HOME /usr/verticles
Expand Down
4 changes: 2 additions & 2 deletions 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.4.1</version>
<version>3.4.2</version>

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

Expand Down Expand Up @@ -38,7 +38,7 @@
<repositories>
<repository>
<id>staging</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
<url>https://oss.sonatype.org/content/repositories/iovertx-3684/</url>
</repository>
</repositories>
</profile>
Expand Down
4 changes: 2 additions & 2 deletions examples-utils/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>io.vertx</groupId>
<artifactId>examples-utils</artifactId>
<version>3.4.1</version>
<version>3.4.2</version>

<properties>
<tools.jar>${java.home}/../lib/tools.jar</tools.jar>
Expand Down Expand Up @@ -72,7 +72,7 @@
<repositories>
<repository>
<id>staging</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
<url>https://oss.sonatype.org/content/repositories/iovertx-3684/</url>
</repository>
</repositories>
</profile>
Expand Down
8 changes: 4 additions & 4 deletions fatjar-examples/README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ To build with Maven

To run the fat jar:

java -jar target/http2-fatjar-3.4.1.jar
java -jar target/http2-fatjar-3.4.2.jar

The build.gradle uses the Gradle shadowJar plugin to assemble the application and all it's dependencies into a single "fat" jar.

Expand All @@ -24,7 +24,7 @@ To build with Gradle

To run the fat jar:

java -jar build/libs/http2-fatjar-3.4.1-all.jar
java -jar build/libs/http2-fatjar-3.4.2-all.jar

NOTE: embedding the key in the jar is a discouraged practice - it is done purposely to keep the example simple

Expand All @@ -40,7 +40,7 @@ To build with Maven

To run the fat jar:

java -jar target/ruby-fatjar-3.4.1.jar.jar
java -jar target/ruby-fatjar-3.4.2.jar.jar

The build.gradle uses the Gradle shadowJar plugin to assemble the application and all it's dependencies into a single "fat" jar.

Expand All @@ -50,4 +50,4 @@ To build with Gradle

To run the fat jar:

java -jar build/libs/ruby-fatjar-3.4.1-all.jar
java -jar build/libs/ruby-fatjar-3.4.2-all.jar
6 changes: 3 additions & 3 deletions fatjar-examples/http2-fatjar/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ plugins {
repositories {
jcenter()
// maven {
// url "https://oss.sonatype.org/content/repositories/snapshots"
// url "https://oss.sonatype.org/content/repositories/iovertx-3684/"
// }
}

version = '3.4.1'
version = '3.4.2'
sourceCompatibility = '1.8'

dependencies {
Expand All @@ -31,5 +31,5 @@ shadowJar {
}

task wrapper(type: Wrapper) {
gradleVersion = '3.4.1'
gradleVersion = '4.0'
}
4 changes: 2 additions & 2 deletions fatjar-examples/http2-fatjar/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

<groupId>io.vertx</groupId>
<artifactId>http2-fatjar</artifactId>
<version>3.4.1</version>
<version>3.4.2</version>

<name>HTTP/2 fatjar</name>

Expand Down Expand Up @@ -97,7 +97,7 @@
<repositories>
<repository>
<id>staging</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
<url>https://oss.sonatype.org/content/repositories/iovertx-3684/</url>
</repository>
</repositories>
</profile>
Expand Down
6 changes: 3 additions & 3 deletions fatjar-examples/ruby-fatjar/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ plugins {
repositories {
jcenter()
// maven {
// url "https://oss.sonatype.org/content/repositories/snapshots"
// url "https://oss.sonatype.org/content/repositories/iovertx-3684/"
// }
}

version = '3.4.1'
version = '3.4.2'
sourceCompatibility = '1.8'

dependencies {
Expand All @@ -31,5 +31,5 @@ shadowJar {
}

task wrapper(type: Wrapper) {
gradleVersion = '3.4.1'
gradleVersion = '4.0'
}
4 changes: 2 additions & 2 deletions fatjar-examples/ruby-fatjar/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

<groupId>io.vertx</groupId>
<artifactId>ruby-fatjar</artifactId>
<version>3.4.1</version>
<version>3.4.2</version>

<name>Ruby fatjar</name>

Expand Down Expand Up @@ -83,7 +83,7 @@
<repositories>
<repository>
<id>staging</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
<url>https://oss.sonatype.org/content/repositories/iovertx-3684/</url>
</repository>
</repositories>
</profile>
Expand Down
4 changes: 2 additions & 2 deletions gradle-redeploy/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ plugins {
repositories {
jcenter()
maven {
url "https://oss.sonatype.org/content/repositories/snapshots"
url "https://oss.sonatype.org/content/repositories/iovertx-3684/"
}
}

version = '3.4.1'
version = '3.4.2'
sourceCompatibility = '1.8'

dependencies {
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.4.1-fat.jar
java -jar build/libs/gradle-simplest-3.4.2-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
6 changes: 3 additions & 3 deletions gradle-simplest/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ plugins {
repositories {
jcenter()
maven {
url "https://oss.sonatype.org/content/repositories/snapshots"
url "https://oss.sonatype.org/content/repositories/iovertx-3684/"
}
}

version = '3.4.1'
version = '3.4.2'
sourceCompatibility = '1.8'

dependencies {
Expand All @@ -28,5 +28,5 @@ shadowJar {
}

task wrapper(type: Wrapper) {
gradleVersion = '3.4.1'
gradleVersion = '4.0'
}
Binary file modified gradle-simplest/gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
4 changes: 2 additions & 2 deletions gradle-simplest/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Sun Mar 05 16:06:08 CET 2017
#Sun Jun 18 18:59:44 CEST 2017
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-3.4.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-4.0-bin.zip
Loading

0 comments on commit 48ce3ae

Please sign in to comment.