Tomohisa Igarashi

Results 40 comments of Tomohisa Igarashi

`GenerateFieldActionMojo` generates field action metadata and save it into json file https://github.com/atlasmap/atlasmap/blob/master/runtime/atlasmap-maven-plugin/src/main/java/io/atlasmap/maven/GenerateFieldActionsMojo.java Example field action metadata ```json { "ActionDetails" : { "actionDetail" : [ { "name" : "Capitalize", "className" :...

@lburgazzoli where should we save those field action metadata? I found inspections are stored as a part of extension metadata here https://github.com/syndesisio/syndesis/blob/master/app/extension/maven-plugin/src/main/java/io/syndesis/extension/maven/plugin/GenerateMetadataMojo.java#L504 but this is because they belong to the...

That makes sense. is it possible to bundle multiple extension types in a single archive and upload into Syndesis at once? If that's possible, I think whether to introduce a...

Here is an example field action, it only needs to extend `AtlasFieldAction` and put `@AtlasFieldActionInfo` annotation on the method. https://github.com/atlasmap/atlasmap/commit/ebd4aaa28e2fe692a51b8cc7addbf7aea154d94e#diff-d985e3a4fe0762600044d3c4a6191c0b Then AtlasMap will load them via ServiceLoader (META-INF/services) https://github.com/atlasmap/atlasmap/commit/ebd4aaa28e2fe692a51b8cc7addbf7aea154d94e#diff-99c6b96449dd542593405cdf61e60269 The...

Or do you mean the class which look into field action and generate a metadata? GenerateFieldActionsMojo does it. https://github.com/atlasmap/atlasmap/blob/master/runtime/atlasmap-maven-plugin/src/main/java/io/atlasmap/maven/GenerateFieldActionsMojo.java#L134

If I understand correctly, this ambiguity is only in XML Schema, as JSON always have an unnamed root bracket.

I think even XML instance document doesn't have this ambiguity as XML document only allows single root element. If the user-provided XML instance document contains multiple root elements, that is...

That "creating chameleon schema" could be a workaround that user can do manually. This issue is to assist choosing a root element from UI instead. Generic XML schema can have...

Syndesis UI code can specify root element name as a part of data shape initialization parameter `DocumentInitializationModel` https://github.com/atlasmap/atlasmap/pull/362/files#diff-881a05f693105e2d79919cd3a45b3e5aR164

We can use MetadataEditor which creates configuration form from JSON schema. Currently the metadata schema is a mockup with only beans https://github.com/KaotoIO/kaoto-ui/blob/main/src/api/apiService.ts#L249 First we should migrate this to the backend...