ActionMetadata should provide human readable schema label
See original GitHub issueToday we are using ActionMetadata/outputSchema/title
as a Document label eventually. This is copied into DataShape/type
here:
https://github.com/syndesisio/syndesis/blob/e488dffd620c30a45204f18786a1f0e6545b8383/app/rest/rest/src/main/java/io/syndesis/rest/v1/handler/connection/ConnectionActionHandler.java#L143
https://github.com/syndesisio/syndesis/blob/e488dffd620c30a45204f18786a1f0e6545b8383/app/rest/rest/src/main/java/io/syndesis/rest/v1/handler/connection/ConnectionActionHandler.java#L149
We need to do either
- Put the human readable short label in
ActionMetadata/outputSchema/title
- Or introduce
ActionMetadata/outputSchema/name
And also ActionMetadata/outputSchema/description
for a bit longer description. datamapper UI is showing it as a tooltip when hover on a short label.
Then we might need to introduce those into DataShape
as well. Note that DataShape/type
is already used for class name, so it might be better to add name
and description
so that we can put the readable name and description on Java type as well.
Screenshots for Today’s label and tooltip
Issue Analytics
- State:
- Created 6 years ago
- Comments:19 (15 by maintainers)
Top GitHub Comments
Uh forgot it, let me work on it
@igarashitm @zregvart so should we add optional name ad description to the data-shape model ? I have some spare time so I can implement it if needed.