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

Wish: Searching or Filtering Economic Events and Economic Resources by trackingIdentifier #5

Open
ocataco opened this issue Sep 30, 2021 · 5 comments

Comments

@ocataco
Copy link

ocataco commented Sep 30, 2021

In the simulation i'm working on, for example because of how packing and unpacking is implemented, the same 'medical gown' resource will exist at different times at for different owners (and places) identified under more than one reflow os id in its lifetime.
This is expected behaviour, and i guess it's the task of a tracking identifier to string back together these resources and events in valueflows.

Thinking ahead, if I would want to create a material passport for one physical medical gown that integrates all it's incarnations, i would have to query all economic resources that have this trackingIdentifier attached, and also all the economic events related to these resources in the system.

It's not clear to me how I would go about it efficiently because the 'filter' queries for economic resource and for economic events do not seem to support the trackingIdentifier as an argument.

@mayel
Copy link
Contributor

mayel commented Oct 4, 2021

Hi @ocataco a refactor or filtering/ordering/pagination is in the pipeline for the ValueFlows API, so I'll make a note to add this as a filter 👍

@adam-burns
Copy link
Member

Hi @ocataco a refactor or filtering/ordering/pagination is in the pipeline for the ValueFlows API, so I'll make a note to add this as a filter +1

Hi @mayel any update/expected timeline for ValueFlows filtering with trackingIdentifier as an argument?

Is refactoring filtering/ordering/pagination for the whole ValueFlows API a hard prerequiste?

@adam-burns
Copy link
Member

Hi @ocataco can you confirm whether this issue a wish or a tracking and tracing implementation blocking issue?

Thanks

@mayel
Copy link
Contributor

mayel commented Nov 18, 2021

implemented in bonfire-networks/bonfire_valueflows@03f00cb

@mayel
Copy link
Contributor

mayel commented Nov 23, 2021

PR to merge into reflowos: dyne/bonfire_valueflows#1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants