Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [lyo-dev] Is it the media type: "application/x-oslc-disc-service-provider-catalog+xml" implemented in Lyo?

Thanks for the answer Maeve. I will take a note about that.
It looks like DOORS is expecting a specific structure as an answer, I will add more information in this thread, but in another mail.

Regards.

Sergio Deras Arreola  
------------------------------------------------------------
Rational Lifecycle Integration Adapters
Phone: (011-52) 33-3669-7000. Ext: 5897  
T/L: 8877-5897
sderas@xxxxxxxxxxx
Campus Tecnológico Guadalajara, Mx
------------------------------------------------------------



From: Maeve O Reilly <maevedevine@xxxxxxxxx>
To: Lyo project developer discussions <lyo-dev@xxxxxxxxxxx>
Cc: "lyo-dev-bounces@xxxxxxxxxxx" <lyo-dev-bounces@xxxxxxxxxxx>
Date: 21/05/2013 07:19
Subject: Re: [lyo-dev] Is it the media type:        "application/x-oslc-disc-service-provider-catalog+xml"        implemented in Lyo?
Sent by: lyo-dev-bounces@xxxxxxxxxxx





Maybe this is related - in the DOORS Remote Services tab, manually set the OSLC version to 2.0.  The auto detect always detects 1.0 (defect, due to be fixed in the June release).  


HTH.
Maeve




From: Samuel Padgett <spadgett@xxxxxxxxxx>
To:
Lyo project developer discussions <lyo-dev@xxxxxxxxxxx>
Cc:
Lyo project developer discussions <lyo-dev@xxxxxxxxxxx>; lyo-dev-bounces@xxxxxxxxxxx
Sent:
Monday, 20 May 2013, 23:18
Subject:
Re: [lyo-dev] Is it the media type: "application/x-oslc-disc-service-provider-catalog+xml" implemented in Lyo?


Hey, Sergio. This is an OSLC 1.0 response. OSLC 2.0 does not define this media type, and OSLC4J only supports OSLC 2.0. You should check to see if DOORS can be configured to use OSLC 2.0 for service discovery.

You'll see the 1.0 response from RTC in REST Client if you haven't specified an OSLC-Core-Version: 2.0 request header.
--
Samuel Padgett | IBM Rational | spadgett@xxxxxxxxxx



Inactive hide details for Sergio Jose Deras Arreola---05/20/2013 05:51:21 PM---Hi again: Thanks for the previous answer about tSergio Jose Deras Arreola---05/20/2013 05:51:21 PM---Hi again: Thanks for the previous answer about the OAuth issues, they were helpful,

Sergio Jose Deras Arreola/Mexico/IBM <sderas@xxxxxxxxxxx>

Lyo project developer discussions <lyo-dev@xxxxxxxxxxx>

05/20/2013 05:51 PM

[lyo-dev] Is it the media type: "application/x-oslc-disc-service-provider-catalog+xml" implemented in Lyo?

lyo-dev-bounces@xxxxxxxxxxx





Hi again:


Thanks for the previous answer about the OAuth issues, they were helpful, that is now solved.

Now I am trying to get my OSLC Catalog working.


The situation is this:

I am following the OSLC4J Workshop to get a CM OSLC provider application (OSLC4JBugzilla).

Things do not look so bad, I can connect the OSLC4JBugzilla with the RTC, RQM, RRC all in 4.0 versions and provide Changerequests resources.

The problem is that DOORS 9.5 is not working with this implementation. DOORS can connect with RTC, RQM and RRC projects correctly, but not with OSLC4JBugzilla.

The issue seems to me like DOORS is not getting the Catalog in the correct format from the OSLC4JBugzilla .
According to the specification (I am looking here:
http://open-services.net/bin/view/Main/OslcServiceProviderCatalogV1?sortcol=table;up=#Service_Provider_Catalog_Documen )
the Catalog media type is REQUIRED to be :
application/x-oslc-disc-service-provider-catalog+xml

When I debug the code, by the time the catalog is requested, I see that DOORS does not add any "accept" media type header. But when I use a REST client to access the RTC 4.0 catalog (without the "accept" header) it returns a response with the Content-Type
: application/x-oslc-disc-service-provider-catalog+xml. This matches the specification.

The funny part is that the CLM apps v4.0 can connect and consume OSLC4JBugzilla services
without problems.

Questions:

Am I looking at the correct version of the Catalog Specification? Am I missing something else in order to connect it with DOORS?

Is the "application/x-oslc-disc-service-provider-catalog+xml" type implemented by any class in the Workshop? If not, what should I do to implement one?


Thanks in advance.


Sergio Deras Arreola  
------------------------------------------------------------
Rational Lifecycle Integration Adapters
Phone: (011-52) 33-3669-7000. Ext: 5897  
T/L: 8877-5897
sderas@xxxxxxxxxxx
Campus Tecnológico Guadalajara, Mx
------------------------------------------------------------
_______________________________________________
lyo-dev mailing list
lyo-dev@xxxxxxxxxxx

http://dev.eclipse.org/mailman/listinfo/lyo-dev



_______________________________________________
lyo-dev mailing list

lyo-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/lyo-dev

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



Back to the top