KaotoIO / kaoto

The UI of the Kaoto project
https://kaoto.io
Apache License 2.0
37 stars 28 forks source link

feat(Canvas): Show endpoint name in `direct` #1617

Closed lordrip closed 1 week ago

lordrip commented 1 week ago

Context

This commit shows the endpoint name as the direct label in the canvas.

Before After
image image

Camel Route

- route:
    id: route-1365
    from:
      id: from-4377
      uri: direct
      parameters:
        name: anotherWorld
      steps:
        - to:
            id: to-1313
            uri: direct
            parameters:
              name: thisWorld
        - poll:
            id: poll-3430
            uri: direct
            parameters:
              name: thatWorld

fix: https://github.com/KaotoIO/kaoto/issues/814

sonarcloud[bot] commented 1 week ago

Quality Gate Failed Quality Gate failed

Failed conditions
26.1% Duplication on New Code (required ≤ 20%)

See analysis details on SonarQube Cloud

codecov[bot] commented 1 week ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Please upload report for BASE (main@9be2b96). Learn more about missing BASE report.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1617 +/- ## ======================================= Coverage ? 80.01% Complexity ? 273 ======================================= Files ? 280 Lines ? 8015 Branches ? 1537 ======================================= Hits ? 6413 Misses ? 1542 Partials ? 60 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.