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: "Michael Bischoff" <>
  • To: "Guilherme Fernandes" <>
  • Cc: "perfSONAR developers" <>
  • Subject: Re: [pS-dev] LS registation Multiply eventtypes
  • Date: Thu, 24 Jul 2008 15:37:25 +0200 (CEST)
  • Importance: Normal

Hello Guilherme,

Afaik I could tell your right, I like to stray away from the nmwg classes, so
I haven't
traced it down completely.
However as far as using parameters goes; according to the page that approach
is deprecated?

regards,
Michael.

> 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