fledge-iot/fledge

Control pipelines: Filter order is randomized at creation

Closed this issue · 1 comments

Describe the bug
When creating a control pipeline, the order of the filters is not always respected (sometimes order gets inverted).

To Reproduce
Steps to reproduce the behavior:

  1. Create a north service.
  2. Create a south service.
  3. Create a control pipeline between those services with two filters FilterA and FilterB.
  4. Verify the order of the filters displayed in the GUi (expected: FilterA, FilterB).
  5. Delete the pipeline above.
  6. Repeat steps from step 4 about 10 times.
  7. Notice that sometimes, the pipeline is created with the filters put in the wrong order (FilterB, FilterA).

Expected behavior
The filters in a control pipeline are always respecting the order provided at creation.

Additional context
N/A