Implement Pluggable Util Adapter

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Won't Do
    • Priority: Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None

      Use Case

      As a Developer
      I want the driver to use an injected util adapter.
      So that I can run the driver in environments missing Node's util module (specifically for inspect).

      User Experience

      • Driver uses driverAdapters.util instead of require('util').

      Risks/Unknowns

      None for us, util.inspect is used for logging objects. The adapter must ensure objects are still readable in logs.

      Acceptance Criteria

      Implementation Requirements

      • Remove import: Remove require('util').

      Testing Requirements

      • Verify features relying on util (like Logger) function correctly.

      Documentation Requirements

      • DOCSP ticket, API docs, etc

      Follow Up Requirements

      • additional tickets to file, required releases, etc
      • if node behavior differs/will differ from other drivers, confirm with dbx devs what standard to aim for and what plan, if any, exists to reconcile the diverging behavior moving forward

            Assignee:
            Unassigned
            Reporter:
            Sergey Zelenov
            None
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: