Add ModernizedOperation and ModernizedCommandOperation classes and integrate into the driver

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Unknown
    • 6.19.0
    • Affects Version/s: None
    • Component/s: None
    • Not Needed
    • 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
            Durran Jordan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: