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

Include timeout on flowStats #87

Merged
merged 5 commits into from
Feb 8, 2023

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Feb 1, 2023

Original issue description

Include timeout on flowStats

closes #86

@github-actions github-actions bot added the feature New feature or request label Feb 1, 2023
@brunovg brunovg requested a review from skin27 February 1, 2023 11:20
@brunovg brunovg marked this pull request as ready for review February 1, 2023 11:23
flow.put("completed",completedMessages);
flow.put("failed",failedMessages);
flow.put("pending",pendingMessages);
flow.put("completedExchanges",completedMessages);
Copy link
Member

Choose a reason for hiding this comment

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

I'm trying to avoid the term "exchange". It's a concept of Camel, but not of Assimbly. Exchange is a difficult concept as it has a lifecycle and patterns. I want to simplify it to just speak of "messages". So I deliberately removed Exchange everywhere.

Copy link
Member

Choose a reason for hiding this comment

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

What do you think?

Copy link
Member

Choose a reason for hiding this comment

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

Is this because Dovetail uses it. I think this concept is too difficult for Dovetail users.

Copy link
Collaborator

Choose a reason for hiding this comment

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

ok, I can change it.
I need to change this also on Dovetail, frontend and backend.

Copy link
Collaborator

Choose a reason for hiding this comment

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

done 👍🏻

@@ -1654,6 +1659,14 @@ public String getFlowStats(String flowId, boolean fullStats, boolean includeStep

}

private long getTimeout(CamelContext context) throws MalformedObjectNameException {
Copy link
Member

Choose a reason for hiding this comment

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

BTW Cool to add the timeout. Didn't how to do it. Seems a good addition.

@skin27 skin27 merged commit 4bf56a5 into develop Feb 8, 2023
@skin27 skin27 deleted the feature/issue-86/include-timeout-on-flowstats branch February 8, 2023 14:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants