how to specifiy the query parameters for feed query
I have developed an application based on team concert, and I want to leverage the feed service in RTC to inform the client when some changes have been happened in my server side. Now I have added the change event creation codes in my codes. But in this case, when I visit the http://localhost:9080/jazz/events, I will get all the event notification from server side, what I want is only the change event added by me. In this case, how could specify the query parameter to make it only query out the change events added by me. More further, could I specify an URL to get my change events instead of using the default URL: http://localhost:9080/jazz/events. Thank you.
One answer
seekdream wrote:
I suggest, you contribute to the
com.ibm.team.repository.service.feedItemQuery extension point which
allows to provide a provider that returns feed items based on your need.
You can find examples for this by looking at subclasses of IFeedItemQuery.
--
Benjamin Pasero
Work Item & UI Commons Team
I have developed an application based on team concert, and I want to
leverage the feed service in RTC to inform the client when some
changes have been happened in my server side. Now I have added the
change event creation codes in my codes. But in this case, when I
visit the http://localhost:9080/jazz/events, I will get all the event
notification from server side, what I want is only the change event
added by me. In this case, how could specify the query parameter to
make it only query out the change events added by me. More further,
could I specify an URL to get my change events instead of using the
default URL: http://localhost:9080/jazz/events. Thank you.
I suggest, you contribute to the
com.ibm.team.repository.service.feedItemQuery extension point which
allows to provide a provider that returns feed items based on your need.
You can find examples for this by looking at subclasses of IFeedItemQuery.
--
Benjamin Pasero
Work Item & UI Commons Team