syndesis icon indicating copy to clipboard operation
syndesis copied to clipboard

Retrieve field action metadata and feed into datamapper step

Open igarashitm opened this issue 6 years ago • 5 comments

This is a...


[x] Feature request
[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report  
[ ] Documentation issue or request

The problem

To achieve #204 we need to generate FieldActions metadata and deliver it into datamapper UI. With #2936 and #3302 implemented, field action metadata including custom field action in the extension should be available via REST endpoint. UI needs to deliver them into datamapper step so that custom field actions can show up.

Example FieldAction metadata

{
  "ActionDetails" : {
    "actionDetail" : [ {
      "name" : "Capitalize",
      "className" : "io.atlasmap.actions.StringSimpleFieldActions",
      "method" : "capitalize",
      "sourceType" : "STRING",
      "targetType" : "STRING",
      "sourceCollectionType" : "NONE",
      "targetCollectionType" : "NONE"
    }, {
..........
    }, {
      "name" : "DummyFieldAction",
      "custom" : true,
      "className" : "io.atlasmap.maven.test.DummyFieldActions",
      "method" : "dummy",
      "sourceType" : "BYTE",
      "targetType" : "NUMBER",
      "sourceCollectionType" : "MAP",
      "targetCollectionType" : "ARRAY"
    } ]
  }
}

Drop off location

fieldActionMetadata on ConfigModel https://github.com/atlasmap/atlasmap/blob/59ddca8b73d74b47b685f48725521d50d695112d/ui/src/app/lib/atlasmap-data-mapper/models/config.model.ts#L148

igarashitm avatar Jun 29 '18 22:06 igarashitm

This issue has been automatically marked as stale because it has not had any activity since 90 days. It will be closed if no further activity occurs within 7 days. Thank you for your contributions!

stale[bot] avatar Nov 02 '18 04:11 stale[bot]

This issue has been automatically marked as stale because it has not had any activity since 90 days. It will be closed if no further activity occurs within 7 days. Thank you for your contributions!

stale[bot] avatar Feb 03 '19 15:02 stale[bot]

This issue has been automatically marked as stale because it has not had any activity since 90 days. It will be closed if no further activity occurs within 7 days. Thank you for your contributions!

stale[bot] avatar May 04 '19 17:05 stale[bot]

This issue has been automatically marked as stale because it has not had any activity since 90 days. It will be closed if no further activity occurs within 7 days. Thank you for your contributions!

stale[bot] avatar Aug 04 '19 11:08 stale[bot]

This issue has been automatically marked as stale because it has not had any activity since 90 days. It will be closed if no further activity occurs within 7 days. Thank you for your contributions!

stale[bot] avatar Nov 02 '19 12:11 stale[bot]