It's all about the answers!

Ask a question

Available categories and itemtypes for FeedService


Daan van der Munnik (29113127) | asked Mar 14 '08, 7:29 a.m.
While playing arround a bit with custom feeds (after reading the feedservice wiki), I am wondering where to find a list of available itemTypes and/or Categories.

For instance "com.ibm.team.scm.ChangeSet" in:

https://nlybstqvp4ms150:9443/jazz/service/com.ibm.team.repository.common.internal.IFeedService?itemType=com.ibm.team.scm.ChangeSet

I also noticed that it does not really matter what I enter for Category sine:

https://nlybstqvp4ms150:9443/jazz/service/com.ibm.team.repository.common.internal.IFeedService?Category=bla

always gives a feed with errors/info and warnings (which is nice)

thanks

Daan.

One answer



permanent link
Todd Lainhart (40611) | answered Apr 01 '08, 11:28 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
Category values are assigned by the component that creates the
ChangeEvent (from which a FeedEntry is derived). Because they are
component specific, there is no registry or catalog of these category types.

ItemTypes of course are more distinquished, and are available by
programmatically introspecting the database (see various tutorials for
more on item types).

Just to be clear, querying by only itemType won't be particularly
satisfying - you'll see minimal information of objects of that type, and
the details link typically yields an XML representation of that item's
properties. The more interesting feeds that you see in Rational Team
Concert are typically the result of some custom querying and/or
processing on the part of the provider of the feed.

-- Todd (Jazz Team)

dvdmunni wrote:
While playing arround a bit with custom feeds (after reading the
feedservice wiki), I am wondering where to find a list of available
itemTypes and/or Categories.

For instance "com.ibm.team.scm.ChangeSet" in:

https://nlybstqvp4ms150:9443/jazz/service/com.ibm.team.repository.common.internal.IFeedService?itemType=com.ibm.team.scm.ChangeSet

I also noticed that it does not really matter what I enter for
Category sine:

https://nlybstqvp4ms150:9443/jazz/service/com.ibm.team.repository.common.internal.IFeedService?Category=bla

always gives a feed with errors/info and warnings (which is nice)

thanks

Daan.

Your answer


Register or to post your answer.