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