Skip to Content.
Sympa Menu

perfsonar-dev - Re: LS RC2 Functional Testing Results

Subject: perfsonar development work

List archive

Re: LS RC2 Functional Testing Results


Chronological Thread 
  • From: Maciej Glowiak <>
  • To: Perfsonar Development List <>
  • Cc: Michael Michalis <>, Loukik Kudarimoti <>, Vedrin Jeliazkov <>, Roman Lapacz <>
  • Subject: Re: LS RC2 Functional Testing Results
  • Date: Wed, 21 Feb 2007 10:51:09 +0100
  • Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAQMAAABtzGvEAAAABlBMVEUAAAD///+l2Z/dAAAA CXBIWXMAAEU1AABFNQF8gVf5AAAAB3RJTUUH1QYQDjo6uEWvwgAAAM5JREFUGNNN0LFqAkEUheGj KRZsfATrvENgYyH4APabxwgWGUUQC99BsNDCInUq7VImbbDZ0kayxBXMuN7jvTuKVh//mZlmQKZ1 EhQ8GAVgZECspEBdWQHRjR70KlgFKkoUaCw3ijSYQ4n5HfBK4a4jDcdDQPol/80Sr9BxZOOL4Fmr Jq8VBx7eopaSPvWGOm67fqol3j1q0XNs7Nk2cs6MU6gPNzf+ZGKQX4Ek8H6rAnFZnXB2vJxJcv8g C2P+WzL4tD+Txc4KydrIkh+eAdo01QbjQ84vAAAAAElFTkSuQmCC
  • Organization: Poznan Supercomputing and Networking Center

Hi

The bug in LS was requested:

Michael Michalis wrote:
-Query Request

When a query returns no result the response should contain an empty datum element. In these cases the response contains just an empty data element.(e_2_1,e_2_2,e_2_3,e_4_7)


I think it's because (maybe the inconsistent) description of LS functionality.

There is an undefined behaviour of the LS. To be honest I have no idea what to do with it.

There are two different cases (in case of querying LS):

1) empty result
e.g. "give me description of MA service having "PSNC MA 1" name"
result - because description is empty we get just "" because there is
one such service with empty description

---------------------
<nmwg:data>
<nmwg:datum>
</nmwg:datum>
</nmwg:data>
---------------------

2) no result
e.g. "give me description of MA service having "PSNC MA 1" name"
result - no such services, so we get no datum element

---------------------
<nmwg:data>
</nmwg:data>
---------------------

In my opinion such distinction is important, but that's more the question to client apps developers.

I've already applied the fix (it's rather minor one) but commented it in code.

Best regards

Maciej

--

--------------------------------------------------------------------
| Maciej Glowiak Network Research and Development ||
|

Poznan Supercomputing and Networking Center ||
| (+48 61) 858 2024 -- skype_id: maciej_psnc GG: 4526858 ||
====================================================================


  • Re: LS RC2 Functional Testing Results, Maciej Glowiak, 02/21/2007

Archive powered by MHonArc 2.6.16.

Top of Page