Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: Trunk
    • Fix Version/s: 16.11.01
    • Component/s: solr
    • Labels:
      None
    • Sprint:
      Community Day 2 - 2016

      Description

      • Add a private constructor.
      • Make the following private static variable as final.
            private static String[] solrProdAttribute = { "productId", "internalName", "manu", "size", "smallImage", "mediumImage", "largeImage", "listPrice", "defaultPrice", "inStock", "isVirtual" };
        
      • Make the following public static variables as private
            public static final String solrConfigName = "solrconfig.properties";
            public static final String solrUrl = makeSolrWebappUrl();
        
      • Make the following protected static variables as private
            protected static final String socketTimeoutString = UtilProperties.getPropertyValue(solrConfigName, "solr.client.socket.timeout");
            
            protected static final String connectionTimeoutString = UtilProperties.getPropertyValue(solrConfigName, "solr.client.connection.timeout");
            
            protected static final String clientUsername = UtilProperties.getPropertyValue(solrConfigName, "solr.client.username");
            
            protected static final String clientPassword = UtilProperties.getPropertyValue(solrConfigName, "solr.client.password");
        
            protected static final Integer socketTimeout = getSocketTimeout();
            
            protected static final Integer connectionTimeout = getConnectionTimeout();
            
            protected static final String trustSelfSignedCertString = UtilProperties.getPropertyValue(solrConfigName, "solr.client.trust.selfsigned.cert", "false");
            
            protected static final boolean trustSelfSignedCert = getTrustSelfSignedCert();
        
      1. OFBIZ-7398.patch
        3 kB
        Chinmay Patidar

        Activity

        Hide
        arunpati Arun Patidar added a comment -

        Committed changes in trunk at rev: 1750340

        Thanks Chinmay Patidar for your contribution.

        Show
        arunpati Arun Patidar added a comment - Committed changes in trunk at rev: 1750340 Thanks Chinmay Patidar for your contribution.
        Hide
        chinmay.patidar Chinmay Patidar added a comment -

        Attached is the patch for the issue. Thanks Arun Patidar for detailed description which made the effort so smooth.

        Show
        chinmay.patidar Chinmay Patidar added a comment - Attached is the patch for the issue. Thanks Arun Patidar for detailed description which made the effort so smooth.

          People

          • Assignee:
            arunpati Arun Patidar
            Reporter:
            arunpati Arun Patidar
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development

                Agile