Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 358221 - Investigate possible test suite bug when ServiceProviderCatalog contains ref to serviceProvider resource
Summary: Investigate possible test suite bug when ServiceProviderCatalog contains ref ...
Status: CLOSED FIXED
Alias: None
Product: Lyo
Classification: Technology
Component: TestSuite (show other bugs)
Version: unspecified   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Steve Speicher CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-20 07:55 EDT by Michael Fiedler CLA
Modified: 2014-02-25 12:02 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Fiedler CLA 2011-09-20 07:55:20 EDT
Build Identifier: 

Investigate a possible regression in the test suite.   


Trying to get CM tests to run well against the ref implementation and hitting an issue.  Might have to discuss directly, but am
documenting it here for followup.

For RTC, the serviceProvider entry in the ServiceProviderCatalog looks like this:

<oslc:serviceProvider>
	<oslc:ServiceProvider rdf:about="https://rqmx64e.rtp.raleigh.ibm.com:9443/ccm/oslc/contexts/_GhH_MtlrEeCqjb8y_rUpVQ/workitems/services.xml">
		<dcterms:title rdf:parseType="Literal">JKE Banking (Change Management)</dcterms:title>
		<oslc:details rdf:resource="https://rqmx64e.rtp.raleigh.ibm.com:9443/ccm/process/project-areas/_GhH_MtlrEeCqjb8y_rUpVQ"/>
		<ns1:consumerRegistry rdf:resource="https://rqmx64e.rtp.raleigh.ibm.com:9443/ccm/process/project-areas/_GhH_MtlrEeCqjb8y_rUpVQ/links"/>
	</oslc:ServiceProvider>
</oslc:serviceProvider>

The ServiceProvider about URI points to a document with a toplevel oslc:ServiceProvider element which contains multiple oslc:service entries.



For the CM ref implementation the entry in the ServiceProviderCatalog looks like this:

<oslc:serviceProvider rdf:resource="http://localhost:8080/rio-cm/services"/>

This points to a document with a toplevel oslc:ServiceProvider element which contains an oslc:service entry.


The CM testcases are not running well against the ref implementation because they expect the catalog to contain a ServiceProvider entry with an about property.
The ref implementation contains the rdf:resource entry instead.  


Reproducible: Always

Steps to Reproduce:
1. Start CM RIO
2. Run the Test-CM RIO test suite

Several tests will fail to run due to the inability to get the ServiceProvider document.
Comment 1 Steve Speicher CLA 2011-10-21 14:58:19 EDT
I just happened onto this bug and looking at a fix, taking ownership
Comment 3 Steve Speicher CLA 2014-02-25 12:02:13 EST
verified