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