(file) Return to readme.pulloperations CVS log (file) (dir) Up to [Pegasus] / pegasus

Diff for /pegasus/readme.pulloperations between version 1.1.2.34 and 1.1.2.47

version 1.1.2.34, 2014/05/29 23:55:34 version 1.1.2.47, 2014/08/19 18:07:56
Line 15 
Line 15 
       need to do this. The binary response is not really used often       need to do this. The binary response is not really used often
       in the current environment So double mapping it is not a major issue.       in the current environment So double mapping it is not a major issue.
       Leave this as FUTURE       Leave this as FUTURE
    2. OpenExecQuery - Code is incomplete in that it does not include the     2. DONE OpenExecQuery - Code is incomplete in that it does not include the
       return from the exec query function to the aggregator yet. Code for Pull       return from the exec query function to the aggregator yet. Code for Pull
       part of OpenQueryInstancesRequest a) should be part of the common       part of OpenQueryInstancesRequest a) should be part of the common
       CIMOperationRequestDispatcher execCommon code. DONE, not tested. 29 May       CIMOperationRequestDispatcher execCommon code. DONE, not tested. 29 May
    3. The changes to WQLCIMOperationRequestDispatcher and CQL... for handling         30 May tested with simple cli calls.
      3. DONE The changes to WQLCIMOperationRequestDispatcher and CQL... for handling
       pull not completed so we feed the responses back to the EnmerationContext       pull not completed so we feed the responses back to the EnmerationContext
       queues. DONE Not tested 29 May        queues. DONE Not tested 29 May 30 May DONE,  some testing done
    4. Minor TODOs, diagnostics, etc. still in the code     4. Minor TODOs, diagnostics, etc. still in the code. Reduced almost to
         none now.  We are leaving some in as PEGASUS_DEBUG
    5. Extension to avoid double move of objects in CIMResponseData (one    5. Extension to avoid double move of objects in CIMResponseData (one
       into enumerationContext queue and second to new cimResponseData for       into enumerationContext queue and second to new cimResponseData for
       response.  Want to avoid second move by extending Open/Pull response       response.  Want to avoid second move by extending Open/Pull response
Line 30 
Line 32 
       of queue when converting (avoids the second move). This would mean       of queue when converting (avoids the second move). This would mean
       extending the output writers to allow the count field to be supplied       extending the output writers to allow the count field to be supplied
       so they would only create output for up to the count supplied.(Make       so they would only create output for up to the count supplied.(Make
       this future beyond bug 9676)        this future beyond bug 9676). This is fairly extensive because it
         extends beyond CIMResponseData to SCMO and XML writers where the
         XmlWriters used by encodeXmlResponse would have to have counters
         added. Then instead of copying on getCache we would simply pass the
         cache and count on and the writer would take and remove.
    6. Add more static tests (currently only OpenEnumerateInstances and    6. Add more static tests (currently only OpenEnumerateInstances and
       OpenEnumerateInstanceNames covered).       OpenEnumerateInstanceNames covered).
       Low priority because most of this except exact XML covered in other       Low priority because most of this except exact XML covered in other
       tests. note that we can only add very limited tests since a) no       tests. note that we can only add very limited tests since a) no
       way to test multiple operations in sequence(i.e. open/pull) and       way to test multiple operations in sequence(i.e. open/pull) and
       cannot be sure how many responses will come back in all cases even       cannot be sure how many responses will come back in all cases even
       for open.        for open.  The only reason for most of these tests is to assure that
    7. Clean up the CIMOperationRequestDecoder.cpp rejectCIMException        we do not change XML inadvertendtly in future with change that is
       further since there is some overlap.  VERY Low priority.        compatible to both our server and client but breaks other clients or
         servers. In any case we can do only minimal tests because most real
         testing involves both open and pull and the static tests are by their
         nature single operation.
    8. Correct issue between operations and HTTP where we are sending    8. Correct issue between operations and HTTP where we are sending
       trailers with exceptions. Modify response mechanisms so that we       trailers with exceptions. Modify response mechanisms so that we
       set non-chunked for all responses where we send error responses to       set non-chunked for all responses where we send error responses to
       avoid the trailers.        avoid the trailers. NOTE: There should be now a bug on this in general
         where we would want to send an initial error without the trailer. Should
         have always done that.
    9. It would be more efficient in dispatcher to always use exception for    9. It would be more efficient in dispatcher to always use exception for
        rejects and change the _reject functions so that they never return        rejects and change the _reject functions so that they never return
        when they reject. This is VERY LOW PRIORITY and primarily saves        when they reject. This is VERY LOW PRIORITY and primarily saves
        a few lines of code in the reject functions and their calls.  Means we        a few lines of code in the reject functions and their calls.  Means we
        would code.        would code.
        _rejectIfEnumerationToBroad(...)         _rejectIfEnumerationToBroad(...);
        _rejectIfThisParameterIncorrect(...)         _rejectIfThisParameterIncorrect(...);
  
        instead of        instead of
        if (_rejectIfEnum...)        if (_rejectIfEnum...)
