Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-28581

Make tests stop depending on nuxeo-automation-client

    XMLWordPrintable

    Details

    • Type: Clean up
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 11.1, 2021.0
    • Component/s: Automation
    • Impact type:
      API change
    • Upgrade notes:
      Hide

      Tests depending on EmbeddedAutomationServerFeature can now make use of a limited-functionality org.nuxeo.ecm.automation.test.HttpAutomationClient (in a new package) that does direct http calls and doesn't attempt to map JSON responses to a domain-level object model like Document, etc.

      @Inject
      protected Session session;
      

      becomes:

      @Inject
      protected HttpAutomationSession clientSession;
      
      Show
      Tests depending on EmbeddedAutomationServerFeature can now make use of a limited-functionality org.nuxeo.ecm.automation.test.HttpAutomationClient (in a new package) that does direct http calls and doesn't attempt to map JSON responses to a domain-level object model like Document , etc. @Inject protected Session session; becomes: @Inject protected HttpAutomationSession clientSession;
    • Team:
      FG
    • Sprint:
      nxFG 11.1.12

      Description

      Some tests still depend on nuxeo-automation-client, which we want to remove (NXP-27951).

      -> Rewrite them to use another HTTP library

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 week, 50 minutes
                  1w 50m