finos / FDC3

An open standard for the financial desktop.
https://fdc3.finos.org
Other
187 stars 109 forks source link

[WIP] FDC3 for Web specification #1191

Open kriswest opened 2 months ago

kriswest commented 2 months ago

resolves #896 This PR adds specifications and documentation related to enabling FDC3 for the web. This was based off of the committee's working doc and an initial PR (#1167) with the draft by @thorsent.

This assumes that "@finos/fdc3" will implement getAgent() and communication mechanisms to work with a Desktop Agent running in a different browser window.

The protocols were codified as "Web Connection Protocol (WCP)" for negotiating the handshake between the library and desktop agents, and "Browser Communication Protocol (BCP)" which encompasses the complete "wire protocol". The former is entirely specific to working in a Web Browser, however the latter might be reused in other implementations and hence may change name (e.g. 'The FDC3 Wire Protocol' or similar).

This documentation followed three streams:

Some changes and additions were made from the original working document:

netlify[bot] commented 2 months ago

Deploy Preview for fdc3 failed. Why did it fail? →

Name Link
Latest commit 50fe214da5da19728fa246d2efcb12230b9d1f5b
Latest deploy log https://app.netlify.com/sites/fdc3/deploys/667d3b3306a91d00085b84cc
robmoffat commented 2 months ago

Problem with this is that there were loads of discussions happening on #1167, can we re-open that PR or something?

kriswest commented 2 months ago

Problem with this is that there were loads of discussions happening on #1167, can we re-open that PR or something?

@robmoffat even though its closed you can still comment on it - however, I'll see if I can apply a bunch of the requested changes and resolve those conversations so we can thin down the set, then I'll return to schemas and code generation. I still need to add connection flow messages and intent resolver messages, but otherwise the schemas are relatively complete (assuming they are correct, which we don't know yet).

robmoffat commented 2 weeks ago

Just had a go at Java type generation using this branch. It's definitely coming together:

(base) rob@robs-mbp api % ls *Error* 
FindInstancesErrors.java    OpenErrorResponsePayload.java   ResponsePayloadError.java
FluffyError.java        PurpleError.java

There seems to be some duplication in these files and they also have weird names. Can you take a look?