Changes from Version 1 of adeiNewService

Show
Ignore:
Author:
csa (IP: 141.52.232.84)
Timestamp:
07/16/09 14:59:58 (15 years ago)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • adeiNewService

    v0 v1  
     1Services are the small applications providing information to the client applications. In most common case the service extracts information using ADEI API and encodes it in XML before sending to the user. 
     2 
     3The services should be created in ''services/'' subdirectory. It is wise to not populate a lot of standalone services allocating new one for each task, but group related tasks in the one service. The ''target'' property should be used to reference the task to be performed. 
     4 
     5For example, the ''list'' service is used to provide list of data sources, logging groups, control groups, items, etc. The following request is returning list of servers 
     6{{{ 
     7http://adei_server.net/adei/services/list.php?target=servers 
     8}}} 
     9while this on the list of supported export formats: 
     10{{{ 
     11http://adei_server.net/adei/services/list.php?target=formats 
     12}}} 
     13 
     14Basically, the services should interpret standard parameters described in [wiki:adeiDG Web Developers Guide] (to select requested intervals, data sources, etc.) and generate requested output. 
     15