DB Service - Provide access to Clearquest database
Andrew DeFaria <Andrew@ClearSCM.com>
Monday, October 10, 2011 5:02:07 PM PDT
Modifed 2011/12/31 02:13:37
Provides an interface to the Clearquest database over the network.
This library implements both the daemon portion of the server and the client API.
The server allows both read and write access to a Clearquest database as defined in cqdservice.conf file. Note the username/password must be of a user who can write to the Clearquest database for write access to succeed.
A hash is passed into to the execute method, which the client should use to talk to the server, that describes relatively simple protocol to tell the server what action to perform. In both the read case and the read/write case a field named id should be defined that has a value of "<record>=<id>" (e.g. "defect=BUGDB00034429").
For the read case the rest of the keys are the names of the fields to retrieve with values that are undef'ed. For read/write, the rest of hash contains name value pairs of fields to set and their values.
Execute returns a status and a hash of name value pairs for the read case and an array of lines for any error messages for the read/write case.
The following methods are available:
CONFIGURATION AND ENVIRONMENT
DEBUG: If set then $debug is set to this level.
VERBOSE: If set then $verbose is set to this level.
TRACE: If set then $trace is set to this level.
ClearSCM Perl Modules
BUGS AND LIMITATIONS
There are no known bugs in this module.
Please report problems to Andrew DeFaria <Andrew@ClearSCM.com>.
LICENSE AND COPYRIGHT
Copyright (c) 2011, ClearSCM, Inc. All rights reserved.