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] Created Camel components are serialized with only `:` as path parameter separator but `\` must be used in some places #455

Closed apupier closed 1 year ago

apupier commented 1 year ago

Describe the bug

When creating for instance an Avro component, it creates an uri like uri: avro:null:null:null:null although it shoudl be something like uri: avro:null:null:null/null see doc

To Reproduce

  1. Steps to reproduce the behavior:
  2. Open a Camel Route
  3. Add Avro component
  4. Open text editor to vizualize

Expected behavior A clear and concise description of what you expected to happen.

Logs If applicable, add logs to help explain your problem.

Environment (please complete the following information):

Additional context Add any other context about the problem here.

Delawen commented 1 year ago

Related to https://github.com/KaotoIO/kaoto-backend/issues/451

Delawen commented 1 year ago

A problem to solve this is that the JSON that defines the camel connector does not specify the character to separate the parameters. So there's no programmatical way of knowing unless we add an exception on the code for this specific connector.