> ## 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.

# osbImport

> Imports (deploys) a jar file to the OSB Server and performs environment specific if a customization/configuration file is present in the code reposito

Imports (deploys) a jar file to the OSB Server and performs environment-specific [property replacement](https://docs.flexagon.com/flexdeploy-11-2-documentation/flexdeploy-variables-guide/property-replacement-support.md) if a customization/configuration file is present in the code repository.  In addition, the import will conditionally (controlled by an input) perform environment-specific [property replacement](https://docs.flexagon.com/flexdeploy-11-2-documentation/flexdeploy-variables-guide/property-replacement-support.md) on the files within the project.  **This operation can be used for both Full and Package-Based projects.**

# 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>Weblogic Admin User</td><td>`FDWLS_ADMIN_USER`</td><td>Yes</td><td>The user for the Weblogic admin server.</td></tr><tr><td>Weblogic Admin Password</td><td>`FDWLS_ADMIN_PASSWORD`</td><td>Yes</td><td>The password for Weblogic.</td></tr><tr><td>Weblogic Admin Listen Address</td><td>`FDWLS_ADMIN_LISTEN_ADDRESS`</td><td>Yes</td><td>The listener address of the Weblogic 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 Weblogic admin server. (e.g `7001`)</td></tr><tr><td>Weblogic Admin Use SSL</td><td>`FDWLS_ADMIN_USE_SSL`</td><td>Yes</td><td>If the Weblogic admin server is using SSL to connect.</td></tr><tr><td>OSB Extended Classpath</td><td>`FDOSB_EXT_CLASSPATH`</td><td>No</td><td>Allows the user to extend the classpath for this plugin call.</td></tr><tr><td>OSB Home</td><td>`FDOSB_ORACLE_SB_HOME`</td><td>Yes</td><td>The Oracle OSB home. (e.g., `/u01/oracle/products/fmw/osb)`</td></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></tbody></table>

# Project 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>OSB Project</td><td>`FDOSB_PROJECT_NAME`</td><td>Yes</td><td>OSB Project Name.</td></tr><tr><td>OSB Jar Name</td><td>`FDOSB_JAR_NAME`</td><td>Yes</td><td>Name of the jar file used to deploy the OSB project.</td></tr><tr><td>OSB Customization File</td><td>`FDOSB_CUSTOMIZATION_FILE`</td><td>No</td><td>The name of the customization/configuration file to be applied after the deployment of the project. The Customization file can either be a fully qualified path or a path relative to the `FD_TEMP_DIR`.</td></tr><tr><td>OSB Preserve environment variable values</td><td>`FDOSB_PRESERVE_ENV_VAR_VALUES`</td><td>No</td><td>This optional property sets the `setPreserveExistingEnvValues` value of the `ALSBImportPlan`. If it is left blank, `setPreserveExistingEnvValues` is not set.</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>OSB Customization File</td><td>`FDOSB_INP_CUSTOMIZATION_FILE`</td><td>No</td><td>The name of the customization/configuration file to be applied after the deployment of the project. The Customization file can either be a fully qualified path or a path relative to the `FD_TEMP_DIR`.This plugin input overrides project property value for OSB Customization File.</td></tr><tr><td>Activate Property Replacement</td><td>`FDOSB_INP_ACTIVATE_PROPERTY_REPLACEMENT`</td><td>No</td><td>A flag to control whether property replacement will occur on the contents of the jar file.  This doesn't affect the property replacement of the customization file.</td></tr><tr><td>Activation Message</td><td>`FDOSB_INP_ACTIVATION_MESSAGE`</td><td>No</td><td>Activation message to use during import operation. If not specified, FlexDeploy will use message `Imported using FlexDeploy`.</td></tr></tbody></table>

# Artifacts

This operation consumes a deployable jar file artifact from the artifacts repository.

# Endpoint Selection

This operation will select all available endpoints associated to the Target.

# Endpoint Execution

This operation will execute on any one of the selected endpoints and will be random in the determination of which one.

# Customization/Configuration File

The customization/configuration files that were saved to the `FD_ARTIFACTS_DIR` will be copied to the `FD_TEMP_DIR` directory. Configuring the `OSB Customization File` input on the import operation or the `OSB Customization File` project property which can be either an absolute path to a customization/configuration file or a relative path of the copied configuration file based relative to the `FD_TEMP_DIR` directory.

* If the file path is absolute, the file will be copied to the `FD_TEMP_DIR` directory and the [Property Replacement](https://docs.flexagon.com/flexdeploy-11-2-documentation/flexdeploy-variables-guide/property-replacement-support.md) will be run on the file.

* If the file is relative to the `FD_TEMP_DIR` directory, file replacement will be run on it.

* Project specific or blobal customization files are supported. Even when you are using global customization files, customizations will only be applied to deployed OSB project.

# Project Jar File Content 

All files with the following suffix ("XMLSchema", "WSDL", "XSLT", "Xquery", "Service", "Pipeline", "ProxyService", "BusinessService", "SA", "ServiceAccount") within the OSB project structure are pre-processed by the plugin to transform any defined [replacement properties](https://docs.flexagon.com/flexdeploy-11-2-documentation/flexdeploy-variables-guide/property-replacement-support.md). Replacement support for .ServiceAccount files is supported.

A wsdl file could have server host names or passwords in it and will vary from environment to environment.
