The applicationDeploy Method

Deploy a new application to the server or cluster. This process is asynchronous, meaning the initial request will wait until the application is uploaded and verified, and the initial response will show information about the application being deployed. However, the staging and activation process will proceed after the response is returned. You must continue checking the application status using the applicationGetStatus method until the deployment process is complete.

license New BSD License
link for the canonical source repository
author Ingo Walz
category Zend
package Zend_Service
subpackage ZendServerAPI

 Methods

Base constructor for the method implementations

__construct() 
Inherited
inherited_from \ZendService\ZendServerAPI\Method\Method::__construct()

Returns the parameter array for index $index

buildParameterArray(string $index, array $values) : string
Inherited
inherited_from \ZendService\ZendServerAPI\Method\Method::buildParameterArray()

Parameters

$index

string

$values

array

Returns

string

Configure the action.

configure() : void

Method, Path and Adapter

see \ZendService\ZendServerAPI\Method::configure()

Returns the default accept header

getAcceptHeader() : string
Inherited
inherited_from \ZendService\ZendServerAPI\Method\Method::getAcceptHeader()

Returns

string

Get the application's package name

getAppPackage() : string

Returns

string

Get the application's baseurl

getBaseUrl() : string

Returns

string

Get the content for post requests

getContent() : string

Returns

string

Get the content type for this action

getContentType() : string

Get an array of post field key/value pairs

getContentValues() : array

Returns

array

Create VHost based on baseurl

getCreateVhost() : bool

Returns

bool

Deploy application on the default server

getDefaultServer() : string

Returns

string

Getter for the path to server method

getFunctionPath() : string
Inherited
inherited_from \ZendService\ZendServerAPI\Method\Method::getFunctionPath()

Returns

string

Ignore failures

getIgnoreFailures() : bool

Returns

bool

Get method for the api call

getMethod() : string
Inherited
inherited_from \ZendService\ZendServerAPI\Method\Method::getMethod()

Returns

string

Get class for result mapping

getParser() : \ZendService\ZendServerAPI\Adapter\Adapter
Inherited
inherited_from \ZendService\ZendServerAPI\Method\Method::getParser()

Returns

Add post files for this action

getPostFiles() : array

Get the user's application name

getUserAppName() : string

Returns

string

Get the user params

getUserParams() : array

Returns

array

Get result from parser

parseResponse(string $xml) : \ZendService\ZendServerAPI\Method\DataTypes\DataType
Inherited
inherited_from \ZendService\ZendServerAPI\Method\Method::parseResponse()

Parameters

$xml

string

Returns

\ZendService\ZendServerAPI\Method\DataTypes\DataType

Set the application package

setAppPackage(string $appPackage) : void

Parameters

$appPackage

string

Set arguments for 'ApplicationDeploy'

setArgs(string $appPackage, string $baseUrl, boolean $createVhost, boolean $defaultServer, string $userAppName, boolean $ignoreFailure, array $userParams) 

Parameters

$appPackage

string

$baseUrl

string

$createVhost

boolean

$defaultServer

boolean

$userAppName

string

$ignoreFailure

boolean

$userParams

array

Set the application's baseurl

setBaseUrl(string $baseUrl) : void

Parameters

$baseUrl

string

Create VHost based on the baseurl

setCreateVhost(bool $createVhost) : void

Parameters

$createVhost

bool

Deploy the application to the default server

setDefaultServer(boolean $defaultServer) : void

Parameters

$defaultServer

boolean

Setter for the function path

setFunctionPath(string $functionPath) : void
Inherited
inherited_from \ZendService\ZendServerAPI\Method\Method::setFunctionPath()

Parameters

$functionPath

string

e.g. /ZendServerManager/Api/Foo

Ignore failures

setIgnoreFailures(bool $ignoreFailures) : void

Parameters

$ignoreFailures

bool

Set method for the api call

setMethod(string $method) 
Inherited
inherited_from \ZendService\ZendServerAPI\Method\Method::setMethod()

Parameters

$method

string

GET|POST

Set the implementation for the result mapping

setParser(\ZendService\ZendServerAPI\Adapter\Adapter $parser) : void
Inherited
inherited_from \ZendService\ZendServerAPI\Method\Method::setParser()

Parameters

$parser

\ZendService\ZendServerAPI\Adapter\Adapter

for result mapping

Set the Zend HTTP Response

setResponse(\Zend\Http\Response $response) : void
Inherited
inherited_from \ZendService\ZendServerAPI\Method\Method::setResponse()

Parameters

$response

\Zend\Http\Response

Set the user's application name

setUserAppName(string $userAppName) : void

Parameters

$userAppName

string

Set the user params for the application (key/value pairs)

setUserParams(array $userParams) : void

Parameters

$userParams

array

 Properties

 

$appPackage : string
 

$baseUrl : string
 

$createVhost : boolean
 

$defaultServer : boolean
 

$functionPath : string
Inherited
inherited_from \ZendService\ZendServerAPI\Method\Method::$$functionPath
 

$ignoreFailures : boolean
 

$method : string
Inherited
inherited_from \ZendService\ZendServerAPI\Method\Method::$$method
 

$parser : \ZendService\ZendServerAPI\Adapter\Adapter
Inherited
inherited_from \ZendService\ZendServerAPI\Method\Method::$$parser
 

$userAppName : string
 

$userParams : array