Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    gnfpt
    @gnfpt
    Hi, I already did but that one is mapping from json to xml
    I'm trying to map java to java
    gnfpt
    @gnfpt
    @igarashitm I'm not familiarized with AtlasMap that much. The json to xml works nicely in my project but java to java fails.
    gnfpt
    @gnfpt
    @igarashitm The problem seems to be with the adm. I've created an ADM from a json and an xml files and it runs normally (without exception). The ADM created using a jar doesn't seem to be ok, it loads but no mappings are found and the code throws an exception when running process() from the DefaultAtlasContext.
    Tomohisa Igarashi
    @igarashitm
    do you have atlas-java-module in your classpath?
    gnfpt
    @gnfpt
    @igarashitm yes, I do. I have the following:
    atlas-api, atlas-core, atlas-model, atlas-json-module, atlas-xml-module, atlas-java-module
    gnfpt
    @gnfpt
    @igarashitm I've found the culprit. Intellij/maven where not updating the dependency list so I didn't have all dependencies within the jar file.
    I'm not sure if it's something with IntelliJ IDEA 2020.3 (Community Edition), the logo has an EAP on it... :/
    gnfpt
    @gnfpt
    Sorry for introducing noise... :(
    gnfpt
    @gnfpt
    Hi
    gnfpt
    @gnfpt
    I've seem in the source code support to CSV although there's no reference in the documentation. Is the implementation complete and working?
    Adam Carpenter
    @Adamj1232
    Hello AM Community! Getting myself familiar with Atlas Map...is there any documentation around using the AtlasMap NPM import in a project outside of the full repo? I am having trouble getting the UI to work when mimicking the format used in Atlas Map Standalone UI
    Tomohisa Igarashi
    @igarashitm
    Unfortunatelly no documents for customization. You might want to look at how Syndesis integrates AtlasMap UI - https://github.com/syndesisio/syndesis/tree/master/app/ui-react/packages/atlasmap-adapter
    MartyStache
    @MartyStache
    Hey folks, I've not had any issues with build until latest clone, anything known regarding this?
    image.png
    just did a fresh get and build and got that
    Paul Leacu
    @pleacu
    Is there something keeping the folder open? I just cloned and built okay.
    MartyStache
    @MartyStache
    ah good question...i will check that and try again
    MartyStache
    @MartyStache
    Looks like ALL good...must have been something I was doing creating a conflict.
    Though i do have a question regarding something that is causing an issue for us and want to know if I should report as a bug/issue
    we have a mapping that has 2422 mappings and the UI doesn't seem to want to load it (meaning it hangs)
    what are the most mappings you have tested the tool / ui with?
    we will have instances where we will have LOTS of mappings (we have LARGE RDF Files)
    and need to be able to review them in the UI
    but we cannot :(
    Should I log as issue/bug? I can prepare a file for demonstrating.
    Paul Leacu
    @pleacu
    If you get a message from the browser that says 'do you want to wait or close' - select wait - see if it's a border line case. Please create an issue and make sure you add your import schema files (or adm). We could use actual stress tests. thkx!!
    MartyStache
    @MartyStache
    oh i got one for ya (i've clicked wait a ton of times :))
    Paul Leacu
    @pleacu
    interesting...
    Riccardo Forina
    @riccardo-forina
    a scenario with 2k mappings is definitely something we didn't test and surely it's going to cause issues in the UI because of all the line drawing
    MartyStache
    @MartyStache
    we're working on getting you a file (we're in the middle of a deliverable). We have VERY large schemas. The server seems to handle it ok...
    Riccardo Forina
    @riccardo-forina
    yup I'm pretty sure it's a UI specific issue
    Venkatesh
    @venkatesh82

    Hello Community,
    I am trying to integrate atlasmap-ui into react application.
    I have referred sysndsis and copied the files and dependencies from atlasmap-adapter which is in syndesis.
    https://github.com/syndesisio/syndesis/tree/master/app/ui-react/packages/atlasmap-adapter

    I am getting error as "Cannot read property 'left' of undefined".
    Code can be found in the below link
    https://codesandbox.io/s/atlas-map-viewer-r5vde

    Can someone help me with this.

    Thanks,
    Venkat

    Riccardo Forina
    @riccardo-forina
    you'll need to address all the peer dependencies I'm afraid. This is the block of dependencies needed to use the UI at the moment https://github.com/atlasmap/atlasmap/blob/master/ui/packages/atlasmap-standalone/package.json#L6-L32
    The atlasmap-standalone package is actually a good example to check to see how to embed the UI, other than the adapter you mentioned that's more about the data input-output API than anything
    Venkatesh
    @venkatesh82

    Thank you so much @riccardo-forina . I have tried this as well, I was getting same error "Cannot read property 'left' of undefined".

    I am not able to figure out whether this issue exists in the dependencies or source code.

    Riccardo Forina
    @riccardo-forina
    check which version of PatternFly got installed, Atlasmap UI has not been updated for a while and it could be that recent versions of PF introduced breaking changes I'm not aware of
    you could try with exact versions, like
        "@patternfly/react-core": "3.77.2",
        "@patternfly/react-icons": "3.10.15",
        "@patternfly/react-styles": "3.5.7",
        "@patternfly/react-table": "2.28.29",
        "@patternfly/react-topology": "2.8.65",
    Venkatesh
    @venkatesh82
    Thanks, @riccardo-forina. I had tried with the same versions. But no luck till now. Still trying...
    Bruno
    @BrunoNetId_gitlab
    Hi all... I'm using camel-atlasmap and I'm getting the following exception: Caused by: java.lang.NoSuchFieldError: BLOCK_UNSAFE_POLYMORPHIC_BASE_TYPES
    any hint?
    Bruno
    @BrunoNetId_gitlab
    I've added jackson-core and jackson-databind 2.11 and that has solved the problem. Is there a need to raise this as an issue?
    Venkatesh
    @venkatesh82
    @BrunoNetId_gitlab what version of atlasmap are you using?
    Bruno
    @BrunoNetId_gitlab
    2.x
    @venkatesh82 2.1.3
    MartyStache
    @MartyStache

    Been trying out creating a property/constant for source and mapping to target...it shows in the UI but no data is persisted to json?

    If I refresh the browser the mapping disappears? POOF!

    I've matched datatypes properly, etc...any pointers on proper way to create and map?
    I've followed user guide instructions???

    therealbobsmith2020
    @therealbobsmith2020
    regarding the dev guide @ https://docs.atlasmap.io/developer-guide/ - specifically the debug in browser method "$ yarn test:debug", it appears the debug method is missing from the package.json. Is there an updated method to debug the UI code? I am more familiar with an IDE like Visual Studio for debugging, but since this application is modular and using different technologies, how is debugging/stepping through code done?
    Paul Leacu
    @pleacu
    Hey @therealbobsmith2020 - apologies for the dev guide - the UI dev section needs a do-over. Please follow these instructions to get yourself a react UI: https://github.com/atlasmap/atlasmap/blob/master/README.md#live-update-for-ui-development Then - hit f12, select the 'Sources' tab and you can open source files and set bps - step and go.
    therealbobsmith2020
    @therealbobsmith2020
    thanks, that works for debugging UI. FYI : typo on "$ cd ${ATLASMAP}/ui/packages/atlasmap-ui" , should be just "$ cd ${ATLASMAP}/ui/packages/atlasmap"
    Paul Leacu
    @pleacu
    ah - actually it should be $ cd ${ATLASMAP}/ui/packages/atlasmap/ui
    I'll catch it with my next commit