Summary
Add Apache Karavan metadata for the RosettaNet component and all PIP JAXB models under
io.dscope.rosettanet.interchange, so they appear in the Karavan palette with form-based editing.
This includes:
- Component metadata (
rosettanet.json)
- Model metadata (
*.json, one per *RequestType/*ResponseType)
- Generator tool to auto-create model metadata from JAXB classes
- GitHub Action to detect drift and auto-open PRs
Why
- Enables visual RosettaNet editing in Karavan
- No need to hand-maintain dozens of PIP structures
- Metadata always stays in sync with JAXB when models update
- Improves developer UX for B2B/Camel integration
Acceptance Criteria ✅
Regenerate locally
mvn -Pkaravan-metadata -q exec:java \
-Dexec.mainClass=io.dscope.tools.karavan.RosettaNetKaravanModelGenerator
Summary
Add Apache Karavan metadata for the RosettaNet component and all PIP JAXB models under
io.dscope.rosettanet.interchange, so they appear in the Karavan palette with form-based editing.This includes:
rosettanet.json)*.json, one per*RequestType/*ResponseType)Why
Acceptance Criteria ✅
src/main/resources/karavan/metadata/component/rosettanet.jsonaddedsrc/main/resources/karavan/metadata/model/*.jsongenerated for all*RequestType/*ResponseTypesrc/main/resources/karavan/metadata/model-labels.jsonincluded (optional)io.dscope.tools.karavan.RosettaNetKaravanModelGeneratorcommitted-Pkaravan-metadataadded to regenerate metadata.github/workflows/generate-karavan-metadata.ymlRegenerate locally