Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [lyo-dev] How to using the AM domain resource type Link

Hi Jean-Luc,

I am not the expert when it comes to RTC internals, but I think if you are implementing an OSLC-AM service provider, and you want to integrate with RTC your options regarding link types that RTC will support are limited; elaborated by architecture element, and related to.

Creating a back link on an RTC resource is simple (assuming you have an authorized connection).  You just GET the RTC resource, add the new link RDF triples,
either a single triple;

    <oslc_cm:relatedArchitectureElement rdf:resource="https://dm.example.com:9443/dm/models/282"/>

or if you have additional properties for the link like a title:

  <rdf:Description rdf:nodeID="A3">
    <rdf:subject rdf:resource="https://ccm.example.com:9443/ccm/resource/itemName/com.ibm.team.workitem.WorkItem/46"/>
    <rdf:predicate rdf:resource="http://open-services.net/ns/cm#relatedArchitectureElement"/>
    <rdf:object rdf:resource="https://dm.example.com:9443/dm/models/282"/>
    <rdf:type rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#Statement"/>
    <dcterms:title>JKE Design</dcterms:title>
  </rdf:Description>

and PUT it back to the RTC server.

Don't forget to make sure that your server is in RTC's whitelist, otherwise it won't be able to display your links in its UI.  Your server also has to respond to the UI preview.

I hope this helps.

Thanks,

jim conallen
Rational Design Management (DM) Lead Architect, OSLC AM Lead
jconallen@xxxxxxxxxx
Rational Software, IBM Software Group



Inactive hide details for "Johnson, Jean-Luc" ---03/31/2014 11:14:11 AM---Hello James, Thank you for your answer with regards t"Johnson, Jean-Luc" ---03/31/2014 11:14:11 AM---Hello James, Thank you for your answer with regards to RSADM. The article at

From: "Johnson, Jean-Luc" <Jean-Luc.Johnson@xxxxxxxx>
To: <lyo-dev@xxxxxxxxxxx>,
Date: 03/31/2014 11:14 AM
Subject: Re: [lyo-dev] How to using the AM domain resource type Link
Sent by: lyo-dev-bounces@xxxxxxxxxxx





Hello James,

Thank you for your answer with regards to RSADM. The article at
https://jazz.net/library/article/1111 gives very interesting details
about how back links are handled today.
As far as the implementation is concerned, how does it work? In my case,
I would like to create a back link from RTC to my application, what does
it mean? Shall I provide a simple service PUT for my AM resources to
allow RTC (and other Jazz applications) to update my resources? Shall I
provide new properties to handle the relationships to other resources
like: derivesFrom, refines, Satisfies, trace, elebaorates, relatedTo,
validatedBy?

Many thanks,
Jean-Luc Johnson
Research Engineer at Airbus Group Innovations.



-----Original Message-----
From: lyo-dev-bounces@xxxxxxxxxxx [
mailto:lyo-dev-bounces@xxxxxxxxxxx]
On Behalf Of lyo-dev-request@xxxxxxxxxxx
Sent: 25 March 2014 16:45
To: lyo-dev@xxxxxxxxxxx
Subject: lyo-dev Digest, Vol 32, Issue 13

Send lyo-dev mailing list submissions to
lyo-dev@xxxxxxxxxxx

To subscribe or unsubscribe via the World Wide Web, visit
https://dev.eclipse.org/mailman/listinfo/lyo-dev
or, via email, send a message with subject or body 'help' to
lyo-dev-request@xxxxxxxxxxx

You can reach the person managing the list at
lyo-dev-owner@xxxxxxxxxxx

When replying, please edit your Subject line so it is more specific
than "Re: Contents of lyo-dev digest..."


Today's Topics:

  1. Re: How to using the AM domain resource type Link Type
     (James Conallen)


----------------------------------------------------------------------

Message: 1
Date: Tue, 25 Mar 2014 12:37:56 -0400
From: James Conallen <jconallen@xxxxxxxxxx>
To: Lyo project developer discussions <lyo-dev@xxxxxxxxxxx>
Cc: lyo-dev@xxxxxxxxxxx, lyo-dev-bounces@xxxxxxxxxxx
Subject: Re: [lyo-dev] How to using the AM domain resource type Link
Type
Message-ID:

