- style
osbImport
Import the jar file to the OSB Server and perform environment specific property replacement if a customization/configuration file in the code repository.
Environment/Instance Properties
Property Name | Required | Description |
---|---|---|
FDWLS_ADMIN_USER | Yes | The user for the WLS admin server. |
FDWLS_ADMIN_PASSWORD | Yes | The password for FDWLS_ADMIN_USER. |
FDWLS_ADMIN_LISTEN_ADDRESS | Yes | The listener address of the WLS admin server. For example: localhost |
FDWLS_ADMIN_LISTEN_PORT | Yes | The port of the WLS admin server. For example: 7001 |
FDOSB_EXT_CLASSPATH | Yes | Allows the user to extend the classpath for this plugin call. |
FDOSB_ORACLE_SB_HOME | Yes | The Oracle OSB home. For example: /opt/middleware/Oracle_OSB1 |
FDWLS_WEBLOGIC_HOME | Yes | Weblogic Home Directory. For example: /opt/middleware/wlsserver, /opt/middleware/wlsserver_10.3 |
Project Properties
Property Name | Required | Description |
---|---|---|
FDOSB_PROJECT_NAME | Yes | OSB Project Name. |
FDOSB_JAR_NAME | Yes | Name of the jar file used to deploy the OSB project. |
FDOSB_PASSPHRASE | No | Passphrase used to encrypt or decrypt jar file. |
FDOSB_CUSTOMIZATION_FILE | No | 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. The ~ character is not supported. |
Inputs
Input Name | Required | Description |
---|---|---|
FDOSB_INP_CUSTOMIZATION_FILE | No | 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. The ~ character is not supported. |
Outputs
Output Name | Required | Description |
---|---|---|
|
|
|
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 environment/instance.
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 FDOSB_INP_CUSTOMIZATION_FILE input on the import operation or the FDOSB_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 will be run on the file.
- If the file is relative to the FD_TEMP_DIR directory, file replacement will be run on it.
Replacement Properties
Replacement properties are defined by using $FDWLS_ADMIN_LISTEN_ADDRESS and $FDWLS_ADMIN_LISTEN_PORT for environment-instance scoped properties
.
For example:
http://localhost:7001/soa-infra/services/default/ProcessPurchaseOrderSync/processpurchaseordersync_client_ep
could be expressed using replacement properties like:
[http://$FDWLS_ADMIN_LISTEN_ADDRESS:$FDWLS_ADMIN_LISTEN_PORT/soa-infra/services/default/ProcessPurchaseOrderSync/processpurchaseordersync_client_ep
With this one-time setup, the plugin will utilize the properties that are configured within FlexDeploy and allow deployment to any environment without manual changes to the files each time it is built for a different environment.
- style