[qpid-protonj2] branch main updated: [maven-release-plugin] prepare release 1.0.0-M8
This is an automated email from the ASF dual-hosted git repository. tabish pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/qpid-protonj2.git The following commit(s) were added to refs/heads/main by this push: new 81f4c8cb [maven-release-plugin] prepare release 1.0.0-M8 81f4c8cb is described below commit 81f4c8cb62f5c40460a0e1735eda141ff0bb3944 Author: Timothy Bish AuthorDate: Tue Aug 23 12:04:34 2022 -0400 [maven-release-plugin] prepare release 1.0.0-M8 --- apache-qpid-protonj2/pom.xml | 2 +- pom.xml| 4 ++-- protonj2-client-docs/pom.xml | 2 +- protonj2-client-examples/pom.xml | 2 +- protonj2-client/pom.xml| 2 +- protonj2-performance-tests/pom.xml | 2 +- protonj2-test-driver/pom.xml | 2 +- protonj2/pom.xml | 2 +- 8 files changed, 9 insertions(+), 9 deletions(-) diff --git a/apache-qpid-protonj2/pom.xml b/apache-qpid-protonj2/pom.xml index d9cddfca..bc646f6b 100644 --- a/apache-qpid-protonj2/pom.xml +++ b/apache-qpid-protonj2/pom.xml @@ -18,7 +18,7 @@ org.apache.qpid protonj2-parent -1.0.0-M8-SNAPSHOT +1.0.0-M8 4.0.0 diff --git a/pom.xml b/pom.xml index bd05cf5e..9987d0df 100644 --- a/pom.xml +++ b/pom.xml @@ -25,7 +25,7 @@ org.apache.qpid protonj2-parent - 1.0.0-M8-SNAPSHOT + 1.0.0-M8 pom Qpid ProtonJ2 Parent @@ -70,7 +70,7 @@ scm:git:https://gitbox.apache.org/repos/asf/qpid-protonj2.git scm:git:https://gitbox.apache.org/repos/asf/qpid-protonj2.git https://gitbox.apache.org/repos/asf?p=qpid-protonj2.git -1.0.0-M7 +1.0.0-M8 https://issues.apache.org/jira/browse/PROTON diff --git a/protonj2-client-docs/pom.xml b/protonj2-client-docs/pom.xml index 5f7b502a..88d2cc9e 100644 --- a/protonj2-client-docs/pom.xml +++ b/protonj2-client-docs/pom.xml @@ -18,7 +18,7 @@ org.apache.qpid protonj2-parent -1.0.0-M8-SNAPSHOT +1.0.0-M8 4.0.0 diff --git a/protonj2-client-examples/pom.xml b/protonj2-client-examples/pom.xml index 77527434..9b26d9d8 100644 --- a/protonj2-client-examples/pom.xml +++ b/protonj2-client-examples/pom.xml @@ -20,7 +20,7 @@ org.apache.qpid protonj2-parent -1.0.0-M8-SNAPSHOT +1.0.0-M8 protonj2-client-examples diff --git a/protonj2-client/pom.xml b/protonj2-client/pom.xml index 97faa0ea..c82d657a 100644 --- a/protonj2-client/pom.xml +++ b/protonj2-client/pom.xml @@ -22,7 +22,7 @@ org.apache.qpid protonj2-parent -1.0.0-M8-SNAPSHOT +1.0.0-M8 protonj2-client diff --git a/protonj2-performance-tests/pom.xml b/protonj2-performance-tests/pom.xml index 56b56e9f..56600c7a 100644 --- a/protonj2-performance-tests/pom.xml +++ b/protonj2-performance-tests/pom.xml @@ -20,7 +20,7 @@ org.apache.qpid protonj2-parent -1.0.0-M8-SNAPSHOT +1.0.0-M8 protonj2-performance-tests diff --git a/protonj2-test-driver/pom.xml b/protonj2-test-driver/pom.xml index 0e0dd921..4e27f9ae 100644 --- a/protonj2-test-driver/pom.xml +++ b/protonj2-test-driver/pom.xml @@ -20,7 +20,7 @@ org.apache.qpid protonj2-parent -1.0.0-M8-SNAPSHOT +1.0.0-M8 protonj2-test-driver diff --git a/protonj2/pom.xml b/protonj2/pom.xml index f30d5904..04619ce8 100644 --- a/protonj2/pom.xml +++ b/protonj2/pom.xml @@ -19,7 +19,7 @@ org.apache.qpid protonj2-parent -1.0.0-M8-SNAPSHOT +1.0.0-M8 4.0.0 - To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org For additional commands, e-mail: commits-h...@qpid.apache.org
[qpid-protonj2] annotated tag 1.0.0-M8 created (now 5b5474b6)
This is an automated email from the ASF dual-hosted git repository. tabish pushed a change to annotated tag 1.0.0-M8 in repository https://gitbox.apache.org/repos/asf/qpid-protonj2.git at 5b5474b6 (tag) tagging 81f4c8cb62f5c40460a0e1735eda141ff0bb3944 (commit) replaces 1.0.0-M7 by Timothy Bish on Tue Aug 23 12:07:41 2022 -0400 - Log - [maven-release-plugin] copy for tag 1.0.0-M8 --- No new revisions were added by this update. - To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org For additional commands, e-mail: commits-h...@qpid.apache.org
[qpid-protonj2] branch main updated: [maven-release-plugin] prepare for next development iteration
This is an automated email from the ASF dual-hosted git repository. tabish pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/qpid-protonj2.git The following commit(s) were added to refs/heads/main by this push: new 8bb23681 [maven-release-plugin] prepare for next development iteration 8bb23681 is described below commit 8bb23681c57d81b0e9c8adaca38ae0987d1e1fa9 Author: Timothy Bish AuthorDate: Tue Aug 23 12:07:45 2022 -0400 [maven-release-plugin] prepare for next development iteration --- apache-qpid-protonj2/pom.xml | 2 +- pom.xml| 4 ++-- protonj2-client-docs/pom.xml | 2 +- protonj2-client-examples/pom.xml | 2 +- protonj2-client/pom.xml| 2 +- protonj2-performance-tests/pom.xml | 2 +- protonj2-test-driver/pom.xml | 2 +- protonj2/pom.xml | 2 +- 8 files changed, 9 insertions(+), 9 deletions(-) diff --git a/apache-qpid-protonj2/pom.xml b/apache-qpid-protonj2/pom.xml index bc646f6b..d3ea8b09 100644 --- a/apache-qpid-protonj2/pom.xml +++ b/apache-qpid-protonj2/pom.xml @@ -18,7 +18,7 @@ org.apache.qpid protonj2-parent -1.0.0-M8 +1.0.0-M9-SNAPSHOT 4.0.0 diff --git a/pom.xml b/pom.xml index 9987d0df..0a41856a 100644 --- a/pom.xml +++ b/pom.xml @@ -25,7 +25,7 @@ org.apache.qpid protonj2-parent - 1.0.0-M8 + 1.0.0-M9-SNAPSHOT pom Qpid ProtonJ2 Parent @@ -70,7 +70,7 @@ scm:git:https://gitbox.apache.org/repos/asf/qpid-protonj2.git scm:git:https://gitbox.apache.org/repos/asf/qpid-protonj2.git https://gitbox.apache.org/repos/asf?p=qpid-protonj2.git -1.0.0-M8 +1.0.0-M7 https://issues.apache.org/jira/browse/PROTON diff --git a/protonj2-client-docs/pom.xml b/protonj2-client-docs/pom.xml index 88d2cc9e..ab5e8e69 100644 --- a/protonj2-client-docs/pom.xml +++ b/protonj2-client-docs/pom.xml @@ -18,7 +18,7 @@ org.apache.qpid protonj2-parent -1.0.0-M8 +1.0.0-M9-SNAPSHOT 4.0.0 diff --git a/protonj2-client-examples/pom.xml b/protonj2-client-examples/pom.xml index 9b26d9d8..1be8bf5a 100644 --- a/protonj2-client-examples/pom.xml +++ b/protonj2-client-examples/pom.xml @@ -20,7 +20,7 @@ org.apache.qpid protonj2-parent -1.0.0-M8 +1.0.0-M9-SNAPSHOT protonj2-client-examples diff --git a/protonj2-client/pom.xml b/protonj2-client/pom.xml index c82d657a..58963283 100644 --- a/protonj2-client/pom.xml +++ b/protonj2-client/pom.xml @@ -22,7 +22,7 @@ org.apache.qpid protonj2-parent -1.0.0-M8 +1.0.0-M9-SNAPSHOT protonj2-client diff --git a/protonj2-performance-tests/pom.xml b/protonj2-performance-tests/pom.xml index 56600c7a..9f784f35 100644 --- a/protonj2-performance-tests/pom.xml +++ b/protonj2-performance-tests/pom.xml @@ -20,7 +20,7 @@ org.apache.qpid protonj2-parent -1.0.0-M8 +1.0.0-M9-SNAPSHOT protonj2-performance-tests diff --git a/protonj2-test-driver/pom.xml b/protonj2-test-driver/pom.xml index 4e27f9ae..8a06d489 100644 --- a/protonj2-test-driver/pom.xml +++ b/protonj2-test-driver/pom.xml @@ -20,7 +20,7 @@ org.apache.qpid protonj2-parent -1.0.0-M8 +1.0.0-M9-SNAPSHOT protonj2-test-driver diff --git a/protonj2/pom.xml b/protonj2/pom.xml index 04619ce8..c010bee4 100644 --- a/protonj2/pom.xml +++ b/protonj2/pom.xml @@ -19,7 +19,7 @@ org.apache.qpid protonj2-parent -1.0.0-M8 +1.0.0-M9-SNAPSHOT 4.0.0 - To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org For additional commands, e-mail: commits-h...@qpid.apache.org
svn commit: r56467 - /dev/qpid/protonj2/1.0.0-M8-rc1/
Author: tabish Date: Tue Aug 23 16:17:35 2022 New Revision: 56467 Log: Add files for qpid-protonj2 1.0.0-M8 (RC1) Added: dev/qpid/protonj2/1.0.0-M8-rc1/ dev/qpid/protonj2/1.0.0-M8-rc1/apache-qpid-protonj2-1.0.0-M8-bin.tar.gz (with props) dev/qpid/protonj2/1.0.0-M8-rc1/apache-qpid-protonj2-1.0.0-M8-bin.tar.gz.asc dev/qpid/protonj2/1.0.0-M8-rc1/apache-qpid-protonj2-1.0.0-M8-bin.tar.gz.sha512 dev/qpid/protonj2/1.0.0-M8-rc1/apache-qpid-protonj2-1.0.0-M8-src.tar.gz (with props) dev/qpid/protonj2/1.0.0-M8-rc1/apache-qpid-protonj2-1.0.0-M8-src.tar.gz.asc dev/qpid/protonj2/1.0.0-M8-rc1/apache-qpid-protonj2-1.0.0-M8-src.tar.gz.sha512 Added: dev/qpid/protonj2/1.0.0-M8-rc1/apache-qpid-protonj2-1.0.0-M8-bin.tar.gz == Binary file - no diff available. Propchange: dev/qpid/protonj2/1.0.0-M8-rc1/apache-qpid-protonj2-1.0.0-M8-bin.tar.gz -- svn:mime-type = application/octet-stream Added: dev/qpid/protonj2/1.0.0-M8-rc1/apache-qpid-protonj2-1.0.0-M8-bin.tar.gz.asc == --- dev/qpid/protonj2/1.0.0-M8-rc1/apache-qpid-protonj2-1.0.0-M8-bin.tar.gz.asc (added) +++ dev/qpid/protonj2/1.0.0-M8-rc1/apache-qpid-protonj2-1.0.0-M8-bin.tar.gz.asc Tue Aug 23 16:17:35 2022 @@ -0,0 +1,16 @@ +-BEGIN PGP SIGNATURE- + +iQIzBAABCgAdFiEEhTnkiPXJeATrWVb7GxYSAwEmcusFAmME+9AACgkQGxYSAwEm +cuvh0g//QX+tzJzrRzGvj7g+39ntoDWKsKuR10FkKNOnTJ+hJrO3Tv4+Eyfrz4ER +IXfHI2LsK/s+kY8XSBBrzBgLlTsZ3a2x+wZzVpaUQRtH+Lfcp6w9gmJeFnBSprPD +IoX6AwcRNGiJgH1L72QXvzcMdi7hoiMYRXe2wlQu7JQs/vwHLCXNojpMwrwgwY/v +E3Dq32xNWJTgOL3cJx2NHPLMqse2734W9uF3ozokWh7LUEz9/5XZCmQ4tDb89Zby +7LqqzJBsEwo/1+zrL66KYVmFk+Hmi55xBToNp/AwpdWb4DgXxhB/pFPSLiNg5sq0 +u1nYwgFTdWELx9VBGV/RfEidhVj58wMgQr7KBrUK8hABE4TGaBBveL7P6c615M1N +ZueQppfq2WT4CEoJsTC4hO56/KCPREOUh5dmZHzVyOzEutKdUbuF0dqqonIAfBiD +HeYyBG39kTFiQ5UD4/Kt9oBvQd57nuMA9IRrOYKMHQlFhzjn7LZAr7FswtBGlPZb +tK4nIoQ5n/cu5sVAPFMLHZFEdGj7A9qKyQBer5Fr/u/miLZFcnIDSWcWrgYzNPOq +CF1cImquIF+4AiBecNVVhAI8IFaOYEJHL2V7fqss5i+/AyJNKFuPMKCD7pCJb8fz +0tpkSqjng9uXSj6kVQM+1cDwMDvuLaH9PaSjjYuv5aGf+Mty9Y8= +=yxkO +-END PGP SIGNATURE- Added: dev/qpid/protonj2/1.0.0-M8-rc1/apache-qpid-protonj2-1.0.0-M8-bin.tar.gz.sha512 == --- dev/qpid/protonj2/1.0.0-M8-rc1/apache-qpid-protonj2-1.0.0-M8-bin.tar.gz.sha512 (added) +++ dev/qpid/protonj2/1.0.0-M8-rc1/apache-qpid-protonj2-1.0.0-M8-bin.tar.gz.sha512 Tue Aug 23 16:17:35 2022 @@ -0,0 +1 @@ +75c6674aebc745b50116b7b2d2af1b718d95efbadcb778a28c3d5ed0c88d8a79a666ef86dd0bbc279c7a8293481f284d9f24ab6603d3ed98de4241ecab8bda59 apache-qpid-protonj2-1.0.0-M8-bin.tar.gz Added: dev/qpid/protonj2/1.0.0-M8-rc1/apache-qpid-protonj2-1.0.0-M8-src.tar.gz == Binary file - no diff available. Propchange: dev/qpid/protonj2/1.0.0-M8-rc1/apache-qpid-protonj2-1.0.0-M8-src.tar.gz -- svn:mime-type = application/octet-stream Added: dev/qpid/protonj2/1.0.0-M8-rc1/apache-qpid-protonj2-1.0.0-M8-src.tar.gz.asc == --- dev/qpid/protonj2/1.0.0-M8-rc1/apache-qpid-protonj2-1.0.0-M8-src.tar.gz.asc (added) +++ dev/qpid/protonj2/1.0.0-M8-rc1/apache-qpid-protonj2-1.0.0-M8-src.tar.gz.asc Tue Aug 23 16:17:35 2022 @@ -0,0 +1,16 @@ +-BEGIN PGP SIGNATURE- + +iQIzBAABCgAdFiEEhTnkiPXJeATrWVb7GxYSAwEmcusFAmME+9AACgkQGxYSAwEm +cuv11hAAjKLdW+Vcs2V1rlwPok4z2Fufe70ZIMkUD1PzBGqIT97x7RLLVCcFT+Mu +vLgcqMn4JhoS8FPMer/TqwsLg+F+BC8EYi5UTpByIIrluD+qpd2m7LUNwALDcEwi +rNTUYRESHNxsHbWz3y9AaZ0FiLqhV7k+BBYU+ymkzvqNUHYq4SFBLfjRfY7jDt4f +H55LfSYSpm9eWC3BFx9KkX7CiD2fyMAdHr5J3Vidgb5TfL9WiqTrWYtyF5Vnf/hh +cqcPIjDYErP02vX6pemQRONfckOefMf09BRIN7jM+41UTeoS7u9Slp3ciShFIZtw +lGWHK5ClWABvAPdiwsW3IgVjikk2ajYVEHsUka1bPxvJ2FjzHeVWN7S2/v6q8cTL +NE84LekjmLckYvJf1zx77N0+dMCz00oiM5a9WIxaQDl0k/EBBWEPQbJwaDLL8IRl +2nDK5AxwwgxGc8xOq7sYwdSQAtYDO2B/fXm3TX6r2f2febkByncJQ0R8a26I53nF +BdoDqTC5k7quBtIlq9ndAjp/aMe6NkGneJI40tqi9t6l2I/HGcLUhlX0Pis1+L7B +hHiX/5Ifa9JwM56sl9eR7U3RtP4PG3pWyV7Gx+3TEL8eYnJY7FO8ZEEdAC7sWS+y +VYhyIAHrLAiPkWzwem4sFdzkOS9ngaxI+/bhKPUZ0fnIlLg8fB8= +=fDhi +-END PGP SIGNATURE- Added: dev/qpid/protonj2/1.0.0-M8-rc1/apache-qpid-protonj2-1.0.0-M8-src.tar.gz.sha512 == --- dev/qpid/protonj2/1.0.0-M8-rc1/apache-qpid-protonj2-1.0.0-M8-src.tar.gz.sha512 (added) +++ dev/qpid/protonj2/1.0.0-M8-rc1/apache-qpid-protonj2-1.0.0-M8-src.tar.gz.sha512 Tue Aug 23 16:17:35 2022 @@ -0,0 +1 @@ +a049735c5aaba19004f630b99b18e003f56a0a8dd074b510d67066145f5bb13fc43240ee30d376a5fc8121c8041c8efe7ba6b27e79f4b79b558299dec795aeb9 a
[qpid-protonj2] branch main updated: PROTON-2593 Add frame decode handler tests for split frames
This is an automated email from the ASF dual-hosted git repository. tabish pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/qpid-protonj2.git The following commit(s) were added to refs/heads/main by this push: new 7c4ebc86 PROTON-2593 Add frame decode handler tests for split frames 7c4ebc86 is described below commit 7c4ebc8602e2a16c2c0c9267f44a044e97de7029 Author: Timothy Bish AuthorDate: Tue Aug 23 17:15:58 2022 -0400 PROTON-2593 Add frame decode handler tests for split frames --- .../impl/ProtonFrameDecodingHandlerTest.java | 104 + 1 file changed, 104 insertions(+) diff --git a/protonj2/src/test/java/org/apache/qpid/protonj2/engine/impl/ProtonFrameDecodingHandlerTest.java b/protonj2/src/test/java/org/apache/qpid/protonj2/engine/impl/ProtonFrameDecodingHandlerTest.java index ae37f966..785b7fdc 100644 --- a/protonj2/src/test/java/org/apache/qpid/protonj2/engine/impl/ProtonFrameDecodingHandlerTest.java +++ b/protonj2/src/test/java/org/apache/qpid/protonj2/engine/impl/ProtonFrameDecodingHandlerTest.java @@ -26,6 +26,7 @@ import static org.junit.jupiter.api.Assertions.fail; import java.util.List; +import org.apache.qpid.protonj2.buffer.ProtonBuffer; import org.apache.qpid.protonj2.buffer.ProtonByteBufferAllocator; import org.apache.qpid.protonj2.engine.EmptyEnvelope; import org.apache.qpid.protonj2.engine.Engine; @@ -272,6 +273,107 @@ public class ProtonFrameDecodingHandlerTest { assertFalse(decoded.hasProperties()); } +@Test +public void testDecodePipelinedHeaderAndOpenEncodedFrameSplitAcrossTwoReads() throws Exception { +// Frame data for: Open +// Open{ containerId='container', hostname='localhost', maxFrameSize=16384, channelMax=65535, +// idleTimeOut=3, outgoingLocales=null, incomingLocales=null, offeredCapabilities=null, +// desiredCapabilities=null, properties=null} +final byte[] basicOpen1 = new byte[] { +'A', 'M', 'Q', 'P', 0, 1, 0, 0, // HEADER +0, 0, 0, 49, 2, 0, 0, 0, 0, 83, 16, -64, 36, 5, -95, 9, 99, 111 }; +final byte[] basicOpen2 = new byte[] { +110, 116, 97, 105, 110, 101, 114, -95, 9, 108, 111, 99, 97, 108, +104, 111, 115, 116, 112, 0, 0, 64, 0, 96, -1, -1, 112, 0, 0, 117, 48 }; +ArgumentCaptor argument = ArgumentCaptor.forClass(IncomingAMQPEnvelope.class); + +ProtonFrameDecodingHandler handler = createFrameDecoder(); +ProtonEngineHandlerContext context = Mockito.mock(ProtonEngineHandlerContext.class); + +final ProtonBuffer buffer1 = ProtonByteBufferAllocator.DEFAULT.wrap(basicOpen1); +final ProtonBuffer buffer2 = ProtonByteBufferAllocator.DEFAULT.wrap(basicOpen2); + +handler.handleRead(context, buffer1); +handler.handleRead(context, buffer2); + +Mockito.verify(context).fireRead(Mockito.any(HeaderEnvelope.class)); + Mockito.verify(context).interestMask(ProtonEngineHandlerContext.HANDLER_READS); +Mockito.verify(context).fireRead(argument.capture()); +Mockito.verifyNoMoreInteractions(context); + +assertNotNull(argument.getValue()); +assertTrue(argument.getValue().getBody() instanceof Open); + +Open decoded = (Open) argument.getValue().getBody(); + +assertTrue(decoded.hasContainerId()); +assertEquals("container", decoded.getContainerId()); +assertTrue(decoded.hasHostname()); +assertEquals("localhost", decoded.getHostname()); +assertTrue(decoded.hasMaxFrameSize()); +assertEquals(16384, decoded.getMaxFrameSize()); +assertTrue(decoded.hasChannelMax()); +assertTrue(decoded.hasIdleTimeout()); +assertEquals(3, decoded.getIdleTimeout()); +assertFalse(decoded.hasOutgoingLocales()); +assertFalse(decoded.hasIncomingLocales()); +assertFalse(decoded.hasOfferedCapabilities()); +assertFalse(decoded.hasDesiredCapabilities()); +assertFalse(decoded.hasProperties()); +} + +@Test +public void testDecodePipelinedHeaderAndOpenEncodedFrameSplitAcrossThreeReads() throws Exception { +// Frame data for: Open +// Open{ containerId='container', hostname='localhost', maxFrameSize=16384, channelMax=65535, +// idleTimeOut=3, outgoingLocales=null, incomingLocales=null, offeredCapabilities=null, +// desiredCapabilities=null, properties=null} +final byte[] basicOpen1 = new byte[] { +'A', 'M', 'Q', 'P', 0, 1, 0, 0, // HEADER +0, 0, 0, 49, 2, 0, 0, 0, 0, 83, 16, -64, 36, 5, -95, 9, 99, 111 }; +final byte[] basicOpen2 = new byte[] { +110, 116, 97, 105, 110, 101, 114, -95, 9, 108, 111, 99, 97, 108 }; +final byte[] basicOpen3 = new byte[] { +104, 111, 115, 116, 112, 0, 0, 64, 0, 96, -1, -1, 112, 0,