Skip to Content.
Sympa Menu

perfsonar-dev - Re: [pS-dev] Add geant2-java-rrdma to psUI

Subject: perfsonar development work

List archive

Re: [pS-dev] Add geant2-java-rrdma to psUI


Chronological Thread 
  • From: Jason Zurawski <>
  • To: Maciej Glowiak <>
  • Cc: Szymon Trocha <>, "" <>
  • Subject: Re: [pS-dev] Add geant2-java-rrdma to psUI
  • Date: Thu, 12 Mar 2009 12:28:29 -0400
  • Organization: Internet2

Maciej;

Hi Jason,

Jason Zurawski wrote:
All;

The second bug is in the Java hLS:

Because the eventType parameters are used (and only one eventType could ever be present) I am seeing this being registered into the gLS from the Java hLSs:

<nmwg:data>
<nmwg:metadata>
<summary:subject>

<nmtb:domain />

<nmtl3:network />

</summary:subject>
<summary:parameters>
<nmwg:parameter name="eventType" />
</summary:parameters>

<nmwg:eventType>http://ggf.org/ns/nmwg/tools/org/perfsonar/service/lookup/summarization/2.0</nmwg:eventType>
</nmwg:metadata>
</nmwg:data>

The summarization eventType here is unexpected - there should only be 'data' eventTypes in this space (e.g. utilization, errors) and this was causing the Discovery code to ignore them.

> Maciej: Just removing the eventType from this message will work for me
> when you are able to support multiple eventTypes it can return.

Hmm, I will check it. I think java LS does support multiple event Types as well as multiple parameters with the same name (name="eventType"). For compatibility I was using both.

For sure the new version of the service I am working on now supports it, but it'll not be production one until the end of GN2, so I'll update the current "stable" java LS 1.3.

I don't remember where was the example of summary registration I was basing on. Can you send the correct request and response that I should use? I'll check then where to modify my code.


Example here:

http://anonsvn.internet2.edu/svn/nmwg/trunk/nmwg/doc/dLS/gLS/phase_1_color.html#appendix_summary

-jason



Archive powered by MHonArc 2.6.16.

Top of Page