Where can I find more documentation about the new "Server alert messages" REST service?
In the Rational Team Concert 4.0.1, New and Noteworthy document is a new functionality described:
Where can I find more documentation about this REST service? Idealy with an example. Best would be with and example written with the perl REST functionality you also implemented for administration.
|
4 answers
Because I do not know how to upload scripts to jazz.net for sharing with others, I have attached my perl script test example and my Javascript test example to the Enhancement request in Jazz.Net. Both shows you how to connect to Jazz, list actual server messages, create new messages or delete an existing message. The perl script is embedded in a cmd file. You need to adapt the path to the perl interpreter at the beginning of the file. Maybe you need also som additional moduls for perl. The Javascript is embedded in a small HTML Userinterface. It's more or less a translation of the perl script. Some stuff is just hardcoded, but for understanding the user interface it is sufficient
Comments
Kevin Ramer
commented May 30 '13, 10:06 a.m.
Any idea why some of my JTS return HTML on the postMessage call ?
Kevin Ramer
commented May 30 '13, 2:30 p.m.
Ok, this might relate to https://jazz.net/library/article/1086/. The jts that do work are deployed under WebSphere, the others, tomcat.
|
We've been holding off creating a Wiki document until the UI for creating server messages has been created.
For now, the REST interface is described in a Javadoc in the source code.... com.ibm.team.repository.service/servermsg/com/ibm/team/repository/service/servermsg/package.html Comments
Guido Schneider
commented Dec 05 '12, 10:42 a.m.
Thank you. Have you an idea when this UI will be available and what is the capability of it? Do you have a plan item or story where it is described? I thought I will make an external application based on the REST API to manage this. But if you have planned to bring this in a reasonable time, I would spend my time for others. regards Guido The UI is currently targeted for v4.0.2. However, the items for 4.0.2 are currently in flux, so it may or may not make it into the release. It's work item 235343.
Guido Schneider
commented Dec 11 '12, 9:38 a.m.
@James: in which source do I find this?
Guido Schneider
commented Dec 27 '12, 1:02 p.m.
|
I wrote a perl script which creates server messages according the javadoc. Unfortunatly the message is not displayed on the WEB-UI nor it is recognized as an active message. I'm running V.4.0.1 of jts and rtc. Here what I do: Step 1) Post a new message:
Step 3) get active messages only
Any idea what I'm missing to activate the message, so it is displayed like described in the release notes of V.4.0.1? If it works, I will provide my perl script here for other to use. Comments The times should be in milliseconds. Try multiplying the times x1000.
Guido Schneider
commented Dec 27 '12, 1:31 p.m.
Your a wizard!! It works. Great. I will post my code soon.
Guido Schneider
commented Dec 27 '12, 1:39 p.m.
One additional question: why is the message about an expired client access license not listed in the get response and why can this message not be deleted?
Kevin Ramer
commented Jan 10 '13, 9:05 a.m.
Would be nice to have this perl script when you get to it.
Sudheer Rugbeer
commented Mar 01 '13, 8:29 a.m.
I have successfully managed to get the server message displayed (using a combination of the code from @schneidg
and the Firefox REST client to do the actual POST). The message appears on all the application pages except for Requirements Management (/rm). Has anyone else also experienced this?
Matthias Lückl
commented Aug 12 '13, 11:04 a.m.
We have recently updated to Jazz RTC version 4.0.3. Until now we were using a self created application for handling the alerts, with the use of REST-Calls.
showing 5 of 6
show 1 more comments
|
It should be in the Jazz Foundation source...https://jazz.net/downloads/jazz-foundation/releases/4.0.1/com.ibm.team.foundation.feature.sdk-4.0.1.zip
|
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.