Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-3583 Remove all usages of static methods to the Cache
  3. GEODE-4457

Remove singleton calls from all tests in org.apache.geode.rest.internal.web.controllers

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: rest (dev), tests
    • Labels:
      None

      Description

      These tests in org.apache.geode.rest.internal.web.controllers invoke singleton getters.

      CacheFactory.getAnyInstance():

      • AddFreeItemToOrders
      • GetDeliveredOrders
      • GetRegions
      • GetValueForKey
      • RestAPIOnRegionFunctionExecutionDUnitTest
      • RestQueryAndFunctionIntegrationTest

      GemFireCacheImpl.getInstance():

      • RestAPIsAndInterOpsDUnitTest
      • RestAPIsWithSSLDUnitTest

      InternalDistributedSystem.getAnyInstance():

      • RestAPIOnRegionFunctionExecutionDUnitTest

      InternalDistributedSystem.getConnectedInstance():

      • RestAPIsOnGroupsFunctionExecutionDUnitTest
      • RestAPIsWithSSLDUnitTest

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              klund Kirk Lund
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: