Jump to: navigation, search

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

(Created page with "=Composing application package manual= Murano is Application catalog that supports types of applications. To deploy an application with the Murano This document intends to ma...")
 
Line 3: Line 3:
 
This document intends to make composing application packages easily.
 
This document intends to make composing application packages easily.
  
==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.
 
This could be any type of scripts. This script should execute commands and install application components as the result.
 +
Create resource templates
 +
FormatVersion: 2.0.0
 +
Version: 1.0.0
 +
Name: Deploy Telnet
 +
Parameters:
 +
  appName: $appName
  
==Step2. Prepare MuranoPL class definitions==
+
  Body: |
MuranoPL classes control application deployment workflow execution. Full information about MuranoPL classes can be found [https://wiki.openstack.org/wiki/Murano/DSL/Blueprint#Common_class_structure here].
+
  return deploy(args.appName).stdout
  
==Step3.  Prepare installation scripts==
+
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 [https://wiki.openstack.org/wiki/Murano/DSL/Blueprint#Common_class_structure here].
 +
 
 +
===Step3.  Prepare installation scripts===

Revision as of 12:46, 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

This could be any type of scripts. This script should execute commands and install application components as the result. 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