-
Notifications
You must be signed in to change notification settings - Fork 32
617 Fix expression support with native build #621
Conversation
Codecov Report
@@ Coverage Diff @@
## main #621 +/- ##
============================================
- Coverage 78.56% 78.47% -0.09%
- Complexity 132 133 +1
============================================
Files 45 45
Lines 2342 2342
Branches 364 364
============================================
- Hits 1840 1838 -2
- Misses 339 341 +2
Partials 163 163 see 2 files with indirect coverage changes Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
api/src/test/java/io/kaoto/backend/api/resource/v1/IntegrationsResourceIT.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested locally and verified the expression is preserved with native build 👍
- it allows to have a non-regression test for KaotoIO#617 issue with expressions - extracted a single test from IntegrationsResourceTest which cannot be launch in Native mode because it is using @Inject to access internal services directly. it allows to inherit the native test class from IntegrationsResourceTest and play all of the existing tests in native part of KaotoIO#617 part of KaotoIO#437 Signed-off-by: Aurélien Pupier <[email protected]>
the Expression related classes were missing from native build; Registered all of them for reflection. It might be possible to be more specific and register a single one. to be investigated and potentially improved in another iteration fixes KaotoIO#617 Signed-off-by: Aurélien Pupier <[email protected]>
ec10c36
to
b06257b
Compare
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
double checked 👍 +1 to merge this before 1.0. The risk is minimal, just added quarkus annotation and tests.
|
||
import io.quarkus.test.junit.QuarkusIntegrationTest; | ||
|
||
@QuarkusIntegrationTest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, so simple! I like it!
fixes #617
part of #437