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

From Gcube Wiki
Jump to: navigation, search
(Overview)
(Generic Resource)
 
(18 intermediate revisions by 2 users not shown)
Line 3: Line 3:
 
|}
 
|}
  
In this guide we describe how to install and configure Accounting Manager portlet(AM).
+
In this guide we describe how to install and configure [[Accounting Portlet|Accounting Manager portlet]].
  
 
== Overview ==
 
== Overview ==
AM can be installed in different scopes. Depending on the scope, it can show different information enabling or not its tab.
+
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.
+
The tabs contain information about the Service, Job, Storage and Space.
To show the information that you want, simply add a generic resource with the choices made.
+
If no resource is present in the scope, the portlet shows the Service, Storage and Job tabs. 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:
+
The order of the choices represents the order of the tabs.
 
+
* '''Scope ROOT''' will be enable Storage
+
* '''Scope VO''' will be enable Service
+
* '''Scope VRE''' will be enabled Service
+
  
 
== Generic Resource ==
 
== Generic Resource ==
 +
This is an example of configuration in which Services, Storage and Job are enable:
 +
 
<pre>
 
<pre>
 
<Resource version="0.4.x">
 
<Resource version="0.4.x">
Line 47: Line 45:
 
                  
 
                  
 
             </enabletab>
 
             </enabletab>
 +
 +
            <enabletab>
 +
                   
 +
              <name>Storage</name>
 
                  
 
                  
 +
            </enabletab>
 +
 
             <enabletab>
 
             <enabletab>
 
                      
 
                      
Line 73: Line 77:
 
...             
 
...             
 
   <name>Job</name>
 
   <name>Job</name>
 +
...
 +
  <name>Space</name>
 
...
 
...
 
</pre>
 
</pre>
Line 87: Line 93:
  
  
[[Category:Accounting Manager]]
+
[[Category:Accounting Portlet]]

Latest revision as of 12:55, 30 November 2021

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

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 Service, Job, Storage and Space. If no resource is present in the scope, the portlet shows the Service, Storage and Job tabs. To show the information that you want, simply add a generic resource with the choices made.

The order of the choices represents the order of the tabs.

Generic Resource

This is an example of configuration in which Services, Storage 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>Storage</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>
...