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

Flows: provide API to list flows from all datasets of the specified account #551

Closed
Tracked by #58
zaychenko-sergei opened this issue Mar 13, 2024 · 0 comments · Fixed by #620
Closed
Tracked by #58
Assignees
Labels
enhancement New feature or request

Comments

@zaychenko-sergei
Copy link
Contributor

zaychenko-sergei commented Mar 13, 2024

To support UI idea from kamu-data/kamu-web-ui#280, provide corresponding GraphQL API:

  • it could start from Account query
  • introduce something like AccountFlowRuns query
  • then a method that is similar to DatasetFlowRuns::listFlows query, allowing filtering and pagination:
type DatasetFlowRuns {
        // ...
	listFlows(page: Int, perPage: Int, filters: DatasetFlowFilters): FlowConnection!
}

The view should be accessible to any user having a canView permission on the datasets. Note, if the observed account has some private datasets, to which the current user does not have any access, flows of those datasets should not be liste.

We also would need a mutation to pause/resume flows, similar to DatasetFlowConfigsMut::[pause|resume]Flows:

  • introduce root Account mutation
  • introduce AccountFlowConfigs mutation
  • add operations pauseAccountDatasetFlows and resumeAccountDatasetFlows
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants