property file addition to inhibit shipping estimate rate checks globally or for selected carriers
------------------------------------------------------------------------------------------------- Key: OFBIZ-1362 URL: https://issues.apache.org/jira/browse/OFBIZ-1362 Project: OFBiz Issue Type: Improvement Components: order Reporter: Skip Dever Priority: Minor I would like to submit a small change to inhibit usps, dhl and ups external shipping rate checks. This is useful for testing because if you don't have an external internet connection, you get lots of exceptions that clutter the log and slow things down. Also, in my current installation, I have two ofbiz machines, one exposed to the internet for external use, and one on an internal network with no internet access. This internal machine is generating lots of exception that although not real errors, make it difficult to check for real ones. The solution is simple, a property in shipment.properties: shipment.doratecheck=false and shipment.doratecheck.<servicename>=false The second properties allows fine grained control over which rate checks are attempted. So, when you first get started, you can disable them, then enable them as you get accounts. This would affect no existing installations as you have to add the property to have rate estimates inhibited. I know that it is possible to not supply the "serviceName" in the shipping method, but this way makes it easy too to turn it off and on when you have set up accounts with the various carriers without having to reload your seed data. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
[ https://issues.apache.org/jira/browse/OFBIZ-1362?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Skip Dever updated OFBIZ-1362: ------------------------------ Attachment: ratecheck.patch This patch adds some comments to shipping.properties to show how to use it and a few lines of code to ShippingEvents.java to implement it. > property file addition to inhibit shipping estimate rate checks globally or for selected carriers > ------------------------------------------------------------------------------------------------- > > Key: OFBIZ-1362 > URL: https://issues.apache.org/jira/browse/OFBIZ-1362 > Project: OFBiz > Issue Type: Improvement > Components: order > Reporter: Skip Dever > Priority: Minor > Attachments: ratecheck.patch > > > I would like to submit a small change to inhibit usps, dhl and ups external shipping rate checks. > This is useful for testing because if you don't have an external internet connection, you get lots of exceptions that clutter the log and slow things down. > Also, in my current installation, I have two ofbiz machines, one exposed to the internet for external use, and one on an internal network with no internet access. > This internal machine is generating lots of exception that although not real errors, make it difficult to check for real ones. > The solution is simple, a property in shipment.properties: > shipment.doratecheck=false > and > shipment.doratecheck.<servicename>=false > The second properties allows fine grained control over which rate checks are attempted. So, when you first get started, you can disable them, then enable them as you get accounts. > This would affect no existing installations as you have to add the property to have rate estimates inhibited. > I know that it is possible to not supply the "serviceName" in the shipping method, but this way makes it easy too to turn it off and on when you have set up accounts with the various carriers without having to reload your seed data. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-1362?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacques Le Roux reassigned OFBIZ-1362: -------------------------------------- Assignee: Jacques Le Roux > property file addition to inhibit shipping estimate rate checks globally or for selected carriers > ------------------------------------------------------------------------------------------------- > > Key: OFBIZ-1362 > URL: https://issues.apache.org/jira/browse/OFBIZ-1362 > Project: OFBiz > Issue Type: Improvement > Components: order > Reporter: Skip Dever > Assignee: Jacques Le Roux > Priority: Minor > Attachments: ratecheck.patch > > > I would like to submit a small change to inhibit usps, dhl and ups external shipping rate checks. > This is useful for testing because if you don't have an external internet connection, you get lots of exceptions that clutter the log and slow things down. > Also, in my current installation, I have two ofbiz machines, one exposed to the internet for external use, and one on an internal network with no internet access. > This internal machine is generating lots of exception that although not real errors, make it difficult to check for real ones. > The solution is simple, a property in shipment.properties: > shipment.doratecheck=false > and > shipment.doratecheck.<servicename>=false > The second properties allows fine grained control over which rate checks are attempted. So, when you first get started, you can disable them, then enable them as you get accounts. > This would affect no existing installations as you have to add the property to have rate estimates inhibited. > I know that it is possible to not supply the "serviceName" in the shipping method, but this way makes it easy too to turn it off and on when you have set up accounts with the various carriers without having to reload your seed data. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-1362?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacques Le Roux closed OFBIZ-1362. ---------------------------------- Resolution: Fixed Fix Version/s: SVN trunk Thanks Skip, Your patch is in trunk revision: 589081 > property file addition to inhibit shipping estimate rate checks globally or for selected carriers > ------------------------------------------------------------------------------------------------- > > Key: OFBIZ-1362 > URL: https://issues.apache.org/jira/browse/OFBIZ-1362 > Project: OFBiz > Issue Type: Improvement > Components: order > Reporter: Skip Dever > Assignee: Jacques Le Roux > Priority: Minor > Fix For: SVN trunk > > Attachments: ratecheck.patch > > > I would like to submit a small change to inhibit usps, dhl and ups external shipping rate checks. > This is useful for testing because if you don't have an external internet connection, you get lots of exceptions that clutter the log and slow things down. > Also, in my current installation, I have two ofbiz machines, one exposed to the internet for external use, and one on an internal network with no internet access. > This internal machine is generating lots of exception that although not real errors, make it difficult to check for real ones. > The solution is simple, a property in shipment.properties: > shipment.doratecheck=false > and > shipment.doratecheck.<servicename>=false > The second properties allows fine grained control over which rate checks are attempted. So, when you first get started, you can disable them, then enable them as you get accounts. > This would affect no existing installations as you have to add the property to have rate estimates inhibited. > I know that it is possible to not supply the "serviceName" in the shipping method, but this way makes it easy too to turn it off and on when you have set up accounts with the various carriers without having to reload your seed data. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-1362?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12538400 ] Jacopo Cappellato commented on OFBIZ-1362: ------------------------------------------ Jacques, Skip, I've fixed the compile error (reported by Skip in the mailing list) due to a missing import statement in rev. 589496 > property file addition to inhibit shipping estimate rate checks globally or for selected carriers > ------------------------------------------------------------------------------------------------- > > Key: OFBIZ-1362 > URL: https://issues.apache.org/jira/browse/OFBIZ-1362 > Project: OFBiz > Issue Type: Improvement > Components: order > Reporter: Skip Dever > Assignee: Jacques Le Roux > Priority: Minor > Fix For: SVN trunk > > Attachments: ratecheck.patch > > > I would like to submit a small change to inhibit usps, dhl and ups external shipping rate checks. > This is useful for testing because if you don't have an external internet connection, you get lots of exceptions that clutter the log and slow things down. > Also, in my current installation, I have two ofbiz machines, one exposed to the internet for external use, and one on an internal network with no internet access. > This internal machine is generating lots of exception that although not real errors, make it difficult to check for real ones. > The solution is simple, a property in shipment.properties: > shipment.doratecheck=false > and > shipment.doratecheck.<servicename>=false > The second properties allows fine grained control over which rate checks are attempted. So, when you first get started, you can disable them, then enable them as you get accounts. > This would affect no existing installations as you have to add the property to have rate estimates inhibited. > I know that it is possible to not supply the "serviceName" in the shipping method, but this way makes it easy too to turn it off and on when you have set up accounts with the various carriers without having to reload your seed data. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
Free forum by Nabble | Edit this page |