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
- Create a plain text file that is named RDMHub.properties and
save it to a directory that is accessible by your WebSphere® Application Server.
- Open the RDMHub.properties file and
add these configuration parameters:
effective_date =
expiry_date =
- 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
- 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 =
- Save the RDMHub.properties file.
- Open the WebSphere Application
Server console.
- Navigate to Middleware servers > Server name
> Process definition > Java Virtual Machine.
- 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.
- Click Save.
- Restart the servers.