Deploy A Library
/management/weblogic/{version}/edit/resourceGroupTemplates/{name}/libraries
This resource is used to deploy libraries that are already on the admininstration server.
This method supports both asynchronous and best effort synchronous invocations. The behavior is controlled by the 'Prefer' header.
Request
- application/json
-
name: string
The name property of the instance in the collection.
-
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'.
To deploy a library, you must provide the name of the library, the path to the library, and the targets to which the library will be deployed.
objectModel-
name:
string
The user-specified name of this deployment.
This name is included as one of the key properties in the MBean's
javax.management.ObjectNameName=user-specified-name -
sourcePath:
string
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/appifInstallDir is not null; otherwise, it is resolved relative to the domain root. -
targets(optional):
array Target References
Title:
Target ReferencesContains the array of target references.The clusters and/or servers on which this library will be deployed.The deployment will only occur once if the targets overlap.
arrayTarget ReferencesThe clusters and/or servers on which this library will be deployed.The deployment will only occur once if the targets overlap.
-
Array of:
object Target Reference
Title:
Target ReferenceContains the target reference.
objectTarget Reference-
identity(optional):
array Identity
Title:
IdentityDOC TEAM TBD - describe an identity - it's a reference to another WLS REST resource.
arrayIdentity-
Admin: basic
Type:
basicDescription:A user in the Admin security role. -
Deployer: basic
Type:
basicDescription:A user in the Deployer security role.