LSEG-API-Samples / Example.DataLibrary.DotNet

Example projects demonstrating access to the Refinitiv Data Platform using the Refinitiv Data Library for .NET.
7 stars 1 forks source link

When will the `Refinitiv Data Library for .NET` be managed as an open source project or when will it be ready for production? #1

Open ArturWincenciak opened 4 months ago

ArturWincenciak commented 4 months ago

I ask because I would like to know the implementation details of this library.

At the moment, the official version has the word beta in its name:

<PackageReference Include="Refinitiv.Data" Version="1.0.0-beta5" />

What does it mean that it is a beta version? How stable is this version? What work needs to be done to make it a production version?

I would like to be able to write integration tests that mock the news queue (e.g. using Wiremock or Testcontainers), but I need more details. Could you please give me some guidance on how to easily mock the communication with the news queue?

Or, if possible, could you make the Refinitiv Data Library for .NET an open source project?

cristian-baciuwahl-lseg commented 4 months ago

@ArturWincenciak

The current beta version is for the most part stable. The library is currently undergoing rebranding. We expect to have an official version ready somewhere around the end of this year. The codebase is not open source and there are no plans to go in this direction.

I would recommend encapsulating the library usage into an adapter that takes a definition as a parameter and then handles any data retrieval methods or stream call backs to permit you to fake certain behaviours and provide fake data (eg. when I tell a stubbed adapter to open a stream, I can fake a call back invocation and provide my own test data, as if a real stream would send me an update). There is no easy way of configuring fake endpoints or sandbox-like back-end.