Setting default dates for importing reference values and mappings

You can specify the default effective and expiration dates that are used when users import reference values and mappings. The default dates are specified in a properties file within the MIH-app.ear file.

Procedure

  1. Create a plain text file that is named RDMHub.properties and save it to a directory that is accessible by your WebSphere® Application Server.
  2. Open the RDMHub.properties file and add these configuration parameters:
    effective_date =
    expiry_date =
  3. Set the value for the effective_date parameter using the yyyy-MM-dd format.
    For example, a valid effective_date is 2010-01-01.
    The default effective_date is current_time, which uses the date the mapping or reference value is imported:
    effective_date = current_time
  4. Set the value for the expiry_date parameter using the yyyy-MM-dd format.
    For example, a valid expiry_date is 2025-12-31.
    The default is blank, which does not prefill an expiration date:
    expiry_date =
  5. Save the RDMHub.properties file.
  6. Open the WebSphere Application Server console.
  7. Navigate to Middleware servers > Server name > Process definition > Java Virtual Machine.
  8. In the Classpath box, enter the complete file name, such as $USER_INSTALL_ROOT/RDMHUB.properties, where USER_INSTALL_ROOT is known to WebSphere Application Server. The USER_INSTALL_ROOT variable can be replaced with any hard path name.
  9. Click Save.
  10. Restart the servers.