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2PoBB(aIMb{#Uvj0;=?6I
zR|VZgQxiT5&40)co)IvuKKZeWQd!8xr!LwnkAK=3_pMlrzhj2+m1AZ`%|5N_ZGtoJ
zFZVG}lUdTOd5b&bdj6?XlIh!3U7pVNoc`z;IP-HCrxpQo5>m#$dkvBCe*-iAcVNc9
z56k#h0%yJ`n&dMbEj$exClZnK1q}E=*_xe)Jue@eT}dkoBK<>y$SeztEsYG2$^tNV
zP`a5=@v!l1wAbm-_Fvtm9kXHHw3B+FA!qJpZTyjTGoL4r_gMSoun94idPhZE
zwv&mN0y-REnoww|>QDPWD5;Vb=b;^IKI+YW8c-k#|*Cn%{-eZjWD
zDVlL(rB?il-EqIVCcR#Jt?K_q=~LS$xJB%Jz^ojjm*bSlCSuOeqRYk0XEn?}
zR{rJd)?6FA>p@P|Mv)z6%jP_=yD)Wq;0Yn6Rwh<~)xz6d*|JsF@Vs7eOX#-K?AY5D
z>d*h(PPG?sc>O%)-IMd!iifmH1}A2pyr5;%bw8!7*Iv$L>e7NzJYZEouy{zl{Y#_i
z;ZHe{1CCcjmk6A{RP%p++own_gMFbQ(fb?QQ`)CpR+!l%t?PF~@w>(wmHYx@jwA99
ztW_A2^AC0JJy^$M8J8!r#4ETbadz6b&U9tpJ^NFfR|`+c6~9sP`;W$h+Bl1SK|xP&ptkbk+dES|nLN^aHdWj4d3Ld~&vA}iZ2RUM
zV|vt|k4%&ACoc8dE8&p(pZ)fMrO}U?p3Jzq|6?u3;%J_T(7@wz?bH9vH}s24xOS;k
z^>|aX=!3`i7e5M@;BS1fwZ7%`Lo2DS^p&<*i=LZ*`M7s=UhbNE-G2^utIyjRB5w06
dDcn^k;Y{X-r`Pg$?r5B>$|!9AzNjy$2>^wD4GaJP
diff --git a/src/test/resources/server.keystore b/src/test/resources/server.keystore
deleted file mode 100644
index c0d88438161ef517f1d99b25b41f9854733c9295..0000000000000000000000000000000000000000
GIT binary patch
literal 0
HcmV?d00001
literal 2376
zcmd5-_fwPG7R{GN#|WW|Ql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!TmF3D8*+~8UX85go2gRgn~;53?ln6>qbToYX!D;vf*%I!J}Bf>h|pH5e3tLIog$PQ}v^dH5nw1Sz1IW|Oum0suk?2$+(K
z5dsB}Fc&yd9BSr*5eIkvF8GB7PlSb%_Mf2mP)HcmwzF=7e8PO>u$TZ+1PP-E?)i-f
z3QOCPDWnK8iK5^ZNc0b+L@GE^;uP={B1Q~E{ceE?3%EPD99JOwgpx2SpwfS@7XTzB
zNZVE(cP5M&XZk18{<9q1EhU1{2lX%qLA?VwEO<&v1Pg+?+vh*!|K*#hfYLvy-Tr-G
zRA2`LqymCaDgZ!OF9=ox4_JiasJnbAl6U6w_(CgBAxUB*BlR=
zb_d$>KE+*;mKOeoP|x{f;PtGHn)<@TIUI5F>M^;kT!s^pYno9%J)-L7E-X4nQvE+K1bF5B29)&4;Xor{wBGLN%V>E4pT+3GjFVyuH<2FSz
zG;VvgjD`fU(0}ROC>u3?S#Z~>TTCexia;^Nn~xxaRqKUkYu|}+%}YJG25M7VT#^aO
zbau*PVX_Yj10Vpy5wr*8w^bo83YUbV{o)|zFg*GAjiUWa#JgHI1rJ)%{^&|x87>V<
zp8wws!oTOm;Rp~00K9*4zAfi%&H)ICyQWSZ`?VX*HXD?vM)mb4@+#Ao+y%iWE@(nq
z3Y|zV98f6El-qAVthlN^rxF%^fdAQ^Q9~7oZx|=zaeJ~b&Wnt$wmXsOQ|h;J(O>!4
zqc)-iQ#?OZYM8RVp+1`AW$@&&knAP@TSh_Gr}UQ>A2Z3J
r^&c}fo@S_3Jam>i{P~RA5wR3!RMboEI}D@h?onUPV4XkoPWrzAKj#0O
diff --git a/src/test/resources/server.truststore b/src/test/resources/server.truststore
deleted file mode 100644
index 8d57af45b2d2c5ee09a2b8e0a01a50b3f3c2a7fb..0000000000000000000000000000000000000000
GIT binary patch
literal 0
HcmV?d00001
literal 2142
zcmezO_TO6u1_mZL=1$JZOwB9NO-?N;VPIg4Sydgih=Dai&(y$@fr0tAK@;@|?5KvO7;8T)fC}bc2Qo_u`8R;Jyq>z`Gn`)?Hpai#`lTl1GwJf!$GATc$(gDoU
z0~>B2C(dhVZeV6;YG7t;X=D&3&TC{~U;=~??x1vY6QdGx&@!?zFgG#sGZ-{6axpbA
zGBRvD8|`*^>&9uun*CR|X~%4sH|?ZeXvmqnSsQ<(-OT3+vi7G>|Nv9$9qHre(;(x^w_UHhiTv3vD7lfzOt
zt~`p~*D=wG@3Y5ZTle|es;y`3Lkd_UX820~o47cT?Y2Xkv$tpZ%n3@WQ(v%caEfN!
zSg95NVt3rHu1T-gUaR`QQTo*O32qU4A22J&=;b(NvWb{;JZ#aknCNox@>vb@kClJ<
zx;59v?s|}uwNYe;*|Iqg>@G}QA9zAYsg;RUV72geSGH``H9W6Z+!DI&G&}aTh5GY<
zw^Qu}99}<>yP^19d!}}$@deN`t6l)
zNd3=#`@quZM@>&=T;2b%mSb@=Pef?oak=*Cf94zdMJ8Ok)T(;CDO&Ww
Date: Mon, 11 May 2020 22:55:26 +0200
Subject: [PATCH 03/58] Update parent pom version
---
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index 01d2534..28e68b0 100644
--- a/pom.xml
+++ b/pom.xml
@@ -20,7 +20,7 @@
io.vertx
vertx-ext-parent
- 34
+ 35
vertx-tcp-eventbus-bridge
From c3cae00f9e8f834649005c2ecae91fdd5e739d47 Mon Sep 17 00:00:00 2001
From: Julien Viet
Date: Thu, 28 May 2020 10:58:46 +0200
Subject: [PATCH 04/58] Releasing 4.0.0-milestone5
---
pom.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pom.xml b/pom.xml
index 28e68b0..8ce99c2 100644
--- a/pom.xml
+++ b/pom.xml
@@ -24,12 +24,12 @@
vertx-tcp-eventbus-bridge
- 4.0.0-SNAPSHOT
+ 4.0.0-milestone5
Vert.x TCP EventBus Bridge
- 4.0.0-SNAPSHOT
+ 4.0.0-milestone5
From 81672a3a6c73842b65950a2e88210c67a5da7ed3 Mon Sep 17 00:00:00 2001
From: Julien Viet
Date: Thu, 28 May 2020 11:00:50 +0200
Subject: [PATCH 05/58] Releasing 4.0.0-SNAPSHOT
---
pom.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pom.xml b/pom.xml
index 8ce99c2..28e68b0 100644
--- a/pom.xml
+++ b/pom.xml
@@ -24,12 +24,12 @@
vertx-tcp-eventbus-bridge
- 4.0.0-milestone5
+ 4.0.0-SNAPSHOT
Vert.x TCP EventBus Bridge
- 4.0.0-milestone5
+ 4.0.0-SNAPSHOT
From b618eeff327cc643894a1031e0987f328af77bc7 Mon Sep 17 00:00:00 2001
From: Razak Zakari
Date: Thu, 28 May 2020 18:42:18 +0000
Subject: [PATCH 06/58] Security Update
new Buffer(num) decprecated due to security issues, the new method Buffer.alloc(num) was introduced to fix the problem, an update was made to refix the security problem.
---
src/client/nodejs/lib/tcp-vertx-eventbus.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/client/nodejs/lib/tcp-vertx-eventbus.js b/src/client/nodejs/lib/tcp-vertx-eventbus.js
index e7cb3aa..9b8b4ff 100644
--- a/src/client/nodejs/lib/tcp-vertx-eventbus.js
+++ b/src/client/nodejs/lib/tcp-vertx-eventbus.js
@@ -47,7 +47,7 @@ function send(transport, message) {
message = Buffer.from(message, "utf-8");
var msgLen = message.length;
- var buffer = new Buffer(4);
+ var buffer = Buffer.alloc(4);
buffer.writeInt32BE(msgLen, 0);
transport.write(Buffer.concat([buffer, message], 4 + msgLen));
@@ -101,7 +101,7 @@ var EventBus = function (host, port, options) {
this.onerror = console.error;
// message buffer
- var buffer = new Buffer(0);
+ var buffer = Buffer.alloc(0);
var len = 0;
this.transport.on('close', function () {
From 374f375fb6f37f024a5872b6420a845c5f6297e2 Mon Sep 17 00:00:00 2001
From: Julien Viet
Date: Thu, 23 Jul 2020 14:53:51 +0200
Subject: [PATCH 07/58] Releasing 4.0.0.Beta1
---
pom.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pom.xml b/pom.xml
index 28e68b0..ab40669 100644
--- a/pom.xml
+++ b/pom.xml
@@ -24,12 +24,12 @@
vertx-tcp-eventbus-bridge
- 4.0.0-SNAPSHOT
+ 4.0.0.Beta1
Vert.x TCP EventBus Bridge
- 4.0.0-SNAPSHOT
+ 4.0.0.Beta1
From a8f1e6ed9fc1568766d8a202223e57ff644452af Mon Sep 17 00:00:00 2001
From: Julien Viet
Date: Thu, 23 Jul 2020 15:34:17 +0200
Subject: [PATCH 08/58] Releasing 4.0.0-SNAPSHOT
---
pom.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pom.xml b/pom.xml
index ab40669..28e68b0 100644
--- a/pom.xml
+++ b/pom.xml
@@ -24,12 +24,12 @@
vertx-tcp-eventbus-bridge
- 4.0.0.Beta1
+ 4.0.0-SNAPSHOT
Vert.x TCP EventBus Bridge
- 4.0.0.Beta1
+ 4.0.0-SNAPSHOT
From 0a012fd3ec827c828fddd8f87be8dbc2df6ec3d5 Mon Sep 17 00:00:00 2001
From: Julien Viet
Date: Thu, 20 Aug 2020 09:51:39 +0200
Subject: [PATCH 09/58] Update pom parent version
---
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index 28e68b0..fe0b92a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -20,7 +20,7 @@
io.vertx
vertx-ext-parent
- 35
+ 37
vertx-tcp-eventbus-bridge
From b86c537a999e4a588c1b93882aa640faeef2f0fd Mon Sep 17 00:00:00 2001
From: Julien Viet
Date: Wed, 2 Sep 2020 10:03:37 +0200
Subject: [PATCH 10/58] Releasing 4.0.0.Beta2
---
pom.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pom.xml b/pom.xml
index fe0b92a..4b2d3e3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -24,12 +24,12 @@
vertx-tcp-eventbus-bridge
- 4.0.0-SNAPSHOT
+ 4.0.0.Beta2
Vert.x TCP EventBus Bridge
- 4.0.0-SNAPSHOT
+ 4.0.0.Beta2
From 7e106f44b032caf5d922e4764dff93ff6c3ebda2 Mon Sep 17 00:00:00 2001
From: Julien Viet
Date: Wed, 2 Sep 2020 10:34:32 +0200
Subject: [PATCH 11/58] Releasing 4.0.0-SNAPSHOT
---
pom.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pom.xml b/pom.xml
index 4b2d3e3..fe0b92a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -24,12 +24,12 @@
vertx-tcp-eventbus-bridge
- 4.0.0.Beta2
+ 4.0.0-SNAPSHOT
Vert.x TCP EventBus Bridge
- 4.0.0.Beta2
+ 4.0.0-SNAPSHOT
From d5e43f6ada525fe4108065d7d324dca6d26528fb Mon Sep 17 00:00:00 2001
From: Julien Viet
Date: Thu, 17 Sep 2020 16:05:57 +0200
Subject: [PATCH 12/58] Releasing 4.0.0.Beta3
---
pom.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pom.xml b/pom.xml
index fe0b92a..398a65f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -24,12 +24,12 @@
vertx-tcp-eventbus-bridge
- 4.0.0-SNAPSHOT
+ 4.0.0.Beta3
Vert.x TCP EventBus Bridge
- 4.0.0-SNAPSHOT
+ 4.0.0.Beta3
From bb397d145b4995e88f978ceb90006b9fa7644636 Mon Sep 17 00:00:00 2001
From: Julien Viet
Date: Thu, 17 Sep 2020 16:53:40 +0200
Subject: [PATCH 13/58] Releasing 4.0.0-SNAPSHOT
---
pom.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pom.xml b/pom.xml
index 398a65f..fe0b92a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -24,12 +24,12 @@
vertx-tcp-eventbus-bridge
- 4.0.0.Beta3
+ 4.0.0-SNAPSHOT
Vert.x TCP EventBus Bridge
- 4.0.0.Beta3
+ 4.0.0-SNAPSHOT
From c1ccb171736961c71b08e2b017ec87d04dcfca4f Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Tue, 13 Oct 2020 08:31:41 +0000
Subject: [PATCH 14/58] Bump junit from 4.12 to 4.13.1
Bumps [junit](https://github.com/junit-team/junit4) from 4.12 to 4.13.1.
- [Release notes](https://github.com/junit-team/junit4/releases)
- [Changelog](https://github.com/junit-team/junit4/blob/main/doc/ReleaseNotes4.12.md)
- [Commits](https://github.com/junit-team/junit4/compare/r4.12...r4.13.1)
Signed-off-by: dependabot[bot]
---
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index fe0b92a..eadd8ff 100644
--- a/pom.xml
+++ b/pom.xml
@@ -77,7 +77,7 @@
junit
junit
test
- 4.12
+ 4.13.1
io.vertx
From 1112ebdd5e802f90dba83e17b43a60dd7375b656 Mon Sep 17 00:00:00 2001
From: Julien Viet
Date: Sun, 1 Nov 2020 11:23:39 +0100
Subject: [PATCH 15/58] Releasing 4.0.0.CR1
---
pom.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pom.xml b/pom.xml
index eadd8ff..4057a63 100644
--- a/pom.xml
+++ b/pom.xml
@@ -24,12 +24,12 @@
vertx-tcp-eventbus-bridge
- 4.0.0-SNAPSHOT
+ 4.0.0.CR1
Vert.x TCP EventBus Bridge
- 4.0.0-SNAPSHOT
+ 4.0.0.CR1
From ffa579a93520c9ac51662cd169d17ce7a1a18ce1 Mon Sep 17 00:00:00 2001
From: Julien Viet
Date: Sun, 1 Nov 2020 15:11:26 +0100
Subject: [PATCH 16/58] Releasing 4.0.0-SNAPSHOT
---
pom.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pom.xml b/pom.xml
index 4057a63..eadd8ff 100644
--- a/pom.xml
+++ b/pom.xml
@@ -24,12 +24,12 @@
vertx-tcp-eventbus-bridge
- 4.0.0.CR1
+ 4.0.0-SNAPSHOT
Vert.x TCP EventBus Bridge
- 4.0.0.CR1
+ 4.0.0-SNAPSHOT
From d44b18f7d610804da96a8f80e86c2521f6956dcb Mon Sep 17 00:00:00 2001
From: Julien Viet
Date: Thu, 19 Nov 2020 09:35:55 +0100
Subject: [PATCH 17/58] GitHub action CI
---
.github/workflows/ci.yml | 62 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 62 insertions(+)
create mode 100644 .github/workflows/ci.yml
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
new file mode 100644
index 0000000..4022192
--- /dev/null
+++ b/.github/workflows/ci.yml
@@ -0,0 +1,62 @@
+name: CI
+on:
+ push:
+ branches:
+ - master
+ - '[0-9]+.[0-9]+'
+ pull_request:
+ branches:
+ - master
+ - '[0-9]+.[0-9]+'
+ schedule:
+ - cron: '0 4 * * *'
+jobs:
+ Test:
+ name: Run tests
+ strategy:
+ matrix:
+ os: [ubuntu-latest]
+ jdk: [8, 11]
+ runs-on: ${{ matrix.os }}
+ steps:
+ - uses: actions/cache@v2
+ with:
+ path: ~/.m2/repository
+ key: maven-java-${{ matrix.jdk }}
+ - name: Checkout
+ uses: actions/checkout@v2
+ - name: Install JDK
+ uses: joschi/setup-jdk@v2
+ with:
+ java-version: ${{ matrix.jdk }}
+ - name: Run tests
+ run: mvn -q clean verify -B
+ - name: Publish Unit Test Results
+ uses: scacap/action-surefire-report@v1
+ if: ${{ always() }}
+ with:
+ github_token: ${{ secrets.GITHUB_TOKEN }}
+ Deploy:
+ name: Deploy to OSSRH
+ if: ${{ github.repository_owner == 'vert-x3' && github.event_name == 'push' }}
+ needs: Test
+ runs-on: ubuntu-latest
+ env:
+ SONATYPE_NEXUS_USERNAME: ${{ secrets.SONATYPE_NEXUS_USERNAME }}
+ SONATYPE_NEXUS_PASSWORD: ${{ secrets.SONATYPE_NEXUS_PASSWORD }}
+ steps:
+ - uses: actions/cache@v2
+ with:
+ path: ~/.m2/repository
+ key: maven-java-${{ matrix.jdk }}
+ - name: Checkout
+ uses: actions/checkout@v2
+ - name: Install JDK
+ uses: joschi/setup-jdk@v2
+ with:
+ java-version: 8
+ - name: Get project version
+ run: echo "PROJECT_VERSION=$(mvn org.apache.maven.plugins:maven-help-plugin:evaluate -Dexpression=project.version -B | grep -v '\[')" >> $GITHUB_ENV
+ - name: Maven deploy
+ if: ${{ endsWith(env.PROJECT_VERSION, '-SNAPSHOT') }}
+ run: mvn deploy -s .travis.maven.settings.xml -DskipTests -B
From 23b2d94dda499ca4ae3a5fd226bc8e58066b3591 Mon Sep 17 00:00:00 2001
From: Julien Viet
Date: Mon, 23 Nov 2020 11:55:14 +0100
Subject: [PATCH 18/58] Releasing 4.0.0.CR2
---
pom.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pom.xml b/pom.xml
index eadd8ff..cb95f27 100644
--- a/pom.xml
+++ b/pom.xml
@@ -24,12 +24,12 @@
vertx-tcp-eventbus-bridge
- 4.0.0-SNAPSHOT
+ 4.0.0.CR2
Vert.x TCP EventBus Bridge
- 4.0.0-SNAPSHOT
+ 4.0.0.CR2
From 43c9ce91ec97a62df8181de641b3c56014fd3c8a Mon Sep 17 00:00:00 2001
From: Julien Viet
Date: Mon, 23 Nov 2020 12:39:08 +0100
Subject: [PATCH 19/58] Releasing 4.0.0-SNAPSHOT
---
pom.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pom.xml b/pom.xml
index cb95f27..eadd8ff 100644
--- a/pom.xml
+++ b/pom.xml
@@ -24,12 +24,12 @@
vertx-tcp-eventbus-bridge
- 4.0.0.CR2
+ 4.0.0-SNAPSHOT
Vert.x TCP EventBus Bridge
- 4.0.0.CR2
+ 4.0.0-SNAPSHOT
From 9124d513f5aa5274dddc162d053621d435e70360 Mon Sep 17 00:00:00 2001
From: Julien Viet
Date: Mon, 23 Nov 2020 17:29:38 +0100
Subject: [PATCH 20/58] Remove junit publish action that can't work with PR
from forkeks
---
.github/workflows/ci.yml | 5 -----
1 file changed, 5 deletions(-)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 4022192..239a372 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -31,11 +31,6 @@ jobs:
java-version: ${{ matrix.jdk }}
- name: Run tests
run: mvn -q clean verify -B
- - name: Publish Unit Test Results
- uses: scacap/action-surefire-report@v1
- if: ${{ always() }}
- with:
- github_token: ${{ secrets.GITHUB_TOKEN }}
Deploy:
name: Deploy to OSSRH
if: ${{ github.repository_owner == 'vert-x3' && github.event_name == 'push' }}
From 88f5fa9c3e34506d58993719d58a9daf50ae2924 Mon Sep 17 00:00:00 2001
From: Julien Viet
Date: Mon, 23 Nov 2020 17:38:21 +0100
Subject: [PATCH 21/58] Cleanup useless travis CI files
---
.travis.deploy.artifacts.sh | 5 -----
.travis.yml | 31 -------------------------------
2 files changed, 36 deletions(-)
delete mode 100644 .travis.deploy.artifacts.sh
delete mode 100644 .travis.yml
diff --git a/.travis.deploy.artifacts.sh b/.travis.deploy.artifacts.sh
deleted file mode 100644
index d6f9804..0000000
--- a/.travis.deploy.artifacts.sh
+++ /dev/null
@@ -1,5 +0,0 @@
-PROJECT_VERSION=$(mvn org.apache.maven.plugins:maven-help-plugin:evaluate -Dexpression=project.version -B | grep -v '\[')
-if [[ "$PROJECT_VERSION" =~ .*SNAPSHOT ]] && [[ "${TRAVIS_BRANCH}" =~ ^master$|^[0-9]+\.[0-9]+$ ]] && [[ "${TRAVIS_PULL_REQUEST}" = "false" ]];
-then
- mvn deploy -s .travis.maven.settings.xml -DskipTests -B;
-fi
diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index 064d240..0000000
--- a/.travis.yml
+++ /dev/null
@@ -1,31 +0,0 @@
-language: java
-branches:
- only:
- - master
- - /^\d+\.\d+$/
-cache:
- directories:
- - $HOME/.m2
-before_cache:
- - rm -rf $HOME/.m2/repository/io/vertx/
-jobs:
- include:
- - stage: test
- name: "OpenJDK 8"
- jdk: openjdk8
- script: mvn -q clean verify -B
- - if: type != pull_request
- name: "OpenJDK 11"
- jdk: openjdk11
- script: mvn -q clean verify -B
- - stage: deploy
- name: "Deploy to Sonatype's snapshots repository"
- jdk: openjdk8
- if: type != pull_request AND env(SONATYPE_NEXUS_USERNAME) IS present
- script: bash .travis.deploy.artifacts.sh
-notifications:
- email:
- recipients:
- - secure: "OFDvmbTbrfEnG9hBX/ekW6PXaM4bskrTayCr4umVM07HMU1YAKYkKfABwCf+6ccrA9MI/zXzeP8Pw5Pl8ARGA/Q2Eyv6C3o2bbXd5bk9aMa+kxE4Utv0pW6IMKH9BywR/eWfjYPKHs73fDzOC/u1h8xejFgIhddVgqCocVbb1cGmj6LwpP3YwjAOIoUbKnu4Ug7tOVD7r1laEL06g6kcUDMx1Me5I10rlx2n9kzn134esImP+dacgP9Pa0TjCqgxcjn0GYpi+txoLb3+4koEHcCm3isNdmaDJMRrQ38JlXTJ+EfG3ZykNKDaJMDE2iNqyvpwx1nn9TZWwcMF32UBlpH0ADzoLY93KGkpfSdaBkXCon1gyPiKIpgC6+HviO7K6dZnm2rUyfFrWEvGwb2l93m+La1WEIRucBWBxzw63ypvIv5qFDonWgvm6Byk9OUsPu1dF8zMKSjBAiDcqvefpXupZ+sAEIHOLio0XBYpBaSvrakjoL4gEv+TJiY4VhYfovbt3qEy47ov9ejtK9RevYcmY4/pTo9sfqIsi7oKJd8hEJT3Z7djHZ2MifgI9zrXMdLqbHogM30aIQ9y8RduIVEdbX39WogDPFH3F8y3b3kXHXaNA8K5+d/WYhE9Bq9QbHSk7vAu2sa1Jz2jk0nX4vAesNfwp2WMcelvqy/er1o="
- on_success: always
- on_failure: always
From 7ba85c4b0aa21c7e8bf19d397b26460e2b22c282 Mon Sep 17 00:00:00 2001
From: Julien Viet
Date: Mon, 23 Nov 2020 18:49:12 +0100
Subject: [PATCH 22/58] Update CI badge
---
README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.md b/README.md
index 8e92963..cac8458 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
# vertx-tcp-eventbus-bridge
-[](https://travis-ci.org/vert-x3/vertx-tcp-eventbus-bridge)
+[](https://github.com/vert-x3/vertx-tcp-eventbus-bridge/actions?query=workflow%3ACI)
This is a TCP eventbus bridge implementation.
From 26b81caa9daa0361af88ae5cb45a91b0b5263f8d Mon Sep 17 00:00:00 2001
From: Julien Viet
Date: Wed, 2 Dec 2020 14:07:45 +0100
Subject: [PATCH 23/58] Remove Maven repository caching from CI action
---
.github/workflows/ci.yml | 8 --------
1 file changed, 8 deletions(-)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 239a372..7a5f399 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -19,10 +19,6 @@ jobs:
jdk: [8, 11]
runs-on: ${{ matrix.os }}
steps:
- - uses: actions/cache@v2
- with:
- path: ~/.m2/repository
- key: maven-java-${{ matrix.jdk }}
- name: Checkout
uses: actions/checkout@v2
- name: Install JDK
@@ -40,10 +36,6 @@ jobs:
SONATYPE_NEXUS_USERNAME: ${{ secrets.SONATYPE_NEXUS_USERNAME }}
SONATYPE_NEXUS_PASSWORD: ${{ secrets.SONATYPE_NEXUS_PASSWORD }}
steps:
- - uses: actions/cache@v2
- with:
- path: ~/.m2/repository
- key: maven-java-${{ matrix.jdk }}
- name: Checkout
uses: actions/checkout@v2
- name: Install JDK
From 401c31fe4d9e08b14823356cd56c995cdac46f65 Mon Sep 17 00:00:00 2001
From: Julien Viet
Date: Wed, 2 Dec 2020 18:25:35 +0100
Subject: [PATCH 24/58] Deploy SNAPSHOT on cron GitHub events
---
.github/workflows/ci.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 7a5f399..d70a275 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -29,7 +29,7 @@ jobs:
run: mvn -q clean verify -B
Deploy:
name: Deploy to OSSRH
- if: ${{ github.repository_owner == 'vert-x3' && github.event_name == 'push' }}
+ if: ${{ github.repository_owner == 'vert-x3' && (github.event_name == 'push' || github.event_name == 'schedule') }}
needs: Test
runs-on: ubuntu-latest
env:
From 0356e1e6ba88f3ec2866999a1d78724ebcb8be6f Mon Sep 17 00:00:00 2001
From: Julien Viet
Date: Sun, 6 Dec 2020 17:51:58 +0100
Subject: [PATCH 25/58] Fix missing future methods
---
.../bridge/tcp/TcpEventBusBridge.java | 20 +++++++++----------
.../tcp/impl/TcpEventBusBridgeImpl.java | 19 ++++++++----------
2 files changed, 18 insertions(+), 21 deletions(-)
diff --git a/src/main/java/io/vertx/ext/eventbus/bridge/tcp/TcpEventBusBridge.java b/src/main/java/io/vertx/ext/eventbus/bridge/tcp/TcpEventBusBridge.java
index e87bbfa..5abbdda 100644
--- a/src/main/java/io/vertx/ext/eventbus/bridge/tcp/TcpEventBusBridge.java
+++ b/src/main/java/io/vertx/ext/eventbus/bridge/tcp/TcpEventBusBridge.java
@@ -18,6 +18,7 @@
import io.vertx.codegen.annotations.Fluent;
import io.vertx.codegen.annotations.VertxGen;
import io.vertx.core.AsyncResult;
+import io.vertx.core.Future;
import io.vertx.core.Handler;
import io.vertx.core.Vertx;
import io.vertx.core.net.NetServerOptions;
@@ -49,10 +50,9 @@ static TcpEventBusBridge create(Vertx vertx, BridgeOptions options, NetServerOpt
/**
* Listen on default port 7000
*
- * @return self
+ * @return a future of the result
*/
- @Fluent
- TcpEventBusBridge listen();
+ Future listen();
/**
* Listen on default port 7000 with a handler to report the state of the socket listen operation.
@@ -69,10 +69,9 @@ static TcpEventBusBridge create(Vertx vertx, BridgeOptions options, NetServerOpt
* @param port tcp port
* @param address tcp address to the bind
*
- * @return self
+ * @return a future of the result
*/
- @Fluent
- TcpEventBusBridge listen(int port, String address);
+ Future listen(int port, String address);
/**
* Listen on specific port and bind to specific address
@@ -91,10 +90,9 @@ static TcpEventBusBridge create(Vertx vertx, BridgeOptions options, NetServerOpt
*
* @param port tcp port
*
- * @return self
+ * @return a future of the result
*/
- @Fluent
- TcpEventBusBridge listen(int port);
+ Future listen(int port);
/**
* Listen on specific port
@@ -116,6 +114,8 @@ static TcpEventBusBridge create(Vertx vertx, BridgeOptions options, NetServerOpt
/**
* Close the current socket.
+ *
+ * @return a future of the result
*/
- void close();
+ Future close();
}
diff --git a/src/main/java/io/vertx/ext/eventbus/bridge/tcp/impl/TcpEventBusBridgeImpl.java b/src/main/java/io/vertx/ext/eventbus/bridge/tcp/impl/TcpEventBusBridgeImpl.java
index 9ec01d3..ab2e613 100644
--- a/src/main/java/io/vertx/ext/eventbus/bridge/tcp/impl/TcpEventBusBridgeImpl.java
+++ b/src/main/java/io/vertx/ext/eventbus/bridge/tcp/impl/TcpEventBusBridgeImpl.java
@@ -77,21 +77,18 @@ public TcpEventBusBridgeImpl(Vertx vertx, BridgeOptions options, NetServerOption
@Override
- public TcpEventBusBridge listen() {
- server.listen();
- return this;
+ public Future listen() {
+ return server.listen().map(this);
}
@Override
- public TcpEventBusBridge listen(int port) {
- server.listen(port);
- return this;
+ public Future listen(int port) {
+ return server.listen(port).map(this);
}
@Override
- public TcpEventBusBridge listen(int port, String address) {
- server.listen(port, address);
- return this;
+ public Future listen(int port, String address) {
+ return server.listen(port, address).map(this);
}
@Override
@@ -293,8 +290,8 @@ public void close(Handler> handler) {
}
@Override
- public void close() {
- server.close();
+ public Future close() {
+ return server.close();
}
private void checkCallHook(Supplier eventSupplier, Runnable okAction, Runnable rejectAction) {
From 7fe23026d07091dfb1cd7c05c5af6ebe53c25377 Mon Sep 17 00:00:00 2001
From: Julien Viet
Date: Mon, 7 Dec 2020 14:23:04 +0100
Subject: [PATCH 26/58] Releasing 4.0.0
---
pom.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pom.xml b/pom.xml
index eadd8ff..36099d9 100644
--- a/pom.xml
+++ b/pom.xml
@@ -24,12 +24,12 @@
vertx-tcp-eventbus-bridge
- 4.0.0-SNAPSHOT
+ 4.0.0
Vert.x TCP EventBus Bridge
- 4.0.0-SNAPSHOT
+ 4.0.0
From 98b3dcc13edf37126485fa58fd2460139465058f Mon Sep 17 00:00:00 2001
From: Julien Viet
Date: Mon, 7 Dec 2020 17:15:47 +0100
Subject: [PATCH 27/58] Releasing 4.0.1-SNAPSHOT
---
pom.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pom.xml b/pom.xml
index 36099d9..eeb5907 100644
--- a/pom.xml
+++ b/pom.xml
@@ -24,12 +24,12 @@
vertx-tcp-eventbus-bridge
- 4.0.0
+ 4.0.1-SNAPSHOT
Vert.x TCP EventBus Bridge
- 4.0.0
+ 4.0.1-SNAPSHOT
From 90b3d8d9b8a829b0e4f091b691a755c5c65885c6 Mon Sep 17 00:00:00 2001
From: Julien Viet
Date: Wed, 3 Feb 2021 10:41:08 +0100
Subject: [PATCH 28/58] Releasing 4.0.1
---
pom.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pom.xml b/pom.xml
index eeb5907..365fbde 100644
--- a/pom.xml
+++ b/pom.xml
@@ -24,12 +24,12 @@
vertx-tcp-eventbus-bridge
- 4.0.1-SNAPSHOT
+ 4.0.1
Vert.x TCP EventBus Bridge
- 4.0.1-SNAPSHOT
+ 4.0.1
From e5fd43c20e253959c322a4148f5dd8fc5c4bd2f1 Mon Sep 17 00:00:00 2001
From: Julien Viet
Date: Wed, 3 Feb 2021 11:42:15 +0100
Subject: [PATCH 29/58] Releasing 4.0.2-SNAPSHOT
---
pom.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pom.xml b/pom.xml
index 365fbde..0d61b06 100644
--- a/pom.xml
+++ b/pom.xml
@@ -24,12 +24,12 @@
vertx-tcp-eventbus-bridge
- 4.0.1
+ 4.0.2-SNAPSHOT
Vert.x TCP EventBus Bridge
- 4.0.1
+ 4.0.2-SNAPSHOT
From 9f73aea4a5a2cb3f95816882dadbbbdb3a6fb785 Mon Sep 17 00:00:00 2001
From: Julien Viet
Date: Fri, 5 Feb 2021 08:49:49 +0100
Subject: [PATCH 30/58] Releasing 4.0.2
---
pom.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pom.xml b/pom.xml
index 0d61b06..af9b860 100644
--- a/pom.xml
+++ b/pom.xml
@@ -24,12 +24,12 @@
vertx-tcp-eventbus-bridge
- 4.0.2-SNAPSHOT
+ 4.0.2
Vert.x TCP EventBus Bridge
- 4.0.2-SNAPSHOT
+ 4.0.2
From d0b984cf01812b70e787cc18261672fded5d5654 Mon Sep 17 00:00:00 2001
From: Julien Viet
Date: Fri, 5 Feb 2021 09:47:47 +0100
Subject: [PATCH 31/58] Releasing 4.0.3-SNAPSHOT
---
pom.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pom.xml b/pom.xml
index af9b860..c5e45bc 100644
--- a/pom.xml
+++ b/pom.xml
@@ -24,12 +24,12 @@
vertx-tcp-eventbus-bridge
- 4.0.2
+ 4.0.3-SNAPSHOT
Vert.x TCP EventBus Bridge
- 4.0.2
+ 4.0.3-SNAPSHOT
From f20bb2bfcec4a6540d84e721df69815e9cef97d0 Mon Sep 17 00:00:00 2001
From: Julien Viet
Date: Wed, 17 Feb 2021 11:34:29 +0100
Subject: [PATCH 32/58] Configure new distribution infrastructure
---
.github/workflows/ci.yml | 4 ++--
.travis.maven.settings.xml | 6 +++---
pom.xml | 2 +-
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index d70a275..875a7bc 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -33,8 +33,8 @@ jobs:
needs: Test
runs-on: ubuntu-latest
env:
- SONATYPE_NEXUS_USERNAME: ${{ secrets.SONATYPE_NEXUS_USERNAME }}
- SONATYPE_NEXUS_PASSWORD: ${{ secrets.SONATYPE_NEXUS_PASSWORD }}
+ VERTX_NEXUS_USERNAME: ${{ secrets.VERTX_NEXUS_USERNAME }}
+ VERTX_NEXUS_PASSWORD: ${{ secrets.VERTX_NEXUS_PASSWORD }}
steps:
- name: Checkout
uses: actions/checkout@v2
diff --git a/.travis.maven.settings.xml b/.travis.maven.settings.xml
index cd8c444..4561e31 100644
--- a/.travis.maven.settings.xml
+++ b/.travis.maven.settings.xml
@@ -7,9 +7,9 @@
- sonatype-nexus-snapshots
- ${env.SONATYPE_NEXUS_USERNAME}
- ${env.SONATYPE_NEXUS_PASSWORD}
+ vertx-snapshots-repository
+ ${env.VERTX_NEXUS_USERNAME}
+ ${env.VERTX_NEXUS_PASSWORD}
diff --git a/pom.xml b/pom.xml
index c5e45bc..2e9de8f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -20,7 +20,7 @@
io.vertx
vertx-ext-parent
- 37
+ 38
vertx-tcp-eventbus-bridge
From 912748da8af85361af7ccccfffd52a1035a32b0f Mon Sep 17 00:00:00 2001
From: Julien Viet
Date: Fri, 12 Mar 2021 15:46:57 +0100
Subject: [PATCH 33/58] Releasing 4.0.3
---
pom.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pom.xml b/pom.xml
index 2e9de8f..6617cfc 100644
--- a/pom.xml
+++ b/pom.xml
@@ -24,12 +24,12 @@
vertx-tcp-eventbus-bridge
- 4.0.3-SNAPSHOT
+ 4.0.3
Vert.x TCP EventBus Bridge
- 4.0.3-SNAPSHOT
+ 4.0.3
From 1a1cebdf7f026723e79c989986836a8ce41500c1 Mon Sep 17 00:00:00 2001
From: Julien Viet
Date: Fri, 12 Mar 2021 16:16:41 +0100
Subject: [PATCH 34/58] Releasing 4.0.4-SNAPSHOT
---
pom.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pom.xml b/pom.xml
index 6617cfc..e00978b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -24,12 +24,12 @@
vertx-tcp-eventbus-bridge
- 4.0.3
+ 4.0.4-SNAPSHOT
Vert.x TCP EventBus Bridge
- 4.0.3
+ 4.0.4-SNAPSHOT
From dc29fdbcf3d1a0518c7989ab6a40e6cea2463a32 Mon Sep 17 00:00:00 2001
From: Julien Viet
Date: Tue, 30 Mar 2021 10:36:20 +0200
Subject: [PATCH 35/58] Set version to 4.1.0-SNAPSHOT
---
pom.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pom.xml b/pom.xml
index e00978b..f9c566d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -24,12 +24,12 @@
vertx-tcp-eventbus-bridge
- 4.0.4-SNAPSHOT
+ 4.1.0-SNAPSHOT
Vert.x TCP EventBus Bridge
- 4.0.4-SNAPSHOT
+ 4.1.0-SNAPSHOT
From b3fd5a2b12cd9d3e794f28b0d20f28f31b2210a4 Mon Sep 17 00:00:00 2001
From: Lin Gao
Date: Tue, 13 Apr 2021 11:04:48 +0800
Subject: [PATCH 36/58] Fix build status link in README.md
---
README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.md b/README.md
index cac8458..1a18cd4 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
# vertx-tcp-eventbus-bridge
-[](https://github.com/vert-x3/vertx-tcp-eventbus-bridge/actions?query=workflow%3ACI)
+[](https://github.com/vert-x3/vertx-tcp-eventbus-bridge/actions?query=workflow%3ACI)
This is a TCP eventbus bridge implementation.
From 3134db7f9ba14a4f1283472bc5b148fd3d321632 Mon Sep 17 00:00:00 2001
From: Julien Viet
Date: Fri, 7 May 2021 15:32:02 +0200
Subject: [PATCH 37/58] Releasing 4.1.0.Beta1
---
pom.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pom.xml b/pom.xml
index f9c566d..49dc331 100644
--- a/pom.xml
+++ b/pom.xml
@@ -24,12 +24,12 @@
vertx-tcp-eventbus-bridge
- 4.1.0-SNAPSHOT
+ 4.1.0.Beta1
Vert.x TCP EventBus Bridge
- 4.1.0-SNAPSHOT
+ 4.1.0.Beta1
From ff456518200175d4fa0fe7dc26fa58868fcc4bbe Mon Sep 17 00:00:00 2001
From: Julien Viet
Date: Fri, 7 May 2021 15:34:07 +0200
Subject: [PATCH 38/58] Releasing 4.1.0-SNAPSHOT
---
pom.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pom.xml b/pom.xml
index 49dc331..f9c566d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -24,12 +24,12 @@
vertx-tcp-eventbus-bridge
- 4.1.0.Beta1
+ 4.1.0-SNAPSHOT
Vert.x TCP EventBus Bridge
- 4.1.0.Beta1
+ 4.1.0-SNAPSHOT
From 02a6cc8f7c4edac6f15132fe05ebffd194bd8f24 Mon Sep 17 00:00:00 2001
From: Julien Viet
Date: Thu, 20 May 2021 15:44:06 +0200
Subject: [PATCH 39/58] Releasing 4.1.0.CR1
---
pom.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pom.xml b/pom.xml
index f9c566d..d614a90 100644
--- a/pom.xml
+++ b/pom.xml
@@ -24,12 +24,12 @@
vertx-tcp-eventbus-bridge
- 4.1.0-SNAPSHOT
+ 4.1.0.CR1
Vert.x TCP EventBus Bridge
- 4.1.0-SNAPSHOT
+ 4.1.0.CR1
From d1a181a640046465b4551477813b3748ddd1efc2 Mon Sep 17 00:00:00 2001
From: Julien Viet
Date: Thu, 20 May 2021 16:11:10 +0200
Subject: [PATCH 40/58] Releasing 4.1.0-SNAPSHOT
---
pom.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pom.xml b/pom.xml
index d614a90..f9c566d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -24,12 +24,12 @@
vertx-tcp-eventbus-bridge
- 4.1.0.CR1
+ 4.1.0-SNAPSHOT
Vert.x TCP EventBus Bridge
- 4.1.0.CR1
+ 4.1.0-SNAPSHOT
From ab18ea31719526376a8fbaaecbf9aefb33b128b7 Mon Sep 17 00:00:00 2001
From: Julien Viet
Date: Thu, 27 May 2021 15:26:59 +0200
Subject: [PATCH 41/58] Releasing 4.1.0.CR2
---
pom.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pom.xml b/pom.xml
index f9c566d..bba7319 100644
--- a/pom.xml
+++ b/pom.xml
@@ -24,12 +24,12 @@
vertx-tcp-eventbus-bridge
- 4.1.0-SNAPSHOT
+ 4.1.0.CR2
Vert.x TCP EventBus Bridge
- 4.1.0-SNAPSHOT
+ 4.1.0.CR2
From 176b6fba702457aad746ac4dd273b524c00f84eb Mon Sep 17 00:00:00 2001
From: Julien Viet
Date: Thu, 27 May 2021 15:49:14 +0200
Subject: [PATCH 42/58] Releasing 4.1.0-SNAPSHOT
---
pom.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pom.xml b/pom.xml
index bba7319..f9c566d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -24,12 +24,12 @@
vertx-tcp-eventbus-bridge
- 4.1.0.CR2
+ 4.1.0-SNAPSHOT
Vert.x TCP EventBus Bridge
- 4.1.0.CR2
+ 4.1.0-SNAPSHOT
From b9dae4758e069991010ed8add43c10c8f94b3257 Mon Sep 17 00:00:00 2001
From: Julien Viet
Date: Tue, 1 Jun 2021 15:37:15 +0200
Subject: [PATCH 43/58] Releasing 4.1.0
---
pom.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pom.xml b/pom.xml
index f9c566d..23cb62c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -24,12 +24,12 @@
vertx-tcp-eventbus-bridge
- 4.1.0-SNAPSHOT
+ 4.1.0
Vert.x TCP EventBus Bridge
- 4.1.0-SNAPSHOT
+ 4.1.0
From 92f7b99cd82447fc767a71692914c94a000208bc Mon Sep 17 00:00:00 2001
From: Julien Viet
Date: Tue, 1 Jun 2021 15:59:19 +0200
Subject: [PATCH 44/58] Releasing 4.1.1-SNAPSHOT
---
pom.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pom.xml b/pom.xml
index 23cb62c..c253d25 100644
--- a/pom.xml
+++ b/pom.xml
@@ -24,12 +24,12 @@
vertx-tcp-eventbus-bridge
- 4.1.0
+ 4.1.1-SNAPSHOT
Vert.x TCP EventBus Bridge
- 4.1.0
+ 4.1.1-SNAPSHOT
From 4145e8fb2659d6b234ed0e67c6c81b7e827ce8e2 Mon Sep 17 00:00:00 2001
From: Julien Viet
Date: Thu, 1 Jul 2021 11:38:19 +0200
Subject: [PATCH 45/58] Releasing 4.1.1
---
pom.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pom.xml b/pom.xml
index c253d25..d5e4a97 100644
--- a/pom.xml
+++ b/pom.xml
@@ -24,12 +24,12 @@
vertx-tcp-eventbus-bridge
- 4.1.1-SNAPSHOT
+ 4.1.1
Vert.x TCP EventBus Bridge
- 4.1.1-SNAPSHOT
+ 4.1.1
From 7338b74f9e09bc062db1660cb0d61ff230735063 Mon Sep 17 00:00:00 2001
From: Julien Viet
Date: Thu, 1 Jul 2021 12:06:17 +0200
Subject: [PATCH 46/58] Set version to 4.2.0-SNAPSHOT
---
pom.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pom.xml b/pom.xml
index d5e4a97..908e0b6 100644
--- a/pom.xml
+++ b/pom.xml
@@ -24,12 +24,12 @@
vertx-tcp-eventbus-bridge
- 4.1.1
+ 4.2.0-SNAPSHOT
Vert.x TCP EventBus Bridge
- 4.1.1
+ 4.2.0-SNAPSHOT
From a0f02805730e84c3cd06485ec452551c76d39255 Mon Sep 17 00:00:00 2001
From: Julien Viet
Date: Tue, 10 Aug 2021 09:24:14 +0200
Subject: [PATCH 47/58] true
---
.github/workflows/ci.yml | 4 ++--
.travis.maven.settings.xml | 17 -----------------
2 files changed, 2 insertions(+), 19 deletions(-)
delete mode 100644 .travis.maven.settings.xml
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 875a7bc..2184f2d 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -26,7 +26,7 @@ jobs:
with:
java-version: ${{ matrix.jdk }}
- name: Run tests
- run: mvn -q clean verify -B
+ run: mvn -s .github/maven-ci-settings.xml -q clean verify -B
Deploy:
name: Deploy to OSSRH
if: ${{ github.repository_owner == 'vert-x3' && (github.event_name == 'push' || github.event_name == 'schedule') }}
@@ -46,4 +46,4 @@ jobs:
run: echo "PROJECT_VERSION=$(mvn org.apache.maven.plugins:maven-help-plugin:evaluate -Dexpression=project.version -B | grep -v '\[')" >> $GITHUB_ENV
- name: Maven deploy
if: ${{ endsWith(env.PROJECT_VERSION, '-SNAPSHOT') }}
- run: mvn deploy -s .travis.maven.settings.xml -DskipTests -B
+ run: mvn deploy -s .github/maven-cd-settings.xml -DskipTests -B
diff --git a/.travis.maven.settings.xml b/.travis.maven.settings.xml
deleted file mode 100644
index 4561e31..0000000
--- a/.travis.maven.settings.xml
+++ /dev/null
@@ -1,17 +0,0 @@
-
-
- false
-
-
-
- vertx-snapshots-repository
- ${env.VERTX_NEXUS_USERNAME}
- ${env.VERTX_NEXUS_PASSWORD}
-
-
-
-
-
From d70f774c43e400eaa9eae1fc03faf575031282ab Mon Sep 17 00:00:00 2001
From: Julien Viet
Date: Tue, 10 Aug 2021 09:30:57 +0200
Subject: [PATCH 48/58] Update CI/CD actions
---
.github/maven-cd-settings.xml | 63 +++++++++++++++++++++++++++++++++++
.github/maven-ci-settings.xml | 55 ++++++++++++++++++++++++++++++
2 files changed, 118 insertions(+)
create mode 100644 .github/maven-cd-settings.xml
create mode 100644 .github/maven-ci-settings.xml
diff --git a/.github/maven-cd-settings.xml b/.github/maven-cd-settings.xml
new file mode 100644
index 0000000..1ee3124
--- /dev/null
+++ b/.github/maven-cd-settings.xml
@@ -0,0 +1,63 @@
+
+
+
+
+ false
+
+
+
+ vertx-snapshots-repository
+ ${env.VERTX_NEXUS_USERNAME}
+ ${env.VERTX_NEXUS_PASSWORD}
+
+
+
+
+
+ google-mirror
+
+ true
+
+
+
+ google-maven-central
+ GCS Maven Central mirror EU
+ https://maven-central.storage-download.googleapis.com/maven2/
+
+ true
+
+
+ false
+
+
+
+
+
+ google-maven-central
+ GCS Maven Central mirror
+ https://maven-central.storage-download.googleapis.com/maven2/
+
+ true
+
+
+ false
+
+
+
+
+
+
diff --git a/.github/maven-ci-settings.xml b/.github/maven-ci-settings.xml
new file mode 100644
index 0000000..24b5bdb
--- /dev/null
+++ b/.github/maven-ci-settings.xml
@@ -0,0 +1,55 @@
+
+
+
+
+ false
+
+
+
+ google-mirror
+
+ true
+
+
+
+ google-maven-central
+ GCS Maven Central mirror EU
+ https://maven-central.storage-download.googleapis.com/maven2/
+
+ true
+
+
+ false
+
+
+
+
+
+ google-maven-central
+ GCS Maven Central mirror
+ https://maven-central.storage-download.googleapis.com/maven2/
+
+ true
+
+
+ false
+
+
+
+
+
+
From 28dffccea01bff7561baf16469a2fb2207c501c4 Mon Sep 17 00:00:00 2001
From: Julien Viet
Date: Tue, 24 Aug 2021 14:32:54 +0200
Subject: [PATCH 49/58] Releasing 4.2.0.Beta1
---
pom.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pom.xml b/pom.xml
index 908e0b6..a192629 100644
--- a/pom.xml
+++ b/pom.xml
@@ -24,12 +24,12 @@
vertx-tcp-eventbus-bridge
- 4.2.0-SNAPSHOT
+ 4.2.0.Beta1
Vert.x TCP EventBus Bridge
- 4.2.0-SNAPSHOT
+ 4.2.0.Beta1
From dc18cb177d41db86b1f8132279948850d2b6364d Mon Sep 17 00:00:00 2001
From: Julien Viet
Date: Tue, 24 Aug 2021 14:55:07 +0200
Subject: [PATCH 50/58] Back to snapshots
---
pom.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pom.xml b/pom.xml
index a192629..908e0b6 100644
--- a/pom.xml
+++ b/pom.xml
@@ -24,12 +24,12 @@
vertx-tcp-eventbus-bridge
- 4.2.0.Beta1
+ 4.2.0-SNAPSHOT
Vert.x TCP EventBus Bridge
- 4.2.0.Beta1
+ 4.2.0-SNAPSHOT
From fdc47bdc512f7afe3da9841ef3b7627ea9c444a3 Mon Sep 17 00:00:00 2001
From: Paulo Lopes
Date: Fri, 3 Sep 2021 13:01:14 +0200
Subject: [PATCH 51/58] Fix #61: message body should not be locked to JSON
Object
Signed-off-by: Paulo Lopes
---
README.md | 4 +-
.../tcp/impl/TcpEventBusBridgeImpl.java | 21 +++-----
.../bridge/tcp/impl/protocol/FrameHelper.java | 6 +--
.../bridge/tcp/TcpEventBusBridgeTest.java | 54 +++++++++++++++++++
4 files changed, 67 insertions(+), 18 deletions(-)
diff --git a/README.md b/README.md
index 1a18cd4..a662394 100644
--- a/README.md
+++ b/README.md
@@ -34,7 +34,7 @@ It is the response to the `ping` request from client to bridge.
For a regular message, the object will also contain:
* `address`: (string, required) Destination address.
-* `body`: (object, required) Message content as a JSON object.
+* `body`: (any, required) Message content as a JSON valid type.
* `headers`: (object, optional) Headers as a JSON object with String values.
* `replyAddress`: (string, optional) Address for replying to.
* `send`: (boolean, required) Will be `true` if the message is a send, `false` if a publish.
@@ -54,7 +54,7 @@ type is shown below, along with the companion keys for that type:
#### `type: "send"`, `type: "publish"`
* `address`: (string, required) Destination address
-* `body`: (object, required) Message content as a JSON object.
+* `body`: (any, required) Message content as a JSON valid type.
* `headers`: (object, optional) Headers as a JSON object with String values.
* `replyAddress`: (string, optional) Address for replying to.
diff --git a/src/main/java/io/vertx/ext/eventbus/bridge/tcp/impl/TcpEventBusBridgeImpl.java b/src/main/java/io/vertx/ext/eventbus/bridge/tcp/impl/TcpEventBusBridgeImpl.java
index ab2e613..ff2b111 100644
--- a/src/main/java/io/vertx/ext/eventbus/bridge/tcp/impl/TcpEventBusBridgeImpl.java
+++ b/src/main/java/io/vertx/ext/eventbus/bridge/tcp/impl/TcpEventBusBridgeImpl.java
@@ -71,11 +71,6 @@ public TcpEventBusBridgeImpl(Vertx vertx, BridgeOptions options, NetServerOption
server.connectHandler(this::handler);
}
- public TcpEventBusBridgeImpl(Vertx vertx, BridgeOptions options, NetServerOptions netServerOptions) {
- this(vertx, options, netServerOptions, null);
- }
-
-
@Override
public Future listen() {
return server.listen().map(this);
@@ -128,8 +123,8 @@ public TcpEventBusBridge listen(int port, Handler
}
private void doSendOrPub(NetSocket socket, String address, JsonObject msg, Map> registry, Map> replies) {
- final JsonObject body = msg.getJsonObject("body");
+ MessageConsumer>> registry, Map> replies) {
+ final Object body = msg.getValue("body");
final JsonObject headers = msg.getJsonObject("headers");
@@ -144,11 +139,11 @@ private void doSendOrPub(NetSocket socket, String address, JsonObject msg, Map> res1) -> {
+ eb.request(address, body, deliveryOptions, (AsyncResult> res1) -> {
if (res1.failed()) {
sendErrFrame(address, replyAddress, (ReplyException) res1.cause(), socket);
} else {
- final Message response = res1.result();
+ final Message> response = res1.result();
final JsonObject responseHeaders = new JsonObject();
// clone the headers from / to
@@ -195,7 +190,7 @@ private void doSendOrPub(NetSocket socket, String address, JsonObject msg, Map res1) -> {
+ registry.put(address, eb.consumer(address, (Message