<OFB6D1BE4E.41963D39-ON85257CA6.005ABC1B-85257CA6.005B5D19@xxxxxxxxxx>
Content-Type: text/plain; charset="utf-8"

Hi Jean-Luc,

The link type resource that you mention is being deprecated.  Its
original
intent was to provide meta information about specific link type
predicates
that are supported by the specific implementation of the service
provider.
It is being deprecated and functionality is being supplied by resource
shapes, and standard LDP principals of resolving the predicate URI
directly.  With that said resource shapes are not a MUST in any of the
specifications, and only partially implemented in out products (and not
at
all in Design Management 4.x).

When it comes to specific integrations of Rational OSLC products, the
story
is a little more confusing.  Not all OSLC service providers are expected
to
support all possible link type predicates as properties of their
resources.
Additionally there is a history of how links across OSLC domains are
implemented.

In Design Management we tried to take the most flexible and customizable
approach.  We wrote an article describing the current state of linking
here:
https://jazz.net/library/article/1111

It is not a pretty picture, but it was accurate at the time of writing.
Not much has changed in the 4.x versions of the Jazz OSLC service
providers
(RTC/RRC/RQM/DM), so this article is still accurate.
I hope this helps.


jim conallen
Rational Design Management (DM) Lead Architect, OSLC AM Lead
jconallen@xxxxxxxxxx
Rational Software, IBM Software Group





From: "Johnson, Jean-Luc" <Jean-Luc.Johnson@xxxxxxxx>
To: <lyo-dev@xxxxxxxxxxx>,
Date: 03/25/2014 12:27 PM
Subject: [lyo-dev] How to using the AM domain resource type Link
Type
Sent by: lyo-dev-bounces@xxxxxxxxxxx




Hi OSLC community,

I?m using the OSLC AM domain with my application. See specification at
http://open-services.net/wiki/architecture-management/OSLC-Architecture-
Management-Specification-Version-2.0/
. Basically I grabbed the code
http://git.eclipse.org/c/lyo/org.eclipse.lyo.client.git/tree/org.eclipse
.lyo.client.java/src/main/java/org/eclipse/lyo/client/oslc/resources/Arc
hitectureResource.java
 and
http://git.eclipse.org/c/lyo/org.eclipse.lyo.client.git/tree/org.eclipse
.lyo.client.java/src/main/java/org/eclipse/lyo/client/oslc/resources/Arc
hitectureLinkType.java


The implementation of the architecture resource is quite obvious. But
when
it comes to the link type resource I have the feeling that I miss the
concept. The spec says:
?Link Type (LT) - A URI that represents the type of a link. In semantic
web
terminology it is the predicate of an RDF triple. It clarifies the type
of
relationship between two resources. Link Type URIs may be defined
locally,
within the OSLC, or externally (i.e. Dublin Core terms). Link types
could
be defined in RDF Schemas.?

I don?t see any properties that mention the two resources. Then how that
is
work? Do you have any example?

This lead me to my second question:
At this moment, RTC can consume my OSLC Service provider application.
How
can I save back the link to my application. Unfortunately the AM
resource
doesn?t have relationship properties like the Requirement resource for
example. I have attached a snapshot picture of the message I received
from
RTC.

Thank you for your support.

SaveLinkBack.png


Best regards,
Jean-Luc Johnson_______________________________________________
lyo-dev mailing list
lyo-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/lyo-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<
https://dev.eclipse.org/mailman/private/lyo-dev/attachments/20140325/fd
698a32/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graycol.gif
Type: image/gif
Size: 105 bytes
Desc: not available
URL:
<
https://dev.eclipse.org/mailman/private/lyo-dev/attachments/20140325/fd
698a32/attachment.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 18424711.gif
Type: image/gif
Size: 82264 bytes
Desc: not available
URL:
<
https://dev.eclipse.org/mailman/private/lyo-dev/attachments/20140325/fd
698a32/attachment-0001.gif>

------------------------------

_______________________________________________
lyo-dev mailing list
lyo-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/lyo-dev


End of lyo-dev Digest, Vol 32, Issue 13
***************************************
_______________________________________________
lyo-dev mailing list
lyo-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/lyo-dev


GIF image


Back to the top