Skip to Content.
Sympa Menu

perfsonar-dev - Re: hierarchy of URL eventTypes

Subject: perfsonar development work

List archive

Re: hierarchy of URL eventTypes


Chronological Thread 
  • From: Slawomir Trzaszczka <>
  • To:
  • Cc: Szymon Trocha <>, , "Jeff W. Boote" <>
  • Subject: Re: hierarchy of URL eventTypes
  • Date: Tue, 29 Sep 2009 11:08:20 +0200

Hi,

this is my proposition of the eventTypes (result codes) hierarchy.
This "pictures" describes only piece of the hierarchy.

I would like to present you 2 kinds of hierarchy :

1) EventTypes are grouped by TYPE OF SERVICE (see success branch)

http://perfsonar.net /
|
|----result/
|
|
|
|
|---success/
| |-- ls/
| | |
| | |-- register
| | |-- deregister
| |
| |-- ma/
| | |
| | |-- whatever1
| | |-- whatever2
| |
| |-- mp/
| | |
| | |-- whatever3
| | |-- whatever4
| |
| |-- echo
| |
| |-- ...
|
|--- error/
| |
| |--..
|


2) EventTypes are grouped by FUNCTIONALITY (not by service type)


http://perfsonar.net /
|
|----result/
|
|
|
|
|---success/
| |
| |-- register
| |-- deregister
| |-- echo
| |-- storage
| |-- other functionality
| |-- ...
|
|--- error/
| |
| |--..
|


We should make a decision which type 1 or 2 will be more useful for us.

What do you think about it ? Any advices and opinion will be helpful.


List of the EventTypes (result codes) which I've found is here :

https://wiki.man.poznan.pl/perfsonar-mdm/index.php/Result_code_hierarchy


Thanks,

Slawomir


On Fri, 2009-09-25 at 10:08 +0200, Slawomir Trzaszczka wrote:
> Hi all,
>
>
> I would like to ask you few questions about eventTypes format.
> Some times ago it was a discussion about eventTypes format. The common
> decision was URL format for eventTypes in requests and responses
> (example below)
>
> ----------------
> EXAMPLE
>
> echo for LookupService
>
> old version - dotted notation eventType
>
> <nmwg:metadata id="resultCodeMetadata">
> <nmwg:eventType>success.echo</nmwg:eventType>
> </nmwg:metadata>
>
> new version - URL notation
>
> <nmwg:metadata id="result-code">
> <nmwg:eventType>http://perfsonar.net/result/success/echo</nmwg:eventType>
> </nmwg:metadata>
>
> -----------------------------
>
> After discussion with Jason we decided that we have to define eventType
> hierarchy together. So What is your proposal of this hierarchy ?.
>
>
> I send you links with eventTypes hierarchy in old 'dotted' version and
> hierarchy of it in some services :
>
> examples of the eventTypes in services :
>
> https://wiki.man.poznan.pl/perfsonar-mdm/index.php/Result_code_hierarchy
>
> hierarchy tree of eventTypes :
>
> https://wiki.man.poznan.pl/perfsonar-mdm/index.php/Result_code_hierarchy
>
>
> I think that we should test our services, apis and check What kind of
> eventTypes do we use. In next release we would like to use only URL
> eventTypes.
>
>
> Every proposal for eventTypes hierarchy will be helpful.
>
>
> Regards,
> Slawomir
>
--
+--------------------------------------------+
Slawomir Trzaszczka

Poznan Supercomputing & Networking Center
+--------------------------------------------+




Archive powered by MHonArc 2.6.16.

Top of Page