We are running out of space on our production instance.
We have identified that a large amount of the space is being taken up by the Portal Jobs folder.
I had a couple of questions:
1) Is it okay to purge this data after a certain amount of time?
2) Is there a way to configure the system to automatically purge this data?
Test Data Manager
TDM Portal
Yes, it is safe to purge the Job logs from the Portal server.
You may need to verify your company policy regarding log retention, before setting up the TDM Portal application to automatically clean up the Jobs directory.
To configure TDM Portal to clean up the Jobs directory for you, you will need to add the following statements to the application.properties file and restart the TDM Portal service.
In TDM 4.8+ Engineering introduced a batching mechanism to clean up the directory in smaller batches: 'tdmweb.jobs.cleanup.batch.size' (default 500).
If you add this statement to the application.properties file, the application will clean up the directory in chunks of the number of jobs you specify.
By default, 500 jobs at a time.
NOTE: the application.properties file is read in at startup of the CA Test Data Manager Portal Service.
Therefore, any changes made will only take effect after the TDM Portal service has been stopped and restarted.
For more information see the TDM documentation - "Configure Access to Requests Results"