Project

General

Profile

Bug #3882

Updated by Reynaud Sylvain over 12 years ago


 <pre> 
 Conf : 

 <config xmlns="http://software.in2p3.fr/lavoisier/config.xsd"> 
     <view name="algo_test"> 
         <info> 
             <category>AR_Algo</category> 
         </info> 
         <connector type="FileConnector"> 
             <parameter id="path">../modules/vo_ar/algo/input.xml</parameter> 
         </connector> 
         <processor type="AppendAggregateProcessor"> 
             <parameter id="nodes">//entity</parameter> 
             <parameter id="node_name">metrics_count</parameter> 
             <parameter id="node_values">entity</parameter> 
             <parameter id="function">count</parameter> 
         </processor> 
     </view> 
 </config> 
 </pre> 

 Fichier input.xml 
 <pre> 
 <entity type="vo" id="atlas"> 
     <entity type="time" id="123456123"> 
         <entity type="endpoint_group" id="CE"> 
             <entity type="endpoint" id="hostname" ar="" re=""/> 
             <entity type="endpoint" id="hostname" ar="" re=""/> 
             <entity type="endpoint" id="hostname" ar="" re=""/> 
             <entity type="endpoint" id="hostname" ar="" re=""/> 
             <entity type="endpoint" id="hostname" ar="" re=""/> 
             <entity type="endpoint" id="hostname" ar="" re=""/> 
         </entity> 
         <entity type="endpoint_group" id="SE"> 
             <entity type="endpoint" id="hostname" ar="" re=""/> 
             <entity type="endpoint" id="hostname" ar="" re=""/> 
             <entity type="endpoint" id="hostname" ar="" re=""/> 
             <entity type="endpoint" id="hostname" ar="" re=""/> 
             <entity type="endpoint" id="hostname" ar="" re=""/> 
             <entity type="endpoint" id="hostname" ar="" re=""/> 
         </entity> 
     </entity> 
     <entity type="time" id="123456123"> 
         <entity type="endpoint_group" id="CE"> 
             <entity type="endpoint" id="hostname" ar="" re=""/> 
             <entity type="endpoint" id="hostname" ar="" re=""/> 
             <entity type="endpoint" id="hostname" ar="" re=""/> 
             <entity type="endpoint" id="hostname" ar="" re=""/> 
             <entity type="endpoint" id="hostname" ar="" re=""/> 
             <entity type="endpoint" id="hostname" ar="" re=""/> 
         </entity> 
         <entity type="endpoint_group" id="SE" ar="" re=""> 
             <entity type="endpoint" id="hostname" ar="" re=""/> 
             <entity type="endpoint" id="hostname" ar="" re=""/> 
             <entity type="endpoint" id="hostname" ar="" re=""/> 
             <entity type="endpoint" id="hostname" ar="" re=""/> 
             <entity type="endpoint" id="hostname" ar="" re=""/> 
             <entity type="endpoint" id="hostname" ar="" re=""/> 
         </entity> 
     </entity> 
 </entity> 
 </pre> 

Back