-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(Catalog): Update to Camel 4.10 #2091
Conversation
@mmelko There are 2 XML tests failing, so this update might be affecting the XML parsing.
|
Since |
0c65031
to
229c0dd
Compare
@lordrip fixed, and updated the tests. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2091 +/- ##
============================================
+ Coverage 81.09% 81.13% +0.04%
- Complexity 451 455 +4
============================================
Files 537 537
Lines 16748 16805 +57
Branches 3277 3187 -90
============================================
+ Hits 13581 13635 +54
- Misses 3083 3085 +2
- Partials 84 85 +1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
add fast-xml-parser dev depedency
229c0dd
to
2c84fe5
Compare
…irectly from YAML DSL's definitions section instead of ProcessorDefinition. Also names that are not anymore in the ProcessorDefinition are added manually(when, otherwise, onFallback)
…ErrorHandler from loadBalancer in 4.10 catalog
@@ -117,7 +118,8 @@ private void enhanceJSONSchema(String processorName, ObjectNode processorJSONSch | |||
* @return the list of EIP names | |||
*/ | |||
List<String> getEIPNames() { | |||
List<String> eipNames = new ArrayList<>(); | |||
// List<String> eipNames = new ArrayList<>(); |
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.
Can we remove this line? :)
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.
oops
@@ -244,6 +257,7 @@ private void populateJavaTypeToModelNameMap() { | |||
EipModel model = camelCatalog.eipModel(modelName); | |||
if (model != null) { | |||
JAVA_TYPE_TO_MODEL_NAME.put(model.getJavaType(), modelName); | |||
MODEL_NAME_TO_JAVA_TYPE.put(modelName, model.getJavaType()); |
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.
Is there a Java class that allows us to look for values as well? so we don't need to duplicate the map?
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.
It looks like Guava has it, probably it isn't worth bringing a dependency for this. Don't mind the previous message.
|
No description provided.