How to Run the Generate JSON Utility

Refer for steps to run the Generate JSON Utility.

To run the Generate JSON Utility, follow these steps:
Before running the JSON utility, ensure that the FICServer is up and running.
  1. Navigate to the $FIC_HOME/utility/GenerateJSON/bin/ directory and grant RWX (755) permissions to all the executables (.sh files).
  2. Run the utility for each of the failed information domains as follows:
    $FIC_HOME/utility/GenerateJSON/bin/generatejson.sh $INFODOM Where the Infodom name in the ./generatejson.sh file is as shown in the following:

    ./generatejson.sh <INFODOM_NAME>

  3. After executing the utility for all information domains successfully, verify the following references for the JSON files:
    1. All the entity JSONs are generated in the ftpshare/<INFODOM>/json/fipjson directory.
    2. The AAI_DMM_METADATA table must be registered with all the generated JSON.
    3. The V_FLAG_VALUE parameter in the AAI_DMM_UTIL_UPDATE_JSON table in the Config Schema is updated to Y for the selected Infodom.

    Note:

    1. If the Utility fails to generate, check the Utility’s log and identify the cause of the failure. Resolve the issues and run the Utility again.
    2. If the Utility fails to generate because the Table Version is empty and the Entities were created (Tables created through Batches) outside the Model, update the Version to 0 and re-run the utility.
    3. If the JSON Utility fails to generate because of the inconsistent constraints present in the existing environment, run the Update Constraints Utility and make the constraints consistent before running the JSON Utility again. Refer toExecute the Update Constraints Utility for more details.

    For any queries, contact Oracle Support Services.