djsuperchief / Kyameru

Kyameru is a business processing engine inspired by Apache Camel and built for .Net Core.
https://djsuperchief.github.io/Kyameru/
MIT License
2 stars 1 forks source link

Critical: URI route attribute incorrectly interprets URI #118

Closed djsuperchief closed 7 months ago

djsuperchief commented 7 months ago

The URI builder is not interpreting the Kyameru routes correctly. It is skipping host entirely and going straight to path which means that Path forms the target rather than the host and then the path.

I believe this was changed / not done correctly when building out the file URI.

This needs to be changed so that:

component://target/path?header=value&header=value is correct.

Each component should be responsible for either taking the host and path as different inputs, combining them to a single or treating them as separate usable parts. It should not be up to the core framework to do so.

This will break all components and is considered a blocker until this works.

djsuperchief commented 7 months ago

Actually, it works as designed. Host was already a header that needed considering and Target is the path...which makes sense. Host is actually part of the headers already. No need to change