Request A Demo
Back to All Blog Articles

Save Time and Headaches – Automate Your WebLogic Data Source Configurations

FlexDeploy’s WebLogic plugin provides various operations to automate the management of domain configurations. Similar to build and deploy of J2EE applications, you can utilize SCM repositories like Subversion, Git, TFS, CVS etc. to maintain configuration files and setup Build and Deploy workflows in FlexDeploy.

Let me show you show it works:  

See a very simple Data Source configuration file below, which defines two Data Sources.

datasource_properties

Notice the use of variables like ${{FLX_DB_PASSWORD_FDADMIN}}, which will be automatically replaced when the Deploy workflow executes for a specific environment. You can also override specific values for each environment by providing override files, see the below variation of the file for DEV and PROD environments. You can just provide values that you would like to be different from the main configuration file. See more details on property file details at https://flexagon.atlassian.net/wiki/display/fd40/createOrUpdateDataSources

datasource_properties_dev

See different value for Max Capacity for Production as we are expecting more activity in that environment.

datasource_properties_prod

Now let’s take a quick look at the FlexDeploy workflow. We will utilize WebLogic plugin operation – createOrUpdateDataSources. You can optionally provide path to properties file. If nothing is specified, all artifact files will be scanned to find data source property configuration files.

ds_workflow

This is very simple one step workflow, which was created (using the graphical workflow editor)  by dragging the createOrUpdateDataSources operation.

ds_plugin_operation
Now just like any other FlexDeploy project, you can run Build and Deploy processes to manage data source configurations in your environments.

ds_flexdeploy_project

You can see data sources deployed in WebLogic domain.

ds_weblogic_domain

Now, you can add more data sources or update existing and then just commit configuration files and automatically promote it to various environments. You can take advantage of enterprise features of FlexDeploy using this approach to automate configurations management.

DataSources are essential to application execution and incorrect configurations can lead to functional and/or performance issues. Automation not only helps avoid runtime issues, but also saves administrator time. Administrators and/or developers can manage configurations collaboratively and rely on FlexDeploy to seamlessly apply changes across various environments.

Related Resources

Mastering Source Control: Streamlining Functional Setup Data Sync with FlexDeploy and Git Integration in Oracle FSM

Effective source control management (SCM) is pivotal in ensuring the seamless tracking and management of functional setup data. In this ...

Oracle Integration Cloud – Migrate Integrations, Connections and Lookups

Oracle Integration Cloud (OIC) serves as a unified platform for seamlessly integrating cloud and on-premises applications. FlexDeploy, a robust DevOps ...

Unlocking Precision in Oracle SaaS FSM: Dive into FlexDeploy’s Filter Criteria for Effortless Setup Migration

While Oracle’s Functional Setup Manager (FSM) UI facilitates export/import operations for transferring setups across environments, the process demands manual initiation, ...

Join DevOps leaders across the globe who receive analysis, tips, and trends in their inbox