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

COCNEPT: #207 prepare concept for redisign metrics used in summary inside job response #748

Conversation

ds-psosnowski
Copy link

No description provided.

Comment on lines 52 to 54
Tree is stored as list of nodes in list of Relationships as filed `private List<Relationship> relationships;` in `ItemContainer`.
Tree is assebmled in class `ItemTreesAssembler` in method `retrieveItemGraph`.
We should get the depth of the tree and add it to the response. Consider using https://www.geeksforgeeks.org/depth-n-ary-tree/
Copy link

@ds-jhartmann ds-jhartmann Feb 2, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Important to note that determining the depth of a running job like this is only suitable as some sort of progress bar. The actual "completion by depth" criteria still has to be evaluated in the DigitalTwinDelegate and needs to be done independently for every branch of the tree

Copy link

@ds-jhartmann ds-jhartmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ds-psosnowski ds-psosnowski merged commit f73d5c2 into main Feb 6, 2024
@ds-psosnowski ds-psosnowski deleted the chore/#207-redisign-metrics-used-in-summary-inside-job-response branch February 6, 2024 09:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants