Jump to: navigation, search

Difference between revisions of "Murano/Documentation/How to create application package"

Line 4: Line 4:
  
 
===Step1.  Prepare installation scripts===
 
===Step1.  Prepare installation scripts===
This could be any type of scripts. This script should execute commands and install application components as the result.
+
It could be any type of scripts which will execute commands and install application components as the result. One of the scripts should be an  entry point and should be specified in a resource template file. Besides 'Entry point' following values should be specified:
Create resource templates
+
Create resource templates
 
  FormatVersion: 2.0.0
 
  FormatVersion: 2.0.0
 
  Version: 1.0.0
 
  Version: 1.0.0
Line 11: Line 11:
 
  Parameters:
 
  Parameters:
 
   appName: $appName
 
   appName: $appName
 
+
 
  Body: |
 
  Body: |
 
   return deploy(args.appName).stdout
 
   return deploy(args.appName).stdout
 
+
 
  Scripts:
 
  Scripts:
 
   deploy:
 
   deploy:

Revision as of 13:10, 11 April 2014

Composing application package manual

Murano is Application catalog that supports types of applications. To deploy an application with the Murano This document intends to make composing application packages easily.

Step1. Prepare installation scripts

It could be any type of scripts which will execute commands and install application components as the result. One of the scripts should be an entry point and should be specified in a resource template file. Besides 'Entry point' following values should be specified:

Create resource templates
FormatVersion: 2.0.0
Version: 1.0.0
Name: Deploy Telnet
Parameters:
 appName: $appName

Body: |
 return deploy(args.appName).stdout

Scripts:
 deploy:
   Type: Application
   Version: 1.0.0
   EntryPoint: deployTelnet.sh
   Files:
     - <installer.sh>
     - <common.sh>
   Options:
     captureStdout: true
     captureStderr: false

Step2. Prepare MuranoPL class definitions

MuranoPL classes control application deployment workflow execution. Full information about MuranoPL classes can be found here.

Step3. Prepare installation scripts