It's all about the answers!

Ask a question

ccm rootservices document does not contain version info


Lars Ohlén (2566) | asked Sep 17 '12, 6:09 a.m.
Why does the rootservices document for RTC (e.g. /ccm) not contain the application version info?

Both RRC (/rm) and RQM (/qm) have the version info in their rootservices document, so it seems logical that RTC should do the same.

Using RTC v 4.0 


Accepted answer


permanent link
John Vasta (2.6k15) | answered Sep 17 '12, 2:29 p.m.
FORUM MODERATOR / JAZZ DEVELOPER
Applications are expected to provide version information in their /application-about resource. For example, this is returned by one of our CCM applications:

<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:jfs="http://jazz.net/xmlns/prod/jazz/jfs/1.0/"
   xmlns:dcterms="http://purl.org/dc/terms/"
   xmlns:oslc="http://open-services.net/ns/core#">
<oslc:Publisher  rdf:about="https://jazz.net/jazz/application-about">
  <dcterms:title>Change and Configuration Management</dcterms:title>
  <dcterms:description>Provides capabilities for change management, planning, software configuration management, automation (build system), and extensions for IBM enterprise platforms development.</dcterms:description>
  <dcterms:identifier>http://jazz.net/application/ccm</dcterms:identifier>
  <jfs:version>4.0.1 M3</jfs:version>
  <oslc:icon rdf:resource="https://jazz.net/jazz/web/com.ibm.team.rtc.web/ui/graphics/UICustomizations/RTC_16.png"/>
	
  <jfs:instanceName>Jazz</jfs:instanceName>
  </oslc:Publisher >
</rdf:RDF>
	
The version information in the RRC and RQM rootservices resources is application-specific (i.e. uses unique XML namespaces), while the application-about information format is consistent across applications. It is the source of the version information that you see in the CLM administration web UIs.

Note that the location of an application's "about" service can be obtained from its rootservices resource as the value of the oslc:publisher property.
Lars Ohlén selected this answer as the correct answer

Comments
Lars Ohlén commented Sep 25 '12, 9:55 a.m.

I'm just a big fan of things that are consistent.

Your answer


Register or 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.