Difference between revisions of "Upload of new Software"

From Gcube Wiki
Jump to: navigation, search
(Created page with 'SoftwareUploadWizard (''SUW'') widget allows a Resource Management Portlet super user to create a new Service resource through a step-by-step wizard. =Software Upload Wizard= TO…')
 
(Managed Software Types)
Line 8: Line 8:
  
 
===Web Application===
 
===Web Application===
 +
A java application utilizing web browser technologies to accomplish one or more tasks over a network, through a web browser.<br/>
 +
Third party applications are supported.
 +
 +
 +
Wizard output:
 +
* Provided war archive registered on a maven repository as primary artifact.
 +
* Newly generated Service Archive registered on a maven repository as an artifact with classifier ''servicearchive''.
 +
* Newly createad Service Profile registered on the IS.
  
 
===Library===
 
===Library===
 +
A collection of reusable java software packages.<br/>
 +
Third party libraries are supported.
 +
 +
====Wizard input====
 +
* Third party selection [isThirdParty].
 +
* Service data: Service Name [serviceName], Service Description [serviceDescription], Service Version [serviceVersion - default 1.0.0].
 +
* If not third party software user enters Service Class [serviceClass].
 +
* Package data: package description [packageName], package description [packageDescription], package version [packageVersion].
 +
* Package files:
 +
** Jar archive: mandatory, more than one allowed
 +
** Install script: optional, more than one allowed
 +
** Uninstall script: optional, more than one allowed
 +
** Misc file: optional, more than one allowed
 +
 +
====Wizard output====
 +
* Jar archive registered on a maven repository as a primary artifact.
 +
** If multiple jars are provided by the user, these are repackaged into a single archive.
 +
* Newly generated Service Archive, containing all the provided jars, registered on a maven repository with classifier ''servicearchive''.
 +
* Newly createad Service Profile registered on the IS.
  
 
===AnySoftware===
 
===AnySoftware===
 +
TODO
  
 
===gCube Patch===
 
===gCube Patch===
 +
One or more bug fixes for a gCube component.
 +
 +
Wizard input:
 +
* User provided Patch archive ("tar.gz" archive): must include in the root directory a file named apply.sh and must not include on the root directory files names as the generated deliverables (README, INSTALL, etc.).
 +
 +
Wizard output:
 +
* A new tar.gz archive is generated including all the files provided with the user uploaded Patch archive, the generated deliverables (Service profile,README, INSTALL, etc.) and the service profile.
 +
* The generated tar.gz is uploaded on a maven repository with classifier ''servicearchive''.
  
 
===gCube Plugin===
 
===gCube Plugin===
 +
A gCube Plugin is a a set of software components that extends the functionalities of a gCube component.
  
 
===gCube WebService===
 
===gCube WebService===
  
 
===Software Registration===
 
===Software Registration===
 +
This Wizard allows the user to register on the Software Gateway any software that is currently uploaded on any infrastructure Maven repository by providing the maven coordinates of the artifact.
 +
 +
Wizard output:
 +
* Newly createad Service Profile registered on the IS.
  
 
==Deliverables creation rules==
 
==Deliverables creation rules==

Revision as of 11:33, 29 October 2012

SoftwareUploadWizard (SUW) widget allows a Resource Management Portlet super user to create a new Service resource through a step-by-step wizard.

Software Upload Wizard

TODO: Where SUW can be found in Resource Management Portlet and link to ResourceManagementPortlet user guide page

Managed Software Types

SUW currently manages 6 defined software types and 1 special use case.

Web Application

A java application utilizing web browser technologies to accomplish one or more tasks over a network, through a web browser.
Third party applications are supported.


Wizard output:

  • Provided war archive registered on a maven repository as primary artifact.
  • Newly generated Service Archive registered on a maven repository as an artifact with classifier servicearchive.
  • Newly createad Service Profile registered on the IS.

Library

A collection of reusable java software packages.
Third party libraries are supported.

Wizard input

  • Third party selection [isThirdParty].
  • Service data: Service Name [serviceName], Service Description [serviceDescription], Service Version [serviceVersion - default 1.0.0].
  • If not third party software user enters Service Class [serviceClass].
  • Package data: package description [packageName], package description [packageDescription], package version [packageVersion].
  • Package files:
    • Jar archive: mandatory, more than one allowed
    • Install script: optional, more than one allowed
    • Uninstall script: optional, more than one allowed
    • Misc file: optional, more than one allowed

Wizard output

  • Jar archive registered on a maven repository as a primary artifact.
    • If multiple jars are provided by the user, these are repackaged into a single archive.
  • Newly generated Service Archive, containing all the provided jars, registered on a maven repository with classifier servicearchive.
  • Newly createad Service Profile registered on the IS.

AnySoftware

TODO

gCube Patch

One or more bug fixes for a gCube component.

Wizard input:

  • User provided Patch archive ("tar.gz" archive): must include in the root directory a file named apply.sh and must not include on the root directory files names as the generated deliverables (README, INSTALL, etc.).

Wizard output:

  • A new tar.gz archive is generated including all the files provided with the user uploaded Patch archive, the generated deliverables (Service profile,README, INSTALL, etc.) and the service profile.
  • The generated tar.gz is uploaded on a maven repository with classifier servicearchive.

gCube Plugin

A gCube Plugin is a a set of software components that extends the functionalities of a gCube component.

gCube WebService

Software Registration

This Wizard allows the user to register on the Software Gateway any software that is currently uploaded on any infrastructure Maven repository by providing the maven coordinates of the artifact.

Wizard output:

  • Newly createad Service Profile registered on the IS.

Deliverables creation rules

Web Application

Service Profile

pom.xml

Library

Service Profile

pom.xml

AnySoftware

Service Profile

pom.xml

gCube Patch

Service Profile

pom.xml

gCube Plugin

Service Profile

pom.xml

gCube WebService

Service Profile

pom.xml

Software Registration

Service Profile

pom.xml

TODO: Rules applied for the generation of the Service Profile and pom.xml files