1 karl 1.1 CHANGE LOG FOR PEGASUS
|
2 karl 1.59
|
3 karl 1.95 Version 1.09 - Started 5 April 2002
4 TAG: Version_1_09.
5
6 1. 5 April 2002 (KS) Update version to 1.09. TAG, and took snapshot.
7
|
8 kumpf 1.96 2. (Roger Kumpf - HP) 5 Apr 2002 - Modified the CIMOperationResponseMessage
9 class and its subclasses to contain a CIMException instead of a
10 CIMStatusCode and String description. This allows extra information in
11 a CIMException, such as file name and line number, to be carried
12 internally throughout the system.
13
14 This change creates a single place where CIMExceptions are converted
15 to an error code and description to be written out in XML. This
16 single place controls the ability to tune what gets included in the
17 error description, as well as providing a convenient place to trace
18 errors that get returned to clients. In particular, client applications
19 currently see messages that contain redundant error code information,
20 such as:
21
22 CIM_ERR_INVALID_PARAMETER: One or more parameter values passed
23 to the method were invalid: "CIM_ERR_INVALID_PARAMETER: One
24 or more parameter values passed to the method were invalid:
25 "Unrecognized parameter "Bogus"""
26
27 The CIMOperationResponseMessage change will allow the redundant
28 information to be eliminated from the messages.
|
29 karl 1.97
30 3. (KS) 7 April 2002- Minor really bad hack to systemwindows.cpp getcurrenttime
31 after roger fixed timevalue.
|
32 kumpf 1.96
|
33 kumpf 1.98 4. (DME) 7 April 2002 Added support for HPUX running on IA64 hardware.
34
|
35 kumpf 1.99 5. (DME) 7 April 2002 Update master result file for MOF Compiler CLI tests.
|
36 kumpf 1.100 Update master result file of wbemexec CLI tests.
|
37 kumpf 1.99
|
38 ramnath 1.101 6. (Ramnath Ravindran - Compaq) 8 Apr 2002 - Modified a libraries.mak file in the src/Pegasus/Security/Authentication/tests directory in order to fix the
39 build on Tru64.
40
|
41 kumpf 1.102 7. (Roger Kumpf - HP) 8 Apr 2002 - The RETURNVALUE and IRETURNVALUE elements
42 of the XML encoding of operation responses had been treated as mandatory.
43 The client response decoder has been updated to make those elements
44 optional for operations that do not require a return value. The server
45 response encoder has been updated not to include those elements when the
46 request does not include a return value.
47
|
48 kumpf 1.103 8. (Roger Kumpf - HP) 9 Apr 2002 - Updated the Instance, Association, and
49 Class provider interfaces to use CIMPropertyList instead of Array<String>
50 for the propertyList parameters. All providers that implement a method
51 with a propertyList parameter must be modified in accordance with this
52 change. All providers linked into the Pegasus build have been updated.
53
|
54 kumpf 1.105 9. (Roger Kumpf - HP) 11 Apr 2002 - Defined an HTTP error message to be
|
55 kumpf 1.104 returned to the CIMClient when an HTTP error response is returned.
56 Added a method to parse the status line of an HTTP response.
|
57 kumpf 1.105
58 10. (Roger Kumpf - HP) 11 Apr 2002 - Changed the MessageQueue::getQueueName()
59 method from virtual to non-virtual, and removed that method definition
60 from all the subclasses. To make sure that the MessageQueue class gets
61 the queue name value, the default value for the queue name parameter to
62 the MessageQueue constructor was removed. Constants were defined in
63 Constants.h for all the queue names currently used in Pegasus. The
64 places where those queue names were being used for lookup were also
65 changed to use the constants.
|
66 kumpf 1.104
|
67 kumpf 1.106 11. (Roger Kumpf - HP) 12 Apr 2002 - Defined an HTTPError exception to
68 report non-200-OK HTTP responses back to client applications. Added
69 an HTTPErrorMessage class to hold information about an HTTP error
70 response. Added support in the CIMOperationResponseDecoder to
71 process HTTP error responses and turn them into HTTPErrorMessages.
72 Added support in CIMClient to process HTTPErrorMessages and throw an
73 HTTP error. This functionality required fundamental changes in the
74 way CIMClient processes messages. It can no longer search its queue
75 for a message of the expected type. Instead, is assumes that no
76 messages should be on its queue unless it has sent a request to the
77 encoder. In that case, it assumes that any message on its queue is
78 the response to that request.
79
|
80 kumpf 1.107 12. (Denise Eckstein - HP) 12 Apr 2002 - Extended versioning strategy
81 to allow platform-specific version strings.
82
|
83 kumpf 1.108 13. (Denise Eckstein - HP) 14 Apr 2002 - Renamed shared library for
84 ManagedSystem/OperatingSystem provider so that it would not
85 conflict with library name of generic/OperatingSystem provider.
86
|
87 kumpf 1.109 14. (Denise Eckstein - HP) 14 Apr 2002 - Added compile flags _REENTRANT and RWSTD_MULTI_THREAD flags for platform_HPUX_PARISC_ACC.
88
|
89 kumpf 1.108
|
90 kumpf 1.110 15. (Nag Boranna - HP) 15 Feb 2002 - HP-Nag: Added PAM based user
91 authentication module. The implementation is available only on Unix
92 platforms. The PAM module is optional and it can be built by setting
93 the environment variable PEGASUS_PAM_AUTHENTICATION."
94
|
95 kumpf 1.111 16. (Sushma Fernandes - HP) 15 Apr 2002 - Implemented static methods
96 Uint64 getDifference(CIMDateTime, CIMDateTime), to get the difference
97 between two CIMDateTimes and CIMDateTime getCurrentDateTime(), to return
98 the current date time as CIMDateTime in the CIMDateTime class. Also added
99 method Boolean isInterval(), to check if the CIMDateTime object is an
100 interval.
101
|
102 kumpf 1.112 17. (Nitin Upasani - HP) 15 Apr 2002 - Improved Consumer interface with
103 indications. Now indications can be displayed using sample
104 DisplayConsumer. To test, create Handler with destination as
105 localhost:5988/logicalname. Create a file consumer_list.dat in your
106 PEGASUS_HOME directory and then ass entry as follows:
107 logicalname = DisplayConsumer
108 This will help ConsumerTable to load the DisplayConsumer to consume
109 the indication passed through ExportServer (CIMExportRequestDispathcer).
110
|
111 kumpf 1.113 18. (Yi Zhou - HP) 15 Apr 2002 - Implemented sending message of provider
112 registration notification to subscription service.
113
|
114 kumpf 1.114 19. (Roger Kumpf - HP) 16 Apr 2002 - Defined an exception hierarchy for
115 CIMClient API users. All exceptions thrown by CIMClient are now
116 subclasses of CIMClientException. The CIMClient methods are defined
117 as throwing CIMClientException, which will allow the actual exceptions
118 thrown to change without changing the method signatures. It also makes
119 it more clear to the client application which exceptions need to be
120 handled.
121
122 A new message type, ClientExceptionMessage has been defined as well.
123 This message is used to communicate client exceptions from the CIM
124 operation response decoder to the CIMClient. Previously, several
125 classes of exceptions were being dropped in the decoder. New
126 CIMClientException subclasses have been defined to model these
127 exceptions. These changes allow decoding exceptions to be passed
128 back to the client application. Examples are unparsable HTTP
129 responses, malformed XML, and mismatched CIM responses (message ID,
130 message type).
131
132 The CIM clients that are linked into the Pegasus build have been
133 updated to catch CIMClientException instead of CIMException.
|
134 karl 1.115
|
135 kumpf 1.118 20. (KS) 18 Apr 2002 -Incorporated tomof client into the build. Includes
|
136 karl 1.115 usage and help.
137 This program outputs mof or xml from repository either as a client
138 or direct to the repository.
139
|
140 kumpf 1.118 21. (KS) 18 Apr 2002 - Changed all FIXME, etc. in compiler to ATTN with
|
141 karl 1.115 priorities.
|
142 kumpf 1.114
|
143 kumpf 1.118 22. (MM) 18 Apr 2002 - Associator provider handling
|
144 sage 1.116
|
145 kumpf 1.118 23. (MM) 18 Apr 2002 - HiRes pegasus_gettimeofday() for Windows needed
|
146 sage 1.117 for performance statistics.
|
147 kumpf 1.118
148 24. (Roger Kumpf - HP) 18 Apr 2002 - Removed the "match" code in the
149 String class which had a dependency on the TCL license. Where this
150 code was being used to match HTTP headers, I replaced the call to
151 String::matchNoCase() with specific logic to check for the namespace
152 in an HTTP extension header. For example, if the allowNamespacePrefix
153 argument is true and the search tag is "Tag", HTTPMessage::lookupHeader
154 will match "Tag" and "45-Tag", but not "abcTag". This behavior more
155 closely models the intent of the String match in this case and is
156 therefore more correct.
|
157 sage 1.117
|
158 kumpf 1.119 25. (Denise Eckstein - HP) 20 Apr 2002 - Added an instance of
159 PegasusVersion.h to each product component. This was done
160 to support component level version tracking.
161
|
162 sage 1.120 26. (MM) 22 Apr 2002 - Performance Measurement Implementation
163
|
164 kumpf 1.121 27. (Susan Campbell - HP) 22 Apr 2002 - Various enhancements and bug fixes
165 to the Managed System OS provider. Rolled in the Linux support from
166 the Linux-specific OS provider and added properties to the HP-UX and
167 Windows OS providers.
168
|
169 kumpf 1.122 28. (Roger Kumpf - HP) 24 Apr 2002 - Overhauled the configuration property
170 "unset" functionality. cimconfig now uses modifyInstance with a
171 property list to specify whether the current or planned value (or both)
172 are to be updated. It uses a "null" value to indicate that the value
173 should be unset (reset to default).
174
|
175 kumpf 1.123 29. (Roger Kumpf - HP) 24 Apr 2002 - Restructured the configuration
176 property owners to remove redundant code.
177
|
178 kumpf 1.124 30. (Warren Otsuka - HP) 26 Apr 2002 - Reimplement wbemexec to use a
179 new WbemExecClient interface based on HTTPConnection instead of the
180 obsolete Channel code. Also add SSL option to wbemexec.
181
|
182 kumpf 1.125 31. (Roger Kumpf - HP) 26 Apr 2002 - Added copy constructors to the
183 CIMMessage subclasses.
184
|
185 kumpf 1.126 32. (Denise Eckstein - HP) 27 Apr 2002 - Fixed several defects
186 in MOF compiler associated with the handling the initialization
187 of array values.
|
188 karl 1.127
189 33. (KS) 30 April 2002 - Added Namespace Control Provider. Note that it is
190 not completely tested today and only enumeratenames is guaranteed.
191
|
192 kumpf 1.128 34. (Roger Kumpf - HP) 6 May 2002 - Reworked the String class. Fixed the
193 places where StrLen() was reading off the end of arrays. Removed the
194 Cat() functions. Moved Open(), OpenAppend(), and GetLine() functions
195 to the FileSystem module. Removed the EmptyStringArray() method.
196 Moved method implementations from header file to source file. Marked
197 the _CString class for internal use only.
198
|
199 karl 1.95 ========================================================================
200
|
201 karl 1.93 Version 1.08 working towards 1.1 - Started 27 March 2002
|
202 karl 1.94 TAG: Version_1_08. Note that the tagging was not all simultaneous because
203 of problems with the CVS repository
|
204 karl 1.93
|
205 karl 1.95 1. KS 27 March 2002 - Updaded pegasus version to 1.08. Took snapshot.
|
206 karl 1.93 Tagged CVS 1_08.
207
|
208 karl 1.94 2. KS 2 April 2002 -Add better qualifier testfunctions to cimclass,
209 qualifierlist, etc. and start to add specific qualifier tests on creates.
|
210 karl 1.93 ========================================================================
|
211 karl 1.59
212 Version 1.07 working towards 1.1 - Started 4 Feb 2002
213 Started just before cutover to the new dispatcher, etc.
214 TAG: VERSION_1_07
215
216 1. KS - Updated pegsusversion to 1.07 and tagged file.
217
|
218 sage 1.60 2. (Markus Mueller) 05 Feb 2002 - AIX support.
|
219 karl 1.59
|
220 kumpf 1.67 3. (Sushma Fernandes - HP) 13 Feb 2002 Implemented FileSystemPropertyOwner
221 class to support PEGASUS_HOME dependent properties like Repository
222 location, Provider location and Consumer location.
223 The default location for these properties continue to be the same
224 as before. Added support to the Config Manager to own the
225 Pegasus Home variable and implemented method (getHomedPath) to
226 return absolute paths based from Pegasus Home.
227
228 For more information look in to the following files:
229 pegasus/src/Pegasus/Config/ConfigManager.h
230 pegasus/src/Pegasus/Config/ConfigManager.cpp
231 pegasus/src/Pegasus/Config/FileSystemPropertyOwner.h
232 pegasus/src/Pegasus/Config/FileSystemPropertyOwner.cpp
233
234 4. KS - 18 Feb 02 Add changes to test for and set the NULL value for CIMValues.
|
235 karl 1.62 This forces new CIMValues to have a NULL attributes that is only
236 reset when a value is "set" or copied into them. the XML and MOF
237 also deliver a NULL value back when the state of the CIMValue is NULL.
238 There is a remaining addition to put an exception on CIMValue gets when
239 the NULL attribute is set that we will install later.
|
240 karl 1.63
|
241 kumpf 1.67 5. KS - 19 Feb 2002 Extended testclient slightly and cleaned up numerous bugs.
|
242 karl 1.62
|
243 kumpf 1.67 6. KS - 19 Feb 2002 - Add workpaper in doc/workpaper defining the Pegasus Qualifiers.
|
244 karl 1.64 Note that this version of the paper still needs work.
245
|
246 kumpf 1.67 7. (Nag Boranna - HP) 20 Feb 2002 - Modified HTTPAcceptor to optionally bind to
|
247 kumpf 1.65 loopback host. Modified CIMClient to connect to loopback host when connectLocal()
248 method is used. Added a new method lookupPort() in System.h to return the system
249 configured wbem port number. Modified cimuser, cimauth and cimconfig CLI's to use
250 modified CIMClient connectLocal() interface.
251
|
252 kumpf 1.67 8. (KS- 21 Feb 2002) - Modified Makefile for repository load so located in
|
253 karl 1.66 schema directory. The one in src/pegasus/compiler/load is deprecated and
254 will be deleted.
255
|
256 kumpf 1.67 9. KS-21 Feb 2002 - Added new constructor to CIMValue and associated tests
257
258 10. RK-20 Feb 2002 - Add Array reference to CIMValue and added tests
|
259 karl 1.66
|
260 kumpf 1.67 11. (Sushma Fernandes - HP, Nag Boranna - HP) 22 Feb 2002 Implemented
261 checks for privileged user when performing authorization.
262 Added a configuration property enableRemotePrivilegedUserAccess.
263 This property needs to be set to true to enable privileged user access
264 for remote clients.
|
265 karl 1.66
|
266 kumpf 1.68 12. (Roger Kumpf - HP) 22 Feb 2002 - Added type information to extrinsic
267 method (InvokeMethod) operations. This change involves the addition
268 of PARAMTYPE attributes to PARAMVALUE and RETURNVALUE tags. This tag
269 allows the server to determine the type of a parameter value without
270 having to look up the method definition in the schema. It also allows
271 the client API to do the same for output parameters as well as return
272 values.
273
274 PROVIDER IMPLICATIONS:
275
276 Method providers ARE affected by this change. Previously, all input
277 parameters to invokeMethod were sent to the provider as String type
278 regardless of what the client actually specified or how the method
279 was defined. With this change, providers will now receive input
280 parameters of the type that was actually specified by the client
281 application (regardless of how the method was defined in the schema).
282
283 However, parameters coming from clients other than the Pegasus client
284 API may omit the PARAMTYPE attribute. In this case, the operation
285 processor (currently dispatcher) will find these "typeless" parameters
286 and convert them to the correct type based on the method definition.
287 kumpf 1.68 The result is that if the client specifies the parameter type in the
288 XML encoding (as the Pegasus client API does), the method provider
289 will receive the type specified by the client; if the client does not
290 specify the parameter type, the method provider will see the type
291 specified in the method definition.
292
293 CLIENT IMPLICATIONS:
294
295 Clients ARE affected by this change. Any output parameters that are
296 returned from Pegasus (or other CIM servers using the PARAMTYPE
297 attribute) will now be received by Pegasus clients as the same type
298 sent by the server. Previously, they would have always been of
299 String type. In addition, the return value will be received as the
300 correct type rather than as a String.
301
302 Parameters coming from servers other than Pegasus may omit the
303 PARAMTYPE attribute. In this case, the client will see a
304 CIMParamValue with type==CIMType::NONE, with a CIMValue of type
305 String. Similarly, return values coming from other servers that omit
306 PARAMTYPE will be seen by the client as String type. These return
307 values will NOT have the CIMType::NONE hint that parameters get,
308 kumpf 1.68 because they are CIMValues rather than CIMParamValues.
309
310 This behavior will remain for the forseeable future (through
311 Pegasus version 2), as it is not possible to require that other
312 implementations use the PARAMTYPE attribute.
313
314 SIDE EFFECTS:
315
316 In the process of implementing this functionality, I discovered
317 that there was no way to set a CIMValue to be an array of
318 CIMReferences. This appeared to be an oversight, since method
319 parameters are permitted to be arrays of CIMReferences. I've
320 added the necessary functionality to the CIMValue class.
321
322 I also found that the CIMParamValue class needed significant
323 clean-up, which I completed.
324
325 SETPROPERTY CHANGES:
326
327 A similar problem in SetProperty operations was addressed by
328 "typing" the specified property value in the operation processor
329 kumpf 1.68 (currently dispatcher). This is achieved by looking up the
330 relevant schema to get the property definition, and then converting
331 the specified value to that property's type.
332
333 The SetProperty operation encoding has not changed to accomodate
334 inclusion of type information that would obviate the need for this
335 extra processing. However, clients can avoid this overhead by using
336 ModifyInstance operations (with a property list) instead of SetProperty.
337
338 The GetProperty operation also has NOT been updated with type
339 information. Client applications using the Pegasus client API will
340 always receive String or reference values when calling GetProperty
341 against any server (Pegasus or not). Clients that require properties
342 to be returned as the correct type must use GetInstance (perhaps with
343 a property list) rather than GetProperty.
344
|
345 kumpf 1.69 13. (Roger Kumpf - HP) 22 Feb 2002 - Reworked the CIMParamValue class.
346 Instead of being composed of a CIMParameter and a CIMValue, this
347 class is now composed of a String (parameter name) and a CIMValue.
348 This change removes the redundancy of having the type, isArray,
349 and arraySize members in both the CIMParameter and the CIMValue.
350 The new CIMParamValue definition is more consistent with the XML
351 encoding of parameter values.
352
353 An isTyped member was also added to CIMParamValue to support the
354 behavior outlined in item 12 above. Clients should use the isTyped()
355 method to determine whether the output parameters returned from
356 InvokeMethod operations are of the correct type, or whether they
357 have defaulted to String type.
|
358 karl 1.70
359 14. (KS) 4 March 2002 - Corrections for NULL value and the XML code.
360 Corrections to compiler for Null values input (parser and valuectory)
|
361 karl 1.72
|
362 kumpf 1.71 15. (Nag Boranna - HP) 04 March 2002 - Modified CIMClient API to accept
363 username and password as parameters to connect() method, added a new
364 method diconnect() that closes the open connection with the server
365 and added code to handle HTTP Basic authentication challenges from
366 the server.
|
367 karl 1.72
368 16 (KS) 4 March 2002 - Correct problem with array constants not picking up
369 all of the entires in the array. Bugzilla bug # 6.
370
|
371 kumpf 1.73 17. (Yi Zhou - HP) 4 March 2002 - Implemented provider registration manager
372 to perform efficient lookup of instance provider, method provider, and
373 indication provider. Also, implemented provider registration instances
374 operations.
375
376 Modified registration provider to use latest provider registration schema.
|
377 karl 1.74
378 18 (KS) 6 March 2002 - Implemented changes to compiler and flavors to correct the
379 definition of CIMFlavors.
|
380 karl 1.76
|
381 kumpf 1.68
|
382 kumpf 1.75 19. (Roger Kumpf - HP) 1 Mar 2002 - Reworked the XmlWriter class to
383 eliminate many of the redundant memory copies that resulted from the
384 nested method call structure. Now, instead of having a method at
385 each level that adds a begin tag, contents, and an end tag, there
386 are separate methods to add the begin and end tags. At the top
387 level, each of the begin tag methods are called, then the message
388 "body" is added, followed by calls to the end tag methods.
389
390 The message body is currently still copied twice, once into the XML
391 payload and then again when the HTTP header is added. (Since the
392 HTTP header contains a content length field, the header cannot be
393 constructed until the payload is complete.) It is possible to
394 remove these extra copies as well, but that would require additional
395 changes elsewhere in the code. For example, the HTTPMessage class
396 would need to hold the headers and payload separately rather than in
397 a single buffer.
398
399 Along with these changes, I did a lot of cleanup. Much of the XML
400 formatting code has been moved from CIMReference to XmlWriter. Also,
401 error message formatting has been consolidated in XmlWriter from the
402 various encoders and decoders, etc.
403 kumpf 1.75
404 20. (Roger Kumpf - HP) 5 Mar 2002 - Added checks in the
405 CIMOperationRequestDecoder and CIMExportRequestDecoder to validate
406 that the information in the HTTP headers of a request is consistent
407 with what is encoded in the XML request itself.
408
409 Specifically, the CIMOperation, CIMProtocolVersion, CIMMethod,
410 CIMObject, CIMBatch, CIMExport, and CIMExportBatch headers are
411 validated.
|
412 karl 1.76
413 21. (KS) 7 March 2002 - Correct error in qualifier propagation processing in
414 qualifierlist.resolve. Temporarily remove the DEFAULT setup on the
415 Compiler qualifier generation. Add tests for resolve processing.
|
416 karl 1.78
|
417 kumpf 1.77 22. (Roger Kumpf - HP) 8 Mar 2002 - Simplified CIMClient API construction.
418 Previously, the client application constructed a client API using:
419
420 Monitor* monitor = new Monitor;
421 HTTPConnector* connector;
422 connector = new HTTPConnector(monitor);
423 Uint32 timeoutMillis = 60 * 1000; // optional
424
425 CIMClient client(monitor, connector, timeoutMillis);
426
427 With this change, the client application now looks like:
428
429 Uint32 timeoutMillis = 60 * 1000; // optional
430
431 CIMClient client(timeoutMillis);
432
433 The old style allowed an SSL context to be specified in the HTTPConnector
434 constructor. It seems that the SSL context is really a property of a
435 connection rather than of the client API. So instead of adding an SSL
436 context parameter to the CIMClient constructor, I added it to the CIMClient
437 connect() method. There are now forms of the connect() method with and
438 kumpf 1.77 without an SSL context. Similar changes were made in the HTTPConnector
439 class to allow specification of an SSL context in the connect() method
440 rather than in the constructor.
441
442 NOTE: Client applications are affected and must be updated with this
443 change. I've already updated all the clients that are checked in and
444 included in the Pegasus build.
|
445 kumpf 1.79
|
446 karl 1.78 23. (KS) 8 March 2002 - Correct error in compiler that caused length field
447 of fixed length arrays to be lost.
|
448 kumpf 1.75
|
449 kumpf 1.79 24. (Jenny Yu - HP) 8 March 2002 - Modified the CIMException class to NOT
450 include the source filename and line number in the exception message.
451 However, for anyone who wishes to include such information in the
452 CIM Exception message, a compile option DEBUG_CIMEXCEPTION can be used
453 for that purpose.
454
455 A couple of changes have been made to the Tracer class:
456
457 - CIMException messages can now be put in a trace file using the Tracer.
458 A new interface has been added to the Tracer to accept a CIMException
459 as input and writes the exception message in the CIMException to the
460 trace file. This message will include the source filename and the
461 line number of the CIMException originator.
462
463 Tracer::traceCIMException(traceComponent, traceLevel, cimException);
464
465 - Strings can now be traced using the Tracer class:
466 A new interface has been added to the Tracer to accept a String as
467 input and writes the String to the trace file.
468
469 (ex.)
470 kumpf 1.79 You can issue the following method call:
471 Tracer::trace(TRC_CONFIG, Tracer::LEVEL2, "Operation Failed.");
472
473 or use the following new macro:
474 PEG_TRACE_STRING(TRC_CONFIG, Tracer::LEVEL2, "Operation Failed.");
475
|
476 ramnath 1.81 25. (Ramnath Ravindran - Compaq) 11 March 2002 - added IPCTru64.h and modified
|
477 ramnath 1.80 several files so that Pegasus could build and run on Tru64 unix. Added
478 one macro in ConfigUnix and ConfigWindows (PEGASUS_OR_IOS_BINARY) in
479 the case where std::ios::binary is present with a bitwise OR operator.
480 This macro only works when the std::ios::binary is NOT the first
481 operator to be "OR"ed.
|
482 ramnath 1.81
483 26. (Ramnath Ravindran - Compaq) 12 March 2002 - modified more files so that
484 Pegasus could build and run on Tru64 unix. Finished replacing instances
485 of ios::binary with the macros PEGASUS_IOS_BINARY and
486 PEGASUS_OR_IOS_BINARY. Also modified some code that dealt with file
487 streams. Tru64 does not support the use of the " != " operator on a
488 fstream object. Instances of such were either modified or an ifdef
489 block detecting a build on Tru64 was used. Added cstdarg and ctime in
490 pegasus/src/stdcxx/cwrappers/ directory.
|
491 ramnath 1.80
|
492 mary 1.82 27. (Mary Hinton) 16 March 2002 - fixed the CIMServer so that it could once
493 again be installed as a Windows service. The repositoryRootPath could
494 not be found, because the pegasusHome variable was not being set properly
495 in the Windows service work thread.
496
|
497 karl 1.83 28. (Bob Blair by KS) 17 March 2002 - Modified repository so there is both a
498 local repository (cimmofl) and a client interface repository (cimmof)
499 executable
500
501 29. (KS ) 18 March 2002 - Modified schema makefiles to use the cimomfl respository
502 executable.
|
503 kumpf 1.84
504 30. (Roger Kumpf - HP) 19 Mar 2002 - Added range checking for Uint* and
505 Sint* values in XmlReader.cpp. Previously, values that were out of
506 range were simply truncated to fit the given integer size. An
507 exception is now thrown when the given string can not be parsed into
508 an integer of the specified size.
509
|
510 kumpf 1.85 31. (Roger Kumpf - HP) 20 Mar 2002 - Added support for hexadecimal integers
511 in XmlReader.cpp.
512
|
513 kumpf 1.86 32. (Nag Boranna - HP) 21 March 2002 - Implemented server side Basic
514 Authentication handling code and cleaned up ATTN's in the authentication
515 releated files. Implemented a new AuthenticationInfoRep class and modified
516 the related files. Added more test cases to test the authentication classes.
517
|
518 karl 1.88 33. (Ramnath Ravindran - Compaq) 21 March 2002 - replaced instances of "| ios::binary"
519 with PEGASUS_OR_IOS_BINARY in 3 files: System.cpp, InstanceIndexFile.cpp, and
|
520 ramnath 1.87 InstanceDataFile.cpp
|
521 karl 1.88
522 34. (KS) 25 March 2002 - Extended qualifier resolution to correctly handle Flavors nad
523 enabled the scope and flavors testing. Had been pretty much blocked before.
524
|
525 kumpf 1.89 35. (Roger Kumpf - HP) 26 Mar 2002 - Created a class to map CIM operation
526 request messages to provider API calls. Cleaned up the dispatcher and
527 added the ability to pass requests to control providers through the
528 ModuleController. Integrated the ConfigSettingProvider with the
529 ModuleController and set up the structure for getting the control
530 providers working. Moved the ConfigSettingProvider from the
531 Providers tree to the Pegasus tree, since it really is statically
532 linked into the server.
|
533 karl 1.88
|
534 kumpf 1.90 36. (Roger Kumpf - HP) 27 Mar 2002 - Integrated the UserAuthProvider with
535 the ModuleController as a control provider. Moved the UserAuthProvider
536 from the Providers tree to the Pegasus tree.
537
|
538 kumpf 1.91 37. (Roger Kumpf - HP) 27 Mar 2002 - Integrated the
539 ProviderRegistrationProvider with the ModuleController as a control
540 provider. Moved the ProviderRegistrationProvider to the Pegasus
541 ControlProviders directory. Obsoleted and removed the
542 Server/ConfigurationManager class and files.
|
543 karl 1.92
544 38. (KS) 27 march 2002 - Modifications to common functions and the compiler to
545 extend the processing of class creation and correct the flavors and their
546 use. This allows flavors to be inherited with rules for override, etc.
547
|
548 kumpf 1.91
|
549 karl 1.59 -------------------------------------------------------------------
|
550 karl 1.52 Version 1.06 working towards 1.1 Started 13 December 2001
551
552 1. Merged back to Main branch. All general development will be in main branch
553 in the future with releases in side branches. Special side developments
554 may temporarily be in side branches.
555 Changed cimversion to 1.06. We will do 1.1 based on functionality.
|
556 karl 1.53
557 2. (Karl) 18 December 2001 - Added new directory repositories where repository
558 implementations will be kept to separate them from the
559 repository interface defintion. Initial implementation is genericfile
560 which is the current file based repository.
561
562 Added new build variable RMREPOSITORY which is a generic MAKE command
563 to remove an existing repository. It simply substitutes for the RMDIRHIER
564 command at this point but we will make this a generic part of system
565 in the future.
|
566 karl 1.52
|
567 kumpf 1.54 3. (Roger Kumpf - HP) 18 Dec 2001 - Updated the CIMOperationRequestDecoder
568 to check that all required parameters for intrinsic methods are
569 present. If a required parameter is missing, a CIM_ERR_INVALID_PARAMETER
570 exception is thrown. Also added checks for duplicate parameters in the
571 intrinsic methods. If a parameter is specified more than once, a
572 CIM_ERR_INVALID_PARAMETER exception is thrown.
573
|
574 kumpf 1.57 4. (Nag Boranna - HP) 14 Jan 2002 - Created CIMOperationRequestAuthorizer queue
|
575 kumpf 1.55 and moved Authorization verification code from CIMOperationRequestDecoder
576 queue to this new queue. Modified CIMServer.cpp to create
577 CIMOperationRequestAuthorizer queue only when authorization is enabled.
578 Also modified CIMRequestMessagesin CIMMessage.h to include userName to make
579 it available to the CIMOperationRequestDispatcher.
580
|
581 kumpf 1.57 5. (Mary Hinton - Jan 17, 2002) Fixed the problem with the CIMserver when it
|
582 mary 1.56 runs as a Windows service. The work thread was exiting instead of running
583 forever. The problem was noticed when the TestClient program and CIMserver
584 service were both running. The service wasn't accessible to the TestClient
585 program.
586
|
587 kumpf 1.58 6. (Nitin Upasani - Jan 25, 2002) Operations on CIM_IndicationSubscription,
588 CIM_IndicationHandlerCIMXML and CIM_IndicationFilter classes will be now processed
589 in new queue, IndicationService which will get invoked from dispatcher.
590 CIM_CREATE_INSTANCE_REQUEST_MESSAGE
591 CIM_MODIFY_INSTANCE_REQUEST_MESSAGE
592 CIM_DELETE_INSTANCE_REQUEST_MESSAGE
593 CIM_GET_INSTANCE_REQUEST_MESSAGE
594 CIM_ENUMERATE_INSTANCES_REQUEST_MESSAGE
595 CIM_ENUMERATE_INSTANCE_NAMES_REQUEST_MESSAGE
596
597 This new service will also take care of processing the indications on receiving
598 CIM_PROCESS_INDICATION_REQUEST_MESSAGE. This message should come from
599 IndicationProvider or some other mechanism which is not yet clear.
600
601 IndicationService will also receive following messages from PG_ProviderRegistration
602 when a new IndicationProvider will get registered.
603 CIM_NOTIFY_PROVIDER_REGISTRATION_REQUEST_MESSAGE
604 CIM_NOTIFY_PROVIDER_TERMINATION_REQUEST_MESSAGE
605
606 I had also defined new Indication Provider APIs, enableIndication, disableIndication
607 and modifyIndication with more parameters passed and eventually planning to terminate
608 kumpf 1.58 old APIs (provideIndication, cancelIndication and updateIndication). Also there is a
609 plan to implement one more call as startIndication and will be done soon.
610
611 There are three new test programs in IndicationService directory, which will create
612 Filter, Indication and Subscription instances using IndicationService.
613
614 Also modified sample IndicationProvider code with the new APIs introduced.
|
615 mary 1.56
|
616 karl 1.52 -------------------------------------------------------------------------
|
617 karl 1.1
|
618 mike 1.51 Version 1.1.1 - 3 August 2001 - Development Branch (Work in Progress)
619 current working dev branch of build
|
620 mike 1.36
|
621 karl 1.49 ---------------------------------------------------------------------------
622 Version 1.1 - July 2001 Development branch (Work in PRogress)
623
|
624 mike 1.50 1. (Mike Brasher) Fixed bug with XML generation (was not generating
625 PARAMETER.REFERENCE constructs for references).
626
627 2. (Mike Brasher) Reworked server communication into new module scheme.
|
628 mike 1.51 =======
629 1. (Karl) 6 Aug - extend ToMof functions. The MOF for a class can now be
630 seen as part of CGIclient class displays.
631
632 2. (Karl) 7 Aug - Update CIM25 Schema from the "preliminary" version
633 to the final version in Schemas\CIM25. This included minor
634 corrections, etc and a couple of file changes. This is the
635 official final CIM 25 schema relesed by the DMTF. This change
636 should not affect any current work.
637 3. (Karl) 7 Aug 2001 - Added CIM Schema 2.6 (preliminary) to the Schemas
638 directorys. Note however that today the make repository still
639 loads the 2.5 schema.
640
641 4. (Karl) 8 Aug 2001 - Change cimmofparser.cpp to put header and trailers
642 on XML output.
643
644 5. (Denise Eckstein - HP) 13 Aug 2001 - Fixed an HP-UX compile problem
645 in various src/utils/mu commands (MoveCmd.cpp, PrependCmd.cpp, RmCmd.cpp,
646 RmDirHierCmd.cpp, StripCmd.cpp, TouchCmd.cpp). aCC scopes variable
647 declarations in for loop initializers outside the loop, so multiple
648 "for (int i=0; i<10; i++);" statements cause a compile error.
649 mike 1.51
650 6. (Nag Boranna - HP) 15 Aug 2001 - Modified Config framework to remove
651 dependency on the config files at the start of the cimserver. Now the
652 cimserver will use in-memory default values in the absence of config files
653 and command line options. Fixed a few defects in the config framework that
654 were causing cimom to crash under certain conditions. Changed the config
655 provider class name to 'PG_ConfigSetting' in the mof file and modified
656 provider implementation files accordingly. Also modified the config CLI
657 to show user friendly error/status messages.
658
659 7. (Carol Ann Krug Graves - HP) 16 Aug 2001 - Fixed a bug in wbemexec CLI
660 (reported incorrect line number on error in XML request if input redirected).
661 Enhanced the -d debug command line option to allow more flexibility in
662 generating debug output.
663
664 8. Karl 17 Aug 2001) - Extended CIMMOF compiler to put pegasus comment line in
665 xml when it generates xml output.
666
667 9. (Roger Kumpf - HP) 20 Aug 2001 - Combine instances of each class into
668 a common file to reduce the number of files required by the default
669 repository implementation.
670 mike 1.51
671 10. (Mike Brasher) - Fixed minor bug in repository implementation.
672
673 11. (Mike Brasher) - Committed fix to missing PARAMETER.REFERENCE XML element.
674
675 12. (Mike Brasher) - Committed rework of server into queue approach.
676
677 13. (Mike Brasher) - New webserver and webclient examples.
678
679 14. (Sushma Fernandes - HP) 21 Aug 2001 - Fixed a bug that was creating an empty file when trace was not enabled. Changed the Tracer test program's executable file name to TracerTest instead of Tracer.
680
681 15. (Mike Brasher) - Initial work on refactorying client into modules.
682 CIMOperationRequestEncoder and partial CIMOperationResponseDecoder.
683
684 16. (Mike Brasher) - queue-based clients now complete.
685
686 17. (Jim Chou - HP) 12 Sep 2001 - Initial contribution of wbemexec test directory and make infrastructure. This submittal also includes an initial set of test scripts.
687
688 18. (Markus Mueller - IBM) 13 Sep 2001 - Initial support for z/OS on z/Series, the successor of OS/390 and MVS.
689
690 19. (Warren Otsuka - HP) 14 Sep 2001 - Implementation of servlet web server
691 mike 1.51 interface to CIMServer.This is for the PEGASUS CIM Server to coexist with
692 a web server. See doc/Servlet for more information.
693
694 20. (Yi Zhou - HP) 20 Sep 2001 - Added tracing in files
695 CIMOperationRequestDecoder.cpp and CIMOperationResponseEncoder.cpp so XML
696 input and output can be written in a trace file.
697
698 21. (Markus Mueller - IBM) 25 Sep 2001 - Initial Signal Handler support
699 Created new class SignalHandler that allow registration, activation and
700 deactivation of signal handler functions (Linux only !).
701
702 22. (Nitin Upasani - HP) 27 Sep 2001 - Modification of ExportServer and
703 ExportClient to support ExportIndication. DisplayConsumer, a sample
704 consumer is added which will consume (by displaying on screen) the
705 indication exported by CIMExportRequestDispatcher. This complete
706 implementation is based on CIM_EXPORT_INDICATION_REQUEST and
707 RESPONSE messages. CIMMessage.h, Message.cpp and Message.h files
708 are modified to implement above messages.
709
710 XmlIndicationDispatcher test program is modified to test complete
711 operation. It now creates a consumer, handler and indication
712 mike 1.51 instance and then calls CIMExportRequestDispatcher to export the
713 indication to consumer. This program needs
714 src/Pegasus/Server/tests/XmlIndicationDispatcher/TestSoftwarePkg.mof
715 and Schemas/Pegasus/PG_ConsumerRegistration.mof files to be loaded
716 in the repository to complete the test successfully. This test
717 program also needs Handler qualifier defined in repository and
718 modify CIM_Event25.mof for CIM_IndicationHandlerXMLHTTP class as
719 below:
720
721 //====================================================================
722 // CIM_IndicationHandlerXMLHTTP
723 //====================================================================
724 [Description (
725 "CIM_IndicationHandlerXMLHTTP describes the destination for "
726 "Indications to be delivered via HTTP, using a cimXML "
727 "representation."), Handler ("CIMxmlIndicationHandler") ]
728
729 23. (Sushma Fernandes - HP) 27 Sep 2001 - Added tracing code in
730 ProviderTable.cpp and SystemUnix.cpp to indicate progress of loading
731 a provider library.
732
733 mike 1.51 24. (Nitin Upasani - HP) 05 Oct 2001 - implementation of InvokeMethod
734 interface for the provider. InvokeMethod currently uses CIMValue as
735 type for inParameters and outParameters, which are unable to give
736 information about param name, type and value. This should be changed
737 to CIMParamValue which will help providers to know details of the
738 parameter name and type along with value passed through InvoleMethod
739 call. Current implementation uses CIMParamValue as parameters while
740 travelling through message queues and converts it back to array of
741 CIMValue before calling Provider API (which needs to be changed
742 later).
743
744 Also added are two test programs:
745
746 src/Pegasus/Common/tests/ParamValue - which demonstrate use of
747 CIMParamValue class.
748
749 src/Pegasus/Client/tests/InvokeMethod - which makes call to
750 InvokeMethod and displays the return value. Current
751 implementation assumes that provider had returned true value
752 and outParameters (which are now hard coded in
753 CIMOperationRequestDispatcher to implement functionality)
754 mike 1.51 which are passed as response of InvokeMethod to client.
755
756 25. (Nag Boranna - HP) 05 Oct 2001 - Added first level implementation of
757 authentication to the pegasus code. Created an Authentication Manager
758 and authenticator interfaces. The file based local authentication
759 module has been modified to implement the local authenticator
760 interface, to generate the challenge for the unauthorized requests
761 and to verify the authentication.
762
763 A skeleton program has been created for the Basic Authenticator.
764 This code is in the Security/Authentication directory which is not
765 yet linked into the build.
766
767 26. (Nitin Upasani - HP) 08 Oct 2001 - Changes to Operation and Export
768 Decoders. Earlier decoders were sending requests and responses
769 before finishing complete Xml parse. This was prone to send
770 request/response even the Xml is wrong after the MethodCall.
771 New changes collects the Message* as return value from the
772 appropriate functions while parsing the Xml and sends on
773 _outputQueue only when Xml is parsed successfully.
774
775 mike 1.51 27. (Nag Boranna - HP) 11 Oct 2001 - Modified ProviderModule.cpp to
776 fix the problem with constructing provider name and loading the
777 providers for unix platforms. Also moved the shared library name
778 construction (appending .sl or .so) from
779 CIMOperationRequestDispatcher.cpp/SystemUnix.cpp to
780 ProviderModule.cpp and included it in a method that returns
781 provider file path name.
782
783 28. (Nitin Upasani - HP) 12 Oct 2001 - Implementation of SNMP Indication
784 Handler. This handler extracts MappingStrings qualifier from class
785 definition and converts it into SNMP specific trap data. The trap
786 structure is defined in a abstract class in snmpDeliverTrap.h file.
787 Every one has his or her own SNMP agent, which will talk with master
788 agent to deliver the trap or may have some other mechanism.
789 Extending snmpDeliverTrap class and deliverTrap method will help to
790 implement specific trap delivery mechanism.
791
792 29. (Yi Zhou - HP) 09 Oct 2001 - Changed cimconfig to allow setting property to
793 be NULL. Also, if -u -p specified in the cimconfig, instead of updating
794 property value to be default in the plan file, remove the property from the
795 plan file. Converted ConfigSettingProvider to use provider2 library.
796 mike 1.51
797 30. (Sushma Fernandes - HP) 24 Oct 2001 - Added an interface to the tracer
798 to allow tracing of a specific number of bytes in a given
799 string. Also modified the XmlIO trace code to use the new interface.
800 Changed the config file defaults for tracing.
801
802 31. (Rudy Schuet - Compaq) 28 Oct 2001 - Added "make" support for Compaq
803 NonStop platform (NSK) in directory pegasus/mak. The following files
804 were added: platform_NSK_NONSTOP_NMCPLUS.mak, objects-nsk.mak,
805 library-nsk.mak, config-nsk.mak, program-nsk.mak, program-windows.mak,
806 program-unix.mak. The original program.mak which previously covered
807 all platforms was split into platform-specific make files, and now
808 only contains conditionals. Files config.mak, objects.mak, and
809 library.mak were changed to include the NSK files.
810 File platform_NSK_NONSTOP_NMCPLUS.mak includes config-nsk.mak.
811
812 32. (Jenny Yu - HP) 29 Oct 2001 - Fixed CIMReference constructor to allow
813 commas (,) in the string values of key properties.
814
815 33. (Karl Schopmeyer) 30 October 2001- Move the repository load to CIM schema 2.6
816
817 mike 1.51 34. (Rudy Schuet - Compaq) 30 Oct 2001 - Fixed a problem in
818 pegasus/mak/program-windows.mak that prevented program builds for
819 the windows platform (related to change from 28 Oct). Replaced
820 leading whitespace in front of commands with tabs as required
821 in make files.
822
823 35. (K Schopmeyer) 2 Nov 2001 - Temporarily moved repository back to CIM25
824 because getting an error in 26
825
826 35. (Roger Kumpf - HP) 30 Oct 2001 - Association classes have keys
827 whose types are references. These reference values must be
828 treated specially in the XML encoding, using the VALUE.REFERENCE
829 tag structure.
830
831 Pegasus had been passing reference values simply as String values.
832 For example, EnumerateInstanceNames returned KEYVALUEs of string
833 type rather than VALUE.REFERENCEs.
834
835 I've modified the XmlReader::getKeyBindingElement() and
836 CIMReference::instanceNameToXml() methods to read and write the
837 XML in the proper format. However, making that change required
838 mike 1.51 that a CIMReference object be able to distinguish between a key
839 of String type and a key of reference type.
840
841 I've modified the String format of CIMReferences slightly to
842 allow efficient processing of references whose keys are also of
843 reference type. The "official" form uses the same encoding for
844 key values of String type and of reference type, and so it
845 would be necessary to retrieve the class definition and look up
846 the types of the key properties to determine how to treat the
847 key values. This is clearly too inefficient for internal
848 transformations between CIMReferences and String values.
849
850 The workaround is to encode a 'R' at the beginning of the value
851 for a key of reference type (before the opening '"'). This allows
852 the parser to know a priori whether the key is of String or
853 reference type.
854
855 In this example:
856
857 MyClass.Key1="StringValue",Key2=R"RefClass.KeyA="StringA",KeyB=10"
858
859 mike 1.51 Property Key1 of class MyClass is of String type, and so it gets
860 the usual encoding. Key2 is a reference property, so the extra 'R'
861 is inserted before its encoded value. Note that this algorithm is
862 recursive, such that RefClass could include KeyC of reference type,
863 which would also get encoded with the 'R' notation.
864
865 The toString() method inserts the 'R' to provide symmetry. A new
866 KeyBinding type (REFERENCE) has been defined to denote keys in a
867 CIMReference that are of reference type. This KeyBinding type must
868 be used appropriately for CIMReference::ttoString() to behave
869 correctly.
870
871 The files that have been modified to make this change are
872 CIMReference.h, CIMReference.cpp, and CIMInstanceRep.cpp.
873
874 A result of this change is that instances names in the instance
875 repository will include this extra 'R' character. Thus, you will
876 need to repopulate your repository when you download the latest
877 CIMOM version.
878
879 Note that for user-facing uses of the String encoding of instance
880 mike 1.51 names (such as might appear in MOF for static association
881 instances or in the CGI client), this solution is non-standard and
882 therefore unacceptable. It is likely that these points will need
883 to process the more expensive operation of retrieving the class
884 definition to determine the key property types.
885
886 36. (Sushma Fernandes - HP) Modified tracer to return invalid components
887 in case of error in setting trace components. Modified the property owner
888 init and update methods. Submitted the pegasus/mak/Buildmakefile with
889 cleanbuild, rebuild and trace configuration options.
890
891 37. (Yi Zhou - HP) 05 Nov 2001 - Fixed createInstance to return a CIMReference
892 (instanceName).
893
894 38. (Roger Kumpf - HP) 08 Nov 2001 - Implemented encoding/decoding of
895 GetProperty/SetProperty/EnumerateInstances request/response messages.
896 Added encoding and decoding of PropertyList parameters on all
897 relevant intrinsic methods.
898
899 39. (Markus Mueller - IBM) 09 Nov 2001 - Added Associator calls to CIMBase
900 ProviderFacade.cpp; fixed Provider unloading in CIMProviderManager.cpp
901 mike 1.51
902 40. (Rudy Schuet - Compaq) 12 Nov 2001 - Common module: added the following
903 files for nsk platform support: TraceFileHandlerNsk.cpp, ThreadNsk.cpp,
904 TCPChannelNsk.cpp, SystemNsk.cpp, ServiceNsk.cpp, SelectorNsk.cpp,
905 IPCNsk.cpp, DirNsk.cpp. Most of these files (with the exception of
906 SystemNsk.cpp) contain stubs. The associated control files
907 (TraceFileHandler.cpp, Thread.cpp, etc) have been updated to include
908 nsk platform links.
909
910 41. (Roger Kumpf - HP) 14 Nov 2001 - Changed the behavior of the CIMValue
911 toString() method for CIMValues of String type. The old behavior
912 returned an XML encoding of the String with special characters
913 replaced by their UTF-8 equivalents. For example, a CIMValue of a"b
914 would be returned as a"b. The new behavior just returns the
915 String value directly with no translation. (Note that
916 CIMValue.toXml() may still be used to get the XML-encoded value.)
917
918 This change was necessary in part to correct the behavior of the
919 repository. CreateInstance stores the instance name returned by
920 CIMInstance.getInstanceName(), which is built using calls to
921 CIMValue.toString(). GetInstance searches for the instance name
922 mike 1.51 without UTF-8 encoding of special characters. For GetInstance to
923 be successful, CreateInstance must have stored the instance name
924 in that same form, without special character encoding.
925
926 42. (Roger Kumpf - HP) 15 Nov 2001 - Added a toXml(void) method to
927 the CIMValue class. Eliminated improper use of CIMValue.toString(),
928 often replacing with CIMValue.get(String&) or CIMValue.toXml().
929 Also added some error handling in the indication handlers.
930
931 43. (Sushma Fernandes - HP) 16 Nov 2001 - Added a function
932 localObjectPathtoXml(Array<Sint8>& out) to the CIMReference class
933 to handle local instance path and local classpath. Modified the
934 CIMOperationRequestDecoder to handle <LOCALCLASSPATHELEMENT ...>.
935 Changed the CIMOperationRequestEncoder to call the localObjectPathtoXml.
936
937 44. (Roger Kumpf - HP) 19 Nov 2001 - Added a CIMNamedInstance class
938 to hold the argument to ModifyInstance and the return values
939 from EnumerateInstances. The client and provider APIs need to
940 be updated to use this class.
941
942 45. (Sushma Fernandes - HP) 19 Nov 2001 - Added the cimuser command line
943 mike 1.51 source files. This CLI allows addition, modification, removal and listing
944 of CIM users. The CLI is not linked to the main makefile as the Provider
945 functionality is yet to be implemented. Added the function
946 String getPassword(char* prompt) to the System.h and cpp files.
947
948 46. (Nag Boranna - HP) 20 Nov 2001 - Implemented Authentication code on
949 the server to challenge the unauthorized requests, authenticate
950 the challenge responses, and verify the subsequent authorized requests.
951 Implemented authentication mechanism on the Client api to send
952 responses to the challenges from the server. Current implementation
953 supports only 'local' authentication mechanism.
954
955 47. (Roger Kumpf - HP) 20 Nov 2001 - Commited the following set of changes:
956
957 - Changed the return value of EnumerateInstances from Array<CIMInstance>
958 to Array<CIMNamedInstance>
959 - Changed the parameter to ModifyInstance from CIMInstance to
960 CIMNamedInstance
961 - Added an optional PropertyList parameter to ModifyInstance
962 - Changed all handling of PropertyList parameters to use the
963 CIMPropertyList class instead of Array<String>
964 mike 1.51
965 Each of these changes was required to comply with the DMTF specification.
966
967 These changes were made throughout the system except for in the provider
968 API. For now, the CIMProviderHandle and CIMBaseProviderHandle hide the
969 differences from providers, so older providers will continue to function.
970 However, this means that clients can not yet take advantage of the added
971 functionality.
972
973 When the provider API is updated, the following changes will be visible:
974
975 - Providers will get a PropertyList parameter to ModifyInstance which
976 they are required to respect. Providers that can not process the
977 PropertyList must throw a NOT_SUPPORTED exception whenever the
978 list is not null. Clients can take advantage of this change by
979 issuing a ModifyInstance request against a selected set of
980 properties in an instance, rather than being required to replace
981 the entire instance.
982
983 - Providers will be required to return instance names along with
984 instances in the EnumerateInstances method. Clients will receive
985 mike 1.51 these instance names, as the standard dictates.
986
987 - Providers will receive a CIMPropertyList argument containing the
988 PropertyList instead of an Array<String>. This change allows
989 providers to distinguish between an empty list and a null list.
990
991 Note that the repository also does not yet handle the PropertyList in
992 ModifyInstance correctly.
993
994 48. (Roger Kumpf - HP) 21 Nov 2001 - I have updated the Provider2 instance
995 provider API to match the changes made to the EnumerateInstances and
996 ModifyInstance operations. These changes were made to comply with
997 the DMTF specification.
998
999 The original Provider API has not been updated, and I have no
1000 plans to do so. Providers written to the original API will
1001 continue to function, but they will not have the opportunity
1002 to take advantage of the features that have been added.
1003
1004 The significant changes to the Provider2 API are:
1005
1006 mike 1.51 - Providers will get a PropertyList parameter to ModifyInstance which
1007 they are required to respect. Providers that can not process the
1008 PropertyList must throw a NOT_SUPPORTED exception whenever the
1009 list is not null. Clients can take advantage of this change by
1010 issuing a ModifyInstance request against a selected set of
1011 properties in an instance, rather than being required to replace
1012 the entire instance.
1013
1014 - Providers will get an IncludeQualifiers parameter to ModifyInstance
1015 which they are required to respect. If IncludeQualifiers is
1016 false, the qualifiers on the modified instance provided must not
1017 be used to update the instance.
1018
1019 - Providers will be required to return instance names along with
1020 instances in the EnumerateInstances method. Clients will receive
1021 these instance names, as the standard dictates.
1022
1023 The providers that are in the Pegasus build have all been updated.
1024 However, whenever the PropertyList is not null, the providers throw
1025 a NOT_SUPPORTED exception.
1026
1027 mike 1.51 49. (Rudy Schuet - Compaq) 25 NOV 2001 - To support the NSK platform,
1028 files Platform_NSK_NONSTOP_NMCPLUS.h and ConfigNsk.h were added to
1029 the Common module. File Config.h was modified to include the NSK
1030 platform and a new option PEGASUS_HAVE_NO_STD that allows compilation
1031 without the standard (std) namespace.
1032
1033 50. (Roger Kumpf - HP) 26 Nov 2001 - Added two new configuration
1034 properties to support alternate behavior of the Pegasus repository:
1035 repositoryIsDefaultInstanceProvider and repositoryProviderName.
1036
1037 Using the first one, the repository can be enabled/disabled as the
1038 default provider for instance (and association) operations. The default
1039 setting is "true", so the default behavior has not been changed. To
1040 disable the repository as the default instance provider, issue the
1041 following command before starting cimserver:
1042
1043 cimconfig -s repositoryIsDefaultInstanceProvider=false -p
1044
1045 The repositoryProviderName configuration property specifies what
1046 provider name is used to explicitly register the repository as a
1047 provider. This is necessary when the repository needs to serve
1048 mike 1.51 instances of a class and repositoryIsDefaultInstanceProvider is set
1049 to "false". The default value is "repository". To register the
1050 repository as an instance provider for a class, add a
1051 'Provider("repository")' qualifier to the class definition.
1052
1053 51. (Roger Kumpf - HP) 26 Nov 2001 - Added a new ServiceCIMOMHandle to
1054 pass to providers that act as services. This handle provides
1055 service providers with access to the CIMServer data structures.
1056
1057 52. (Roger Kumpf - HP) 28 Nov 2001 - Implemented ModifyInstance in
1058 the repository so that it respects the IncludeQualifiers and
1059 PropertyList parameters. Updated SetProperty in the repository
1060 so that it uses ModifyInstance correctly. The repository now
1061 supports GetProperty and SetProperty in addition to ModifyInstance.
1062
1063 Implemented GetProperty and SetProperty in the Dispatcher and
1064 Provider2 so that they get translated to GetInstance and
1065 ModifyInstance calls (respectively) in the provider. Providers
1066 written to the Provider2 API that correctly process the new
1067 ModifyInstance parameters will automatically support SetProperty
1068 operations. Note that GetProperty and SetProperty currently only
1069 mike 1.51 work for String properties because of an XML encoding limitation.
1070
1071 53. (Nag Boranna - HP, Sushma Fernandes - HP) 30 Nov 2001 - Implemented the
1072 Security components for authentication and authorization.
1073
1074 Authentication and User Management:
1075 cimuser CLI : This CLI is used for addition, modification, removal
1076 and listing of CIM Users. The CIM user password is encrypted and stored
1077 in a file. The password file format is compatible with Apache's htpasswd
1078 generated password file.
1079
1080 cimauth CLI implement the authorization managment functionality by letting
1081 to add/remove/list user authorizations.
1082
1083 User Manager and User Manager Provider components implement the user
1084 management and authorization functionality.
1085
1086 54. (Mike Brasher - BMC) 3 Dec 2001 - Added support for WQL-1. New directory
1087 under src/Pegasus/WQL which contains library and BNF.
1088
1089 55. (Yi Zhou - HP) 03 Dec 2001 - Implemented Pegasus registration provider
1090 mike 1.51 which does provider registration, block, unblock, and stop a provider.
1091 It also alert Subscription Service of any provider registration changes.
1092
1093 56. (Rudy Schuet - Compaq) 04 Dec 2001 - Replaced _min macro in String.h
1094 and String.cpp with PEG_min. The _min macro caused problems on the
1095 NSK platform because of a duplicate definition in a standard file.
1096
1097 57. (Carol Ann Krug Graves - HP) 04 Dec 2001 - Implemented Pegasus indication
1098 subscription service provider that serves as the instance provider for the
1099 CIM_IndicationSubscription, CIM_IndicationFilter and CIM_IndicationHandler
1100 classes (from CIM_Events27.mof). The service also takes appropriate action
1101 in response to startup, shutdown of the cimom, termination of a provider,
1102 or change in provider registration.
1103
1104 58. (Jenny Yu - HP) 05 Dec 2001 - Implemented Pegasus Shutdown Service
1105 and the command line interface for shutting down cimom gracefully.
1106 For more information, refer to the CIMOM Shutdown working paper
1107 in pegasus/doc/WorkPapers/CIMOMShutdown.pdf.
1108
1109 59. (Markus Mueller - IBM) 06 Dec 2001 - Implemented SSL support (Linux only).
1110 It consists the new classes SSL_Context, SSLSocket and MP_Socket defined
1111 mike 1.51 in TLS.h. HTTPAcceptor and HTTPConnector are extended with an additional
1112 constructor to set a pointer to the server-, resp. client wide SSL_Context
1113 structure. The Socket field in HTTPConnection is substituted with an
1114 MP_Socket pointer, a class that is designed to hide the differences
1115 between Socket and SSLSocket. The MP_Socket (multipurpose socket) class
1116 is defined even in a non-ssl environment.
1117 How to use it in a Server or Client:
1118 1. Just create an SSL_Context once per Server/Client address space
1119 2. Construct every HTTPConnector/Acceptor with a pointer to this
1120 SSL_Context if you want to enable SSL; construct Connectors/Acceptors
1121 without SSL_Context for conventional connections.
|
1122 mike 1.50
|
1123 mike 1.51 The Configuration data was extended with the boolean SSL property, and
1124 cimserver and TestClient now understand the -SSL, resp. -ssl flag.
1125
1126 60. (Bapu Patil - HP) Updated makefiles to support HP-UX IA64 bits O.S.
|
1127 kumpf 1.61
|
1128 mike 1.51 ---------------------------------------------------------------------------
1129 Version 1.1 - July 2001 Development branch
1130 Tagged as version_1_01 on 3 August 2001 (sorry should have been
1131 1.1
1132
1133 1. (Nitin Upasani - HP) Implementation of handleIndication() to deliver
1134 indication by defining IndicationDispatcher, HandlerTable, CIMHandler
1135 and ExportClient classes. the indication.
1136
1137 Also implemented CIMxmlIndicationHandler and sendmailIndicationHandler to
1138 make the delivery of indications over Xml-HTTP and email respectively.
1139
1140 Provided examples for HandlerTable, XmlIndicationDelivery and
1141 SendMailIndicationDelivery to support this implementation.
1142
1143 2. (Markus Mueller - IBM) Implementation of a Linux specific threading
1144 library and a thread-safe message queue (first stage). Classes defined
1145 are Mutex, Condition, Semaphore, AtomicInt, ReadWriteSem, cleanup_handler
1146 and SimpleThread.
1147
1148 3. (Carol Ann Krug Graves - HP) Implementation of wbemexec CLI. Please refer
1149 mike 1.51 to the man page in pegasus/src/Clients/wbemexec/doc/wbemexec.html for more
1150 information on using wbemexec. A simple test script is included. Please
1151 see pegasus/src/Clients/wbemexec/tests/readme for information on running
1152 the test script.
1153
1154 4. (Sushma Fernandes - HP) Implementation of Trace Framework. Please
1155 refer to the documentation in src/Pegasus/Common/doc/TracingDevGuide.pdf
1156 and
1157 src/Pegasus/Common/doc/TracingUserGuide.pdf for more information on using
1158 the Trace framework. Classes defined are src/Pegasus/Common/Tracer.cpp and
1159 src/Pegasus/Common/TraceFileHandler.cpp.
1160
1161 5. (Nag Boranna - HP) Implementation of Config Framework, Config Provider and
1162 Config CLI. Please refer to the documentation
1163 in pegasus/doc/WorkPapers/CIMOMConfigurationWorkPaper.pdf and the man page
1164 in pegasus/src/Clients/cimconfig/doc/cimconfig.html for more information on
1165 using the config framework and cimconfig CLI. Make sure to load the config
1166 mof (src/gmake config) before starting the cimserver. A simple test script
1167 is included. Please see pegasus/src/Clients/wbemexec/tests/readme for
1168 information on running the test script.
1169
1170 mike 1.51 6. (Karl Schopmeyer 31 July 2001) - Add toMof functions to the CIM objects
1171 (changed the H and CPP files for the major CIM objects. These
1172 functions generate CIM MOF output for the objects.
1173
1174 7. (Bapu Patil - HP) Implementation of Local Channel Authentication. Local
1175 Authentication provides security mechanism to authenticates CIM clients
1176 that
1177 connect to CIM Server on the same system without having to specify a
1178 password.
1179 Please refer to "doc/LocalCIMSecurity.pdf" for more information on design.
1180 This component only works on unix and it's not linked in with the main
1181 build.
1182 When authentication framework is defined this component may need to be
1183 modified to integrate with the framework.
|
1184 karl 1.49
1185 ---------------------------------------------------------------------------
1186 Version 0.99.x (Fixes to version 0.99) in Process
|
1187 mike 1.51
|
1188 karl 1.49 NOTE: Please do not input anything to this branch except for critical
1189 fixes. This is, in effect, 1.0 and we do not want to use it for
1190 development.
1191
1192 ----------------------------------------------------------------------------
1193
1194 Version 0.98.0 - Work in progress (This number skipped)
|
1195 karl 1.48 Version -.99.0 - Tagged as version 0.99,17 July 8:00 am - KS
|
1196 mike 1.36
|
1197 karl 1.38 1. (Mike Brasher) Added support for class association operations
|
1198 mike 1.37 (references(), associators(), referenceNames(), associatorNames()).
1199
|
1200 kumpf 1.39 2. (Jenny Yu - HP) Fixed problem in CGIClient.cpp to handle double quotes
1201 in the HTML URL reference for passing instance names.
1202
|
1203 mike 1.41 3. (Mike Brasher) Mass substitution to prepend CIM_ERR to CIM Status Codes.
1204
1205 4. (Mike Brasher) Added CIM Message types in preparation for qeueing.
1206
|
1207 kumpf 1.40 3. (Denise E. - HP) HP-UX specific changes to lslp-perl-linux,h and slp.h to
1208 allow slp to compile.
1209
|
1210 mike 1.42 4. (Mike Brasher) - Finalized CIM messages.
1211
1212 5. (Mike Brasher) - Added queue ids concept (using hash table which maps
1213 ids to queue pointers).
1214
|
1215 mike 1.43 6. (Mike Brasher) - Started integration of message queues with ServerHandler
1216 and Dispatcher.
1217
|
1218 karl 1.48 7. (Chip Vincent) - Update Provider2 interfaces. Made changes to Dispatcher
1219 and
1220 CIMProvider to support both interfaces. Added CIMOMHandle and sample
|
1221 chip 1.44 ResponseHandler for Provider2 interface.
|
1222 mike 1.45
1223 8. (Mike Brasher) - Replaced dispatcher with a queue-based dispatcher.
1224
1225 9. (Mike Brasher) - Retrofited CIMOMHandle to be queue-based.
1226
|
1227 mike 1.46 10. (Mike Brasher) - Changed CIMOMHandle to carry repository pointer.
1228
|
1229 mike 1.47 11. (Mike Brasher) - Ported to TRU64.
1230
1231 12. (Mike Brasher) - Fixed compiler error on Linux.
1232
|
1233 karl 1.38 ------------------------------------------------------------------------------
1234 --
|
1235 mike 1.26
|
1236 karl 1.35 Version 0.97.4 - Tag Created for 0.97.4 and snapshot 7 July 2001
|
1237 karl 1.16
1238 1. Deamonizaiton added to CIMServer.cpp by Mike Day. This includes code bothe
1239 for NT and Linux platforms.
|
1240 mike 1.26
|
1241 karl 1.17 2. KS Changed the namespace cimv20 to cimv2 and the default port from 888 to
1242 5988.
1243 NOTE: 5988 is now the officially recognized preferred port for a CIMServer by
1244 the DMTF.
|
1245 mike 1.26
|
1246 karl 1.17 3. KS Corrected some errors found in interoperability testing during the DMTF
1247 Fusion event. THis included a) extended the test for end of HTTP header from
1248 CR/LF/CR/LF to also allow LF/LF. Not strictly legal but widely used. b).
1249 Extended the HTTP message ID to allow for non-numeric message IDs.
|
1250 mike 1.26
|
1251 bob 1.18 4. Broke out RepositoryDeclContext class from Repository/CIMRepository.cpp
1252 and created RepositoryDeclContext.{cpp,h}. This is the first step in
1253 revamping the compiler to work independently of the repository (grb).
|
1254 mike 1.26
|
1255 bob 1.19 5. Created new makefile Compiler/Makefile.grammar and modified
1256 Compiler/Makefile; and added cimmof_tab.{cpp,h} and cimmof_lex.cpp.
1257 Now when you build normally, you will get the committed grammar and parser
1258 files instead of generating your own for a particular platform. This should
1259 prevent back-level lex and yacc implementations from generating troublesome
1260 code. The committed files are generated from flex 2.5.4 and bison 1,28.
|
1261 bob 1.20 (grb)
|
1262 mike 1.26
|
1263 bob 1.20 6. Added Compiler/compilerDeclContext.{cpp,h} and makefile changes.
1264 This change paves the way for upcoming changes that will allow the compiler
1265 to work indepently of the repository. (grb)
|
1266 mike 1.26
|
1267 karl 1.21 7. Extend testclient (clients/testclient) tests and functions. ks 19 June 2001
|
1268 mike 1.26
|
1269 karl 1.25 8. CV added const to CIMOperations modifyInstance, createInstance,
1270 modifyClass,
|
1271 chip 1.22 createClass to protect caller's object.
|
1272 mike 1.26
|
1273 karl 1.25 9. CV added CIMQueryProvider and CIMAssociationProvider to the Provider2
1274 directory. These
1275 interfaces allow very smart providers to perform advances operations.
1276 CIMProviderStub has
|
1277 chip 1.23 been updated to support the new interfaces. Needs testing.
|
1278 mike 1.26
|
1279 sage 1.24 10. Added rpm packaging support and shell script based build process. MM
|
1280 mike 1.26
|
1281 karl 1.25 11. Changed Make so make tests no longer rebuilds repository. To rebuild
1282 repository you make world, make rebuild or make repository. ks
|
1283 mike 1.26
1284 12. Added associators() and associatorNames() operations to CIM repository.
|
1285 mike 1.27 (MEB)
1286
1287 13. More on association implementation (all four operations supported).
1288 Need to handle deletion of associations and protocol stubs still.
1289 Need to test class associations (rather than just instance associations).
1290 Need to handle deleteInstance().
1291 (MEB)
|
1292 mike 1.26
|
1293 mday 1.28 14. slp client code integrated as pegasus-style c++ library. (MDD)
1294
|
1295 karl 1.30 15. (Karl)Update CGI Client to correct number of errors and install
1296 AssociationName
|
1297 karl 1.29 and ReferenceName functions. This included extensive update to the HTML
1298 pages.
1299
|
1300 karl 1.30 16. (Denise E.) Changes to slp client support code for HPUX (
|
1301 sage 1.31
1302 17. (Markus Mueller) Additional changes to support dynamic libraries. Fixed
1303 ProviderTable tests. Fixed build process (slp with PEGASUS_SUPPORTS_DYNLIB).
1304 Made cimserver accept the -D flag to eliminate the need for environment
1305 variables.
|
1306 mike 1.32
1307 18. (Mike Brasher) Added support for Associators(), AssociatorNames(),
1308 References() and ReferenceNames() CIM operations. These only operate
1309 on instances at this time. They will operate on classes soon.
|
1310 kumpf 1.34
1311 19. (Mike Glantz) Extended and modified dynamic support
1312 changes to (1) work on HP-UX and (2) have all images and libraries
1313 buildable per the value of PEGASUS_SUPPORTS_DYNLIB. The biggest
1314 change is to program.mak and library-unix.mak, removing specific
1315 lists of dynamic library specs and putting them in the Makefile
1316 and libraries.mak files that build the actual targets (lots of
1317 these now have DYNAMIC_LIBRARIES defined).
|
1318 karl 1.35
1319 20. (Karl) added basic Queue function to common (based on array) and added
1320 tests for stack and queue.
|
1321 karl 1.38
1322 ------------------------------------------------------------------------------
1323 --
|
1324 mike 1.36
|
1325 karl 1.16 Version 0.97.3 - Released 5 June 2001
|
1326 karl 1.11
|
1327 karl 1.12 1. (KS)OptionManager (CPP and H), Logger (CPP and H), Handler (CPP and H),
1328 CIMServer (both)
|
1329 karl 1.11 Functions added include:
1330 a. Enable trace to log file.
|
1331 karl 1.12 b. Add option so that you can trace to console or trace to logfile (-l
1332 is
|
1333 karl 1.11 trace to log, -t is trace to console).
1334 c. add parameter in optionsrow for help message and enable the capture
|
1335 karl 1.12 of these messages in Options class. Also added help print that
1336 prints these things out. However, format not to beautiful.
|
1337 karl 1.11 d. Eliminate a couple of messages coming from __Namespace provider.
1338 e. Extend the Clients\testclient so he does tests on Namespace.
|
1339 karl 1.15 2. (KS)Extended Log to show time, severity.
|
1340 mike 1.33
|
1341 karl 1.15 3. (KS)Added getCurrentASCIITime functions to System.x
|
1342 mike 1.33
|
1343 karl 1.15 4. (KS)Extended options on CIMServer including 1. option to determine where
1344 logs
|
1345 karl 1.12 are put
|
1346 mike 1.33
|
1347 karl 1.15 5. (KS)Added TestClient that executes a series of tests against a server.
1348 This is a preliminary version.
|
1349 mike 1.33
|
1350 karl 1.15 6. (KS)Corrected problem with acceptor.bind where failure was being lost. Now
|
1351 karl 1.13 throws CannotBind exception.
|
1352 mike 1.33
|
1353 karl 1.15 7. (KS)Added logger entry to XMLParser for errors. NOTE: At this point it may
1354 not
|
1355 karl 1.14 print out all of the message. At the least it prints out the error message
1356 and components of the message causing the problem.
|
1357 mike 1.33
|
1358 karl 1.15 8. (KS)Added clean option to server but temprarily disabled.
|
1359 mike 1.33
|
1360 karl 1.15 9. (KS)Fixed problem where logs were not created unless logs directory already
|
1361 karl 1.14 existed.
|
1362 mike 1.33
1363 10. (Mike Brasher) Added "Test" prefix to all test program names.
|
1364 karl 1.15
|
1365 karl 1.29 ------------------------------------------------------------------------------
1366 --
|
1367 karl 1.6 Version 0.97.2
1368
1369 1. Extend HP UX port to correctly load Dynamic Load Libraries.
1370 2. Extend Formatter for Boolean and Uint32 types.
1371 3. Change CIM Server to use Trace (-t) flag. This also changed
1372 Handler.h to work off of flag.
1373 4. Minor corrections to __Namespace Provider.
1374 5. Extend tests for Formatter, String, and other modules.
1375 6. Correct errors in documentation.
1376 7. New working papers (provider interface).
|
1377 karl 1.8 8. Add Providerreg.exe tool.
1378 9. Add trace output for messages sent from the Server.
|
1379 mike 1.26
|
1380 karl 1.29 ------------------------------------------------------------------------------
1381 --
|
1382 mike 1.26
|
1383 karl 1.6 23 May 2001 Version 0.97.1 Tags as version_0_971
|
1384 karl 1.5
|
1385 karl 1.3 1. Add PEG_NOT_FOUND symbol to replace Uint32(-1) in any of the object
1386 find functions. Note: This symbol is defined in config.h. (ks).
1387
|
1388 karl 1.5 2. Port To HP UX. This required a number of changes particularly in the area
1389 of dynamic lib loaading.
|
1390 karl 1.1
1391
|
1392 karl 1.29 ------------------------------------------------------------------------------
1393 --
|
1394 mike 1.26
|
1395 karl 1.3 21 May 2001 Version 0.97 - Tagged as version_0_97
|
1396 karl 1.1
1397 1. Added methods in CIMClass, CIMInstance, for existance of properties,
1398 qualifiers, methods.
1399 2. Add methods in CIMClass, CIMInstance to remove properties, qualifier,
1400 methods.
1401 3. Added CIMmethod and CIMProperty in CIMMethod to text for existance of
1402 qualifiers and to
1403 remove qualifiers.
1404 4. Ported to AIX. NOTE: This port was done using an earlier version of the AIX
1405 compiler. It probably imposed more limitations than would be required with
|
1406 karl 1.2 the current compiler. This version of the port produces an excessively large
1407 common module due to template bloat. That problem will be fixed in a future
1408 change to the port. Also there are a log of duplicate symbol warnings generate
1409 by the AIC compiler but these cause no problems. The port has been tested
1410 with the complete unit test and client/server test successfully.
|
1411 karl 1.1
1412 --------------------------------------------------------------------------
|
1413 karl 1.2
|
1414 mike 1.4 23 May 2001
|
1415 karl 1.1
|
1416 mike 1.9 1. Ported to HPUX
|
1417 karl 1.5
|
1418 mike 1.9 --------------------------------------------------------------------------
1419
1420 29 May 2001
1421
1422 1. Implemented CIMRepository::setProperty() and CIMRepository::getProperty().
|
1423 mike 1.51
1424
1425
1426
|
1427 karl 1.48
|
1428 karl 1.38
|
1429 karl 1.30
|
1430 karl 1.29
|
1431 mike 1.10
|