Skip to Content.
Sympa Menu

perfsonar-user - [perfsonar-user] Add custom parameters on LSRegisterRequest message: is it possible?

Subject: perfSONAR User Q&A and Other Discussion

List archive

[perfsonar-user] Add custom parameters on LSRegisterRequest message: is it possible?


Chronological Thread 
  • From: Raphael Augusto Dourado <>
  • To:
  • Subject: [perfsonar-user] Add custom parameters on LSRegisterRequest message: is it possible?
  • Date: Thu, 24 Oct 2013 13:24:30 -0200

Hi!

I was wondering if it is possible to send some additional parameter inside a LSRegisterRequest message, and use them later as kind of "filter" when querying the LS.

For instance, let's say I send a RegisterRequest message with the metadata section as follows:

  <nmwg:metadata id="serviceLookupInfo">
    <perfsonar:subject id="commonParameters" xmlns:perfsonar="http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/">
      <psservice:service id="serviceParameters" xmlns:psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/">
        <psservice:serviceName>My_test_MA</psservice:serviceName>
        <psservice:accessPoint>http://localhost:8080/axis/services/snmpMA</psservice:accessPoint>
        <psservice:serviceType>MA</psservice:serviceType>
     
<psservice:serviceDescription>This is my testing MA</psservice:serviceDescription>
       <psservice:
myParam
>
myParamValue
</psservice:
myParam
>
      </psservice:service>
    </perfsonar:subject>
  </nmwg:metadata>

Will the LS Service accept and save the parameter "myParam" in the same way as with the other "default" parameters?
Can I use this parameter "myParam" in future queries to the LS (let's say, to filter the results)?

Best regards,

Raphael Augusto Dourado.



Archive powered by MHonArc 2.6.16.

Top of Page