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