Skip to content
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.

fix: Empty camel routes should show basic skeleton #759

Merged
merged 1 commit into from
Jul 11, 2023

Conversation

Delawen
Copy link
Member

@Delawen Delawen commented Jul 10, 2023

Fixes KaotoIO/kaoto-ui#2056

Something like

- route:
    id: empty-route
    from:
      uri: null
      steps: []

Should return the same when pass through the API.

@Delawen Delawen requested a review from a team July 10, 2023 14:49
@Delawen
Copy link
Member Author

Delawen commented Jul 10, 2023

Fixes KaotoIO/kaoto-ui#2090 too

@codecov
Copy link

codecov bot commented Jul 10, 2023

Codecov Report

Merging #759 (cd093e5) into main (607a486) will increase coverage by 0.30%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##               main     #759      +/-   ##
============================================
+ Coverage     78.61%   78.92%   +0.30%     
  Complexity      160      160              
============================================
  Files            54       54              
  Lines          2965     2980      +15     
  Branches        502      506       +4     
============================================
+ Hits           2331     2352      +21     
+ Misses          424      417       -7     
- Partials        210      211       +1     

see 4 files with indirect coverage changes

@sonarcloud
Copy link

sonarcloud bot commented Jul 10, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

No Coverage information No Coverage information
2.6% 2.6% Duplication

@Delawen Delawen merged commit bc60efd into KaotoIO:main Jul 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add empty camelRoute using the code editor - replaced with []
2 participants