Statistical Algorithms Importer: Publish Algorithms

From Gcube Wiki
Revision as of 15:10, 15 February 2016 by Gianpaolo.coro (Talk | contribs) (Publishing an algorithm)

Jump to: navigation, search

This page explains how to publish algorithms created using the Statistical Algorithms Importer (SAI).

Publishing an algorithm

Publishing an algorithm means making it available as-a-Service on the e-Infrastructure, for some Virtual Research Environment (VRE). In turn, this requires the algorithm to undergo a coherence check with respect to the rest of the infrastructure and be shipped on the Statistical Manager machines. Only the JAR file will be deployed on the machines, leaving the scripts on the private Workspace of the user. This mechanism saves policy requirements of those users who do not want to share their code. Only the compiled Java code will be deployed on the Statistical Manager machines (inside the JAR file), thus the e-Infrastructure staff will not be able to get the scripts code. The compiled Java file contains a link to a Workspace location, accessible only via authentication (owned only by the Statistical Manager service). The service will download the scripts and resources on-the-fly, execute the main script and later delete everything.

The software publication can be run by pressing the Publish button. At this point, a link to the JAR file and to the algorithm metadata will be sent via e-mail to the e-Infrastructure managers. Once the algorithm has been deployed, the manager will alert the user via the e-Infrastructure messaging system.