FlexDeploy is a DevOps platform for CI/CD with out of box support Oracle APEX build & deploy automation. Oracle Application Express (APEX)  is a common low code development framework, which is also used to develop extensions for Oracle E-Business Suite.

This FlexDeploy Loves APEX Blog Series will help you understand what makes FlexDeploy a perfect choice to implement DevOps and Continuous Delivery with Oracle APEX.  Here is a summary of FlexDeploy Loves APEX Blog Series:

APEX development is done using App Builder, and code resides in a development environment database. If we export application files and save in SCM like Git, Subversion, that would also help with CI/CD setup. Let’s see how we can automatically export APEX applications from the development environment and save to SCM. Note that there are tools available to perform check-in directly from App Builder as well.

In this blog article, we will setup FlexDeploy workflow & project to export all applications and commit files to SCM (Git in our example here).

Workflow Setup

Create new utility workflow Export Apex Applications. You can download this workflow from here – ExportApexApplications.xml. Steps in the workflow are:

  1. Export all applications from the APEX environment
  2. Clone git repository in a specific folder.
  3. Copy exported application files in a local git repository.
  4. Add & commit files to the git repository.
  5. Push changes in the git repository to the remote.

FlexDeploy APEX plugin provides an operation to export applications by workspace. There is no need to write any script for this purpose. You will need to adjust workflow for specifics of the Git repository.

Project Setup

We are using the Utility project, which will be scheduled to execute at regular intervals.

Configure export parameters as necessary.

Now we can schedule this project to run at a regular interval or specific time of day using project triggers.

The execution looks like this.

At this point, we should see updated APEX applications in the Git repository.

Now, as developers make changes to APEX applications in a development environment, changes will be committed to the Git repository automatically.

Now we can set up scheduled build or polling triggers on the APEX application project created in FlexDeploy Loves APEX – Source application from SCM (Git, SVN, etc.) to initiate build automatically. Additionally, you can use Release and Pipelines to initiate pipeline automatically, which will start the process of Continuous Delivery towards the production environment.

Now you can focus on the development of APEX application for your business and do not have to worry about mundane build/deploy tasks. Have fun with APEX.

< Previous Post

Want to learn more about APEX? We just hosted a webinar!

Check it out!

Chandresh Patel

I have been working with Java EE technologies since 2000. After implementing IBM WebSphere and custom framework solutions, my past 10 years have been focused on Oracle Fusion Middleware such as WebLogic, ADF, WebCenter and Coherence. I have been part of many automation projects in the past and have a passion for automation capabilities to help our customers deliver software faster and with higher quality. In my current role as a Principal Architect at Flexagon, I am driving the FlexDeploy product strategy and development to build DevOps/CI/CD features that help our customers.

More posts by Chandresh Patel
    

Leave a Reply

Your email address will not be published. Required fields are marked *