Command Line Utility for Downloading Metadata Objects in PDF Format

A command line utility called MDBPDFDownloadExecution.sh is available to download the details of published metadata objects in PDF format. This utility is present at $FIC_DB_HOME/bin folder.

To execute MDBPDFDownloadExecution utility:

  1. Navigate to $FIC_DB_HOME/bin of OFSAAI FIC DB tier.
  2. Execute MDBPDFDownloadExecution.sh with proper arguments.

    ./MDBPDFDownloadExecution.sh infodom=<INFODOM> objCodes=[<LIST OF OBJECT CODES>] folderName=[<Folder Name>]

    • infodom=<INFODOM> – Specify the Infodom name where the metadata objects you want to download is present.
    • objCodes=[<LIST OF OBJECT CODES>] – Specify the object codes of the metadata objects separated by comma. This is an optional parameter. If this is not given, all objects belonging to the specified Infodom will be downloaded.
    • folderName=[<Folder Name>] – Specify fully qualified folder name where downloaded PDFs should be placed. This is an optional parameter. If this is not given, PDFs will be stored at ftpSharepath.

    For example, ./MDBPDFDownloadExecution.sh infodom=OFSAAIINFO objCodes=HCY001,DIM001 folderName=/scratch/ofsaobie/ofsaa806

    The parameters for the utility such as Infodom, objCodes, folderName are case sensitive.

  3. You can find the related logs in the following locations:
    • $FIC_DB_HOME/log/MDBPDFDownload.log
    • <DEPLOYED LOCATION>/<Context>.ear/<Context>.war/logs/MDB.log