WDT allows you to create or extend the pre-installed type definitions, model filters, variable injectors, and target environments. Starting with WDT 1.10.0, these additional configuration files can be stored outside the
$WLSDEPLOY_HOME/lib directory. This allows the files to remain in place if the WDT installation is moved or upgraded to a new version.
To use a separate configuration directory, set the
WDT_CUSTOM_CONFIG environment variable to the directory to be used for configuration. For example:
$ export WDT_CUSTOM_CONFIG=/etc/wdtconfig
The customized configuration files should be named and organized the same way they would be under the
$WLSDEPLOY_HOME/lib directory. For example:
/etc/wdtconfig injectors *.json (injector files) typedefs *.json (typedef files) targets my-target target.json *.py (filter files) model_filters.json model_variable_injector.json variable_keywords.json
This is a full set of files that can be configured. You will need only to add the files you have created or extended. Details for each configuration type are found at:
The WDT tools will look for each configuration file under
$WDT_CUSTOM_CONFIG if specified, then under
To extend the
WLS type definition, follow these steps:
WDT_CUSTOM_CONFIGenvironment variable to point to that directory.
$WDT_CUSTOM_CONFIG/typedefsdirectory and rename it, for example
MY_WLS.jsonwith any required changes.
$ createDomain.cmd -oracle_home /wls12213 -domain_type MY_WLS ...