Java API Documentation - #1912
Conversation
|
/netlify |
|
@kemerava @bingenito please see @kriswest 's comment #1734 (comment) talking about a Web Socket Connection Protocol, which I've attempted an implementation of here. I've also implemented this in the fdc3-java-api (finos-labs/fdc3-java-api#7) + Sail project.(tbd) to demonstrate the functionality. |
|
Improved WSCP based on @SeeWhatsOn and @kriswest 's review.
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## security-documentation-rebase2 #1912 +/- ##
================================================================
Coverage 96.18% 96.18%
================================================================
Files 83 83
Lines 6320 6320
Branches 970 843 -127
================================================================
Hits 6079 6079
Misses 241 241 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
@robmoffat I think this auto-closed when the target branch was merged. You may need to edit the base and reopen |
|
Also are you bringing in another repo for adoption as fdc3-java with code to use teh WSCP? |
|
Weird. Ok, I've created: #1941 This is the PR for the protocol support in the FDC3 Java API project: finos-labs/fdc3-java-api#7 My plan was to get this migrated to FINOS once we're ready to merge the first one. |
This pull request introduces significant updates to the WebSocket Connection Protocol (WSCP) and enhances the API documentation, particularly by adding Java language bindings. The main changes include a refactor of the WSCP handshake to use role-specific connect messages, the addition of new JSON schema files for WSCP message types, and comprehensive Java examples and interface details in the
ChannelAPI reference.WebSocket Connection Protocol (WSCP) Refactor and Schema Additions:
sharedSecretand the acceptor does not echo it. The assigned app identity is now carried inimplementationMetadata.appMetadata.WSCPApplicationConnect,WSCPDesktopAgentConnect,WSCPConnectFailed,WSCPGoodbye, and the sharedWSCPConnectionStepschema. These define the structure and requirements for each protocol message, improving clarity and interoperability. [1] [2] [3] [4] [5]API Documentation Enhancements:
ChannelAPI. This improves accessibility for Java developers and ensures parity with other supported languages. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] [17] [18] [19]