Execute WLST Commands from a jython script file. Refer to FlexDeploy - Variables Guide for available variables.
...
Property Name | Property Code | Required | Description |
---|---|---|---|
Oracle Weblogic Home (WL_HOME) |
| Yes | WebLogic Home Directory. (e.g. /u01/oracle/products/fmw/wlserver) |
Weblogic Domain Name |
| Yes | WebLogic Domain Name. |
Weblogic Admin Listen Address |
| Yes | The listener address of the WLS admin server. (e.g. localhost) |
Weblogic Admin Listen Port |
| Yes | The port of the WLS admin server. (e.g. 7001) |
Weblogic Admin SSL Connection |
| No | Indicates whether the admin server is using SSL. |
Weblogic Admin User |
| Yes | The user name for the WLS admin server. |
Weblogic Admin Password |
| Yes | The password for FDWLS_ADMIN_USER. |
Weblogic Application Install Directory |
| No | Base directory to install the WebLogic deployments from. |
Weblogic Admin Server Name |
| No | WebLogic Admin Server Name. Defaults to AdminServer. |
Weblogic Admin Domain Directory |
| No | WebLogic Domain Directory for AdminServer. Used when the admin server runs from a different domain folder than managed servers |
Weblogic Domain Directory |
| Yes | WebLogic Domain Directory for managed servers. |
Weblogic Node Manager Port |
| Yes | The port for the WLS Node Manager. |
Weblogic Node Manager User |
| Yes | The user id for the WLS Node Manager. |
Weblogic Node Manager Password |
| Yes | The password for |
Weblogic Node Manager Host |
| Yes | Host for Node Manager connection. |
Weblogic Node Manager Type |
| No | Node Manager Type. (e.g. ssl, plain, SSH, RSH) |
Oracle Middleware Home (MW_HOME |
| Yes | The oracle middleware home (which has subfolders such as oracle_common, wlsserver_10.3, coherence*, etc.). |
Project Properties
Property Name | Property Code | Required | Description |
---|
...
Inputs
Input Name | Input Code | Required | Description |
---|---|---|---|
WLST Script Folder |
| No | WLST sub-folder for Fusion Middleware. (e.g wlserver, oracle_common, soa, wcportal etc.) |
WLST Code Snippet |
| Yes | WLST script commands to execute. Return output using fdSetOutput({OUTPUT2}, {VALUE2}). |
...
Outputs
Output Name | Required | Description |
---|
Artifacts
This operation delegates the consume/produce artifacts decision to workflow developer. Check Consumes Artifacts
on workflow editor if this operation needs artifact files. Check Produces Artifacts
on workflow editor if this operation creates artifact files. There is a specific folder for artifacts which is available as variable FD_ARTIFACTS_DIR
.
...
WLST code can utilize additional functions provided by this plugin. Function names are self-explanatory. If you are using wlserver for WLST Script Folder, then only you can use wfcontext variable, it is always better to use fdGetEnv function to get variable values.
Get environment variable value for supplied key. Jython module os.getenv(str)
method does not appear to be working at times. This API uses java.lang.System
class to get value for environment variable.
Code Block | ||||
---|---|---|---|---|
| ||||
def fdGetEnv(environmentKey): |
For example, get project name
Code Block | ||||
---|---|---|---|---|
| ||||
fdGetEnv('FD_PROJECT_NAME') |
Create log message using method name and message.
...