Create and Manage Generator Configurations

Publishing data implies creating data in the target database schema. When you publish data, the data is generated based on the data generation rules that you define and is added to the tables in the target database schema. You can create Configurations defining the used tables and other criteria to repeatedly use the saved configuration for publishing data.
tdm42
Publishing data implies creating data in the target database schema. When you publish data, the data is generated based on the data generation rules that you define and is added to the tables in the target database schema. You can create Configurations defining the used tables and other criteria to repeatedly use the saved configuration for publishing data.
Follow these steps:
 
  1. Select an appropriate project and its corresponding version from the Project drop-down list in the top blue bar.
    This selection sets the required project and version context for all the related operations that you perform in the Portal.
  2. Click 
    Generators
     in the left pane.
    The 
    Data Generators
     page opens.
    Note:
     If the left pane is not visible, click the icon (represented by three horizontal bars) in the top left corner.
  3. Click the data generator that you want to use to publish data.
    The 
    <Data Generator Name>
     page opens. This page includes the details about the data generator; for example, associated project and project version.
  4. Click the 
    Configurations
     button.
    The Configurations page opens that includes the list of existing configurations associated to the selected Generator.
  5. Click the 
    New Configuration
     button.
    The 
    New Configurations
     page opens.
  6. Enter information in the following fields:
    • Name
      Specifies the name of the configuration.
    • Description
      Specifies the brief description for the configuration.
  7. Review the information in the following fields and modify the values as necessary.
    1. Publish From
       
    2. Publish To
       
    3. Repeat
       
    4. Options
      For more information about what each of these fields specify, see Publish Data Using the CA TDM Portal.
      In TDM Portal when you publish from a generator directly without using the configuration, the publish screen includes some fields such as Stored Columns, Publish to Location, Source Connection Profile, and Variables in addition to the ones listed in this article. Those fields are not applicable when you are publishing using a configuration and do not affect the data publish.
    Notes:
    • You cannot remove a table from the configuration though the data generation rules for the respective table are deleted. This does not affect the data publishing.
    • You cannot add the tables to the configuration, that are registered to the corresponding project version after creating the configuration. Any table that is registered to a project version prior to creating the configuration can only be added to the respective configuration.
    • When you publish data using the configuration, you cannot modify the default values of the used variables.
  8. Click 
    Save
    .
    Configuration is successfully saved and added to the list on the Configurations page.
    Verify that the saved configuration is available in the Configurations page. Click 
    Cancel
     to go back to Configurations page.
  9. (Optional) After saving the configuration you can enable the configuration for tester self service or you can publish the data from the configuration. For more information, see the following topics.
Enable Generator Configuration for Tester Self Service
The tester self service flows designed with publish block includes the option to select a configuration. You can execute the publish job based on the criteria specified in selected configuration. After creating the configurations, you can enable them to use in tester self service flows.
 
Follow these steps:
 
  1. Go to application.properties file and ensure that Tester Self Service is configured to use the new Publish Engine introduced in CA TDM release 3.8. Verify the following settings flag to 
    false
    :
    • tdmweb.tdmJobEngineService.useDatamakerToPublish=false
    • tdmweb.testerSelfService.useDatamakerToPublish=false
      If you modify the values of these parameters in 
      application.properties
       file, you must restart the TDM Portal service.
  2. Access the CA TDM Portal.
  3. Select an appropriate project and its corresponding version.
    This selection sets the required project and version context.
  4. Click 
    Generators
     in the left pane.
    The Data Generators page opens.
  5. Click the data generator that you want to use to publish data.
    The 
    <Data Generator Name>
     page opens.
  6. Click the 
    Configurations
     button.
    The Configurations page opens that includes the list of existing configurations associated to the selected Generator.
  7. Identify and click the configuration that you want to enable for tester self service.
    The
    Edit Configurations
     page opens.
  8. Select the 
    Configuration Active
     check box and click 
    Save
    .
The configuration is successfully enabled for tester self service. The testers now can see the configuration in the Select Configuration drop-down list when they execute the self service flow designed with publish block.
Publish Data using Generator Configuration
You can repeatedly use the saved configuration for publishing data. The data generation rules and criteria specified in the saved configuration.
Follow these steps:
 
  1. Access the CA TDM Portal.
  2. Select an appropriate project and its corresponding version
  3. This selection sets the required project and version context
  4. Click 
    Generators
     in the left pane.
    The Data Generators page opens.
  5. Click the data generator that you want to use to publish data.
    The <Data Generator Name> page opens.
  6. Click the 
    Configurations
     button.
    The Configurations page opens that includes the list of existing configurations associated to the selected Generator.
  7. Identify and click the configuration that you want to use for publishing data.
    The
     Edit Configurations
     page opens.
  8. Review all the fields and modify as necessary and click 
    Save
    .
  9. Enter the relevant information in the following fields.
  10. Click 
    Publish
    .
    A message with a job ID for the publish operation is displayed. You can review the job status from Requests table. For more information, see Publish Data Using the CA TDM Portal.
Edit Generator Configuration
If you want to update the configuration information to reflect changed requirements or use cases, you can edit the saved configuration.
Follow these steps:
 
  1. Access the CA TDM Portal.
  2. Select an appropriate project and its corresponding version.
    This selection sets the required project and version context.
  3. Click 
    Generators
     in the left pane.
    The Data Generators page opens.
  4. Click the data generator that you want to use to publish data.
    The 
    <Data Generator Name>
     page opens.
  5. Click the 
    Configurations
     button.
    The Configurations page opens that includes the list of existing configurations associated to the selected Generator.
  6. Identify and click the configuration that you want to edit.
    Edit Configuration
     page opens.
  7. Update the information as necessary and click 
    Save
    .
    The changes are saved and the updated configuration becomes available.
Delete Generator Configuration
If you do not need a configuration in your environment, you can delete it from the Portal.
Follow these steps:
 
  1. Access the CA TDM Portal.
  2. Select an appropriate project and its corresponding version
  3. This selection sets the required project and version context
  4. Click 
    Generators
     in the left pane.
    The Data Generators page opens.
  5. Click the data generator that you want to use to publish data.
    The <Data Generator Name> page opens.
  6. Click the 
    Configurations
     button.
    The Configurations page opens that includes the list of existing configurations associated to the selected Generator.
  7. Locate the configuration that you want to delete.
  8. Click the 
    Delete Configuration
     icon (X icon) in the row corresponding to the identified configuration.
    A confirmation dialog opens.
  9. Confirm the delete action.
    The configuration is deleted from the list.