Feature
- Added the ability to provide a list of asset Id's to delete
Feature
- Added support to clear down Live Chat chat sessions, either by a supplied list of Id's or ALL chat sessions depending on config
Fix:
- Fixed negative duration support issue
## 1.20.0 (February 8th, 2023)
Feature:
- Added ability to delete reports
## 1.19.0 (February 3rd, 2023)
Change:
- Removed AssetTypeID from the available filters, due to a change in Service Manager. This can be replaced by an entry in the AssetFilters property.
Feature:
- Added support to bulk-delete email records
- Changed case of BlockSize argument to blocksize, for consistency with the other arguments
Fix:
- When assets are deleted, related asset links are now deleted rather than all asset links
Fix:
- Issue where catalog and datetime filters could not be used concurrently when deleting request records
Change:
- Improved log output, included all configuration at start of log
Features:
- Added support to delete Supplier records from Supplier Manager
- Added support to delete Supplier Contract records from Supplier Manager
Change:
- Rebuilt using latest version of goApiLib, to fix possible issue witt connections via a proxy
## 1.16.1 (June 30th, 2021)
Fix:
- Issue returning count of Service Status History records
## 1.16.0 (June 17th 2021)
Changes:
- Updates to cater for move of Configuration Manager into Service Manager
Features:
- Added support to filter Requests for deletion by Catalog ID
- Added support to delete Service Availability records, filtered by Service ID(s)
- Added support to delete Contact records
- Added support to delete Organization records
- Added version check against Github repo
- Enhanced debug logging, now logs request and response payloads when an API call into Hornbill fails
Fix:
- Tweaked a little code in order to prevent a non-entity from being deleted.
Change:
- Added ability to cancel request tasks and BP - see KeepRequestsCancelBPTasks.
Change:
- Removal of unsupported unicode characters from response XML
Change:
- Pushed CLI errors to instance log to aid in debugging
Change:
- Additional logging around returning records for deletion
- Added string sanitizer to remove illegal character codes
Change:
- Upped the request timeout from 30 to 180 seconds
Change:
- Added support to provide complex filters for deletion of assets
Fix:
- Fixed issue where request tasks were not being deleted
Change:
- Refactored system & BPM event timer delete order
Features:
- Added support to clean-up Configuration Manager Dependency, Impact and Policy records when Assets are deleted
- Refactored to remove duplicate code
- Improved log output consistency
Features:
- Added support to filter assets for deletion by class and type
Features:
- Replaced large data set calls to entityBrowseRecords2 with paginated queries
- Removed calls to sysOptionGet and sysOptionSet
- Added support to remove additional Request BPM timers and events
- Added support to remove Request SLM events
Defect Fix:
- Fixed issue with AssetsLinks records not being cleared
Defect Fix:
- Fixed issue with RequestClosedDateFrom and RequestClosedDateTo returning a query error
Features:
- Added new filters for requests for deletion:
- RequestClosedDateFrom : Delete requests that were closed on or after this date/time
- RequestClosedDateTo: Delete requests that were closed before or at this date/time
Features:
- Added a "dryrun" CLI input parameter, which when enabled allows users to run the tool without deleting any records, and the primary key for each record that would have been deleted is output to logs for review. Requires Service Manager build 1392 or above to work with request data
- Added a "justrun" CLI input parameter, which when enabled will skip the initial "do you want to delete the data" prompts. This allows the tool to be run on a schedule
- Improved logging output:
- Logs everything on both client and server side now, instead of just server side, to aid in the reviewing of logs
- At the start of the log, all configuration options (the CLI params AND all options & filters from the config JSON) are now logged for auditing purposes
Features:
- Added support to delete Board Manager cards when parent Requests are deleted if Board Manager build >= 100 is present
- Improved logging output
Features:
- Outputs relevant error message if instance is not found
- Improved performance and better sharing of HTTP sessions
Defect fixes:
- Fixed memory leak
Features:
- Added support for supplying a duration string, as well as the existing hard-coded datetime string in the RequestLogDateFrom and RequestLogDateTo configuration parameters. This allows for the calculation of datetimes using the runtime datetime.
- General tidy-up of the code, split code in to separate Go files for ease of maintenance
Feature:
- Replaced Username & Password session authentication with API key
- Replaced stored username, password and instance URL with command line inputs for instance ID and API Key
Feature:
- When requests are being deleted, any asset links records are now also deleted.
- Added ability to delete User records
Feature:
- Added ability to delete specific requests using their reference numbers.
Feature:
- Requests to be deleted can now be filtered by:
- Multiple Service IDs
- Multiple Statuses
- Multiple Types
- Requests logged after a specific date & time
- Requests logged before a specific date & time
- NOTE - this version requires Hornbill Service Manager Update 1048 or above.
Feature:
- Now supports the deletion of Asset CMDB links when clearing down asset records
Defect fix:
- Changed the order in which request extended information is deleted, so that workflow tasks can be deleted successfully
NOTE! Removing requests using this version of the Hornbill Cleaner requires Service Manager v 2.38 or above!
Features:
- Added code to process the deletion of:
- Request Workflow instances
- Request Activities
- Request timer events
Features:
- Added parameter within configuration file, to specify class of requests to delete
- Improved performance of request deletion
- Improved error output to display
Features:
- Reduced record block size default down to 3
- Improved logging output
Features:
- Reduced record block size default down to 20
- Added flag to allow default block-size to be overridden at runtime
Features:
- Initial Release