-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add SSL support to transport layer (8.x) #993
Conversation
...channel; split Netty message handler into two classes; add utility methods to EventBusNettyUtil
...synchronization issues
- Update subclasses and references - Remove "send" method from BaseEvent that returns a Promise
...in MessageFactory
...separate package
Most of the operations lock a branch or repository target only for a short time interval eg. during a commit operation, but for some authoring tasks we allow clients to issue lock requests remotely. These locks should be released if the client disconnects and does not clean up on its own.
- Use NioSocketChannel instead of LocalChannel - Extract SnowOwlConfiguration to a local variable
After 15 seconds have passed without writing anything to the channel, an empty object is written to reset the "write idle" timer on the local side, and the "read idle" timer on the remote. After 30 seconds of no read activity, the corresponding channel is closed.
feature/SO-4987_netty_eventbus_8x Conflicts: cis/com.b2international.snowowl.snomed.cis.product/.launch/snow-owl-cis.launch core/com.b2international.snowowl.core/META-INF/MANIFEST.MF net4j/com.b2international.snowowl.eventbus.tests/.classpath net4j/com.b2international.snowowl.eventbus.tests/.launch/eventbus-unit-tests.launch net4j/com.b2international.snowowl.eventbus.tests/META-INF/MANIFEST.MF net4j/com.b2international.snowowl.eventbus/.classpath net4j/com.b2international.snowowl.eventbus/META-INF/MANIFEST.MF net4j/com.b2international.snowowl.rpc.test/.classpath net4j/com.b2international.snowowl.rpc.test/.launch/rpc-unit-tests.launch net4j/com.b2international.snowowl.rpc.test/META-INF/MANIFEST.MF net4j/com.b2international.snowowl.rpc.test/pom.xml net4j/com.b2international.snowowl.rpc/.classpath net4j/com.b2international.snowowl.rpc/META-INF/MANIFEST.MF
...generation support (module sun.security.x509 provides the relevant classes)
This pull request introduces 1 alert when merging aac22f0 into 3e773ca - view on LGTM.com new alerts:
|
...restore TransportConfiguration for timeouts and client-accepted certificate property.
This avoids leaking event loop groups in case multiple connection attempts are made from the splash screen.
@apeteri could you please resolve the conflicts and also port all recent change regard SSL transport to this PR from the 7.x branch? 🙇 |
feature/SO-4987_netty_eventbus_8x Conflicts: core/com.b2international.snowowl.core.tests/.launch/core-unit-tests.launch net4j/com.b2international.snowowl.eventbus.tests/META-INF/MANIFEST.MF net4j/com.b2international.snowowl.eventbus.tests/pom.xml net4j/com.b2international.snowowl.eventbus/META-INF/MANIFEST.MF net4j/com.b2international.snowowl.eventbus/pom.xml net4j/com.b2international.snowowl.rpc.test/META-INF/MANIFEST.MF net4j/com.b2international.snowowl.rpc.test/pom.xml net4j/com.b2international.snowowl.rpc/META-INF/MANIFEST.MF net4j/com.b2international.snowowl.rpc/pom.xml net4j/pom.xml releng/com.b2international.snowowl.server.update/assembly/common/bin/snowowl.bat releng/com.b2international.snowowl.server.update/assembly/common/bin/snowowl.sh
Codecov Report
@@ Coverage Diff @@
## 8.x #993 +/- ##
============================================
+ Coverage 64.67% 64.87% +0.19%
+ Complexity 12160 12138 -22
============================================
Files 1703 1696 -7
Lines 56635 56250 -385
Branches 5271 5199 -72
============================================
- Hits 36629 36492 -137
+ Misses 17770 17556 -214
+ Partials 2236 2202 -34
Continue to review full report at Codecov.
|
feature/SO-4987_netty_eventbus_8x Conflicts: net4j/com.b2international.snowowl.eventbus.tests/META-INF/MANIFEST.MF net4j/com.b2international.snowowl.eventbus.tests/pom.xml net4j/com.b2international.snowowl.eventbus/META-INF/MANIFEST.MF net4j/com.b2international.snowowl.eventbus/pom.xml net4j/com.b2international.snowowl.rpc.test/META-INF/MANIFEST.MF net4j/com.b2international.snowowl.rpc.test/pom.xml net4j/com.b2international.snowowl.rpc/META-INF/MANIFEST.MF net4j/com.b2international.snowowl.rpc/pom.xml net4j/pom.xml
...handler in Netty's handler chain
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
feature/SO-4987_netty_eventbus_8x Conflicts: net4j/com.b2international.snowowl.eventbus.tests/META-INF/MANIFEST.MF net4j/com.b2international.snowowl.eventbus.tests/pom.xml net4j/com.b2international.snowowl.eventbus/META-INF/MANIFEST.MF net4j/com.b2international.snowowl.eventbus/pom.xml net4j/com.b2international.snowowl.rpc.test/META-INF/MANIFEST.MF net4j/com.b2international.snowowl.rpc.test/pom.xml net4j/com.b2international.snowowl.rpc/META-INF/MANIFEST.MF net4j/com.b2international.snowowl.rpc/pom.xml net4j/pom.xml
No description provided.