gnodet-bot commented on code in PR #27152:
URL: https://github.com/apache/camel/pull/27152#discussion_r4158688618
##########
catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/dataformats/jackson.json:
##########
@@ -5,12 +5,12 @@
"title": "JSON Jackson",
"description": "Marshal POJOs to JSON and back using Jackson.",
"deprecated": false,
- "firstVersion": "2.0.0",
+ "firstVersion": "4.19.0",
"label": "dataformat,transformation,json",
- "javaType": "org.apache.camel.component.jackson.JacksonDataFormat",
+ "javaType": "org.apache.camel.component.jackson3.JacksonDataFormat",
"supportLevel": "Stable",
Review Comment:
🔴 **Catalog metadata corrupted**: This file describes the `camel-jackson`
(Jackson 2) dataformat, but the regen replaced the metadata header with
`camel-jackson3` values:
- `artifactId`: `camel-jackson` → `camel-jackson3`
- `javaType`: `...jackson.JacksonDataFormat` →
`...jackson3.JacksonDataFormat`
- `firstVersion`: `2.0.0` → `4.19.0`
Both `camel-jackson` and `camel-jackson3` register the same dataformat name
(`jackson`), and the catalog aggregator picked up jackson3's metadata on this
build. On `main`, the same file still correctly says `camel-jackson`.
The component-level file (`components/camel-jackson/.../jackson.json`) is
correct — this is only the catalog-level aggregated file.
##########
catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/transformers/application-json.json:
##########
@@ -3,11 +3,11 @@
"kind": "transformer",
"name": "application-json",
"title": "Application Json",
- "description": "Transforms from JSon to binary (byte array) using Jackson",
+ "description": "Transforms from JSon to binary (byte array) using Jackson
3",
"deprecated": false,
- "javaType":
"org.apache.camel.component.jackson.transform.JsonDataTypeTransformer",
+ "javaType":
"org.apache.camel.component.jackson3.transform.JsonDataTypeTransformer",
"groupId": "org.apache.camel",
Review Comment:
🔴 **Same catalog corruption**: The transformer entry now references
`camel-jackson3` instead of `camel-jackson`. The description also changed from
"using Jackson" to "using Jackson 3" — this is the Jackson 3 component's
metadata leaking into the Jackson 2 catalog entry.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]