version 1.68, 2002/02/23 00:58:48
|
version 1.94, 2002/04/02 16:56:57
|
|
|
CHANGE LOG FOR PEGASUS | CHANGE LOG FOR PEGASUS |
| |
|
Version 1.08 working towards 1.1 - Started 27 March 2002 |
|
TAG: Version_1_08. Note that the tagging was not all simultaneous because |
|
of problems with the CVS repository |
|
|
|
1. KS 27 March 2002 - Updaded pegasus version to 1.08. Tok snapshot. |
|
Tagged CVS 1_08. |
|
|
|
2. KS 2 April 2002 -Add better qualifier testfunctions to cimclass, |
|
qualifierlist, etc. and start to add specific qualifier tests on creates. |
|
======================================================================== |
| |
Version 1.07 working towards 1.1 - Started 4 Feb 2002 | Version 1.07 working towards 1.1 - Started 4 Feb 2002 |
Started just before cutover to the new dispatcher, etc. | Started just before cutover to the new dispatcher, etc. |
|
|
to be returned as the correct type must use GetInstance (perhaps with | to be returned as the correct type must use GetInstance (perhaps with |
a property list) rather than GetProperty. | a property list) rather than GetProperty. |
| |
|
13. (Roger Kumpf - HP) 22 Feb 2002 - Reworked the CIMParamValue class. |
|
Instead of being composed of a CIMParameter and a CIMValue, this |
|
class is now composed of a String (parameter name) and a CIMValue. |
|
This change removes the redundancy of having the type, isArray, |
|
and arraySize members in both the CIMParameter and the CIMValue. |
|
The new CIMParamValue definition is more consistent with the XML |
|
encoding of parameter values. |
|
|
|
An isTyped member was also added to CIMParamValue to support the |
|
behavior outlined in item 12 above. Clients should use the isTyped() |
|
method to determine whether the output parameters returned from |
|
InvokeMethod operations are of the correct type, or whether they |
|
have defaulted to String type. |
|
|
|
14. (KS) 4 March 2002 - Corrections for NULL value and the XML code. |
|
Corrections to compiler for Null values input (parser and valuectory) |
|
|
|
15. (Nag Boranna - HP) 04 March 2002 - Modified CIMClient API to accept |
|
username and password as parameters to connect() method, added a new |
|
method diconnect() that closes the open connection with the server |
|
and added code to handle HTTP Basic authentication challenges from |
|
the server. |
|
|
|
16 (KS) 4 March 2002 - Correct problem with array constants not picking up |
|
all of the entires in the array. Bugzilla bug # 6. |
|
|
|
17. (Yi Zhou - HP) 4 March 2002 - Implemented provider registration manager |
|
to perform efficient lookup of instance provider, method provider, and |
|
indication provider. Also, implemented provider registration instances |
|
operations. |
|
|
|
Modified registration provider to use latest provider registration schema. |
|
|
|
18 (KS) 6 March 2002 - Implemented changes to compiler and flavors to correct the |
|
definition of CIMFlavors. |
|
|
|
|
|
19. (Roger Kumpf - HP) 1 Mar 2002 - Reworked the XmlWriter class to |
|
eliminate many of the redundant memory copies that resulted from the |
|
nested method call structure. Now, instead of having a method at |
|
each level that adds a begin tag, contents, and an end tag, there |
|
are separate methods to add the begin and end tags. At the top |
|
level, each of the begin tag methods are called, then the message |
|
"body" is added, followed by calls to the end tag methods. |
|
|
|
The message body is currently still copied twice, once into the XML |
|
payload and then again when the HTTP header is added. (Since the |
|
HTTP header contains a content length field, the header cannot be |
|
constructed until the payload is complete.) It is possible to |
|
remove these extra copies as well, but that would require additional |
|
changes elsewhere in the code. For example, the HTTPMessage class |
|
would need to hold the headers and payload separately rather than in |
|
a single buffer. |
|
|
|
Along with these changes, I did a lot of cleanup. Much of the XML |
|
formatting code has been moved from CIMReference to XmlWriter. Also, |
|
error message formatting has been consolidated in XmlWriter from the |
|
various encoders and decoders, etc. |
|
|
|
20. (Roger Kumpf - HP) 5 Mar 2002 - Added checks in the |
|
CIMOperationRequestDecoder and CIMExportRequestDecoder to validate |
|
that the information in the HTTP headers of a request is consistent |
|
with what is encoded in the XML request itself. |
|
|
|
Specifically, the CIMOperation, CIMProtocolVersion, CIMMethod, |
|
CIMObject, CIMBatch, CIMExport, and CIMExportBatch headers are |
|
validated. |
|
|
|
21. (KS) 7 March 2002 - Correct error in qualifier propagation processing in |
|
qualifierlist.resolve. Temporarily remove the DEFAULT setup on the |
|
Compiler qualifier generation. Add tests for resolve processing. |
|
|
|
22. (Roger Kumpf - HP) 8 Mar 2002 - Simplified CIMClient API construction. |
|
Previously, the client application constructed a client API using: |
|
|
|
Monitor* monitor = new Monitor; |
|
HTTPConnector* connector; |
|
connector = new HTTPConnector(monitor); |
|
Uint32 timeoutMillis = 60 * 1000; // optional |
|
|
|
CIMClient client(monitor, connector, timeoutMillis); |
|
|
|
With this change, the client application now looks like: |
|
|
|
Uint32 timeoutMillis = 60 * 1000; // optional |
|
|
|
CIMClient client(timeoutMillis); |
|
|
|
The old style allowed an SSL context to be specified in the HTTPConnector |
|
constructor. It seems that the SSL context is really a property of a |
|
connection rather than of the client API. So instead of adding an SSL |
|
context parameter to the CIMClient constructor, I added it to the CIMClient |
|
connect() method. There are now forms of the connect() method with and |
|
without an SSL context. Similar changes were made in the HTTPConnector |
|
class to allow specification of an SSL context in the connect() method |
|
rather than in the constructor. |
|
|
|
NOTE: Client applications are affected and must be updated with this |
|
change. I've already updated all the clients that are checked in and |
|
included in the Pegasus build. |
|
|
|
23. (KS) 8 March 2002 - Correct error in compiler that caused length field |
|
of fixed length arrays to be lost. |
|
|
|
24. (Jenny Yu - HP) 8 March 2002 - Modified the CIMException class to NOT |
|
include the source filename and line number in the exception message. |
|
However, for anyone who wishes to include such information in the |
|
CIM Exception message, a compile option DEBUG_CIMEXCEPTION can be used |
|
for that purpose. |
|
|
|
A couple of changes have been made to the Tracer class: |
|
|
|
- CIMException messages can now be put in a trace file using the Tracer. |
|
A new interface has been added to the Tracer to accept a CIMException |
|
as input and writes the exception message in the CIMException to the |
|
trace file. This message will include the source filename and the |
|
line number of the CIMException originator. |
|
|
|
Tracer::traceCIMException(traceComponent, traceLevel, cimException); |
|
|
|
- Strings can now be traced using the Tracer class: |
|
A new interface has been added to the Tracer to accept a String as |
|
input and writes the String to the trace file. |
|
|
|
(ex.) |
|
You can issue the following method call: |
|
Tracer::trace(TRC_CONFIG, Tracer::LEVEL2, "Operation Failed."); |
|
|
|
or use the following new macro: |
|
PEG_TRACE_STRING(TRC_CONFIG, Tracer::LEVEL2, "Operation Failed."); |
|
|
|
25. (Ramnath Ravindran - Compaq) 11 March 2002 - added IPCTru64.h and modified |
|
several files so that Pegasus could build and run on Tru64 unix. Added |
|
one macro in ConfigUnix and ConfigWindows (PEGASUS_OR_IOS_BINARY) in |
|
the case where std::ios::binary is present with a bitwise OR operator. |
|
This macro only works when the std::ios::binary is NOT the first |
|
operator to be "OR"ed. |
|
|
|
26. (Ramnath Ravindran - Compaq) 12 March 2002 - modified more files so that |
|
Pegasus could build and run on Tru64 unix. Finished replacing instances |
|
of ios::binary with the macros PEGASUS_IOS_BINARY and |
|
PEGASUS_OR_IOS_BINARY. Also modified some code that dealt with file |
|
streams. Tru64 does not support the use of the " != " operator on a |
|
fstream object. Instances of such were either modified or an ifdef |
|
block detecting a build on Tru64 was used. Added cstdarg and ctime in |
|
pegasus/src/stdcxx/cwrappers/ directory. |
|
|
|
27. (Mary Hinton) 16 March 2002 - fixed the CIMServer so that it could once |
|
again be installed as a Windows service. The repositoryRootPath could |
|
not be found, because the pegasusHome variable was not being set properly |
|
in the Windows service work thread. |
|
|
|
28. (Bob Blair by KS) 17 March 2002 - Modified repository so there is both a |
|
local repository (cimmofl) and a client interface repository (cimmof) |
|
executable |
|
|
|
29. (KS ) 18 March 2002 - Modified schema makefiles to use the cimomfl respository |
|
executable. |
|
|
|
30. (Roger Kumpf - HP) 19 Mar 2002 - Added range checking for Uint* and |
|
Sint* values in XmlReader.cpp. Previously, values that were out of |
|
range were simply truncated to fit the given integer size. An |
|
exception is now thrown when the given string can not be parsed into |
|
an integer of the specified size. |
|
|
|
31. (Roger Kumpf - HP) 20 Mar 2002 - Added support for hexadecimal integers |
|
in XmlReader.cpp. |
|
|
|
32. (Nag Boranna - HP) 21 March 2002 - Implemented server side Basic |
|
Authentication handling code and cleaned up ATTN's in the authentication |
|
releated files. Implemented a new AuthenticationInfoRep class and modified |
|
the related files. Added more test cases to test the authentication classes. |
|
|
|
33. (Ramnath Ravindran - Compaq) 21 March 2002 - replaced instances of "| ios::binary" |
|
with PEGASUS_OR_IOS_BINARY in 3 files: System.cpp, InstanceIndexFile.cpp, and |
|
InstanceDataFile.cpp |
|
|
|
34. (KS) 25 March 2002 - Extended qualifier resolution to correctly handle Flavors nad |
|
enabled the scope and flavors testing. Had been pretty much blocked before. |
|
|
|
35. (Roger Kumpf - HP) 26 Mar 2002 - Created a class to map CIM operation |
|
request messages to provider API calls. Cleaned up the dispatcher and |
|
added the ability to pass requests to control providers through the |
|
ModuleController. Integrated the ConfigSettingProvider with the |
|
ModuleController and set up the structure for getting the control |
|
providers working. Moved the ConfigSettingProvider from the |
|
Providers tree to the Pegasus tree, since it really is statically |
|
linked into the server. |
|
|
|
36. (Roger Kumpf - HP) 27 Mar 2002 - Integrated the UserAuthProvider with |
|
the ModuleController as a control provider. Moved the UserAuthProvider |
|
from the Providers tree to the Pegasus tree. |
|
|
|
37. (Roger Kumpf - HP) 27 Mar 2002 - Integrated the |
|
ProviderRegistrationProvider with the ModuleController as a control |
|
provider. Moved the ProviderRegistrationProvider to the Pegasus |
|
ControlProviders directory. Obsoleted and removed the |
|
Server/ConfigurationManager class and files. |
|
|
|
38. (KS) 27 march 2002 - Modifications to common functions and the compiler to |
|
extend the processing of class creation and correct the flavors and their |
|
use. This allows flavors to be inherited with rules for override, etc. |
|
|
| |
------------------------------------------------------------------- | ------------------------------------------------------------------- |
Version 1.06 working towards 1.1 Started 13 December 2001 | Version 1.06 working towards 1.1 Started 13 December 2001 |