Skip to content
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

Cusom Views: Idea for a test BatchSource from file #15659

Open
ray-roestenburg-da opened this issue Nov 22, 2022 · 0 comments
Open

Cusom Views: Idea for a test BatchSource from file #15659

ray-roestenburg-da opened this issue Nov 22, 2022 · 0 comments
Labels
custom-views team/ledger-clients Related to the Ledger Clients team's components.

Comments

@ray-roestenburg-da
Copy link
Contributor

ray-roestenburg-da commented Nov 22, 2022

Idea: Investigate how easy it would be to store a stream from a ledger as a file (Protobuf or (preferably) JSON encoded), which can then be replayed as a BatchSource. This could be used for testing specific input from any ledger. The file could possibly be generated by running a projection into (hypothetical) file actions (with a projection that just takes the event directly and persists to file), or by some custom code that uses the gRPC client.

@ray-roestenburg-da ray-roestenburg-da added team/ledger-clients Related to the Ledger Clients team's components. roadmap/custom-views https://digitalasset.atlassian.net/browse/DAML-41 custom-views labels Nov 22, 2022
@ray-roestenburg-da ray-roestenburg-da changed the title Test BatchSource from protobuf files Projection: Test BatchSource from protobuf files Nov 22, 2022
@ray-roestenburg-da ray-roestenburg-da changed the title Projection: Test BatchSource from protobuf files Projection: Test BatchSource from resources / files Dec 12, 2022
@ray-roestenburg-da ray-roestenburg-da changed the title Projection: Test BatchSource from resources / files Cusom Views: Idea for a test BatchSource from file Dec 20, 2022
@ray-roestenburg-da ray-roestenburg-da removed the roadmap/custom-views https://digitalasset.atlassian.net/browse/DAML-41 label Jan 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
custom-views team/ledger-clients Related to the Ledger Clients team's components.
Projects
None yet
Development

No branches or pull requests

2 participants