Add ModernizedOperation and ModernizedCommandOperation classes and integrate into the driver

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • Not Needed
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?
    • None
    • None
    • None
    • None
    • None
    • None

      Use Case

      As a Node driver engineer,
      I want to add ModernizedOperation and ModernizedCommandOperation to the driver's operation hierarchy,
      So that the build commands after connection checkout design can proceed as planned.

      User Experience

      • n/a - internal refactor.

      Dependencies

      • n/a

      Risks/Unknowns

      • This change will introduce extra logic into the shared operation execution code path (executeOperation).  We should take care to ensure performance of existing operations is unaffected.

      Acceptance Criteria

      Implementation Requirements

      • As outlined in the design, create two new subclasses of AbstractOperation: ModernizedOperation and ModernizedCommandOperation
      • Add a second command execution to the server class which takes a ModernOperation and builds the operation's command post connection-checkout.
      • Update executeOperation() to use the new Server.command method, if it is executing a ModernOperation.
      • Migrate one operation to subclass 
      • ModernizedOperation or ModernizedCommandOperation, to ensure the new classes and command execution methods work as expected.

      Testing Requirements

      • all tests pass.
      • ensure no performance degradation.

      Documentation Requirements

      • n/a

      Follow Up Requirements

      • n/a

              Assignee:
              Bailey Pearson
              Reporter:
              Bailey Pearson
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: