Difference between revisions of "Accounting Portlet: How to install and configure"

From Gcube Wiki
Jump to: navigation, search
(Generic Resource)
(Generic Resource)
Line 75: Line 75:
 
...             
 
...             
 
   <name>Job</name>
 
   <name>Job</name>
 +
...
 +
  <name>Space</name>
 
...
 
...
 
</pre>
 
</pre>

Revision as of 14:32, 22 June 2017

In this guide we describe how to install and configure Accounting Manager portlet(AM).

Overview

AM can be installed in different scopes and, depending on the desired information, various kinds of tabs can be enabled at installation time. The tabs contain information about the Storage, Service and Job. To show the information that you want, simply add a generic resource with the choices made.

Generally, except in special cases, the configuration has to respect this conditions:

  • Scope ROOT enables Storage
  • Scope VO enables Service
  • Scope VRE enables Service

Generic Resource

This is an example of configuration in which Services and Job are enable:

<Resource version="0.4.x">
    
   <ID>39bb33cb-08c3-4ab3-bf86-583dc0839dd3</ID>
    
   <Type>GenericResource</Type>
    
   <Scopes>
        
      <Scope>/gcube/devNext/NextNext</Scope>
    
   </Scopes>
    
   <Profile>
        
      <SecondaryType>AccountingProfile</SecondaryType>
        
      <Name>AccountingManager</Name>
        
      <Description>Accounting Manager portlet for this scope</Description>
        
      <Body>
            
         <enabletabs>
                
            <enabletab>
                    
               <name>Service</name>
                
            </enabletab>
                
            <enabletab>
                    
               <name>Job</name>
                
            </enabletab>
            
         </enabletabs>
        
      </Body>
    
   </Profile>

</Resource>


Possible values are:

...
  <name>Storage</name>
...
  <name>Service</name>
...            
  <name>Job</name>
...
  <name>Space</name>
...