Skip to content

Commit

Permalink
Merge branch 'eclipse-vertx:master' into migrate/provider-class-usage
Browse files Browse the repository at this point in the history
  • Loading branch information
yeikel committed Feb 7, 2024
2 parents 48daae7 + 1b8a5bd commit b97d312
Show file tree
Hide file tree
Showing 610 changed files with 22,557 additions and 30,356 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-4.x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
jdk: 8
profile: '-PtestDomainSockets'
- os: ubuntu-latest
jdk: 17
jdk: 21
profile: ''
- os: windows-latest
jdk: 8
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-5.x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
jdk: 11
profile: '-PtestDomainSockets'
- os: ubuntu-latest
jdk: 17
jdk: 21
profile: ''
- os: windows-latest
jdk: 11
Expand Down
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ Runs the tests
> mvn test
```

Tests can be run with specified HTTP port and/or HTTPS port.

```
> mvn test -Dvertx.httpPort=8888 -Dvertx.httpsPort=4044
```

Vert.x supports native transport on BSD and Linux, to run the tests with native transport

```
Expand Down
31 changes: 29 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@
<dependency>
<groupId>com.aayushatharva.brotli4j</groupId>
<artifactId>brotli4j</artifactId>
<version>1.8.0</version>
<version>1.12.0</version>
<scope>test</scope>
</dependency>

Expand Down Expand Up @@ -416,7 +416,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<version>2.19.1</version>
<version>3.2.5</version>
<executions>
<execution>
<id>ssl-engine:default</id>
Expand Down Expand Up @@ -479,6 +479,10 @@
<includes>
<include>io/vertx/it/SLF4JLogDelegateTest.java</include>
</includes>
<systemProperties>
<org.slf4j.simpleLogger.logFile>System.out</org.slf4j.simpleLogger.logFile>
<org.slf4j.simpleLogger.cacheOutputStream>false</org.slf4j.simpleLogger.cacheOutputStream>
</systemProperties>
</configuration>
</execution>
<execution>
Expand Down Expand Up @@ -567,6 +571,29 @@
</classpathDependencyExcludes>
</configuration>
</execution>
<execution>
<id>no-recycler-pool-jackson</id>
<goals>
<goal>integration-test</goal>
<goal>verify</goal>
</goals>
<configuration>
<includes>
<include>io/vertx/it/NoRecyclerPoolJacksonTest.java</include>
</includes>
<additionalClasspathDependencies>
<additionalClasspathDependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
<version>2.15.1</version>
</additionalClasspathDependency>
</additionalClasspathDependencies>
<classpathDependencyExcludes>
<classpathDependencyExclude>com.fasterxml.jackson.core:jackson-core</classpathDependencyExclude>
<classpathDependencyExclude>com.fasterxml.jackson.core:jackson-databind</classpathDependencyExclude>
</classpathDependencyExcludes>
</configuration>
</execution>
<execution>
<id>no-jackson-databind</id>
<goals>
Expand Down
7 changes: 6 additions & 1 deletion src/main/asciidoc/buffers.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,12 @@ Create a buffer from a String: The String will be encoded using the specified en
{@link examples.BufferExamples#example3}
----

include::override/buffer_from_bytes.adoc[]
Create a buffer from a byte[]

[source,java]
----
{@link examples.BufferExamples#example4}
----

Create a buffer with an initial size hint. If you know your buffer will have a certain amount of data written to it
you can create the buffer and specify this size. This makes the buffer initially allocate that much memory and is
Expand Down
81 changes: 0 additions & 81 deletions src/main/asciidoc/cli-for-java.adoc

This file was deleted.

180 changes: 0 additions & 180 deletions src/main/asciidoc/cli.adoc

This file was deleted.

4 changes: 2 additions & 2 deletions src/main/asciidoc/datagrams.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ and NetClient (see above).

=== Creating a DatagramSocket

To use UDP you first need t create a {@link io.vertx.core.datagram.DatagramSocket}. It does not matter here if you only want to send data or send
To use UDP you first need to create a {@link io.vertx.core.datagram.DatagramSocket}. It does not matter here if you only want to send data or send
and receive.

[source,$lang]
Expand Down Expand Up @@ -54,7 +54,7 @@ Sending packets is as easy as shown here:
=== Receiving Datagram packets

If you want to receive packets you need to bind the {@link io.vertx.core.datagram.DatagramSocket} by calling
`listen(...)}` on it.
`listen(...)` on it.

This way you will be able to receive {@link io.vertx.core.datagram.DatagramPacket}s that were sent to the address and port on
which the {@link io.vertx.core.datagram.DatagramSocket} listens.
Expand Down
Loading

0 comments on commit b97d312

Please sign in to comment.