Uploaded image for project: 'E-commerce'
  1. E-commerce
  2. ECOMMERCE-97

Don't create new instance of SphereClient when has been already created

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Done
    • Neutral
    • 1.0
    • None
    • None
    • None

    Description

      get method in SphereClientUtil class creates new instance of SphereClient every time it's called. Reimplement the method to reuse already created client instance(s) (singleton pattern).

      SphereClient should not be returned if conection test fails (see info.magnolia.commercetools.integration.CommercetoolsIntegrationModule#start)

       

       

       

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                ajuran Antonín Juran
                ajuran Antonín Juran
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Task DoD