Resource Inventory Driver Template with Extra Features #389
Quali-Community
started this conversation in
Useful Tips & Guides
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This is a driver template for use as a resource driver, including the Inventory Driver functions (remove "Inventory" directory if not using).
CREATE WITH Driver Builder v5.1 GA
Features
* External Configuration file - change driver settings without recompiling
* Debug logging - Enable or disable with config file. Limits log size configurable), keeps history
* Email Function - Configure outgoing settings in config file. Optional email attachment
* TestShellAPI initialization
External Configuration File
By storing global values that may change between different execution environment in an external config file, driver portability is increased. Values can be configured without recompiling the driver.
Debug Logging
The function WriteLog provides a simple debug log interface. Init function checks for the file (name and path set in DriverConfig.csv), maintains a maximum file size (DebugLogMaxKB), and archives 5 most recent files when they reach maximum size.
Email Function
Enables the driver to send email notifications to users via SendMail function
TestShellAPI Initialization
Attachments:
Gregory Sloan (Gregory.S) - 02/15/2014 08:35 PM
· 2404 ·
Beta Was this translation helpful? Give feedback.
All reactions