It's all about the answers!

Ask a question

how to specifiy the query parameters for feed query


Hehui Liu (7052830) | asked Aug 06 '09, 2:38 a.m.
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



permanent link
Work Item & UI Commons Team (1.3k1) | answered Aug 06 '09, 4:07 a.m.
seekdream wrote:
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

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.