Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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.

...

Now let's talk about the Extract WebCatalog workflow. This workflow will execute 6 steps as shown below.

  1. Clone the git repository where objects are stored.

  2. Extract WebCatalog files into the local git repository folder. Extract will be generally done from the development environment. Number of objects extracted will depend on whether All Files or Package build is executing.

  3. Add any new files to the local git repository.

  4. Commit any changes to the local git repository. It is possible that nothing is found to commit if there were no changes on the development server.

  5. Push changes to the remote repository.

...

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.

...

Now let's talk about the Download WebCatalog workflow. This workflow will execute 6 steps as shown below.

  1. Clone the git repository where objects are stored.

  2. Download WebCatalog files into the local git repository folder. The download will be generally from a development environment. All files from the specified path will be downloaded.

  3. Add any new files to the local git repository.

  4. Commit any changes to the local git repository. It is possible that nothing is found to commit if there were no changes on the development server.

  5. Push changes to the remote repository.

...

Here is the source code for the utility workflow. You will need to update this workflow to indicate project Git instance code and sparse checkout folder for catalog objects:

...