Task 9: Uploading Metadata file, App Properties, Config Files through Configurator UI

Once you start the Configurator UI, you can upload the metadata file, application properties, and configuration files through the UI. These files are present in the $OM_HOME/seed-data directory.

Metadata: It defines the required application properties and configuration files for each application.

App properties: These are application properties in JSON format.

Config files: These are Logback configuration files in XML format.

Logging in to Configurator UI

    Procedure
  1. To access the Login page, visit http://<host>:<port number>, where:
    host is the computer where you have started Configurator UI service

    port is the port number of the machine where Configurator UI listens for the

    requests. (Default: 9104)

  2. Enter the credentials in the TenantID, Username, and Password fields and then click LOGIN.
    The UI dashboard opens.

Upload Metadata file

    Procedure
  1. Click SEEDING to upload the metadata file.

  2. Use the drag-and-drop function or click CHOOSE META DATA FILE to select the application_metadata.json file from the $OM_HOME/seed-data directory.
  3. Finally, click UPLOAD to upload the file.

Upload Application Properties

    Procedure
  1. Toggle the switch to select Application and click SEEDING to upload the app properties files.

  2. Use the drag-and-drop function or click CHOOSE FILES to select the app properties files from the $OM_HOME/seed-data/app-properties directory. Once you have uploaded a file, the file is shown below the CHOOSE FILES button. A pop-up message is added that shows at the top-right corner to let the users know that the files have been uploaded and can now be removed from this page by clicking the bin button on the right side of the file name.

  3. To view an application property file, click VIEW. The file opens in text editor mode. The left pane is the editing pane and the right pane is the preview pane.
  4. To discard or save the changes, click REVERT or SAVE.
  5. To hide or delete the files, click HIDE or DELETE.
  6. Finally, click UPLOAD to upload the files. You can also use the UPLOAD ALL or CLEAR ALL option to upload or remove all the files at once.

Upload Configuration Files

    Procedure
  1. To add a configuration file from the $OM_HOME/seed-data/config-files directory, click DATA SEEDING.

  2. Use the drag-and-drop function or click CHOOSE FILES to select the app properties files from the $OM_HOME/seed-data/config-files directory. Once you have uploaded a file, the file is shown below the CHOOSE FILES button. A pop-up message is added that shows at the top-right corner to let the users know that the files have been uploaded and can now be removed from this page by clicking the bin button on the right side of the file name.
  3. To view an application property file, click VIEW. The file opens in text editor mode. The left pane is the editing pane and the right pane is the preview pane.
  4. To discard or save the changes, click REVERT or SAVE.
  5. To hide or delete the files, click HIDE or DELETE.
  6. Click UPLOAD ALL to upload all the config files.

    Note: On the Configuration files tab, you can verify that all the config files are present or not and accordingly you can add the missing files.