It's all about the answers!

Ask a question

Repository save notification


Weiping Lu (452810) | asked Feb 10 '09, 9:00 p.m.
JAZZ DEVELOPER
How can I obtain a notification when an item is saved to repository? Any place that I can add a listener object for such purpose?

Thanks,

Weiping

3 answers



permanent link
Simon Archer (2661) | answered Feb 11 '09, 10:48 a.m.
This is not possible. If you feel that this is something important, you
could file a feature request and make your case.

https://jazz.net/jazz/web/projects/Jazz%20Foundation#action=com.ibm.team.workitem.newWorkItem

permanent link
Weiping Lu (452810) | answered Feb 12 '09, 1:44 a.m.
JAZZ DEVELOPER
Thank you for the reply.

Is there any suggested work-around? The notification is only needed on the server side.

Here is the background information for this question:

Upon a client request, our REST service application fetches items from the repository, and does some processing based on the fetched data. The processed results are cached. For the same client request at a latter time, we would only want to fetch those items that have been modified in the repository, and do an incremental update on the processed results.

permanent link
Matt Lavin (2.7k2) | answered Feb 16 '09, 8:28 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
One option would be to build a query that represents "find items
modified after <date>". You could execute that query and fetch only
those results when needed. That should avoid the need for the save
notification.

-
Matt Lavin
Jazz Server Team


On Thu, 2009-02-12 at 06:47 +0000, wlu wrote:
Thank you for the reply.

Is there any suggested work-around? The notification is only needed on
the server side.

Here is the background information for this question:

Upon a client request, our REST service application fetches items from
the repository, and does some processing based on the fetched data.
The processed results are cached. For the same client request at a
latter time, we would only want to fetch those items that have been
modified in the repository, and do an incremental update on the
processed results.

Your answer


Register or to post your answer.