The following macros are not currently supported in the header:
- style
WebLogic Deploy Property Replacement
Property Replacement on Deploy
Let's say you want to override adf connections.xml file for specific environment instance deployment.
- Create a file called something like connections-overrides.xml and source control it along with your application. This file should be in same folder as connections.xml. In this file you can use properties where you need to replace environment instance or project specific values. Enter properties in the following notation: ${{PROPERTY_NAME}}. See Property Replacement Support.
- Define the required properties on your deploy workflow, and set the scope to either Environment Instance or Project as appropriate.
- Edit your deploy instance and associate your deploy workflow to it, if not already done.
- Your workflow properties will now appear on either the environment instances or projects depending on the scope, and you can provide values for them.
- In your deploy workflow, edit the deploy step and set the FDWLS_INP_OVERRIDE_FILE_PATTERN. The value is in format actual_file=override_file. For example, connection.xml=connections-overrides.xml.
- At deploy time, the WebLogic deploy step will run property replacement against the override file using the properties you have defined, and then replace the original file prior to deploying artifact to WebLogic domain.
This can be done for any other files as well. For example, you can override web.xml, weblogic.xml, weblogic-application.xml file similarly. Alternatively, you can create separate override files for each environment as well and define FDWLS_INP_OVERRIDE_FILE_PATTERN as expression to control which override file is used based on current environment from workflow execution.
The following macros are not currently supported in the footer:
- style