Cannot delete Data Source from Environment in TDM Portal

book

Article ID: 224842

calendar_today

Updated On:

Products

CA Test Data Manager (Data Finder / Grid Tools)

Issue/Introduction

It is not possible to delete a data source from an environment once it has been added and saved.

If someone adds a data source by mistake and wants to delete it after saving the environment, the option is not available since it is grayed out.

What is the best way to delete a data source? 

Cause

This is working as designed. Once an environment has been saved, you cannot go back and delete a data source from the environment.

Environment

Release : 4.9.1

Component : Web Portal - Data Modeling

Resolution

You must delete the entire environment and recreate it. For example, the Environment "32862820_Test", which has two data sources: Travel and Test.

https://api-broadcom-ca.wolkenservicedesk.com/attachment/get_attachment_content?uniqueFileId=fYRxi5pYY+o8nxWhDvVCDA==

The only way to remove a data source is to delete the environment and recreate it.

https://api-broadcom-ca.wolkenservicedesk.com/attachment/get_attachment_content?uniqueFileId=RGhRu0wTO0EcITo1QjMrHg==

Note, you can modify the Connection Profile for an existing Data Source, but you can delete the data source without deleting the entire Environment.

As far as how to remove it from the database, that could get quite messy, since some information is stored in the OrientDB database. 

Additional Information

There is an Enhancement Request (US776811) to add this functionality to a future release of TDM