Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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

 

1 vote



One answer

Permanent link
 Hi Kiran,
    Now RAM implemented oslc asset mangemant spec ver2.0 which does not include rating information. RAM also does not extend this spec to inclde rating info. If this comes from client's requirement, we would like to have a rfe.

    One could use RAM JAVA API to retrieve rating information, RAMAssetRatings.getRating()
For more info:
http://www-01.ibm.com/support/knowledgecenter/SSUS84_7.5.2/com.ibm.ram.doc/topics/r_api_rateanasset.html

Lin

0 votes

Comments

Will the ReST API always get second grade support in IBM?

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,938

Question asked: Mar 31 '14, 1:42 a.m.

Question was seen: 4,769 times

Last updated: Apr 01 '14, 4:03 a.m.

Confirmation Cancel Confirm