> ## Documentation Index
> Fetch the complete documentation index at: https://docs.flexagon.com/llms.txt
> Use this file to discover all available pages before exploring further.

# importOWSMPolicy

> Imports OWSM Custom Policies into an OWSM Repository. This operation assumes that the deployable jar file is already copied to the WebLogic Domain Lib

Imports OWSM Custom Policies into an OWSM Repository.

This operation assumes that the deployable jar file is already copied to the WebLogic Domain Lib Directory, or the `FDWLS_OWSM_LIB_DIR` Target property is specified. If neither condition is met, this operation will look for the deployable jar in the `FD_ARTIFACTS_DIR`.

Either `FDWLS_DEPLOYABLE_JARNAME` or `FDWLS_INP_DEPLOYABLE_JARNAME` must be given. `FDWLS_INP_DEPLOYABLE_JARNAME` overrides `FDWLS_DEPLOYABLE_JARNAME`.

# Target Properties

<table><colgroup><col /><col /><col /><col /></colgroup><tbody><tr><th>**Property Name**\
</th><th>**Property Code**</th><th>**Required**</th><th>**Description**</th></tr><tr><td>Oracle Weblogic Home (WL\_HOME)</td><td>`FDWLS_WEBLOGIC_HOME`</td><td>Yes</td><td>WebLogic Home Directory. (e.g. /u01/oracle/products/fmw/wlserver)</td></tr><tr><td>Weblogic Domain Name</td><td>`FDWLS_DOMAIN_NAME`</td><td>Yes</td><td>WebLogic Domain Name.</td></tr><tr><td>Weblogic Admin Listen Address</td><td>`FDWLS_ADMIN_LISTEN_ADDRESS`</td><td>Yes</td><td>The listener address of the WLS admin server. (e.g. localhost)</td></tr><tr><td>Weblogic Admin Listen Port</td><td>`FDWLS_ADMIN_LISTEN_PORT`</td><td>Yes</td><td>The port of the WLS admin server. (e.g. 7001)</td></tr><tr><td>Weblogic Admin SSL Connection</td><td>`FDWLS_ADMIN_USE_SSL`</td><td>No</td><td>Indicates whether the admin server is using SSL.</td></tr><tr><td>Weblogic Admin User</td><td>`FDWLS_ADMIN_USER`</td><td>Yes</td><td>The username for the WLS admin server.</td></tr><tr><td>Weblogic Admin Password</td><td>`FDWLS_ADMIN_PASSWORD`</td><td>Yes</td><td>The password for `FDWLS_ADMIN_USER`.</td></tr><tr><td>Weblogic Admin Server Name</td><td>`FDWLS_ADMIN_SERVER_NAME`</td><td>No</td><td>WebLogic Admin Server Name. Defaults to AdminServer.</td></tr><tr><td>Weblogic Admin Domain Directory</td><td>`FDWLS_ADMIN_DOMAIN_DIRECTORY`</td><td>No</td><td>WebLogic Domain Directory for AdminServer. Used when the admin server runs from a different domain folder than managed servers</td></tr><tr><td>Weblogic Domain Directory</td><td>`FDWLS_DOMAIN_DIRECTORY`</td><td>Yes</td><td>WebLogic Domain Directory for managed servers.</td></tr><tr><td>Weblogic OWSM Lib Directory</td><td>`FDWLS_OWSM_LIB_DIR`</td><td>No</td><td>OWSM Lib directory to copy jar file and specify the path in the server class path.</td></tr><tr><td>Oracle Middleware Home (MW\_HOME)</td><td>`FD_ORACLE_MW_HOME`</td><td>Yes</td><td>The oracle middleware home (which has subfolders such as oracle\_common, wlsserver\_10.3, coherence\*, etc.).</td></tr></tbody></table>

# Project Properties

<table><colgroup><col /><col /><col /><col /></colgroup><tbody><tr><th>**Property Name**</th><th>**Property Name**</th><th>**Required**</th><th>**Description**</th></tr><tr><td>Weblogic Deployable Jar Name</td><td>`FDWLS_DEPLOYABLE_JARNAME`</td><td>No</td><td>Specify the deployable jar name.</td></tr></tbody></table>

# Inputs

<table><colgroup><col /><col /><col /><col /></colgroup><tbody><tr><th>**Input Name**</th><th>**Input Code**</th><th>**Required**</th><th>**Description**</th></tr><tr><td>Deployable Jar Name</td><td>`FDWLS_INP_DEPLOYABLE_JARNAME`</td><td>No</td><td>Overrides the `FDWLS_DEPLOYABLE_JARNAME`** **project property.</td></tr></tbody></table>

# Artifacts

This operation consumes jar file artifacts.

# Endpoint Selection

This operation will select all available endpoints associated to the Target which have a resource type of WLS Admin Server. Since the admin server only runs on one server, it is expected that for a given domain, there will only be one endpoint with a resource type set to WLS Admin Server.

# Endpoint Execution

This operation will execute on the Admin Server endpoint selected using the WLS Admin Server resource type.
