question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ActionMetadata should provide human readable schema label

See original GitHub issue

Today 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

test-flatprimitiveclass twitter-status

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:19 (15 by maintainers)

github_iconTop GitHub Comments

1reaction
lburgazzolicommented, Feb 1, 2018

Uh forgot it, let me work on it

1reaction
lburgazzolicommented, Jan 29, 2018

@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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Metadata syntax for GitHub Actions
All actions require a metadata file. The metadata filename must be either action.yml or action.yaml . The data in the metadata file defines...
Read more >
Metadata schemas | NFT School
A helpful, handy guide to metadata schemas for NFT developers.
Read more >
Metadata: Schema development and Documentation - Elgrito
A metadata schema is similar to a data model, except that it also additionally defines rules for the actual implementation of the data...
Read more >
Introduction to Metadata: Setting the Stage
Metadata provides a means of indexing, accessing, preserving, and discovering digital ... Data structure standards (metadata element sets, schemas).
Read more >
Metadata, Schema.Org, and Getting Your Digital Collection ...
It is crucial to understand that any metadata offered to search engines must be recognizable as part of a schema and must be...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found