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

From Gcube Wiki
Jump to: navigation, search
(Created page with "{| align="right" ||__TOC__ |} In this guide we describe how to install and configure Accounting Manager portlet(AM). == Overview == AM can be installed in different scopes....")
 
(Overview)
Line 14: Line 14:
 
* '''Scope ROOT''' will be enable Storage
 
* '''Scope ROOT''' will be enable Storage
 
* '''Scope VO''' will be enable Service
 
* '''Scope VO''' will be enable Service
* '''Scope VRE''' will be enabled Service and Job
+
* '''Scope VRE''' will be enabled Service
 
+
  
 
== Generic Resource ==
 
== Generic Resource ==

Revision as of 14:30, 7 November 2016

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

Overview

AM can be installed in different scopes. Depending on the scope, it can show different information enabling or not its tab. 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, the configuration will have to respect this conditions:

  • Scope ROOT will be enable Storage
  • Scope VO will be enable Service
  • Scope VRE will be enabled Service

Generic Resource

<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>
...