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
Add buttons to start and stop all adapters #1113
Comments
Hi @bossenti, I’d like to work on this issue. Could you assign this task to me? Any resources related to the issue would help a lot! |
Sure 🙂 The pipeline overview that is mentioned in the description as reference can be found here: https://github.com/apache/streampipes/blob/dev/ui/src/app/pipelines/pipelines.component.html & https://github.com/apache/streampipes/blob/dev/ui/src/app/pipelines/pipelines.component.ts The corresponding adapter view where this functionality should be added is this one: https://github.com/apache/streampipes/tree/dev/ui/src/app/connect/components/existing-adapters Here is a documentation on how to develop the UI: https://cwiki.apache.org/confluence/display/STREAMPIPES/UI Do you need anything more? |
This was helpful! I have started working on it. I will update you if I face any issues 🙂 |
@bossenti @dominikriemer
On further inspection, I noticed that this value is being accessed by a different function and that function is working fine. When I printed out the attributes of AdapterDescriptionUnion, I could see that the running attribute does exist and has a value associated with it. Can someone help me understand why this is happening? And is there any workaround for getting the running state of adapters? |
@tenthe @smlabt could you please help me with this? When I printed out the adapter type it was showing
error. I am trying to debug it but have been going down a rabbit hole. I am able to start/stop all the adapters on clicking their respective buttons but the dialog box is not getting updated properly because of the above specified error. This is because for the above specified |
@purplesmurf45 thanks for the good explanation! |
Hello @dominikriemer, hello @purplesmurf45, |
Hello @tenthe, I went over #1290 and #1289... I understood the need to remove set adapters and have accordingly removed testing for set adapters. But even when I'm trying to start/stop
error. Any idea why this is happening? For now, I'm passing the list of all adapters to the |
Fixed the above-specified error by filtering the stream adapters from all adapters and accessing the |
Body
Description
A user should have the option to start / stop all adapters together.
You can have a look at the feature in the pipeline overview (
start all pipelines
/stop all pipelines
).The same functionality should be available for the adapters in the connect view.
Mentoring
As this ticket is marked as good first issue: one of @dominikriemer or @tenthe are happy to provide help for getting started, just tag (one of) them if you want to start working on this issue and need some help.
If you are familiar with Angular, this is a good issue to get started with UI development in StreamPipes.
StreamPipes Committer
I acknowledge that I am a maintainer/committer of the Apache StreamPipes project.
The text was updated successfully, but these errors were encountered: