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

fix: Integration CRD: Missing multiple route support #734

Merged
merged 1 commit into from
Jun 30, 2023

Conversation

igarashitm
Copy link
Contributor

@igarashitm igarashitm commented Jun 29, 2023

Fixes: #733

Now New route button successfully adds a new route inside the existing Integration CRD
Screenshot from 2023-06-29 20-48-45

@igarashitm igarashitm requested a review from a team June 29, 2023 19:22
@igarashitm
Copy link
Contributor Author

Looking at test failures

[ERROR] IntegrationsResourceTest.changeNameAndDescription:524 expected: <flow-1688067234455integration21> but was: <integration21>
[ERROR] IntegrationsResourceTest.roundTrip:400 expected: <{"flows":...

@igarashitm igarashitm marked this pull request as draft June 29, 2023 19:42
@codecov
Copy link

codecov bot commented Jun 30, 2023

Codecov Report

Merging #734 (d03747f) into main (0b39358) will decrease coverage by 0.26%.
The diff coverage is 74.71%.

@@             Coverage Diff              @@
##               main     #734      +/-   ##
============================================
- Coverage     80.05%   79.79%   -0.26%     
- Complexity      160      161       +1     
============================================
  Files            53       54       +1     
  Lines          2793     2866      +73     
  Branches        457      474      +17     
============================================
+ Hits           2236     2287      +51     
- Misses          372      382      +10     
- Partials        185      197      +12     
Impacted Files Coverage Δ
...rvice/step/parser/camelroute/FlowDeserializer.java 70.83% <70.83%> (ø)
...arser/camelroute/IntegrationStepParserService.java 77.10% <72.72%> (-13.59%) ⬇️
...elroute/IntegrationDeploymentGeneratorService.java 64.10% <84.21%> (+1.78%) ⬆️

... and 1 file with indirect coverage changes

@sonarcloud
Copy link

sonarcloud bot commented Jun 30, 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 0 Code Smells

No Coverage information No Coverage information
1.4% 1.4% Duplication

@igarashitm igarashitm marked this pull request as ready for review June 30, 2023 01:22
@Delawen Delawen merged commit 5f0b26f into KaotoIO:main Jun 30, 2023
lordrip added a commit to KaotoIO/kaoto-ui that referenced this pull request Jun 30, 2023
With the introduction of KaotoIO/kaoto-backend#734,
the multiple flows support for Integration CRDs is no longer an individual
CRD per flow but rather a single CRD with many flows in it.

This commit takes that into consideration by updating the fixtures and the
associated lines.

In addition to that, the editorDeleteLine was refactored to leverage the
monaco GoToLine functionality to consistently reach a given line.
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.

[BUG] Integration CRD: Missing multiple route support
2 participants