DNG OSLC:Fetch components from Project area
We used to fetch the projects using the following method :
1.https://[url]/rm/rootservices - Fetch the root services details
2.https://[url]/rm/oslc_rm/catalog - To fetch the details of my projects
Then using the services.xml of a project to get the details of folder structure and artifacts details.
But if the project contains components, i cannot able to get those component details from services.xml options.
Below query is used to fetch the components from the project area but from the response further we cannot able to fetch the folder and subfolder structure and artifacts of a component
https://[url]/rm/rm-projects/[Project UUID]/components
https://[url]/rm/rm-projects/[Project UUID]/components
So how to get the components of a project ? Then how to get the folder/subfolder structure of a component and artifacts of the selected folder in a component?
Accepted answer
Hi
To get to folders and artifacts in an opt-in project, you don't just need the components, you also need to choose a configuration in the component.
In this example I will outline using real examples of RDF returned from the API, showing how to navigate into the components and configurations for an opt-in project rm_gc_p1 to the component with the same name rm_gc_p1 and to one of its configurations rm_gc_p1 Initial Stream, but some of the other components/configurations are visible in the following details.
After you have selected a configuration make sure to use that configuration in parameter oslc_config.context when retrieving the configuration-specific services.xml (the one you got via oslc_rm/catalog) which gives you the two oslc:QueryCapability-s which allow you to search folders and search artifacts in that component+configuration - to find artifacts in a specific folder using oslc.where=rm_nav:parent=<the folder you are looking into>.
There might be a simpler way, but this works in 6.0.6.1 using only the OLSC public API :-)
You need to have two headers on every request or you simply won't see the needed content in the RDF:
⦁ OSLC-Core-Version:2.0
⦁ Accept: application/rdf+xml
⦁ OSLC-Core-Version:2.0
⦁ Accept: application/rdf+xml
And once you get into configuration-specific territory always include the parameter ?oslc_config.context=<configuration uri>
From rootservices, follow:
<oslc_config:cmServiceProviders rdf:resource="https://jazz.ibm.com:9443/rm/oslc_config"/>
https://jazz.ibm.com:9443/rm/oslc_config/components
https://jazz.ibm.com:9443/rm/oslc_config/components
To an entry point into components+configurations:
<rdf:RDF
xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:oslc="http://open-services.net/ns/core#"
xmlns:vvc="http://jazz.net/ns/vvc#">
<oslc:ServiceProviderCatalog rdf:about="https://jazz.ibm.com:9443/rm/oslc_config">
<oslc:serviceProvider>
<oslc:ServiceProvider rdf:about="https://jazz.ibm.com:9443/rm/oslc_config/components">
<oslc:details rdf:resource="https://jazz.ibm.com:9443/rm/oslc_config/components"/>
<dcterms:title>RM Configuration Management Service Provider</dcterms:title>
</oslc:ServiceProvider>
</oslc:serviceProvider>
<oslc:domain rdf:resource="http://open-services.net/ns/config#"/>
<dcterms:description>Configuration Services Provided by the RM application.</dcterms:description>
<dcterms:title>RM Configuration Management Services Catalog</dcterms:title>
</oslc:ServiceProviderCatalog>
</rdf:RDF>
xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:oslc="http://open-services.net/ns/core#"
xmlns:vvc="http://jazz.net/ns/vvc#">
<oslc:ServiceProviderCatalog rdf:about="https://jazz.ibm.com:9443/rm/oslc_config">
<oslc:serviceProvider>
<oslc:ServiceProvider rdf:about="https://jazz.ibm.com:9443/rm/oslc_config/components">
<oslc:details rdf:resource="https://jazz.ibm.com:9443/rm/oslc_config/components"/>
<dcterms:title>RM Configuration Management Service Provider</dcterms:title>
</oslc:ServiceProvider>
</oslc:serviceProvider>
<oslc:domain rdf:resource="http://open-services.net/ns/config#"/>
<dcterms:description>Configuration Services Provided by the RM application.</dcterms:description>
<dcterms:title>RM Configuration Management Services Catalog</dcterms:title>
</oslc:ServiceProviderCatalog>
</rdf:RDF>
Follow <oslc:ServiceProvider rdf:about="https://jazz.ibm.com:9443/rm/oslc_config/components">
To: the list of all projects (there are six projects in this particular environment)
<rdf:RDF
xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:oslc="http://open-services.net/ns/core#"
xmlns:vvc="http://jazz.net/ns/vvc#">
<oslc:ServiceProvider rdf:about="https://jazz.ibm.com:9443/rm/oslc_config/components">
<oslc:service>
<oslc:Service>
<oslc:creationFactory>
<oslc:CreationFactory>
<oslc:resourceShape>https://jazz.ibm.com:9443/rm/components/shape</oslc:resourceShape>
<dcterms:title>rm_optin_p2</dcterms:title>
<oslc:creation rdf:resource="https://jazz.ibm.com:9443/rm/cm/component/ldpc?project=_VbN_ALTDEemWdOARsjdAvg"/>
<oslc:resourceType rdf:resource="http://open-services.net/ns/config#Component"/>
</oslc:CreationFactory>
</oslc:creationFactory>
</oslc:Service>
</oslc:service>
<oslc:service>
<oslc:Service>
<oslc:creationFactory>
<oslc:CreationFactory>
<oslc:resourceShape>https://jazz.ibm.com:9443/rm/components/shape</oslc:resourceShape>
<dcterms:title>rm_optin_p1</dcterms:title>
<oslc:creation rdf:resource="https://jazz.ibm.com:9443/rm/cm/component/ldpc?project=_OzHCkLTDEemWdOARsjdAvg"/>
<oslc:resourceType rdf:resource="http://open-services.net/ns/config#Component"/>
</oslc:CreationFactory>
</oslc:creationFactory>
</oslc:Service>
</oslc:service>
<oslc:service>
<oslc:Service>
<oslc:creationFactory>
<oslc:CreationFactory>
<oslc:resourceShape>https://jazz.ibm.com:9443/rm/components/shape</oslc:resourceShape>
<dcterms:title>rm_gc_p1</dcterms:title>
<oslc:creation rdf:resource="https://jazz.ibm.com:9443/rm/cm/component/ldpc?project=_9EtHILTCEemWdOARsjdAvg"/>
<oslc:resourceType rdf:resource="http://open-services.net/ns/config#Component"/>
</oslc:CreationFactory>
</oslc:creationFactory>
</oslc:Service>
</oslc:service>
<oslc:service>
<oslc:Service>
<oslc:creationFactory>
<oslc:CreationFactory>
<oslc:resourceShape>https://jazz.ibm.com:9443/rm/components/shape</oslc:resourceShape>
<dcterms:title>rm_gc_p2</dcterms:title>
<oslc:creation rdf:resource="https://jazz.ibm.com:9443/rm/cm/component/ldpc?project=_Iaq50LTDEemWdOARsjdAvg"/>
<oslc:resourceType rdf:resource="http://open-services.net/ns/config#Component"/>
</oslc:CreationFactory>
</oslc:creationFactory>
</oslc:Service>
</oslc:service>
<oslc:service>
<oslc:Service>
<oslc:selectionDialog>
<oslc:Dialog>
<dcterms:title>RM Component Picker</dcterms:title>
<oslc:label>RM Component Picker</oslc:label>
<oslc:dialog rdf:resource="https://jazz.ibm.com:9443/rm/componentPicker/com.ibm.rdm.web.OslcComponentPickerPane"/>
<oslc:hintWidth>600px</oslc:hintWidth>
<oslc:hintHeight>500px</oslc:hintHeight>
<oslc:resourceType rdf:resource="http://open-services.net/ns/config#Component"/>
<oslc:usage rdf:resource="http://open-services.net/ns/core#default"/>
</oslc:Dialog>
</oslc:selectionDialog>
</oslc:Service>
</oslc:service>
<oslc:service>
<oslc:Service>
<oslc:selectionDialog>
<oslc:Dialog>
<dcterms:title>RM Configuration Picker</dcterms:title>
<oslc:label>RM Configuration Picker</oslc:label>
<oslc:dialog rdf:resource="https://jazz.ibm.com:9443/rm/configurationPicker/com.ibm.rdm.web.OslcConfigurationPickerPane"/>
<oslc:hintWidth>600px</oslc:hintWidth>
<oslc:hintHeight>500px</oslc:hintHeight>
<oslc:resourceType rdf:resource="http://open-services.net/ns/config#Configuration"/>
<oslc:usage rdf:resource="http://open-services.net/ns/core#default"/>
</oslc:Dialog>
</oslc:selectionDialog>
</oslc:Service>
</oslc:service>
</oslc:ServiceProvider>
</rdf:RDF>
xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:oslc="http://open-services.net/ns/core#"
xmlns:vvc="http://jazz.net/ns/vvc#">
<oslc:ServiceProvider rdf:about="https://jazz.ibm.com:9443/rm/oslc_config/components">
<oslc:service>
<oslc:Service>
<oslc:creationFactory>
<oslc:CreationFactory>
<oslc:resourceShape>https://jazz.ibm.com:9443/rm/components/shape</oslc:resourceShape>
<dcterms:title>rm_optin_p2</dcterms:title>
<oslc:creation rdf:resource="https://jazz.ibm.com:9443/rm/cm/component/ldpc?project=_VbN_ALTDEemWdOARsjdAvg"/>
<oslc:resourceType rdf:resource="http://open-services.net/ns/config#Component"/>
</oslc:CreationFactory>
</oslc:creationFactory>
</oslc:Service>
</oslc:service>
<oslc:service>
<oslc:Service>
<oslc:creationFactory>
<oslc:CreationFactory>
<oslc:resourceShape>https://jazz.ibm.com:9443/rm/components/shape</oslc:resourceShape>
<dcterms:title>rm_optin_p1</dcterms:title>
<oslc:creation rdf:resource="https://jazz.ibm.com:9443/rm/cm/component/ldpc?project=_OzHCkLTDEemWdOARsjdAvg"/>
<oslc:resourceType rdf:resource="http://open-services.net/ns/config#Component"/>
</oslc:CreationFactory>
</oslc:creationFactory>
</oslc:Service>
</oslc:service>
<oslc:service>
<oslc:Service>
<oslc:creationFactory>
<oslc:CreationFactory>
<oslc:resourceShape>https://jazz.ibm.com:9443/rm/components/shape</oslc:resourceShape>
<dcterms:title>rm_gc_p1</dcterms:title>
<oslc:creation rdf:resource="https://jazz.ibm.com:9443/rm/cm/component/ldpc?project=_9EtHILTCEemWdOARsjdAvg"/>
<oslc:resourceType rdf:resource="http://open-services.net/ns/config#Component"/>
</oslc:CreationFactory>
</oslc:creationFactory>
</oslc:Service>
</oslc:service>
<oslc:service>
<oslc:Service>
<oslc:creationFactory>
<oslc:CreationFactory>
<oslc:resourceShape>https://jazz.ibm.com:9443/rm/components/shape</oslc:resourceShape>
<dcterms:title>rm_gc_p2</dcterms:title>
<oslc:creation rdf:resource="https://jazz.ibm.com:9443/rm/cm/component/ldpc?project=_Iaq50LTDEemWdOARsjdAvg"/>
<oslc:resourceType rdf:resource="http://open-services.net/ns/config#Component"/>
</oslc:CreationFactory>
</oslc:creationFactory>
</oslc:Service>
</oslc:service>
<oslc:service>
<oslc:Service>
<oslc:selectionDialog>
<oslc:Dialog>
<dcterms:title>RM Component Picker</dcterms:title>
<oslc:label>RM Component Picker</oslc:label>
<oslc:dialog rdf:resource="https://jazz.ibm.com:9443/rm/componentPicker/com.ibm.rdm.web.OslcComponentPickerPane"/>
<oslc:hintWidth>600px</oslc:hintWidth>
<oslc:hintHeight>500px</oslc:hintHeight>
<oslc:resourceType rdf:resource="http://open-services.net/ns/config#Component"/>
<oslc:usage rdf:resource="http://open-services.net/ns/core#default"/>
</oslc:Dialog>
</oslc:selectionDialog>
</oslc:Service>
</oslc:service>
<oslc:service>
<oslc:Service>
<oslc:selectionDialog>
<oslc:Dialog>
<dcterms:title>RM Configuration Picker</dcterms:title>
<oslc:label>RM Configuration Picker</oslc:label>
<oslc:dialog rdf:resource="https://jazz.ibm.com:9443/rm/configurationPicker/com.ibm.rdm.web.OslcConfigurationPickerPane"/>
<oslc:hintWidth>600px</oslc:hintWidth>
<oslc:hintHeight>500px</oslc:hintHeight>
<oslc:resourceType rdf:resource="http://open-services.net/ns/config#Configuration"/>
<oslc:usage rdf:resource="http://open-services.net/ns/core#default"/>
</oslc:Dialog>
</oslc:selectionDialog>
</oslc:Service>
</oslc:service>
</oslc:ServiceProvider>
</rdf:RDF>
Find the CreationFactory for components - this has <oslc:resourceType rdf:resource="http://open-services.net/ns/config#Component"/>
then in that creation factory follow <oslc:creation rdf:resource="https://jazz.ibm.com:9443/rm/cm/component/ldpc?project=_9EtHILTCEemWdOARsjdAvg"/>
then in that creation factory follow <oslc:creation rdf:resource="https://jazz.ibm.com:9443/rm/cm/component/ldpc?project=_9EtHILTCEemWdOARsjdAvg"/>
To: the components in the project (there are three components in this project)
<rdf:RDF
xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:oslc="http://open-services.net/ns/core#"
xmlns:vvc="http://jazz.net/ns/vvc#"
xmlns:j.0="http://open-services.net/ns/config#"
xmlns:ldp="http://www.w3.org/ns/ldp#" >
<rdf:Description rdf:about="https://jazz.ibm.com:9443/rm/cm/component/_Cp3Y0LTDEemWdOARsjdAvg">
<rdf:type rdf:resource="http://open-services.net/ns/config#Component"/>
<dcterms:title>rm_gc_p1_comp2</dcterms:title>
</rdf:Description>
<rdf:Description rdf:about="https://jazz.ibm.com:9443/rm/cm/component/_GD4BlrTDEemWdOARsjdAvg">
<rdf:type rdf:resource="http://open-services.net/ns/config#Component"/>
<dcterms:title>rm_gc_p1_comp3</dcterms:title>
</rdf:Description>
<rdf:Description rdf:about="https://jazz.ibm.com:9443/rm/cm/component/_9I2ngrTCEemWdOARsjdAvg">
<rdf:type rdf:resource="http://open-services.net/ns/config#Component"/>
<dcterms:title>rm_gc_p1</dcterms:title>
</rdf:Description>
<rdf:Description rdf:about="https://jazz.ibm.com:9443/rm/cm/component/ldpc?project=_9EtHILTCEemWdOARsjdAvg&oslc-core-version=2.0&accept=application%2Frdf%20xml">
<rdf:type rdf:resource="http://www.w3.org/ns/ldp#BasicContainer"/>
<ldp:contains rdf:resource="https://jazz.ibm.com:9443/rm/cm/component/_GD4BlrTDEemWdOARsjdAvg"/>
<ldp:contains rdf:resource="https://jazz.ibm.com:9443/rm/cm/component/_9I2ngrTCEemWdOARsjdAvg"/>
<ldp:contains rdf:resource="https://jazz.ibm.com:9443/rm/cm/component/_Cp3Y0LTDEemWdOARsjdAvg"/>
</rdf:Description>
</rdf:RDF>
xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:oslc="http://open-services.net/ns/core#"
xmlns:vvc="http://jazz.net/ns/vvc#"
xmlns:j.0="http://open-services.net/ns/config#"
xmlns:ldp="http://www.w3.org/ns/ldp#" >
<rdf:Description rdf:about="https://jazz.ibm.com:9443/rm/cm/component/_Cp3Y0LTDEemWdOARsjdAvg">
<rdf:type rdf:resource="http://open-services.net/ns/config#Component"/>
<dcterms:title>rm_gc_p1_comp2</dcterms:title>
</rdf:Description>
<rdf:Description rdf:about="https://jazz.ibm.com:9443/rm/cm/component/_GD4BlrTDEemWdOARsjdAvg">
<rdf:type rdf:resource="http://open-services.net/ns/config#Component"/>
<dcterms:title>rm_gc_p1_comp3</dcterms:title>
</rdf:Description>
<rdf:Description rdf:about="https://jazz.ibm.com:9443/rm/cm/component/_9I2ngrTCEemWdOARsjdAvg">
<rdf:type rdf:resource="http://open-services.net/ns/config#Component"/>
<dcterms:title>rm_gc_p1</dcterms:title>
</rdf:Description>
<rdf:Description rdf:about="https://jazz.ibm.com:9443/rm/cm/component/ldpc?project=_9EtHILTCEemWdOARsjdAvg&oslc-core-version=2.0&accept=application%2Frdf%20xml">
<rdf:type rdf:resource="http://www.w3.org/ns/ldp#BasicContainer"/>
<ldp:contains rdf:resource="https://jazz.ibm.com:9443/rm/cm/component/_GD4BlrTDEemWdOARsjdAvg"/>
<ldp:contains rdf:resource="https://jazz.ibm.com:9443/rm/cm/component/_9I2ngrTCEemWdOARsjdAvg"/>
<ldp:contains rdf:resource="https://jazz.ibm.com:9443/rm/cm/component/_Cp3Y0LTDEemWdOARsjdAvg"/>
</rdf:Description>
</rdf:RDF>
Follow: a component <rdf:Description rdf:about="https://jazz.ibm.com:9443/rm/cm/component/_9I2ngrTCEemWdOARsjdAvg">
to: a sort of services document for the component
<rdf:RDF
xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:oslc="http://open-services.net/ns/core#"
xmlns:oslc_config="http://open-services.net/ns/config#"
xmlns:acc="http://open-services.net/ns/core/acc#"
xmlns:process="http://jazz.net/ns/process#">
<oslc_config:Component rdf:about="https://jazz.ibm.com:9443/rm/cm/component/_9I2ngrTCEemWdOARsjdAvg">
<acc:accessContext rdf:resource="https://jazz.ibm.com:9443/rm/acclist#_9EtHILTCEemWdOARsjdAvg"/>
<oslc:serviceProvider rdf:resource="https://jazz.ibm.com:9443/rm/oslc_rm/_9EtHILTCEemWdOARsjdAvg/services.xml"/>
<process:projectArea rdf:resource="https://jazz.ibm.com:9443/rm/process/project-areas/_9EtHILTCEemWdOARsjdAvg"/>
<dcterms:description rdf:parseType="Literal"></dcterms:description>
<oslc_config:configurations rdf:resource="https://jazz.ibm.com:9443/rm/cm/component/_9I2ngrTCEemWdOARsjdAvg/configurations"/>
<dcterms:title rdf:parseType="Literal">rm_gc_p1</dcterms:title>
</oslc_config:Component>
</rdf:RDF>
xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:oslc="http://open-services.net/ns/core#"
xmlns:oslc_config="http://open-services.net/ns/config#"
xmlns:acc="http://open-services.net/ns/core/acc#"
xmlns:process="http://jazz.net/ns/process#">
<oslc_config:Component rdf:about="https://jazz.ibm.com:9443/rm/cm/component/_9I2ngrTCEemWdOARsjdAvg">
<acc:accessContext rdf:resource="https://jazz.ibm.com:9443/rm/acclist#_9EtHILTCEemWdOARsjdAvg"/>
<oslc:serviceProvider rdf:resource="https://jazz.ibm.com:9443/rm/oslc_rm/_9EtHILTCEemWdOARsjdAvg/services.xml"/>
<process:projectArea rdf:resource="https://jazz.ibm.com:9443/rm/process/project-areas/_9EtHILTCEemWdOARsjdAvg"/>
<dcterms:description rdf:parseType="Literal"></dcterms:description>
<oslc_config:configurations rdf:resource="https://jazz.ibm.com:9443/rm/cm/component/_9I2ngrTCEemWdOARsjdAvg/configurations"/>
<dcterms:title rdf:parseType="Literal">rm_gc_p1</dcterms:title>
</oslc_config:Component>
</rdf:RDF>
Follow <oslc_config:configurations rdf:resource="https://jazz.ibm.com:9443/rm/cm/component/_9I2ngrTCEemWdOARsjdAvg/configurations"/>
to details of all the configurations in the component:
<rdf:RDF
xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:oslc="http://open-services.net/ns/core#"
xmlns:oslc_config="http://open-services.net/ns/config#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xmlns:acc="http://open-services.net/ns/core/acc#">
<rdf:Description rdf:about="https://jazz.ibm.com:9443/rm/cm/component/_9I2ngrTCEemWdOARsjdAvg/configurations">
<rdfs:member rdf:resource="https://jazz.ibm.com:9443/rm/cm/baseline/_hWs5sNfaEemPJeiVEDPvog"/>
<rdfs:member rdf:resource="https://jazz.ibm.com:9443/rm/cm/stream/_frYnYNfaEemPJeiVEDPvog"/>
<rdfs:member rdf:resource="https://jazz.ibm.com:9443/rm/cm/baseline/_flxHkNfaEemPJeiVEDPvog"/>
<rdfs:member rdf:resource="https://jazz.ibm.com:9443/rm/cm/stream/_9JKJULTCEemWdOARsjdAvg"/>
</rdf:Description>
</rdf:RDF>
xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:oslc="http://open-services.net/ns/core#"
xmlns:oslc_config="http://open-services.net/ns/config#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xmlns:acc="http://open-services.net/ns/core/acc#">
<rdf:Description rdf:about="https://jazz.ibm.com:9443/rm/cm/component/_9I2ngrTCEemWdOARsjdAvg/configurations">
<rdfs:member rdf:resource="https://jazz.ibm.com:9443/rm/cm/baseline/_hWs5sNfaEemPJeiVEDPvog"/>
<rdfs:member rdf:resource="https://jazz.ibm.com:9443/rm/cm/stream/_frYnYNfaEemPJeiVEDPvog"/>
<rdfs:member rdf:resource="https://jazz.ibm.com:9443/rm/cm/baseline/_flxHkNfaEemPJeiVEDPvog"/>
<rdfs:member rdf:resource="https://jazz.ibm.com:9443/rm/cm/stream/_9JKJULTCEemWdOARsjdAvg"/>
</rdf:Description>
</rdf:RDF>
Follow one config <rdfs:member rdf:resource="https://jazz.ibm.com:9443/rm/cm/stream/_9JKJULTCEemWdOARsjdAvg"/>
To details of the config
<rdf:RDF
xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:oslc="http://open-services.net/ns/core#"
xmlns:oslc_config="http://open-services.net/ns/config#"
xmlns:j.0="http://jazz.net/ns/rm/dng/config#"
xmlns:acc="http://open-services.net/ns/core/acc#"
xmlns:process="http://jazz.net/ns/process#">
<oslc_config:Configuration rdf:about="https://jazz.ibm.com:9443/rm/cm/stream/_9JKJULTCEemWdOARsjdAvg">
<oslc_config:baselines rdf:resource="https://jazz.ibm.com:9443/rm/cm/stream/_9JKJULTCEemWdOARsjdAvg/baselines"/>
<oslc_config:previousBaseline rdf:resource="https://jazz.ibm.com:9443/rm/cm/baseline/_hWs5sNfaEemPJeiVEDPvog"/>
<oslc_config:acceptedBy rdf:resource="http://open-services.net/ns/config#Configuration"/>
<dcterms:description></dcterms:description>
<dcterms:identifier>_9JKJULTCEemWdOARsjdAvg</dcterms:identifier>
<oslc_config:component rdf:resource="https://jazz.ibm.com:9443/rm/cm/component/_9I2ngrTCEemWdOARsjdAvg"/>
<dcterms:title rdf:parseType="Literal">rm_gc_p1 Initial Stream</dcterms:title>
<oslc:serviceProvider rdf:resource="https://jazz.ibm.com:9443/rm/oslc_rm/_9EtHILTCEemWdOARsjdAvg/services.xml"/>
<dcterms:created rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime"
>2019-08-02T01:15:03.156Z</dcterms:created>
<rdf:type rdf:resource="http://open-services.net/ns/config#Stream"/>
<j.0:changesets rdf:resource="https://jazz.ibm.com:9443/rm/cm/stream/_9JKJULTCEemWdOARsjdAvg/changesets"/>
<oslc_config:selections rdf:resource="https://jazz.ibm.com:9443/rm/configSelections/stream/_9JKJULTCEemWdOARsjdAvg"/>
<acc:accessContext rdf:resource="https://jazz.ibm.com:9443/rm/acclist#_9EtHILTCEemWdOARsjdAvg"/>
<process:projectArea rdf:resource="https://jazz.ibm.com:9443/rm/process/project-areas/_9EtHILTCEemWdOARsjdAvg"/>
<dcterms:creator rdf:resource="https://jazz.ibm.com:9443/jts/users/ibm"/>
</oslc_config:Configuration>
</rdf:RDF>
xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:oslc="http://open-services.net/ns/core#"
xmlns:oslc_config="http://open-services.net/ns/config#"
xmlns:j.0="http://jazz.net/ns/rm/dng/config#"
xmlns:acc="http://open-services.net/ns/core/acc#"
xmlns:process="http://jazz.net/ns/process#">
<oslc_config:Configuration rdf:about="https://jazz.ibm.com:9443/rm/cm/stream/_9JKJULTCEemWdOARsjdAvg">
<oslc_config:baselines rdf:resource="https://jazz.ibm.com:9443/rm/cm/stream/_9JKJULTCEemWdOARsjdAvg/baselines"/>
<oslc_config:previousBaseline rdf:resource="https://jazz.ibm.com:9443/rm/cm/baseline/_hWs5sNfaEemPJeiVEDPvog"/>
<oslc_config:acceptedBy rdf:resource="http://open-services.net/ns/config#Configuration"/>
<dcterms:description></dcterms:description>
<dcterms:identifier>_9JKJULTCEemWdOARsjdAvg</dcterms:identifier>
<oslc_config:component rdf:resource="https://jazz.ibm.com:9443/rm/cm/component/_9I2ngrTCEemWdOARsjdAvg"/>
<dcterms:title rdf:parseType="Literal">rm_gc_p1 Initial Stream</dcterms:title>
<oslc:serviceProvider rdf:resource="https://jazz.ibm.com:9443/rm/oslc_rm/_9EtHILTCEemWdOARsjdAvg/services.xml"/>
<dcterms:created rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime"
>2019-08-02T01:15:03.156Z</dcterms:created>
<rdf:type rdf:resource="http://open-services.net/ns/config#Stream"/>
<j.0:changesets rdf:resource="https://jazz.ibm.com:9443/rm/cm/stream/_9JKJULTCEemWdOARsjdAvg/changesets"/>
<oslc_config:selections rdf:resource="https://jazz.ibm.com:9443/rm/configSelections/stream/_9JKJULTCEemWdOARsjdAvg"/>
<acc:accessContext rdf:resource="https://jazz.ibm.com:9443/rm/acclist#_9EtHILTCEemWdOARsjdAvg"/>
<process:projectArea rdf:resource="https://jazz.ibm.com:9443/rm/process/project-areas/_9EtHILTCEemWdOARsjdAvg"/>
<dcterms:creator rdf:resource="https://jazz.ibm.com:9443/jts/users/ibm"/>
</oslc_config:Configuration>
</rdf:RDF>
Accessing the services.xml without a configuration will give you the details for the default component. NOTE if the component has ben archived there may not be anything to get.
Now you have a configuration (which specifies a component) you can use that in parameter oslcconfig.context=https://jazz.ibm.com:9443/rm/configSelections/stream/_9JKJULTCEemWdOARsjdAvg to access the services.xml to retrieve the component details in that configuration, perhaps to use the QueryCapability to query the component artifacts inthat configuration.
Here's the services.xml in the default configuration, from /rm/oslc_rm/_DbozQC3oEemAJfncWWzRjA/services.xml
<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:oslc="http://open-services.net/ns/core#"
xmlns:oslc_config="http://open-services.net/ns/config#"
xmlns:calm="http://jazz.net/xmlns/prod/jazz/calm/1.0/"
xmlns:rm="http://www.ibm.com/xmlns/rdm/rdf/"
xmlns:jp10="http://jazz.net/xmlns/prod/jazz/process/1.0/">
<oslc:ServiceProvider rdf:about="https://jazz.ibm.com:9443/rm/oslc_rm/_DbozQC3oEemAJfncWWzRjA/services.xml">
<jp10:supportLinkDiscoveryViaLinkIndexProvider rdf:datatype=
"http://www.w3.org/2001/XMLSchema#boolean">false</jp10:supportLinkDiscoveryViaLinkIndexProvider>
<dcterms:publisher rdf:resource="https://jazz.ibm.com:9443/rm/application-about"/>
<oslc:details rdf:resource="https://jazz.ibm.com:9443/rm/process/project-areas/_DbozQC3oEemAJfncWWzRjA"/>
<jp10:supportContributionsToLinkIndexProvider rdf:datatype=
"http://www.w3.org/2001/XMLSchema#boolean">false</jp10:supportContributionsToLinkIndexProvider>
<oslc:service>
<oslc:Service>
<oslc:queryCapability>
<oslc:QueryCapability>
<oslc:resourceType rdf:resource="http://open-services.net/ns/rm#RequirementCollection"/>
<oslc:resourceType rdf:resource="http://open-services.net/ns/rm#Requirement"/>
<oslc:queryBase rdf:resource="https://jazz.ibm.com:9443/rm/views?oslc.query=true&projectURL=https%3A%2F%2Fjazz.ibm.com%3A9443%2Frm%2Fprocess%2Fproject-areas%2F_DbozQC3oEemAJfncWWzRjA"/>
<dcterms:title rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
>Query Capability</dcterms:title>
</oslc:QueryCapability>
</oslc:queryCapability>
<oslc:selectionDialog>
<oslc:Dialog>
<oslc:resourceType rdf:resource="http://open-services.net/ns/rm#Requirement"/>
<oslc:hintHeight>550px</oslc:hintHeight>
<oslc:hintWidth>800px</oslc:hintWidth>
<oslc:dialog rdf:resource="https://jazz.ibm.com:9443/rm/pickers/com.ibm.rdm.web.RRCPicker?projectURL=https%3A%2F%2Fjazz.ibm.com%3A9443%2Frm%2Frm-projects%2F_DbozQC3oEemAJfncWWzRjA"/>
<oslc:label>Requirement</oslc:label>
<dcterms:title rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
>Requirement Selection</dcterms:title>
</oslc:Dialog>
</oslc:selectionDialog>
<oslc:queryCapability>
<oslc:QueryCapability>
<oslc:resourceType rdf:resource="http://jazz.net/ns/rm/navigation#folder"/>
<oslc:queryBase rdf:resource="https://jazz.ibm.com:9443/rm/folders?oslc.where=public_rm:parent=https%3A%2F%2Fjazz.ibm.com%3A9443%2Frm%2Fprocess%2Fproject-areas%2F_DbozQC3oEemAJfncWWzRjA"/>
<dcterms:title rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
>Folder Query Capability</dcterms:title>
</oslc:QueryCapability>
</oslc:queryCapability>
<oslc:selectionDialog>
<oslc:Dialog>
<oslc:resourceType rdf:resource="http://open-services.net/ns/rm#RequirementCollection"/>
<oslc:hintHeight>550px</oslc:hintHeight>
<oslc:hintWidth>800px</oslc:hintWidth>
<oslc:dialog rdf:resource="https://jazz.ibm.com:9443/rm/pickers/com.ibm.rdm.web.CollectionPicker?projectURL=https%3A%2F%2Fjazz.ibm.com%3A9443%2Frm%2Frm-projects%2F_DbozQC3oEemAJfncWWzRjA"/>
<oslc:label>Collection</oslc:label>
<dcterms:title rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
>Collection Selection</dcterms:title>
</oslc:Dialog>
</oslc:selectionDialog>
<oslc:creationFactory>
<oslc:CreationFactory>
<oslc:usage rdf:resource="http://open-services.net/ns/core#default"/>
<oslc:resourceType rdf:resource="http://www.ibm.com/xmlns/rdm/types/TypeImportSession"/>
<oslc:creation rdf:resource="https://jazz.ibm.com:9443/rm/type-import-sessions"/>
<dcterms:title rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
>Type System Copy Session Factory</dcterms:title>
</oslc:CreationFactory>
</oslc:creationFactory>
<oslc:creationFactory>
<oslc:CreationFactory>
<oslc:usage rdf:resource="http://open-services.net/ns/core#default"/>
<oslc:resourceType rdf:resource="http://jazz.net/ns/rm/dng/config#DeliverySession"/>
<oslc:creation rdf:resource="https://jazz.ibm.com:9443/rm/delivery-sessions"/>
<dcterms:title rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
>Delivery Session Factory</dcterms:title>
</oslc:CreationFactory>
</oslc:creationFactory>
<oslc:creationDialog>
<oslc:Dialog>
<oslc:resourceType rdf:resource="http://open-services.net/ns/rm#Requirement"/>
<oslc:hintHeight>530px</oslc:hintHeight>
<oslc:hintWidth>520px</oslc:hintWidth>
<oslc:dialog rdf:resource="https://jazz.ibm.com:9443/rm/pickers/com.ibm.rdm.web.CreateArtifactPicker?projectURL=https%3A%2F%2Fjazz.ibm.com%3A9443%2Frm%2Frm-projects%2F_DbozQC3oEemAJfncWWzRjA"/>
<oslc:label>Requirement</oslc:label>
<dcterms:title rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
>Requirement Creation</dcterms:title>
</oslc:Dialog>
</oslc:creationDialog>
<oslc:creationFactory>
<oslc:CreationFactory>
<oslc:usage rdf:resource="http://open-services.net/ns/core#default"/>
<oslc:resourceShape rdf:resource="https://jazz.ibm.com:9443/rm/types/_LGLeUC3oEemAJfncWWzRjA"/>
<oslc:resourceShape rdf:resource="https://jazz.ibm.com:9443/rm/types/_LGLeTC3oEemAJfncWWzRjA"/>
<oslc_config:component rdf:resource="https://jazz.ibm.com:9443/rm/cm/component/_DiozVC3oEemAJfncWWzRjA"/>
<oslc:resourceType rdf:resource="http://open-services.net/ns/rm#RequirementCollection"/>
<oslc:creation rdf:resource="https://jazz.ibm.com:9443/rm/requirementFactory?projectURL=https%3A%2F%2Fjazz.ibm.com%3A9443%2Frm%2Fprocess%2Fproject-areas%2F_DbozQC3oEemAJfncWWzRjA"/>
<dcterms:title rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
>Collection Creation Factory</dcterms:title>
</oslc:CreationFactory>
</oslc:creationFactory>
<oslc:creationFactory>
<oslc:CreationFactory>
<oslc:creation rdf:resource="https://jazz.ibm.com:9443/rm/requirementFactory?projectURL=https%3A%2F%2Fjazz.ibm.com%3A9443%2Frm%2Fprocess%2Fproject-areas%2F_DbozQC3oEemAJfncWWzRjA"/>
<dcterms:title rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
>Requirement Creation Factory</dcterms:title>
<oslc:resourceShape rdf:resource="https://jazz.ibm.com:9443/rm/types/_LGLeSi3oEemAJfncWWzRjA"/>
<oslc:resourceShape rdf:resource="https://jazz.ibm.com:9443/rm/types/_LGLeQy3oEemAJfncWWzRjA"/>
<oslc:resourceShape rdf:resource="https://jazz.ibm.com:9443/rm/types/_LGLeRS3oEemAJfncWWzRjA"/>
<oslc:resourceType rdf:resource="http://open-services.net/ns/rm#Requirement"/>
<oslc_config:component rdf:resource="https://jazz.ibm.com:9443/rm/cm/component/_DiozVC3oEemAJfncWWzRjA"/>
<oslc:resourceShape rdf:resource="https://jazz.ibm.com:9443/rm/types/_LGLeRC3oEemAJfncWWzRjA"/>
<oslc:resourceShape rdf:resource="https://jazz.ibm.com:9443/rm/types/_LGLeRi3oEemAJfncWWzRjA"/>
<oslc:resourceShape rdf:resource="https://jazz.ibm.com:9443/rm/types/_LGLeUS3oEemAJfncWWzRjA"/>
<oslc:resourceShape rdf:resource="https://jazz.ibm.com:9443/rm/types/_LGLeQi3oEemAJfncWWzRjA"/>
<oslc:usage rdf:resource="http://open-services.net/ns/core#default"/>
<oslc:resourceShape rdf:resource="https://jazz.ibm.com:9443/rm/types/_LGLeUi3oEemAJfncWWzRjA"/>
<oslc:resourceShape rdf:resource="https://jazz.ibm.com:9443/rm/types/_LGLeSS3oEemAJfncWWzRjA"/>
<oslc:resourceShape rdf:resource="https://jazz.ibm.com:9443/rm/types/_LGLeTi3oEemAJfncWWzRjA"/>
<oslc:resourceShape rdf:resource="https://jazz.ibm.com:9443/rm/types/_LGLeTS3oEemAJfncWWzRjA"/>
<oslc:resourceShape rdf:resource="https://jazz.ibm.com:9443/rm/types/_LGLeSC3oEemAJfncWWzRjA"/>
<oslc:resourceShape rdf:resource="https://jazz.ibm.com:9443/rm/types/_LGLeRy3oEemAJfncWWzRjA"/>
<oslc:resourceShape rdf:resource="https://jazz.ibm.com:9443/rm/types/_LGLeSy3oEemAJfncWWzRjA"/>
<oslc:resourceShape rdf:resource="https://jazz.ibm.com:9443/rm/types/_LGLeTy3oEemAJfncWWzRjA"/>
<oslc:resourceShape rdf:resource="https://jazz.ibm.com:9443/rm/types/_LGLeQS3oEemAJfncWWzRjA"/>
</oslc:CreationFactory>
</oslc:creationFactory>
<oslc:domain rdf:resource="http://open-services.net/ns/rm#"/>
<calm:filter>
<calm:Filter>
<calm:filerBase rdf:resource="https://jazz.ibm.com:9443/rm/calmFilter/_DbozQC3oEemAJfncWWzRjA/requirementsChangedSince"/>
<oslc:resourceType rdf:resource="http://open-services.net/ns/rm#Requirement"/>
<oslc:usage rdf:resource="http://jazz.net/xmlns/prod/jazz/calm/1.0/requirementsChangedSince"/>
<dcterms:title>Requirements Changed Since Filter</dcterms:title>
</calm:Filter>
</calm:filter>
<oslc:creationDialog>
<oslc:Dialog>
<oslc:resourceType rdf:resource="http://open-services.net/ns/rm#RequirementCollection"/>
<oslc:hintHeight>530px</oslc:hintHeight>
<oslc:hintWidth>520px</oslc:hintWidth>
<oslc:dialog rdf:resource="https://jazz.ibm.com:9443/rm/pickers/com.ibm.rdm.web.CreateCollectionPicker?projectURL=https%3A%2F%2Fjazz.ibm.com%3A9443%2Frm%2Frm-projects%2F_DbozQC3oEemAJfncWWzRjA"/>
<oslc:label>Collection</oslc:label>
<dcterms:title rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
>Collection Creation</dcterms:title>
</oslc:Dialog>
</oslc:creationDialog>
</oslc:Service>
</oslc:service>
<jp10:globalConfigurationAware rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
>no</jp10:globalConfigurationAware>
<oslc:service>
<oslc:Service>
<oslc:creationFactory>
<oslc:CreationFactory>
<oslc_config:component rdf:resource="https://jazz.ibm.com:9443/rm/cm/component/_DiozVC3oEemAJfncWWzRjA"/>
<oslc:resourceType rdf:resource="http://jazz.net/ns/rm/dng/reqif#ReqIFPackage"/>
<oslc:creation rdf:resource="https://jazz.ibm.com:9443/rm/reqif_oslc/import?componentURI=https%3A%2F%2Fjazz.ibm.com%3A9443%2Frm%2Fcm%2Fcomponent%2F_DiozVC3oEemAJfncWWzRjA"/>
<dcterms:title rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
>ReqIF Package Factory</dcterms:title>
</oslc:CreationFactory>
</oslc:creationFactory>
<oslc:creationFactory>
<oslc:CreationFactory>
<oslc_config:component rdf:resource="https://jazz.ibm.com:9443/rm/cm/component/_DiozVC3oEemAJfncWWzRjA"/>
<oslc:resourceType rdf:resource="http://jazz.net/ns/rm/dng/reqif#ReqIFImport"/>
<oslc:creation rdf:resource="https://jazz.ibm.com:9443/rm/reqif_oslc/import?componentURI=https%3A%2F%2Fjazz.ibm.com%3A9443%2Frm%2Fcm%2Fcomponent%2F_DiozVC3oEemAJfncWWzRjA"/>
<dcterms:title rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
>ReqIF Import Factory</dcterms:title>
</oslc:CreationFactory>
</oslc:creationFactory>
<oslc:creationFactory>
<oslc:CreationFactory>
<oslc_config:component rdf:resource="https://jazz.ibm.com:9443/rm/cm/component/_DiozVC3oEemAJfncWWzRjA"/>
<oslc:resourceType rdf:resource="http://jazz.net/ns/rm/dng/reqif#ReqIFExport"/>
<oslc:creation rdf:resource="https://jazz.ibm.com:9443/rm/reqif_oslc/export?componentURI=https%3A%2F%2Fjazz.ibm.com%3A9443%2Frm%2Fcm%2Fcomponent%2F_DiozVC3oEemAJfncWWzRjA"/>
<dcterms:title rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
>ReqIF Export Factory</dcterms:title>
</oslc:CreationFactory>
</oslc:creationFactory>
<oslc:domain rdf:resource="http://jazz.net/ns/rm/dng/reqif#"/>
</oslc:Service>
</oslc:service>
<dcterms:title rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
>jkeb src_rm</dcterms:title>
<jp10:supportLinkDiscoveryViaOSLCQueries rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean"
>true</jp10:supportLinkDiscoveryViaOSLCQueries>
<rm:home rdf:resource="https://jazz.ibm.com:9443/rm/web#action=com.ibm.rdm.web.pages.showFoundationProjectDashboard&componentURI=https%3A%2F%2Fjazz.ibm.com%3A9443%2Frm%2Frm-projects%2F_DbozQC3oEemAJfncWWzRjA%2Fcomponents%2F_DiozVC3oEemAJfncWWzRjA"/>
<jp10:supportOSLCSimpleQuery rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean"
>true</jp10:supportOSLCSimpleQuery>
<dcterms:description rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
>Service Descriptor for Project: jkeb src_rm</dcterms:description>
</oslc:ServiceProvider>
</rdf:RDF>
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:oslc="http://open-services.net/ns/core#"
xmlns:oslc_config="http://open-services.net/ns/config#"
xmlns:calm="http://jazz.net/xmlns/prod/jazz/calm/1.0/"
xmlns:rm="http://www.ibm.com/xmlns/rdm/rdf/"
xmlns:jp10="http://jazz.net/xmlns/prod/jazz/process/1.0/">
<oslc:ServiceProvider rdf:about="https://jazz.ibm.com:9443/rm/oslc_rm/_DbozQC3oEemAJfncWWzRjA/services.xml">
<jp10:supportLinkDiscoveryViaLinkIndexProvider rdf:datatype=
"http://www.w3.org/2001/XMLSchema#boolean">false</jp10:supportLinkDiscoveryViaLinkIndexProvider>
<dcterms:publisher rdf:resource="https://jazz.ibm.com:9443/rm/application-about"/>
<oslc:details rdf:resource="https://jazz.ibm.com:9443/rm/process/project-areas/_DbozQC3oEemAJfncWWzRjA"/>
<jp10:supportContributionsToLinkIndexProvider rdf:datatype=
"http://www.w3.org/2001/XMLSchema#boolean">false</jp10:supportContributionsToLinkIndexProvider>
<oslc:service>
<oslc:Service>
<oslc:queryCapability>
<oslc:QueryCapability>
<oslc:resourceType rdf:resource="http://open-services.net/ns/rm#RequirementCollection"/>
<oslc:resourceType rdf:resource="http://open-services.net/ns/rm#Requirement"/>
<oslc:queryBase rdf:resource="https://jazz.ibm.com:9443/rm/views?oslc.query=true&projectURL=https%3A%2F%2Fjazz.ibm.com%3A9443%2Frm%2Fprocess%2Fproject-areas%2F_DbozQC3oEemAJfncWWzRjA"/>
<dcterms:title rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
>Query Capability</dcterms:title>
</oslc:QueryCapability>
</oslc:queryCapability>
<oslc:selectionDialog>
<oslc:Dialog>
<oslc:resourceType rdf:resource="http://open-services.net/ns/rm#Requirement"/>
<oslc:hintHeight>550px</oslc:hintHeight>
<oslc:hintWidth>800px</oslc:hintWidth>
<oslc:dialog rdf:resource="https://jazz.ibm.com:9443/rm/pickers/com.ibm.rdm.web.RRCPicker?projectURL=https%3A%2F%2Fjazz.ibm.com%3A9443%2Frm%2Frm-projects%2F_DbozQC3oEemAJfncWWzRjA"/>
<oslc:label>Requirement</oslc:label>
<dcterms:title rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
>Requirement Selection</dcterms:title>
</oslc:Dialog>
</oslc:selectionDialog>
<oslc:queryCapability>
<oslc:QueryCapability>
<oslc:resourceType rdf:resource="http://jazz.net/ns/rm/navigation#folder"/>
<oslc:queryBase rdf:resource="https://jazz.ibm.com:9443/rm/folders?oslc.where=public_rm:parent=https%3A%2F%2Fjazz.ibm.com%3A9443%2Frm%2Fprocess%2Fproject-areas%2F_DbozQC3oEemAJfncWWzRjA"/>
<dcterms:title rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
>Folder Query Capability</dcterms:title>
</oslc:QueryCapability>
</oslc:queryCapability>
<oslc:selectionDialog>
<oslc:Dialog>
<oslc:resourceType rdf:resource="http://open-services.net/ns/rm#RequirementCollection"/>
<oslc:hintHeight>550px</oslc:hintHeight>
<oslc:hintWidth>800px</oslc:hintWidth>
<oslc:dialog rdf:resource="https://jazz.ibm.com:9443/rm/pickers/com.ibm.rdm.web.CollectionPicker?projectURL=https%3A%2F%2Fjazz.ibm.com%3A9443%2Frm%2Frm-projects%2F_DbozQC3oEemAJfncWWzRjA"/>
<oslc:label>Collection</oslc:label>
<dcterms:title rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
>Collection Selection</dcterms:title>
</oslc:Dialog>
</oslc:selectionDialog>
<oslc:creationFactory>
<oslc:CreationFactory>
<oslc:usage rdf:resource="http://open-services.net/ns/core#default"/>
<oslc:resourceType rdf:resource="http://www.ibm.com/xmlns/rdm/types/TypeImportSession"/>
<oslc:creation rdf:resource="https://jazz.ibm.com:9443/rm/type-import-sessions"/>
<dcterms:title rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
>Type System Copy Session Factory</dcterms:title>
</oslc:CreationFactory>
</oslc:creationFactory>
<oslc:creationFactory>
<oslc:CreationFactory>
<oslc:usage rdf:resource="http://open-services.net/ns/core#default"/>
<oslc:resourceType rdf:resource="http://jazz.net/ns/rm/dng/config#DeliverySession"/>
<oslc:creation rdf:resource="https://jazz.ibm.com:9443/rm/delivery-sessions"/>
<dcterms:title rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
>Delivery Session Factory</dcterms:title>
</oslc:CreationFactory>
</oslc:creationFactory>
<oslc:creationDialog>
<oslc:Dialog>
<oslc:resourceType rdf:resource="http://open-services.net/ns/rm#Requirement"/>
<oslc:hintHeight>530px</oslc:hintHeight>
<oslc:hintWidth>520px</oslc:hintWidth>
<oslc:dialog rdf:resource="https://jazz.ibm.com:9443/rm/pickers/com.ibm.rdm.web.CreateArtifactPicker?projectURL=https%3A%2F%2Fjazz.ibm.com%3A9443%2Frm%2Frm-projects%2F_DbozQC3oEemAJfncWWzRjA"/>
<oslc:label>Requirement</oslc:label>
<dcterms:title rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
>Requirement Creation</dcterms:title>
</oslc:Dialog>
</oslc:creationDialog>
<oslc:creationFactory>
<oslc:CreationFactory>
<oslc:usage rdf:resource="http://open-services.net/ns/core#default"/>
<oslc:resourceShape rdf:resource="https://jazz.ibm.com:9443/rm/types/_LGLeUC3oEemAJfncWWzRjA"/>
<oslc:resourceShape rdf:resource="https://jazz.ibm.com:9443/rm/types/_LGLeTC3oEemAJfncWWzRjA"/>
<oslc_config:component rdf:resource="https://jazz.ibm.com:9443/rm/cm/component/_DiozVC3oEemAJfncWWzRjA"/>
<oslc:resourceType rdf:resource="http://open-services.net/ns/rm#RequirementCollection"/>
<oslc:creation rdf:resource="https://jazz.ibm.com:9443/rm/requirementFactory?projectURL=https%3A%2F%2Fjazz.ibm.com%3A9443%2Frm%2Fprocess%2Fproject-areas%2F_DbozQC3oEemAJfncWWzRjA"/>
<dcterms:title rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
>Collection Creation Factory</dcterms:title>
</oslc:CreationFactory>
</oslc:creationFactory>
<oslc:creationFactory>
<oslc:CreationFactory>
<oslc:creation rdf:resource="https://jazz.ibm.com:9443/rm/requirementFactory?projectURL=https%3A%2F%2Fjazz.ibm.com%3A9443%2Frm%2Fprocess%2Fproject-areas%2F_DbozQC3oEemAJfncWWzRjA"/>
<dcterms:title rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
>Requirement Creation Factory</dcterms:title>
<oslc:resourceShape rdf:resource="https://jazz.ibm.com:9443/rm/types/_LGLeSi3oEemAJfncWWzRjA"/>
<oslc:resourceShape rdf:resource="https://jazz.ibm.com:9443/rm/types/_LGLeQy3oEemAJfncWWzRjA"/>
<oslc:resourceShape rdf:resource="https://jazz.ibm.com:9443/rm/types/_LGLeRS3oEemAJfncWWzRjA"/>
<oslc:resourceType rdf:resource="http://open-services.net/ns/rm#Requirement"/>
<oslc_config:component rdf:resource="https://jazz.ibm.com:9443/rm/cm/component/_DiozVC3oEemAJfncWWzRjA"/>
<oslc:resourceShape rdf:resource="https://jazz.ibm.com:9443/rm/types/_LGLeRC3oEemAJfncWWzRjA"/>
<oslc:resourceShape rdf:resource="https://jazz.ibm.com:9443/rm/types/_LGLeRi3oEemAJfncWWzRjA"/>
<oslc:resourceShape rdf:resource="https://jazz.ibm.com:9443/rm/types/_LGLeUS3oEemAJfncWWzRjA"/>
<oslc:resourceShape rdf:resource="https://jazz.ibm.com:9443/rm/types/_LGLeQi3oEemAJfncWWzRjA"/>
<oslc:usage rdf:resource="http://open-services.net/ns/core#default"/>
<oslc:resourceShape rdf:resource="https://jazz.ibm.com:9443/rm/types/_LGLeUi3oEemAJfncWWzRjA"/>
<oslc:resourceShape rdf:resource="https://jazz.ibm.com:9443/rm/types/_LGLeSS3oEemAJfncWWzRjA"/>
<oslc:resourceShape rdf:resource="https://jazz.ibm.com:9443/rm/types/_LGLeTi3oEemAJfncWWzRjA"/>
<oslc:resourceShape rdf:resource="https://jazz.ibm.com:9443/rm/types/_LGLeTS3oEemAJfncWWzRjA"/>
<oslc:resourceShape rdf:resource="https://jazz.ibm.com:9443/rm/types/_LGLeSC3oEemAJfncWWzRjA"/>
<oslc:resourceShape rdf:resource="https://jazz.ibm.com:9443/rm/types/_LGLeRy3oEemAJfncWWzRjA"/>
<oslc:resourceShape rdf:resource="https://jazz.ibm.com:9443/rm/types/_LGLeSy3oEemAJfncWWzRjA"/>
<oslc:resourceShape rdf:resource="https://jazz.ibm.com:9443/rm/types/_LGLeTy3oEemAJfncWWzRjA"/>
<oslc:resourceShape rdf:resource="https://jazz.ibm.com:9443/rm/types/_LGLeQS3oEemAJfncWWzRjA"/>
</oslc:CreationFactory>
</oslc:creationFactory>
<oslc:domain rdf:resource="http://open-services.net/ns/rm#"/>
<calm:filter>
<calm:Filter>
<calm:filerBase rdf:resource="https://jazz.ibm.com:9443/rm/calmFilter/_DbozQC3oEemAJfncWWzRjA/requirementsChangedSince"/>
<oslc:resourceType rdf:resource="http://open-services.net/ns/rm#Requirement"/>
<oslc:usage rdf:resource="http://jazz.net/xmlns/prod/jazz/calm/1.0/requirementsChangedSince"/>
<dcterms:title>Requirements Changed Since Filter</dcterms:title>
</calm:Filter>
</calm:filter>
<oslc:creationDialog>
<oslc:Dialog>
<oslc:resourceType rdf:resource="http://open-services.net/ns/rm#RequirementCollection"/>
<oslc:hintHeight>530px</oslc:hintHeight>
<oslc:hintWidth>520px</oslc:hintWidth>
<oslc:dialog rdf:resource="https://jazz.ibm.com:9443/rm/pickers/com.ibm.rdm.web.CreateCollectionPicker?projectURL=https%3A%2F%2Fjazz.ibm.com%3A9443%2Frm%2Frm-projects%2F_DbozQC3oEemAJfncWWzRjA"/>
<oslc:label>Collection</oslc:label>
<dcterms:title rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
>Collection Creation</dcterms:title>
</oslc:Dialog>
</oslc:creationDialog>
</oslc:Service>
</oslc:service>
<jp10:globalConfigurationAware rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
>no</jp10:globalConfigurationAware>
<oslc:service>
<oslc:Service>
<oslc:creationFactory>
<oslc:CreationFactory>
<oslc_config:component rdf:resource="https://jazz.ibm.com:9443/rm/cm/component/_DiozVC3oEemAJfncWWzRjA"/>
<oslc:resourceType rdf:resource="http://jazz.net/ns/rm/dng/reqif#ReqIFPackage"/>
<oslc:creation rdf:resource="https://jazz.ibm.com:9443/rm/reqif_oslc/import?componentURI=https%3A%2F%2Fjazz.ibm.com%3A9443%2Frm%2Fcm%2Fcomponent%2F_DiozVC3oEemAJfncWWzRjA"/>
<dcterms:title rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
>ReqIF Package Factory</dcterms:title>
</oslc:CreationFactory>
</oslc:creationFactory>
<oslc:creationFactory>
<oslc:CreationFactory>
<oslc_config:component rdf:resource="https://jazz.ibm.com:9443/rm/cm/component/_DiozVC3oEemAJfncWWzRjA"/>
<oslc:resourceType rdf:resource="http://jazz.net/ns/rm/dng/reqif#ReqIFImport"/>
<oslc:creation rdf:resource="https://jazz.ibm.com:9443/rm/reqif_oslc/import?componentURI=https%3A%2F%2Fjazz.ibm.com%3A9443%2Frm%2Fcm%2Fcomponent%2F_DiozVC3oEemAJfncWWzRjA"/>
<dcterms:title rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
>ReqIF Import Factory</dcterms:title>
</oslc:CreationFactory>
</oslc:creationFactory>
<oslc:creationFactory>
<oslc:CreationFactory>
<oslc_config:component rdf:resource="https://jazz.ibm.com:9443/rm/cm/component/_DiozVC3oEemAJfncWWzRjA"/>
<oslc:resourceType rdf:resource="http://jazz.net/ns/rm/dng/reqif#ReqIFExport"/>
<oslc:creation rdf:resource="https://jazz.ibm.com:9443/rm/reqif_oslc/export?componentURI=https%3A%2F%2Fjazz.ibm.com%3A9443%2Frm%2Fcm%2Fcomponent%2F_DiozVC3oEemAJfncWWzRjA"/>
<dcterms:title rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
>ReqIF Export Factory</dcterms:title>
</oslc:CreationFactory>
</oslc:creationFactory>
<oslc:domain rdf:resource="http://jazz.net/ns/rm/dng/reqif#"/>
</oslc:Service>
</oslc:service>
<dcterms:title rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
>jkeb src_rm</dcterms:title>
<jp10:supportLinkDiscoveryViaOSLCQueries rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean"
>true</jp10:supportLinkDiscoveryViaOSLCQueries>
<rm:home rdf:resource="https://jazz.ibm.com:9443/rm/web#action=com.ibm.rdm.web.pages.showFoundationProjectDashboard&componentURI=https%3A%2F%2Fjazz.ibm.com%3A9443%2Frm%2Frm-projects%2F_DbozQC3oEemAJfncWWzRjA%2Fcomponents%2F_DiozVC3oEemAJfncWWzRjA"/>
<jp10:supportOSLCSimpleQuery rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean"
>true</jp10:supportOSLCSimpleQuery>
<dcterms:description rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
>Service Descriptor for Project: jkeb src_rm</dcterms:description>
</oslc:ServiceProvider>
</rdf:RDF>
By looking for the QueryCapability with <oslc:resourceType rdf:resource="http://jazz.net/ns/rm/navigation#folder"/> (in this example it is the second QueryCapability) you will get the URL for folder queries. Then look for the QueryCapability with <oslc:resourceType rdf:resource="http://open-services.net/ns/rm#Requirement"/> and use it to query for resources with rm_nav:parent=<uri of folder>
If you get this same services.xml URL with a oslcconfig.context specifying the configuration you are interested in, you'll get (different) QueryCapability-s specific to that configuration i.e. specific to the component+configuration.
HTH
Ian
Ian
2 other answers
I think I have some related code in here: https://jazz.net/library/article/92596
Comments
Hello Ralph,
Can you please help me with where I can find this source code used in this tutorial.
My requirement is to read Modules from a Component using OSLC and this code might be helpful for me here.
Please see to it.
Thanks
Vaibhav
You read the article and look for the section Download and use the link. The code examples are not for modules, they are for streams and components.
The APIs are not OSLC, they are public DNG REST APIs. This can all be read in the article and the other articles linked to it.
I have a question regarding getting the configuration URI of the global configuration.
Do you have any hint for me?
I know that server:port/cg/configuration will list all available config for me. But how to fid the global config?
Comments
Please create a new question.
And please use the guidance here to create a good question where all needed info is provided without asking https://jazz.net/forum/questions/203755/how-should-i-ask-a-question-in-the-forum-if-i-want-to-receive-useful-answers
1 vote