KaotoIO / kaoto-backend

Backend for the Kaoto project to provide an easy to use integration framework based on Apache Camel.
Apache License 2.0
75 stars 32 forks source link

[BUG] Path parameters can be written in wrong order #592

Open apupier opened 1 year ago

apupier commented 1 year ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Add a step
  2. Add a step with netty-http component
  3. Select netty-http
  4. Provide host
  5. Provide protocol --> generate source code is netty-http::hostname:http: (or netty-http:null:hostname:http:null without https://github.com/KaotoIO/kaoto-backend/pull/589 ) instead of netty-http:http:hostname:: (or netty-http:http:hostname:null:null)

Expected behavior

path parameters filled in correct order

Logs

Environment (please complete the following information):

Additional context

lhein commented 1 year ago

ah, we had a similar thing going on with activemq already. Is that maybe a generic issue, @Delawen ?

Delawen commented 1 year ago

Not generic, no. But some components need special treatment, it seems.

stale[bot] commented 1 year ago

🚨This issue has been automatically marked as stale because it has not had recent activity.🚨 If you are still interested in this issue, please, leave a comment stating its current status. Note that if no development resources has been allocated on it, you may need to search for alternative resources to complete it. It will be closed if no further activity occurs. Thank you for your contributions.