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