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 Any idea why some of my JTS return HTML on the postMessage call ?
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 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.
@James: in which source do I find this?
|
![]() 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.
Your a wizard!! It works. Great. I will post my code soon. 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?
Would be nice to have this perl script when you get to it.
I have successfully managed to get the server message displayed (using a combination of the code from @schneidg
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
|