frank-flow icon indicating copy to clipboard operation
frank-flow copied to clipboard

Handle multiple adapters in one file

Open jacodg opened this issue 3 years ago • 1 comments

Describe the bug Having multiple adapters in one file isn't handled correctly

Reporter Jaco de Groot

Category

  • Flow

To Reproduce Steps to reproduce the behavior:

  1. Open https://github.com/ibissource/frank-runner/blob/master/examples/Frank2Example3/configurations/Example3/Configuration.xml in the text editor
  2. See that only two listeners are shown
  3. See that when you click on an element the wrong selection is made in the text editor

Expected behavior Show all the adapter below each other

Screenshots image

Additional context -

jacodg avatar Apr 07 '22 22:04 jacodg

@jjansenvr brought the issue up again.

Whilst the Frank!Flow resides in a state of MVP (and a bit more) for now, I’ve heard a good idea which I want to document.

Make the different adapters selectable by making an extra tree in the file manager. Every (loaded) configuration will turn in to an expandable item (like a folder) which will show the different adapters in it. When an adapter is clicked, the entire file gets loaded into the editor and the relevant section is highlighted, until the cursor is placed. Meanwhile, the relevant listeners, pipes and other elements will be rendered into the flow diagram.

philipsens avatar Oct 06 '22 09:10 philipsens