← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 7432: changed from lastApproved to lastDays in mfl routes

 

------------------------------------------------------------
revno: 7432
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Wed 2012-06-27 16:28:16 +0300
message:
  changed from lastApproved to lastDays in mfl routes
modified:
  local/ke/mfl2dxf2/src/main/java/org/hisp/dhis/integration/routes/MFLTransformRoute.java
  local/ke/mfl2dxf2/src/main/resources/routes/mfl2dxf2.xml


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'local/ke/mfl2dxf2/src/main/java/org/hisp/dhis/integration/routes/MFLTransformRoute.java'
--- local/ke/mfl2dxf2/src/main/java/org/hisp/dhis/integration/routes/MFLTransformRoute.java	2012-06-27 07:08:52 +0000
+++ local/ke/mfl2dxf2/src/main/java/org/hisp/dhis/integration/routes/MFLTransformRoute.java	2012-06-27 13:28:16 +0000
@@ -42,7 +42,7 @@
     {
         // from( "file:/Users/mortenoh/GDrive/HISP/ke/mfl/data/inbox?consumer.initialDelay=10000&consumer.delay=5000" ).
         from( "quartz://every1minute?cron=0+0/1+*+*+*+%3F" ).
-            to( "http://api.ehealth.or.ke/api/facilities?lastApproved=1/1/2011&paging=off&scheme=on"; ).
+            to( "http://api.ehealth.or.ke/api/facilities?lastDays=720&paging=off&scheme=code"; ).
             to( "xslt:transform/mfl2dxf2.xsl" ).
             convertBodyTo( InputStream.class ).inOut( "dhis2:metadata" ).
             to( "log:org.hisp.dhis.camel?level=INFO" );

=== modified file 'local/ke/mfl2dxf2/src/main/resources/routes/mfl2dxf2.xml'
--- local/ke/mfl2dxf2/src/main/resources/routes/mfl2dxf2.xml	2012-06-27 07:06:47 +0000
+++ local/ke/mfl2dxf2/src/main/resources/routes/mfl2dxf2.xml	2012-06-27 13:28:16 +0000
@@ -8,7 +8,7 @@
 
   <!-- <from uri="file:/Users/mortenoh/GDrive/HISP/ke/mfl/data/inbox?consumer.initialDelay=10000&amp;consumer.delay=5000" /> -->
   <from uri="quartz://every1minute?cron=0+0/1+*+*+*+%3F" />
-  <to uri="http://api.ehealth.or.ke/api/facilities?lastApproved=1/1/2011&amp;paging=off&amp;scheme=on"; />
+  <to uri="http://api.ehealth.or.ke/api/facilities?lastDays=720&amp;paging=off&amp;scheme=code"; />
   <to uri="xslt:transform/mfl2dxf2.xsl" />
   <convertBodyTo type="java.io.InputStream"/>
   <inOut uri="dhis2:metadata" />