Oracle OAC projects can either source catalog objects from a source code repository or Development OAC instances. In your OAC project used to build and deploy WebCatalog objects, you will either have the option to Populate from Git (or other SCM type) or Populate from OAC Web Catalog on the files tab based on your configuration. Similar to other technologies, FlexDeploy can sync files from a development server to a source code repository. This helps implement DevOps best practices to source control developer code.
Tip |
---|
The OAC plugin manipulates the file extensions and paths of exported/downloaded objects in order to establish metadata about each object. For this reason, you cannot simply download the .catalog files from the OAC catalog manager and place them in source control. This would not be compatible with the build and deploy operations of the OAC plugin. FlexDeploy provides OAC export and download operations to simplify so that you do not need to manipulate the files manually with the required structure and extensions. |
exportWebCatalog (OAC)
This operation is useful when you want to export specific files from OAC. This is managed through a package within a partial deployment project (separate from the project that is used for build/deploy).
...
Here is the source code for the build workflow. You will need to update the steps in the workflow according to your Git configuration (e.g. Git Instance, sparse checkout folder, etc.). Also, keep in mind that we are running this build against the master branch (stream), if you want to commit on a different branch then create the stream on the project as appropriate.
...