Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-17839

Fuse + AtlasMap: Unrecognized field "dataSourceType"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • fuse-7.11-GA
    • None
    • Atlas Map
    • None
    • False
    • False
    • % %
    • Todo
    • Release Note
    • Hide

      clone project https://github.com/RedHat-Middleware-Workshops/camelk-hackathon

      cd camelk-hackathon/demos/fuse-tooling-atlasmap/
      mvn
      works.
      open the AtlasMap in VSCode via the context-route.xml
      do nothing except save map (replace)
      mvn
      error see above!
      
      

       $JAVA_HOME = /usr/lib/jvm/java-11-openjdk-11.0.12.0.7-0.el8_4.x86_64

      VSCode: Version: 1.62.2
      Commit: 3a6960b964327f0e3882ce18fcebd07ed191b316
      Date: 2021-11-11T20:51:30.084Z
      Electron: 13.5.2
      Chrome: 91.0.4472.164
      Node.js: 14.16.0
      V8: 9.1.269.39-electron.0
      OS: Linux x64 4.18.0-305.25.1.el8_4.x86_64

      AtlasMap Data Transformation editor by Red Hat v0.0.9

      Show
      clone project  https://github.com/RedHat-Middleware-Workshops/camelk-hackathon cd camelk-hackathon/demos/fuse-tooling-atlasmap/ mvn works. open the AtlasMap in VSCode via the context-route.xml do nothing except save map (replace) mvn error see above!  $JAVA_HOME = /usr/lib/jvm/java-11-openjdk-11.0.12.0.7-0.el8_4.x86_64 VSCode: Version: 1.62.2 Commit: 3a6960b964327f0e3882ce18fcebd07ed191b316 Date: 2021-11-11T20:51:30.084Z Electron: 13.5.2 Chrome: 91.0.4472.164 Node.js: 14.16.0 V8: 9.1.269.39-electron.0 OS: Linux x64 4.18.0-305.25.1.el8_4.x86_64 AtlasMap Data Transformation editor by Red Hat v0.0.9

    Description

      I used the readme at https://github.com/RedHat-Middleware-Workshops/camelk-hackathon/tree/master/demos/fuse-tooling-atlasmap

      to create my own project.

      When I run it I fail.

      12:41:49.883 [main] INFO o.a.camel.spring.SpringCamelContext - Total 6 routes, of which 6 are started
      12:41:49.884 [main] INFO o.a.camel.spring.SpringCamelContext - Apache Camel 2.23.2.fuse-780036-redhat-00001 (CamelContext: MyCamel) started in 0.408 seconds
      12:41:49.901 [main] INFO org.demo.Application - Started Application in 5.94 seconds (JVM running for 10.242)
      12:41:51.260 [Camel (MyCamel) thread #1 - timer://simple] WARN io.atlasmap.core.ADMArchiveHandler - Invalid serialized mapping definition content detected, discarding
      12:41:51.278 [Camel (MyCamel) thread #1 - timer://simple] ERROR o.a.c.processor.DefaultErrorHandler - Failed delivery for (MessageId: ID-rbaumgar-remote-csb-1637149307697-0-3 on ExchangeId: ID-rbaumgar-remote-csb-1637149307697-0-2). Exhausted after delivery attempt: 1 caught: io.atlasmap.api.AtlasException: com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "dataSourceType" (class io.atlasmap.v2.DataSourceMetadata), not marked as ignorable (6 known properties: "documentType", "documentId", "name", "inspectionType", "isSource", "source"])
       at [Source: (GZIPInputStream); line: 1, column: 4676] (through reference chain: io.atlasmap.v2.ADMDigest["exportMeta"]->java.lang.Object[][0]->io.atlasmap.v2.DataSourceMetadata["dataSourceType"])

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            rbaumgar Robert Baumgartner
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: