/[projects]/dao/DaoAdresseVedligehold/src/main/java/dk/daoas/adressevedligehold/afstandandenrute/AfstandAndenRuteTask.java
ViewVC logotype

Diff of /dao/DaoAdresseVedligehold/src/main/java/dk/daoas/adressevedligehold/afstandandenrute/AfstandAndenRuteTask.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2895 by torben, Mon Feb 1 07:02:12 2016 UTC revision 2896 by torben, Mon Feb 1 08:32:44 2016 UTC
# Line 16  import java.util.logging.Logger; Line 16  import java.util.logging.Logger;
16  import java.util.logging.SimpleFormatter;  import java.util.logging.SimpleFormatter;
17    
18  import ags.utils.dataStructures.trees.thirdGenKD.KdTree;  import ags.utils.dataStructures.trees.thirdGenKD.KdTree;
19    import dk.daoas.adressevedligehold.ReloadHelper;
20  import dk.daoas.adressevedligehold.ServiceConfig;  import dk.daoas.adressevedligehold.ServiceConfig;
21  import dk.daoas.adressevedligehold.beans.Address;  import dk.daoas.adressevedligehold.beans.Address;
22  import dk.daoas.adressevedligehold.db.DBConnection;  import dk.daoas.adressevedligehold.db.DBConnection;
# Line 162  public class AfstandAndenRuteTask extend Line 163  public class AfstandAndenRuteTask extend
163    
164                                  if (test_mode == false && this.isAborted() == false) {                                  if (test_mode == false && this.isAborted() == false) {
165                                          db.renameResultTables();                                          db.renameResultTables();
166                                            
167                                            ReloadHelper.triggerReload( "AfstandAndenRute/" + distributor );
168    
                                         String trigger_url = ServiceConfig.getInstance().trigger_url;  
   
                                         logger.info("Calling trigger URL");  
                                         String url = trigger_url + "&trigger=AfstandAndenRute/" + distributor;  
   
                                         HttpUtil.getContentString(url, 500);  
169    
170                                  } else {                                  } else {
171                                          logger.info( "Rename tables is disabled !!!" );                                          logger.info( "Rename tables is disabled !!!" );

Legend:
Removed from v.2895  
changed lines
  Added in v.2896

  ViewVC Help
Powered by ViewVC 1.1.20