version 1.126, 2002/04/28 17:25:50
|
version 1.157, 2002/07/30 16:14:52
|
|
|
CHANGE LOG FOR PEGASUS | CHANGE LOG FOR PEGASUS |
| |
|
Version 1.10 - Started 8 June 2002 |
|
|
|
Code Freeze in Preperation for V2 Release |
|
From here forward, We are fixing bugs. |
|
TAG: Version_1_10 |
|
|
|
|
|
1. 10 June 2002 (KS) - Add new test function to use command line for |
|
many commands. The command is CLI. Right now it has no documentation. |
|
|
|
2. (Ramnath Ravindran - HP) 10 June 2002 - Commented out" #define |
|
PEGASUS_HAVE_TEMPLATE_SPECIALIZATION" in Platform_TRU64_ALPHA_DECCXX.h. |
|
|
|
3. (Carol Ann Krug Graves - HP) 17 July 2002 - |
|
Modified test source and Makefiles to make it possible to run the test suite |
|
specifying a location in which all temporary files (e.g. output files, |
|
repository files, etc.) are created. This ability can be useful if you would |
|
like, for example, on a test system, to nfs-mount the pegasus directory |
|
without write access, and run the test suite. |
|
|
|
The new functionality uses the PEGASUS_TMP environment variable. The TMP_DIR |
|
variable is set from the PEGASUS_TMP environment variable, and used in the |
|
Makefiles. If PEGASUS_TMP is not set, TMP_DIR defaults to ".", and the |
|
behavior is the same as previously (creates files in the current directory). |
|
Test programs use the value of the PEGASUS_TMP environment variable (or "." if |
|
not set) to construct the path of a file or directory to be created. |
|
|
|
When new tests are added that need to create files, directories, repository, |
|
etc., please use the TMP_DIR variable in the Makefile, and the value of the |
|
PEGASUS_TMP environment variable in the test program source file. For examples, |
|
see the current test programs (e.g. pegasus/src/Pegasus/Repository/tests/*). |
|
|
|
4. (Roger Kumpf - HP) 30 July 2002 - Changes from the Pegasus API review: |
|
|
|
- Updated the CIMName class to a data type class |
|
- Added CIMNamespaceName as a data type class |
|
- Updated the client, provider, and common (CIM*) classes to use CIMName |
|
and CIMNamespaceName in place of String when handing CIM names (class, |
|
property, qualifier, method, and parameter names) |
|
- Changed the CIMClass constructor to take a CIMName for the class name |
|
instead of a CIMObjectPath |
|
- Changed the CIMName::equal method to be non-static |
|
|
|
|
|
----------------------------------------------------------------- |
Version 1.09 - Started 5 April 2002 | Version 1.09 - Started 5 April 2002 |
TAG: Version_1_09. | TAG: Version_1_09. |
| |
|
|
32. (Denise Eckstein - HP) 27 Apr 2002 - Fixed several defects | 32. (Denise Eckstein - HP) 27 Apr 2002 - Fixed several defects |
in MOF compiler associated with the handling the initialization | in MOF compiler associated with the handling the initialization |
of array values. | of array values. |
|
|
|
33. (KS) 30 April 2002 - Added Namespace Control Provider. Note that it is |
|
not completely tested today and only enumeratenames is guaranteed. |
|
|
|
34. (Roger Kumpf - HP) 6 May 2002 - Reworked the String class. Fixed the |
|
places where StrLen() was reading off the end of arrays. Removed the |
|
Cat() functions. Moved Open(), OpenAppend(), and GetLine() functions |
|
to the FileSystem module. Removed the EmptyStringArray() method. |
|
Moved method implementations from header file to source file. Marked |
|
the _CString class for internal use only. |
|
|
|
35. (Sushma Fernandes - HP) 9 May 2002 - Updated the Logger to log to |
|
syslog on the HP-UX platform. |
|
|
|
36. (Sushma Fernandes - HP) 9 May 2002 - Fixed the method |
|
CIMDateTime::getCurrentDateTime() to return local time instead of UTC. |
|
Updated the CIMDateTime::getDifference() method to compute the difference |
|
between two local times. Also updated the getDifference to compute the |
|
difference between two intervals. |
|
|
|
37. (Mary Hinton) 10 May 2002 - Fixed the problem in the new version of |
|
pegasus_gettimeofday(struct timeval *tv)function for the Windows |
|
platform. The new implementation was implemented for higher resolution |
|
for performance statistics. However, it was causing an intermittent |
|
hang in the ThreadPool test on the Windows platform.When (long int) |
|
is changed to (__int64), the tv_usec variable of timeval struct has |
|
the correct value. |
|
|
|
38. (Roger Kumpf - HP) 13 May 2002 - To eliminate the possibility of |
|
collisions (and subsequent corruption) when different threads |
|
concurrently update the ArrayRep reference count, I added a Mutex |
|
to the ArrayRep structure. This Mutex gets locked in the inc() |
|
and dec() methods that manage the reference count. |
|
|
|
After adding the Mutex, the "mysterious" memory problems seemed to clear |
|
up. This seems like a very good thing. However, note that the addition |
|
of the Mutex adversely affects performance (nearly 2:1). I tried using |
|
an AtomicInt for the reference count, but that seemed to yield even worse |
|
performance on my system. |
|
|
|
Anyone should feel free to optimize the performance of the locking in |
|
the ArrayRep structure. Since I believe this locking is required for |
|
proper operation, I've added the Mutex for all platforms. Note that I |
|
had to comment out the assert statements in internal_dq.h to avoid a |
|
circular header file dependency (Array.h->IPC.h->internal_dq.h-> |
|
Exception.h->String.h->Array.h). |
|
|
|
39. (Roger Kumpf - HP) 13 May 2002 - Removed operator int() methods from |
|
all CIM* classes. These methods had been causing a number of difficult |
|
to find defects, including the use of the wrong versions of the methods |
|
in Memory.h by the Array template (leading to major memory leaks). |
|
|
|
In general, it is dangerous to define a casting operator method that |
|
loses so much information, because the compiler will apply the cast |
|
at will in an effort to match types. I've replaced all instances of |
|
the int cast operator with isNull() methods. |
|
|
|
40. (Nag Boranna - HP) 14 May 2002 - HP-Nag: Added SSL Certificate verification |
|
code in TLS.cpp, created a new class CertificateInfo to pass certificate |
|
information to the client's call back function. Modified CIMServer.cpp and |
|
the Command lines that are using SSLContext to pass a call back function. |
|
Fixed few display messages in CIMConfigCommand.cpp to show meaningfule |
|
messages when CIM server is not running. |
|
|
|
41. (Roger Kumpf - HP) 15 May 2002 - Moved CIM*::toXml() methods to |
|
XmlWriter::append*Element(). Moved CIM*::print() methods to |
|
XmlWriter::print*Element(). Putting this function in XmlWriter |
|
instead of the CIM* classes keeps those internal methods out of |
|
the published client and provider APIs. |
|
|
|
42. (Roger Kumpf - HP) 15 May 2002 - Moved CIM*::toMof() methods to |
|
a new MofWriter class as MofWriter::append*Element(). Moved |
|
CIM*::printMof() methods to MofWriter::print*Element(). |
|
|
|
43. (Nag Boranna - HP) 16 May 2002 - Implemented SSL handling in |
|
CIMClient.cpp for local connection and modified the CLIs to not to pass |
|
SSLContext to the client api. |
|
|
|
44. (Roger Kumpf - HP) 16 May 2002 - Reworked the Array template so that |
|
each array has its own ArrayRep copy rather than Arrays sharing |
|
ArrayReps and reference counting. |
|
|
|
45. (Nag Boranna - HP) 17 May 2002 - Moved SSLContext class out of |
|
TLS files, created SSLContextRep to hide members from the users of |
|
SSLContext. Also included CertificateInfo in SSLContext files and |
|
removed the CertificateInfo files, so that the client SDK can only |
|
need to include SSLContext.h for the client apps to use. |
|
|
|
46. (Sushma Fernandes - HP) 17 May 2002 - Fixed the CIMInstanceRep::resolve |
|
method to return the correct class origin. Fixed SecurityPropertyOwner to |
|
disallow passwordFilePath="". |
|
|
|
47. (Nag Boranna - HP) 20 May 2002 - Modified CIM Server and Client |
|
API to lookup port number from services. CIM Server uses default port |
|
number (5988 for HTTP or 5989 for HTTPS) if no port number is configured |
|
and no port is specified in the configuration file. CIMClient's connectLocal() |
|
method is modified to try and connect to HTTP port, if failed then try and |
|
connect to HTTPS port. |
|
|
|
48. (Sushma Fernandes - HP) 21 May 2002: Fixed a problem in repository related |
|
to rollback failure. |
|
|
|
49. (MM) 23 May 2002 - Added ProviderAdapter support |
|
The ProviderAdapterManager loads an additional Adapter library in |
|
case of a non-default interfaceName. This Adapter library has to offer a |
|
factory callback PegasusCreateProviderAdapter() in analogy to the |
|
CIMBaseProvider - an example, the AdapterSkeleton, can be found in |
|
src/Providers/generic/CMPIAdapter/ |
|
|
|
50. (MM) 23 May 2002 - New AtomicInt implementation using pthread_spinlocks. |
|
|
|
51. (Nag Boranna - HP) 23 May 2002 - Added config properties |
|
'enableHttpConnection' and 'enableHttpsConnection'. Renamed |
|
'requireAuthentication' to 'enableAuthentication' and 'requireAuthorization' |
|
to 'enableNamespaceAuthorization'. Removed few ATTN's in Authentication code. |
|
|
|
52. (Roger Kumpf - HP) 28 May 2002 - Reworked the Array template so that |
|
the implementation is hidden from clients and providers. This was |
|
accomplished by using explicit instantiation of the array template for |
|
each array type that is supported in the client and provider APIs. |
|
The array template implementation is still available for use within |
|
the Pegasus core, allowing implicit instantiation of additional array |
|
types used internally. |
|
|
|
53. KS 28 May 2002 - Added heiarchial subclass search of subclasses to |
|
enumerateinstancenames and enumerateinstances. There is a problem |
|
however with trashing of the requests messages so there is a |
|
flag LIMIT_ENUM_TO_ONE_LEVEL in CIMOperationDispatcher.cpp that |
|
causes it to go through all the motions except to request instances |
|
only for the current level. |
|
|
|
54. (Sushma Fernandes - HP) 28 May 2002 - Replaced getenv("PEGASUS_TRACE") |
|
with Tracer calls. Fixed UserAuthProvider and ConfigSettingProvider to |
|
check for user credentials. UserAuthProvider checks whether the user |
|
is a privileged user for all operations. ConfigSettingProvider checks |
|
whether the user is a privileged user only for write operations. |
|
|
|
55. (Carol Ann Krug Graves - HP) 30 May 2002 - |
|
Removed the CIMNamedInstance and CIMObjectWithPath classes. The CIMObject |
|
and CIMInstance classes now include a setPath (CIMObjectPath) method. |
|
These changes will affect Clients and Providers. A call to the |
|
CIMNamedInstance constructor with a CIMObjectPath and a CIMInstance should |
|
be replaced with a call to the setPath () method on the CIMInstance, |
|
passing the same CIMObjectPath. A call to the CIMNamedInstance |
|
getInstance () method should be replaced with the CIMInstance, and a call |
|
to the CIMNamedInstance getInstanceName () method should be replaced with a |
|
call to the getPath () method on the CIMInstance. A call to the |
|
CIMObjectWithPath constructor with a CIMObjectPath and a CIMObject, should |
|
be replaced with a call the setPath () method on the CIMObject, passing the |
|
same CIMObjectPath. A call to the CIMObjectWithPath getObject () method |
|
should be replaced with the CIMObject, and a call to the CIMObjectWithPath |
|
getReference () method should be replaced with a call to the CIMObject |
|
getPath () method. |
|
|
|
56. (Jenny Yu - HP) 31 May 2002 - Implemented a cimserver_kill() method |
|
to kill the CIMServer process if the CIM Server is still running after |
|
the shutdown timeout has expired during shutdown. The CIMServer process |
|
Id is saved in a file after CIMServer starts up. This file is removed |
|
after CIMServer terminates normally. Only added code for the HPUX |
|
platform. |
|
|
|
57. (Jenny Yu - HP) 03 Jun 2002 - Removed all cimserver command line options |
|
except for: -v (version), -h (help), -D (home), -s (shutdown), and |
|
-install and -remove (for Windows only). All other options can be set |
|
using the <configProperty=value> command line syntax. |
======================================================================== | ======================================================================== |
| |
Version 1.08 working towards 1.1 - Started 27 March 2002 | Version 1.08 working towards 1.1 - Started 27 March 2002 |