New free deployment tool released for Oracle PL/SQL, ORDS, APEX

image

For the last several months I have been working on building tools and defining processes to support our Oracle APEX development teams. We are working with multiple clients in Germany and other countries as well.

We maintain software that was built over many years, and we have to make frequent changes to those systems.

The first two tools that are available for the Oracle community are:

opal-install

The installer uses SQLcl under the hood to actually run the SQL scripts. The core engine is very simple. It will execute SQL files that it finds by iterating through the file system and listing all files that exist.

It uses regular expressions in order to figure out a mapping between a file system path and the matching connection pool. It can be configured in multiple ways so that there is no requirement for a specific layout of the file system.

opal-export

The exporter uses SQLcl together with DBMS_METADATA to export Oracle database objects, APEX applications, ORDS REST modules, and everything as files into the file system.

This enables you to support different workflows:

  • use it only once at the beginning to create a baseline of files, then only make all future changes through those files under version control.
  • make changes in the database and spool it into the file system for deployment continuously

You can find all the details on the GitHub page: https://github.com/daust/opal-tools.

I have even recorded a YouTube video to explain it: https://www.youtube.com/watch?v=gdudGocohpk&feature=youtu.be

The focus lied on simplicity and robustness.

We have been using it for over a year now in multiple real-world client projects and it saves us a lot of time and headaches.

I do hope you will enjoy it. Please test it, comment on it, file enhancement requests and bugs for it to make it an even better experience for all in the community.

Best
~Dietmar.

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

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