Line 58 
Line 69 
            return true            return true
        }        }
        It would mean that the method trace for the handlers would not return        It would mean that the method trace for the handlers would not return
        an exit if we rejected. VERY LOW PRIORITY         an exit if we rejected. VERY LOW PRIORITY. Possibly FUTURE. No behavior
          change, just more compact source code but it messes with the method
          trace logic.
     10. There are still a couple of template functions around the task of     10. There are still a couple of template functions around the task of
        distributing requests to the multiple providers.        distributing requests to the multiple providers.
        In fact there are two similiar but different templates for        In fact there are two similiar but different templates for
        the associators(i.e. assoc, ref, etc.) functions and the parallel        the associators(i.e. assoc, ref, etc.) functions and the parallel
        openAssoc functions.  It would be nice to consolidate that logic and        openAssoc functions.  It would be nice to consolidate that logic and
        further to try to create a non-template form for those functions. LOW        further to try to create a non-template form for those functions. LOW
        PRIORITY.         PRIORITY and not for bug 9676 ACTION: Define in new bug
     11. External runtime variables. This bug leaves these variables as      11. External runtime variables. bug 9676 leaves these variables as
       internal to CIMOperationRequestDispatcher.cpp.       internal to CIMOperationRequestDispatcher.cpp.
       See bug 9819 for the changes to externalize these variables, both       See bug 9819 for the changes to externalize these variables, both
       the runtime and buildtime variables.  The Work group discussion       the runtime and buildtime variables.  The Work group discussion
       documents what the variables are and how they tie to statistics info.       documents what the variables are and how they tie to statistics info.
       See the OpenPegasus Wiki, Pull operations work group.       See the OpenPegasus Wiki, Pull operations work group.
     12. Not directly related to pull but now over half the code in      12. Trace functions in CIMResponseData,h & cpp should be PEGASUS_DEBUG.
       WQLOperationRequestDispatcher.cpp and CQLOperationRequestDispatcher         Same for trace function in EnumerationContext and
       handle functions is just duplicated.  Need to create a common function         EnumerationContextTable
       and eliminate the duplicated code      13.Question. We added trace in CIMRequestOperationDispatcher.cpp if
     13. Left almost duplicate createContext function in EnumerationContextTab.         query enum is recevied with no object path.  However, since this is
       Clean up code         a provider problem should we be doing something other than a trace
          (ex. log) since traces are often not really used and they do generate
          lots of data whereby something like this could get lost. Also, need
          to review what level of trace if we keep trace.
      14. Note that the build-a-class argument on OpenQueryInstances always
          returns error since we do not build the class.  We propose to deprecate
          this in DMTF and not implement in in OpenPegasus. TODO add a bug
          defining this limitation. This is not a TODO, just a warning for
          the future. TODO add bug about this and add to release notes
      15. Clarify trace of completion of each enumeration sequence.
      16. Statistics keeping for open, etc. through cimperf.
  
  
    NEXT TASKS:    NEXT TASKS:
       a. finish 8, 11 2,3 above ( Finish by about 1 June)        a. finish 8, 12 above. Test against cimperf since there was a bug
         in cimperf from before.
   
   14 August 2014
   1. Issue with the pullop test in some systems causing an HTTP 413 error (
   too much data).  We confirmed that this is probably actually a limit in the
   client with enumerate instances (the response is simply to big in the case
   where we are asking it to deliver 100,000 responses instances on some systems)
   Modified the test for the stress test to be 30,000 instances and added a
   manual test testSizeLimit to the make file to try to deliver up to 600,000
   instances to determine limits to the environment.
   
   Note that this is not actually a failure of the pull operations. In fact
   where cimcli ei ... fails with 600,000 instances in the response cimcli pei
   works correctly.
   
   Update the Client/tests/pullop/Makefile stresstests to hopefully pass the
   nightly test on more systems.
   
   2. Eliminated a number of KS_TODOs and code that we had documented out with
      //// . Note that there are still a number of the KS_TODOs but most of them
      are really isolated around
   
   19 August 2014
   1. Remove a number of KS_TODO notes either by cleaning them up or by
      change the keyword to FUTURE if they are things that we might consider
      for the future
   2. Some efficiency improvements in dealing with strings primarily get
      rid of use of String::EMPTY in the new code.
   
   3. Removed some diagnostic trace output that was used during development.
   
   13 August 2014
   1. Mergeout to head of tree.
   
   11. August 2014
   1. Correct error in compile in windows (bad reference to sleep(...)
   
   29 July 2014
   1. Cleanup functionality in the unittests for EnumerationContext and
      its table.
   
   23 July 2014
   1. Mergeout from head of tree to Task branch
   
   21 July 2014
   1. Removed strings.h from pullop.cpp
   2. Minor cleanup per testing
   
   17 July 2014
   1. Correct error in CIMOperationRequestDispatcher.cpp OpenQueryInstances
      when PEGASUS_DISABLE_QUERY set.
   2. Correct issue in diagnostic code in CIMResponseData.cpp that used
      snprintf function not available in windows.
   3. Clean up some miscellaneous code in pullop and Makefile.
   4. Minor change to PullErrosrs.
   
   2 July 2014
   1. Corrected error in the new getoopt functions that caused it to fail
      in build and also in it unit test with the --help option.
   
   28 June 2014
   1. Corrected issue where ZOs was getting errors from pullop because we
      used getopt to parse command line and the linux getopt is not behavior
      consistent with ZOs.  Note that the ZOs getopt matches the posix expect and
      the linux one has extensions (notably it permutes non option arguments to
      the end of the arguments array.  The easiest and most logical was to move
      the whole parser to use the internal getoopt which is what we should be
      using all the time in any case.
   18 June 2014
   1. Correct errors in pullop and CMIMessage.cpp identified by Ji Lee as comments 58,59
   2. Correct error in Makefile identified by Ji Lee as bug comment 60
   
   14 June 2014
   1. Mergeout from head of tree.
   
   12 June 2014
   1. Implement the basic code for the CIMOperationDispatcher portion of bug 9819
      Note that the CIMConfig calls are disabled with comments.
   2. Corrected a number of differences in const declaration and definition for
      continueOnError and maxObjectCount in CIMClient. This corrects issue
      documented in bug 9676 comment 53
   3. Corrected some documentation for Pull operations in CIMClient.
   4. Corrected similar issue In EnumerationContext class. See comment 54
   5. Removed ExecInfo.h header from Client/tests/PullErrors/PullErrors.cpp
   
   30 May 2014
   1. Correct issue in UintArgs.  Modified to use smart pointers, consistent
      with public interfaces. Tested
   2. Complete code for OpenQueryInstances and PullInstances so that the complete
      sequence works for both the server and client (i.e. 2, 3 above done
      except for more tests in pullop).
   3. Fix issue in cimcli where the OpenQueryInstances was outputting a path
      component where there is no path transmitted from the server.
   4. Moved large block of common code in CQLOperationRequestDispatcher.cpp
      and WQLOperationRequestDispatcher.cpp to common function
      handleQueryRequestCommon in CIMOperationRequestDispatcher.cpp. These
      handlers now reduced to just the parser processing and minimal error
      checks.
   5. Cleaned up some code in EnumerationContextTable.CreateContext so only
      single interface for all requests.
   6, Commented out a number of PEG_TRACE messages.  Note that they are
      commented with 4 /s at line beginning to be easily identified.
      //// code
      There are still a number of KS_TODOs but they are mostly some questsions,
      some internationalization (note that almost none of this environment is
      completely internationlaized (see the decoders)) and a couple of questions
      about the existing code or exactly what message should be sent.  I argue
      that the current TODOs should not stop checkin. Will remove after we
      have tested couple of days and prove that there is no real need.
   7. Added trace in Query response code if there is no objectPath since that
      is really an error in the provider
   
  
 29 May 2014 29 May 2014
 1. Correct issue in cimcli that was causing rejects of open operations when 1. Correct issue in cimcli that was causing rejects of open operations when


Legend:
Removed from v.1.1.2.34  
changed lines
  Added in v.1.1.2.47

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2