Property Replacement Support
Your source files can be configured with a Replacement Property, which are then replaced (using Plugin operations) with target deployment environment properties.
Replacement properties are defined by using following syntax within your artifacts:
- ${{
PROPERTY_NAME}}
for project properties or current instance properties. - ${{
INSTANCE:PROPERTY_NAME}}
for specific instance properties.
Property names can be any property that is defined in this guide.
With this one-time setup, the various plugin operations 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.
For example,
WEBLOGIC_FOLDER==${{FDWLS_WEBLOGIC_HOME}}
In this case, FDWLS_WEBLOGIC_HOME from current instance is used for replacement.
Or
WEBLOGIC_FOLDER==${{ADF1:FDWLS_WEBLOGIC_HOME}}
In this case, FDWLS_WEBLOGIC_HOME from instance defined with ADF1 code is used for replacement.
Or
This url would look like this before replacement properties are added:
http://devhost:8001/soa-infra/services/default/CalledProcess!1.0/calledprocess_client_ep?WSDL
would look like this after:
FDSOA_SERVER_PORT}}
/soa-infra/services/default/CalledProcess!1.0/calledprocess_client_ep?WSDL- style