Statistical Algorithms Importer: How to install and configure

From Gcube Wiki
Jump to: navigation, search

In this guide we describe how to install and configure Statistical Algorithms Importer portlet(SAI).

Overview

SAI can be installed in different scopes. In this scopes a resource must be installed if SAI uses DMPoolMnanager for automatic installation in that scope, and it must set:

      <poolmanager>
          <enable>true</enable>
      </poolmanager>

In anyway, without a resource in the scope, the SAI has a default behavior that does not expect the presence of the DMPoolManager.

Generic Resource

This is an example of default configuration without DMPoolManager:

<Resource version="0.4.x">
 
   <ID>5aab3e1f-2ad0-4180-970c-0d9cfec736d1</ID>
 
   <Type>GenericResource</Type>
 
   <Scopes>
 
      <Scope>/gcube/devNext/NextNext</Scope>
 
      <Scope>/gcube/devNext</Scope>
 
      <Scope>/gcube</Scope>
 
   </Scopes>
 
   <Profile>
 
      <SecondaryType>SAI</SecondaryType>
 
      <Name>SAIProfile</Name>
 
      <Description>Statistical Algorithms Importer(SAI) Profile for scope</Description>
 
      <Body>
 
         <saidescriptor>
 
            <poolmanager>
 
               <enable>false</enable>
 
            </poolmanager>
 
            <remotetemplatefile>http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-analysis/RConfiguration/RD4SFunctions/SAITemplateForExternalInvocation.R</remotetemplatefile>
 
            <availableprojectconfiguration>
 
               <language>R</language>
 
               <support>REdit</support>
 
            </availableprojectconfiguration>
 
            <availableprojectconfiguration>
 
               <language>R-blackbox</language>
 
               <support>BlackBox</support>
 
            </availableprojectconfiguration>
 
            <availableprojectconfiguration>
 
               <language>Java</language>
 
               <support>BlackBox</support>
 
            </availableprojectconfiguration>
 
            <availableprojectconfiguration>
 
               <language>Knime-Workflow</language>
 
               <support>BlackBox</support>
 
            </availableprojectconfiguration>
           
            <availableprojectconfiguration> 
        
               <language>Knime-Workflow4.1</language>

               <support>BlackBox</support>

            </availableprojectconfiguration>
            
            <availableprojectconfiguration>
 
               <language>Linux-compiled</language>
 
               <support>BlackBox</support>
 
            </availableprojectconfiguration>
 
            <availableprojectconfiguration>
 
               <language>Octave</language>
 
               <support>BlackBox</support>
 
            </availableprojectconfiguration>
 
            <availableprojectconfiguration>
 
               <language>Python</language>
 
               <support>BlackBox</support>
 
            </availableprojectconfiguration>
 
            <availableprojectconfiguration>
 
               <language>Windows-compiled</language>
 
               <support>BlackBox</support>
 
            </availableprojectconfiguration>
 
            <availableprojectconfiguration>
 
               <language>Pre-Installed</language>
 
               <support>BashEdit</support>
 
            </availableprojectconfiguration>
 
         </saidescriptor>
 
      </Body>
 
   </Profile>
 
</Resource>