syndesisio / syndesis-ui

The front end application or UI for Syndesis - a flexible, customizable, cloud-hosted platform that provides core integration capabilities as a service. It leverages Red Hat's existing product architecture using OpenShift Online/Dedicated and Fuse Integration Services.
https://syndesis.io/
14 stars 28 forks source link

Working data mapper component #376

Closed gashcrumb closed 7 years ago

gashcrumb commented 7 years ago

Data mapper component is integrated, but doesn't yet work. Needs to fetch a pom for the current integration the user is working on so that it can supply it to the data mapper backend.

chirino commented 7 years ago

Rest API now has the following endpoint: /api/v1/integration-support/generate/pom.xml POST to it the current integration. The integration does not need to exist yet.

gashcrumb commented 7 years ago

@chirino I now have the data mapper sending along that pom.xml file with the linked PR. The mapper component is getting back this response when it goes to use it:

{
  "MavenClasspathResponse": {
    "jsonType": "com.mediadriver.atlas.java.v2.MavenClasspathResponse",
    "classpath": "Command returned non-zero exit code: 1",
    "executionTime": 3009
  }
}

not really sure what that could mean :-) Anyways, once the PR is merged it'll be available in staging, I've also created an integration with a mapper step, aptly titled Test With Mapping.

kahboom commented 7 years ago

Merged your PR @gashcrumb .

chirino commented 7 years ago

I think I know what that means.. It can't find mvn. I'll see if I can fix the docker image.

gashcrumb commented 7 years ago

Almost there, hit this on staging -> https://github.com/redhat-ipaas/datamapper-ui/issues/23

gashcrumb commented 7 years ago

This PR will also affect this issue -> https://github.com/redhat-ipaas/ipaas-rest/pull/276

gashcrumb commented 7 years ago

Also hitting this now -> https://github.com/redhat-ipaas/datamapper-ui/issues/24

gashcrumb commented 7 years ago

It works so I think this issue is all set at least.