Skip to Content.
Sympa Menu

perfsonar-dev - Re: [pS-dev] LS registation Multiply eventtypes

Subject: perfsonar development work

List archive

Re: [pS-dev] LS registation Multiply eventtypes


Chronological Thread 
  • From: Guilherme Fernandes <>
  • To: Michael Bischoff <>
  • Cc: perfSONAR developers <>
  • Subject: Re: [pS-dev] LS registation Multiply eventtypes
  • Date: Thu, 24 Jul 2008 15:18:07 +0200
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=EcLucnEAmv0B6qD1abFP1HJ+7Cae2+YFVXIbjM087eeTBi6bSFNi580h7lykMRH7Hd HEphtrjv2CyOxCkFf9x5jmqvB6zg1HNkDhSnw9biTvpkRMWteLvKVbcJR/bF+WL+QcpL SQImxqoiqT8/tzsp58VbFXpALqPnRNYVpm3Ig=

Michael Bischoff wrote:
Hello all,

Hi,
We have issues with registering to the LS.

We use a InformationContextServiceContent and
InformationContextServiceContent#getServiceContent returns an array with one
element: a
String containing

<nmwg:metadata ...>
<..:subject>
...
</..:subject>
<eventType> .. </eventType>
<eventType> .. </eventType>
<eventType> .. </eventType>
</nmwg:metadata>

I checked it in the debugger that it returns the right string.

the arrays gets passed around and is called by
LSRegisterRequestGenerator#generateRequestMessage() where it is pushed into
nmwg classes in
some awkward way and the information is lost. Looking at the metadata nmwg
class it seems it
can only hold one eventType. (but not one shows up unless I put it in a
speparate metadata
block.)

Or format is similar(minus parameters) to example one here:
http://wiki.perfsonar.net/jra1-wiki/index.php/LS_Registration_messages
(Which is the current spec right now, right?)

Since I hardly think we are the only with a service that supports more then
one eventype and
I wonder how other services got this to work, anyone who can elaborate on
this?

Multiple eventTypes are not supported in the current base.AFAIK, MA's, which I think that right now are the only one's registering multiple eventTypes, use the supportedEventType parameter to register multiple eventType.

regards,
Guilherme
regards,

Michael





Archive powered by MHonArc 2.6.16.

Top of Page