Versions Compared

Key

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

You can either

  1. Save config file during build operation as artifact, or
    1. Use SCM operation to export configuration file and save it as artifacts. Artifacts are available at deployment time.
  2. Extract it from SCM during deploy workflow or
    1. Use SCM operation to export configuration file prior to running deploy operation.
  3. Use absolute path to location on server. (not recommended as it requires manual setup on server)
Tip
  • Configuration files can use FlexDeploy variables.
    • See Property Replacement Support.
    • You can use any property available in FlexDeploy or configure user defined property on Workflow Properties section.

Understanding the DataModel configuration file

The datamodel configuration file consists of information to replace the datasources of all datamodels within an OBIEE WebCatalog.  An example snippet of a file is below

...

The Purple text above is the value to be replaced as the datasource reference on deployment

Using FlexDeploy properties in the configuration file

FlexDeploy properties can also be used in the configuration file as data source values.  An example is seen below.

Image Removed

Above, you can see the property used in the configuration file.  Below, you can see the property defined on the FlexDeploy workflow used for deploying WebCatalog objects.

Image Removed

And lastly, you can see it configured below on the environment instance.  For more information on using FlexDeploy workflow properties, see Defining Workflow Properties.

Image Removed

Using property replacement in a workflow

In order for the deployWebCatalog plugin operation to make use of a configuration file, the buildWebCatalog operation must first export the config file from some form of source control management system.  In the example below, we are going to bring in a config file from an SVN repository, in addition to exporting our WebCatalog objects, during our build workflow.

Image Removed

Image Removed

After performing the build with the above workflow and project configuration, we should see the Datamodel.properties config file in our artifacts repository in FlexDeploy.  Note that because we did not specify a checkout folder in the project configuration or a target subfolder in the SaveArtifacts workflow step the config file is checked out directly under the artifacts with no parent folder.  

Image Removed

Due to the fact there is no parent folder, we only need to specify the config file name to the deploy workflow.  Had we set a checkout folder or target subfolder, we would need to put the parent folder in the deploy workflow input, such as %PARENTFOLDER%/Datamodel.properties

Image Removed