Configure Data Reservation Email Properties

Administrators can configure the CA TDM Portal to send email notifications to testers about the state of the reservation. This functionality enhances the user experience, because instead of manually trying to check the reservation status, testers can directly receive the notification whenever the process completes. 
tdm42
Administrators can configure the CA TDM Portal to send email notifications to testers about the state of the reservation. This functionality enhances the user experience, because instead of manually trying to check the reservation status, testers can directly receive the notification whenever the process completes. 
The email notifications are sent in the following scenarios:
  • When a reservation succeeds or fails
  • When a reservation is released
  • When an environment that is associated with the reservation is deleted
  • When a test data model that is associated with the reservation is deleted
    Note:
    When a project version is deleted, associated environment and test data model are also deleted.
The email notification includes appropriate details about the reservation; for example, it includes the following type of information:
  • Name of the reservation
  • Environment in which reservation has been made
  • Test data model that is associated with the reservation
  • Project and version that are associated with the reservation
  • Number of resources that have been reserved
  • Comments about any failure in the reservation
    For example, if the reservation fails due to already reserved resources, the Comments section includes an appropriate message. Furthermore, those blocked resources are listed in the email and also in the CSV attachment (if configured). 
  • Status of the reservation
To configure the test data reservation email properties, you update the required parameters in the
 tdmdatareservation.properties
file. The default location of the file is
C:\Program Files\CA\CA Test Data Manager Portal\conf
.
Follow these steps:
  1. Navigate to the
    C:\Program Files\CA\CA Test Data Manager Portal\conf
     location.
  2. Open the 
    tdmdatareservation.properties
     file in a text editor.
  3. Specify appropriate values for the following parameters:
    • reservation_notification_enabled
      Sends email notifications to the user who has made the test data reservation. To enable this parameter, set the value to
      true
      . If you do not want to send the email, set the value to
      false
      .
      Default: 
      true
    • reservation_notify_all_users
      (Optional) Includes all the users in the project (which is associated with the reservation) while sending the email. For example, a project can have multiple users. If one user reserves the data, the administrator might want to notify all other users in the project about that reservation.
      To enable this parameter, set the value to
      true
      . Otherwise, set it to
      false
      .
      Default:
      false
    • reservation_notification_with_attachment
      (Optional) Includes a CSV file as an attachment while sending the email. This CSV file contains the resources (model keys) that have been reserved.
      To enable this parameter, set the value to
      true
      . Otherwise, set it to
      false
      .
      Default:
      true
  4. Review and save the configuration. 
  5. Start the CA Test Data Manager Portal service.
You have successfully configured the test data reservation email properties.
Note:
You can also customize the test data reservation email template (
ReservationEmailTemplate.vm
) based on your unique requirements. You can find the email template at 
C:\Program Files\CA\CA Test Data Manager Portal\Mail Templates
.