Not able to retrieve Rating property of an asset
Hi,
I’m trying to retrieve asset information from RAM. But, when I run the following query in RESTClient, the response doesn't contain the Rating information.
The query used to get asset details:
http://Server:Port/ram/oslc/assets/CCE035E4-533D-FF35-B655-EEBF2C873EC5/1.0
The RDF response:
<rdf:RDF>
<rdf:Description rdf:about="http://Server:Port/ram/oslc/assets/CCE035E4-533D-FF35-B655-EEBF2C873EC5/1.0#artifacts/text%20test%20for%20RAm%20delivery.txt">
<dcterms:modified>2014-02-06T19:18:47+0530</dcterms:modified>
<oslc_asset:size>41</oslc_asset:size>
<oslc_asset:content rdf:resource="http://Server:Port/ram/oslc/assets/CCE035E4-533D-FF35-B655-EEBF2C873EC5/1.0/artifactContents/text%20test%20for%20RAm%20delivery.txt"/>
<dcterms:title>text test for RAm delivery.txt</dcterms:title>
<rdf:type rdf:resource="http://open-services.net/ns/asset#Artifact"/>
</rdf:Description>
|
<rdf:Description rdf:about="http://Server:Port/ram/oslc/assets/CCE035E4-533D-FF35-B655-EEBF2C873EC5/1.0">
<oslc_asset:categorization rdf:resource="http://Server:Port/ram/internal/categories/classif/portfolio_offerings.1.xmi%23id_48802"/>
<ram_asset:revisionCount>1</ram_asset:revisionCount>
<dcterms:identifier>3031</dcterms:identifier>
<dcterms:type rdf:resource="http://Server:Port/ram/internal/types/classif/assetTypesSchema.xmi%23business_analysis_model"/>
<oslc_asset:artifact rdf:resource="http://Server:Port/ram/oslc/assets/CCE035E4-533D-FF35-B655-EEBF2C873EC5/1.0#artifacts/text%20test%20for%20RAm%20delivery.txt"/>
<dcterms:contributor rdf:resource="http://Server:Port/ram/internal/users/KallankA"/>
<oslc_asset:artifactFactory rdf:resource="http://Server:Port/ram/oslc/assets/CCE035E4-533D-FF35-B655-EEBF2C873EC5/1.0/artifacts"/>
<oslc_asset:categorization rdf:resource="http://Server:Port/ram/internal/categories/classif/reporting_metrics.xmi%23id_95832"/>
<dcterms:modified>2014-02-06T19:18:48+0530</dcterms:modified>
<oslc_asset:version>1.0</oslc_asset:version>
<dcterms:title>text test for RAm delivery.txt</dcterms:title>
<oslc_asset:categorization rdf:resource="http://Server:Port/ram/internal/categories/classif/general_asset_classes.1.xmi%23id_67987"/>
<dcterms:description>text test for RAm delivery AS</dcterms:description>
<oslc_asset:categorization rdf:resource="http://Server:Port/ram/internal/categories/classif/general_asset_classes.1.xmi%23id_11753"/>
<oslc_acc:accessControl rdf:resource="http://Server:Port/ram/acc/assets/3031"/>
<dcterms:abstract>text test for RAm delivery DT</dcterms:abstract>
<oslc:instanceShape rdf:resource="http://Server:Port/ram/internal/types/classif/assetTypesSchema.xmi%23business_analysis_model"/>
<oslc:serviceProvider rdf:resource="http://Server:Port/ram/oslc/assetServices"/>
<oslc_asset:state rdf:resource="http://Server:Port/ram/internal/states/com.ibm.ram.type.simpleAsset/simpleAssetWorkflow.state.submitted"/>
<rdf:type rdf:resource="http://open-services.net/ns/asset#Asset"/>
<ram_asset:community rdf:resource="http://Server:Port/ram/internal/communities/1045"/>
<oslc_asset:guid>CCE035E4-533D-FF35-B655-EEBF2C873EC5</oslc_asset:guid>
</rdf:Description>
|
</rdf:RDF>
The above response doesn’t contain the Rating information. Can anyone please let me know where in the schema is the Rating information and also what will be the OSLC query to get that information?
Regards,
Kiran