]
Brett Meyer resolved ARTIF-604.
-------------------------------
Resolution: Done
Show relationships targeting the current artifact in the UI
-----------------------------------------------------------
Key: ARTIF-604
URL:
https://issues.jboss.org/browse/ARTIF-604
Project: Artificer
Issue Type: Feature Request
Reporter: Brett Meyer
Assignee: Brett Meyer
Fix For: 1.0.0.Alpha1
Great idea from [~eric.wittmann] on an email thread:
{quote}
I also think there is room in the UI for some way to show all artifacts
that point to the current artifact by a specific relationship. So
perhaps an editable drop-down control allowing the user to select a
common relationship or type their own, which would result in this query:
/s-ramp/<model>/<type>[<relationship>[@uuid = <uuid>]]
The <model>, <type>, and <uuid> values come from the currently
selected
artifact. The <relationship> comes from the dropdown. Populate a table
with the results!
{quote}
Instead of using a drop-down selection of relationship types, I instead plan on
displaying *all* relationships targeting the artifact. This will require a new Atom feed,
outside of the S-RAMP spec. So, I'm creating something like
/artificer/reverseRelationships/\{uuid\}. Note the /artificer path, as opposed to
/s-ramp. This will create a feed of artifacts that target the given artifact. The
specific relationship type will be populated as an extension attribute.