Request A Demo
Back to All Blog Articles

Yes, you can! Create Work Managers reliably with FlexDeploy

In March 2018, support for creating and updating Work Managers was added to the WebLogic plugin for FlexDeploy. For users of the createOrUpdateWeblogicConfig operation, the only change needed is to add new Work Manager property file(s) in source control system. The WLConfig operation will process Work Managers after completing the JMS, DataSource, and EIS Entry operations. For users that don’t want to process JMS, DataSource, EIS and Work Manager entries together, the new createOrUpdateWorkManagers operation can be used.

Here is an example of build and deploy workflow.

Build Workflow

This workflow checks the property files out of source control and saves them as artifacts. Steps of the workflow are…

  1. Built-in workflow SCM-ExportSource which will use appropriate export operation based on Project’s SCM Type selection. You can instead use specific operation like Git – cloneProjectSources if you are using Git as SCM.
  2. File – saveArtifacts operation. Note that we are using variable for Source Subfolder. This is necessary as project may be configured with or without checkout folder and there are might other folders in exported folder structure. This allows us to just capture configuration files as Artifacts.

Deploy Workflow

This workflow executes the property files using the WLConfig operation. You can use the createOrUpdateWorkManagers operation if you only want to process Work Managers. Steps of the workflow are…

  1. Oracle WebLogic – createOrUpdateWeblogicConfiguration operation. This operation will detect all WebLogic configuration files and process them appropriately.

Work Managers and the associated Max and Min Threads constraints, Capacities, and request classes can be managed through the property file configuration. Fair Share, Response Time, and Context Request classes are all supported. The artifact used to store the settings for these items is a property file. Here is an example property file to help explain the different settings.

#Pound signs make comments.
myWorkManager.Notes=This work manager was made by FlexDeploy.
#Pick at most one of these.

#you can provide UserName, GroupName, and/or RequestClassName for each Context Request in the list.

The property file will create a Work Manager named myWorkManager, a Max Threads Constraint named myWorkManager_MaxThreads_FD, a Min Threads Constraint named myWorkManager_MinThreads_FD, a Capacity Constraint named myWorkManager_Capacity_FD, a Context Request Class named myWorkManager_ContextRequestClass_FD, and three Context Request Class Cases.

Here are screenshots of the above Work Manager configurations in  the WebLogic Console.

See documentation at FlexDeploy Documentation for more details.

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