Distribute ( Name, Application Path, Plan )
/management/weblogic/{version}/domainRuntime/deploymentManager/distribute
Distribute an application.
The application source files and deployment plan are distributed to the deployment targets using the default options. This is a synchronous operation that returns when the distribute operation has completed.
The default options are:
clusterDeploymentTimeout: 3600000 milliseconds
gracefulIgnoreSessions: false
gracefulProductionToAdmin: false
retireGracefully: true
retireTimeout: no timeout
adminMode: false,
timeout: no timeout
This method supports both asynchronous and best effort synchronous invocations. The behavior is controlled by the 'Prefer' header.
Request
- application/json
 
- 
                    version: string
                    
                    The version of the WebLogic REST interface.
 
- 
                        Prefer(optional): string
                        
                        The 'Prefer' header parameter can be used to specify the preference on how this method runs. A value of 'respond-async' specifies a preference to submit the request and return immediately without waiting for completion. Alternatively a value of 'wait=#seconds' specifies a preference to wait for #seconds for method completion before returning. If the Prefer header is not specified or invalid, then a 300 second wait will be used.
 - 
                        X-Requested-By: string
                        
                        The 'X-Requested-By' header is used to protect against Cross-Site Request Forgery (CSRF) attacks. The value is an arbitrary name such as 'MyClient'.
 
Must contain the following fields:
objectArguments- 
            applicationPath(optional): 
            string
            
A supported Java EE application or module archive, or a root directory for the application or module.
 - 
            name(optional): 
            string
            
The name of the application
 - 
            plan(optional): 
            string
            
The deployment plan for this application. May be null.
 
- 
                        Admin: basic
                        
                        Type:
basicDescription:A user in the Admin security role. - 
                        Deployer: basic
                        
                        Type:
basicDescription:A user in the Deployer security role. 
Response
- application/json
 
200 Response
Returns the following fields:
objectReturn- 
            return(optional): 
            array  Deployment Progress Object Reference
            
            Title:
Deployment Progress Object ReferenceContains the deployment progress object reference.Returns the action's result.
 
arrayDeployment Progress Object ReferenceReturns the action's result.