by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    gnfpt
    @gnfpt
    I'm doing the following:
    File file = new File( classLoader.getResource("atlasmapping-UI.0.json").toURI()); AtlasContextFactory factory = DefaultAtlasContextFactory.getInstance(); AtlasContext context = factory.createContext(file); AtlasSession session = context.createSession(); session.setDefaultSourceDocument("{ "sql_result": { "name": "Freddy", "address": "Elm Street" } }"); context.process(session); Object targetDoc = session.getDefaultTargetDocument();
    Tomohisa Igarashi
    @igarashitm
    @gnfpt sounds like atlas-model is missing in your dependencies
    gnfpt
    @gnfpt
    <dependency>
                <groupId>io.atlasmap</groupId>
                <artifactId>atlas-core</artifactId>
                <version>2.0.5</version>
            </dependency>
            <dependency>
                <groupId>io.atlasmap</groupId>
                <artifactId>atlas-api</artifactId>
                <version>2.0.5</version>
            </dependency>
            <dependency>
                <groupId>io.atlasmap</groupId>
                <artifactId>atlas-model</artifactId>
                <version>2.0.5</version>
            </dependency>
            <dependency>
                <groupId>io.atlasmap</groupId>
                <artifactId>atlas-json-model</artifactId>
                <version>2.0.5</version>
            </dependency>
    I have these dependencies
    Tomohisa Igarashi
    @igarashitm
    hmm looks OK. weird
    gnfpt
    @gnfpt
    @igarashitm the code is correct?
    Tomohisa Igarashi
    @igarashitm
    I think so - let me cook up an example later. TBH nobody has ever tried to run AtlasMap without camel as far as I know
    gnfpt
    @gnfpt
    Oh... ok. But it should be possible, right?
    Tomohisa Igarashi
    @igarashitm
    Yes it should be possible, and camel-atlasmap does almost same as a part of camel route, looks like there's some classpath problem
    gnfpt
    @gnfpt
    Also I didn't find a way to load the .adm and use it instead of the json file. I saw ADMArchiveHandler but it's of no use for the conversion.. AFAIK.
    Tomohisa Igarashi
    @igarashitm
    yeah just because we primarily focus on running in camel
    direct runtime API usage has not been tested after adm format was introduced
    gnfpt
    @gnfpt
    ok
    Tomohisa Igarashi
    @igarashitm
    so at least convenient API is missing for that - atlasmap/atlasmap#2268
    gnfpt
    @gnfpt
    Good, It's in the backlog :)
    Tomohisa Igarashi
    @igarashitm
    it seems to be a bug, not sure why it's not a problem when running in camel - atlasmap/atlasmap#2270
    gnfpt
    @gnfpt
    I see... Since running directly is not the primary goal of the project there is no deadline to solve it, correct?
    Tomohisa Igarashi
    @igarashitm
    looking into now, hopefully I can fix it soon
    gnfpt
    @gnfpt
    Great! Thx!
    Tomohisa Igarashi
    @igarashitm
    @gnfpt geez I misread the error message from jackson... it should just work once you add atlas-json-module as a dependency
    not only atlas-json-model
    actually module should transitively withdraw required dependencies
    gnfpt
    @gnfpt
    Hi @igarashitm,
    I've added atlas-json-module and removed all the others but I'm getting the same error.
    Did it work on your end?
    Tomohisa Igarashi
    @igarashitm
    gnfpt
    @gnfpt
    Thx.
    My version isn't working yet but I have springboot in the mix... I have to take a better look at it.
    Tomohisa Igarashi
    @igarashitm
    hmm, should be something around classpath for those dependencies
    wonder if all those atlasmap jars are bundled in uber jar as expected
    gnfpt
    @gnfpt
    I'll check that
    benjamin fuentes
    @zamrokk
    Schneider Electric hackathon is starting :P
    benjamin fuentes
    @zamrokk
    Track this new feature here : atlasmap/atlasmap#2276
    benjamin fuentes
    @zamrokk
    @rkorytkowski , please do not hesitate to share info here, I can follow also async :P
    Rafal Korytkowski
    @rkorytkowski
    @zamrokk @shanthi4647 I've posted a comment for discussion https://github.com/atlasmap/atlasmap/issues/2276#issuecomment-671267980
    shanthi4647
    @shanthi4647
    @rkorytkowski - Hi, can we connect on the same teams meeting?
    Rafal Korytkowski
    @rkorytkowski
    @shanthi4647, right now?
    Tomohisa Igarashi
    @igarashitm
    just started
    Simone Vratogna
    @vratojr
    @igarashitm I'm ready :).
    Would it be possible for you to have a call?
    Tomohisa Igarashi
    @igarashitm
    @vratojr I'm back - we have one in 7 mins right?
    Simone Vratogna
    @vratojr
    yes, I can wait then :)
    sorry, I forgot that maybe it was lunch time for you ;)
    Tomohisa Igarashi
    @igarashitm
    np, I think Stan might also join
    Stan Lewis
    @gashcrumb
    yep, I'll be there too
    Tomohisa Igarashi
    @igarashitm
    Updated the description for the asymmetric collection index mapping UI, added the "single source value to multiple target collection items, but only at specific indexes" - atlasmap/atlasmap#781
    shanthi4647
    @shanthi4647
    @rkorytkowski - repeat action modifications available at https://github.com/shanthi4647/atlasmap master branch
    Rafal Korytkowski
    @rkorytkowski
    @shanthi4647 I'll look into that
    Rafal Korytkowski
    @rkorytkowski
    @shanthi4647 hi, I haven't found a fix yet. I'm singing off for today. Let's connect on the call tomorrow.
    Simone Vratogna
    @vratojr
    @igarashitm ready for review atlasmap/atlasmap#2171 :) talk to you tomorrow!
    shanthi4647
    @shanthi4647
    @rkorytkowski - sure.. we will connect tomorrow in call