Uploaded image for project: 'Fuse Tooling'
  1. Fuse Tooling
  2. FUSETOOLS-3245

User creates Camel REST definition he can't start, errors are thrown.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 11.4.0, 11.4.0.AM1
    • 11.2.0
    • None
    • None
    • Hide

      1) From Studio create a Camel project selecting all defaults.
      2) Delete default route (timer)
      3) create REST Configuration (click on + sign)
      create REST Elements (click on + sign)
      create REST Operation (click on + sign)

      result:
      > source XML definition is not valid: REST configuration and REST operations are in wrong order.

      Show
      1) From Studio create a Camel project selecting all defaults. 2) Delete default route (timer) 3) create REST Configuration (click on + sign) create REST Elements (click on + sign) create REST Operation (click on + sign) result: > source XML definition is not valid: REST configuration and REST operations are in wrong order.

      UI experience:
      > customer/user can't run the route.
      > he does not understand what he did wrong
      > he doesn't know how to fix it

      expected:
      > REST Configuration always defined before REST operations in XML.

      workaround:
      > manually switch order of elements
      > (or) don't delete default route before REST is defined.

              bfitzpat_rh Brian Fitzpatrick (Inactive)
              bmesegue@redhat.com Bruno Meseguer
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: