Deploy An Application

post

/management/weblogic/{version}/edit/partitions/{name}/resourceGroups/{name}/appDeployments

This resource is used to deploy applications that are already on the adminitration server. The application must be a supported package type (for example, an EAR or WAR module).

This method supports both asynchronous and best effort synchronous invocations. The behavior is controlled by the 'Prefer' header.

Request

Supported Media Types
Path Parameters
Header Parameters
  • 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.
  • 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'.
Body ()

To deploy an application you must provide the name of the application, the path to the source of the deployable unit on the administration server, and the targets to which the application will be deployed.

If the source path is relative, it is resolved relative to InstallDir/app if InstallDir is not null; otherwise, it is resolved relative to the domain root.

Root Schema : Model
Type: object
Title: Model
Show Source
  • The user-specified name of this deployment.

    This name is included as one of the key properties in the MBean's javax.management.ObjectName

    Name=user-specified-name

  • The path to the deployment plan document on the Administration Server.

    If the plan path is a relative path, it is resolved relative to PlanDir if PlanDir is not null;otherwise, it is resolved relative to the domain root.

  • The deployment plan's version (optional).

  • The path to the source of the deployable unit on the Administration Server.

    If the source path is relative, it is resolved relative to InstallDir/app ifInstallDir is not null; otherwise, it is resolved relative to the domain root.

  • Target References
    Title: Target References
    Contains the array of target references.

    The clusters and/or servers on which this application will be deployed.The deployment will only occur once if the targets overlap.

Nested Schema : Target References
Type: array
Title: Target References
Contains the array of target references.

The clusters and/or servers on which this application will be deployed.The deployment will only occur once if the targets overlap.

Show Source
Nested Schema : Target Reference
Type: object
Title: Target Reference
Contains the target reference.
Show Source
Nested Schema : Identity
Type: array
Title: Identity
DOC TEAM TBD - describe an identity - it's a reference to another WLS REST resource.
Show Source
Security
Back to Top

Response

201 Response

Back to Top