Re: [Dhis2-devs] webAPI Handler for DHIS2

2014-12-05 Thread Lars Kristian Roland
Hi Greg,

The DHIS2 Web API uses built-in functions from Spring MVC, which converts
Java objects to various formats such as XML, JSON etc. Spring lets you
deploy exisiting converters or allow you to write your own if you want some
special format. Each of the API endpoints are Spring MVC controllers that
handle the various REST-calls.

You can see these controllers in
http://bazaar.launchpad.net/~dhis2-devs-core/dhis2/trunk/files/head:/dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/webapi/controller/

he slides from lectures 2, 3 and 4 of the INF5750 course (
http://www.uio.no/studier/emner/matnat/ifi/INF5750/h14/lecture-presentations/
) gives you some background on how this is done. However, some of the calls
in the API are a bit magical, which makes it a bit difficult to read, going
beyond 'plain Spring MVC'.

The API implementation is a module within DHIS2, so while it's modular,
it's closely linked to the internal APIs and data models.

Best regards,
Lars

Best regards,
Lars

2014-12-05 11:35 GMT+01:00 Greg Rowles greg.row...@gmail.com:

 Hi Devs

 Can anyone elaborate on the tools or systems used to present DHIS2 data
 through the webAPI? I'm trying to understand how DHIS2's database interacts
 with the webAPI to present output data. Is there a plugin/converter
 installed alongside DHIS2 that runs in the background or is that built into
 the java core that DHIS2 is built upon?

 Thanks,
 Greg

 --

 Business Intelligence Planner
 *Health Information Systems Programme*
 *- - - - - - - **- - - - - - - **- - - - - - - **- - - - - - - **- - - -
 - *
 Mobile  :073 246 2992
 Landline:   021 554 3130
 Fax:  086 733 8432
 Skype:  gregory_rowles

 ___
 Mailing list: https://launchpad.net/~dhis2-devs
 Post to : dhis2-devs@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~dhis2-devs
 More help   : https://help.launchpad.net/ListHelp




-- 
Lars Kristian Roland
Research Fellow, Department of Informatics, University of Oslo
Email: l...@roland.bz - rol...@ifi.uio.no
Phone: +47 90733036
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] webAPI Handler for DHIS2

2014-12-05 Thread Lars Kristian Roland
It is not,  but another similar Json based database api is being
considered. This could use the postgres Json support,  which would limit
the database choice. That would probably be for other app specific data,
rather than dhis core data. At least at first. But the postgres Json
support also allows you to link Json and sql/relational stuff.

Hence it would probably provide similar functions to Mongodb,  but be
linkable to the dhis data model.

For now,  the system and user settings are the only ways to store raw
Json,  but it's quite limited...

MobiLars
5. Des. 2014 13:11 skrev Greg Rowles greg.row...@gmail.com følgende:

 Thank you Lars! Looks like the Oslo course work is the way to go. I assume
 MongoDB is not part of any DHIS2 architecture currently in use?

 On Fri, Dec 5, 2014 at 12:57 PM, Lars Kristian Roland l...@roland.bz
 wrote:

 Hi Greg,

 The DHIS2 Web API uses built-in functions from Spring MVC, which converts
 Java objects to various formats such as XML, JSON etc. Spring lets you
 deploy exisiting converters or allow you to write your own if you want some
 special format. Each of the API endpoints are Spring MVC controllers that
 handle the various REST-calls.

 You can see these controllers in
 http://bazaar.launchpad.net/~dhis2-devs-core/dhis2/trunk/files/head:/dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/webapi/controller/

 he slides from lectures 2, 3 and 4 of the INF5750 course (
 http://www.uio.no/studier/emner/matnat/ifi/INF5750/h14/lecture-presentations/
 ) gives you some background on how this is done. However, some of the calls
 in the API are a bit magical, which makes it a bit difficult to read, going
 beyond 'plain Spring MVC'.

 The API implementation is a module within DHIS2, so while it's modular,
 it's closely linked to the internal APIs and data models.

 Best regards,
 Lars

 Best regards,
 Lars

 2014-12-05 11:35 GMT+01:00 Greg Rowles greg.row...@gmail.com:

 Hi Devs

 Can anyone elaborate on the tools or systems used to present DHIS2 data
 through the webAPI? I'm trying to understand how DHIS2's database interacts
 with the webAPI to present output data. Is there a plugin/converter
 installed alongside DHIS2 that runs in the background or is that built into
 the java core that DHIS2 is built upon?

 Thanks,
 Greg

 --

 Business Intelligence Planner
 *Health Information Systems Programme*
 *- - - - - - - **- - - - - - - **- - - - - - - **- - - - - - - **- - -
 - - *
 Mobile  :073 246 2992
 Landline:   021 554 3130
 Fax:  086 733 8432
 Skype:  gregory_rowles

 ___
 Mailing list: https://launchpad.net/~dhis2-devs
 Post to : dhis2-devs@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~dhis2-devs
 More help   : https://help.launchpad.net/ListHelp




 --
 Lars Kristian Roland
 Research Fellow, Department of Informatics, University of Oslo
 Email: l...@roland.bz - rol...@ifi.uio.no
 Phone: +47 90733036




 --

 Business Intelligence Planner
 *Health Information Systems Programme*
 *- - - - - - - **- - - - - - - **- - - - - - - **- - - - - - - **- - - -
 - *
 Mobile  :073 246 2992
 Landline:   021 554 3130
 Fax:  086 733 8432
 Skype:  gregory_rowles

___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] API

2014-11-06 Thread Lars Kristian Roland
It's also available in JSON for example, but you have to add .json behind
the URL. Were you thinking of the html-support? I thnk the HTML-support was
a bit problematic. We have some student projects working on apps that map
the API into more readable HTML-pages. If you have input to good features
for those students to implement as part of those projects, that'd be
excellent. What would be useful to have in such an HTML-API-browsing-App?

The student projects are part of a course at UIO. Their deadline in
December, and since these are student projects, we don't expect them all to
be 100%, but of last year's projects several made it to the app store and
more specific projects.

We have 100 students working on app projects, and here's the list of
current projects (there are several groups on each task):

Web API HTML-view browserData element bulk editorTouch-based messaging
appInterpretation
to facebookFacility registry appDHIS quiz appTools for quality insuranceAcademy
connector

Best regards,
Lars

2014-11-06 11:31 GMT+01:00 Jerome Shaguy jeromesha...@gmail.com:

 Hi,

 Does anyone know why the API is currently only available in XML? I am
 using 2.17-SNAPSHOT.

 ___
 Mailing list: https://launchpad.net/~dhis2-devs
 Post to : dhis2-devs@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~dhis2-devs
 More help   : https://help.launchpad.net/ListHelp




-- 
Lars Kristian Roland
Research Fellow, Department of Informatics, University of Oslo
Email: l...@roland.bz - rol...@ifi.uio.no
Phone: +47 90733036
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs-core] Mailing lists..forums...StackExchange...some ideas?

2014-10-10 Thread Lars Kristian Roland
Here's another one I like:

http://www.invisionpower.com/features/

(not that I don't like the ones Matthieu mentioned)

Lars

2014-10-10 11:07 GMT+02:00 Matthieu Pinard (UiO) matth...@ifi.uio.no:

 Hi guys,

 I'm glad to read that people with technical know-how are on this topic as
 well :).
 Forums being a fundamental building block of our (web) community choosing
 the right tool is key:

 The right tool for me means a tool that:
 - is easy to use for non-techies, as the community grows fast behind it's
 early adopters
 - encourages interaction though a good UX
 - helps the community to highlight what are the current hottest topics
 - enables easy moderation
 - can be used on different screens
 - ...and well... are open source ;)

 So far I see two tools:
 - the Ubuntu Discourse http://www.discourse.org/
 - as we are using the CMS Drupal for our website, we can simply activate
 the forum (limited)  or better probably go the the Harmony Core
 https://www.drupal.org/project/harmony_core that is part of the Commons
 distribution https://www.drupal.org/project/commons

 So far from a user perspective I favor Discourse
 http://www.discourse.org/. BTW Ubuntu is using it. I can only encourage
 you to give it a try http://try.discourse.org/ and tell me.

 Cheers,
 Matthieu


 Matthieu Pinard
 DHIS 2 Academy  Community Coordinator | University of Oslo

 On 9 October 2014 22:39, Lars Helge Øverland larshe...@gmail.com wrote:

 Does anyone know about any other existing forums that could be
 potentially more suitable?

 If not I'm all for giving this a try. I think going for a forum that is
 well-known has more legs than starting our own.

 Lars










-- 
Lars Kristian Roland
Research Fellow, Department of Informatics, University of Oslo
Email: l...@roland.bz - rol...@ifi.uio.no
Phone: +47 90733036
-- 
Mailing list: https://launchpad.net/~dhis2-devs-core
Post to : dhis2-devs-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs-core
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-users] dhis2 system administration list

2014-10-09 Thread Lars Kristian Roland
Hi,

I did some analysis of the email messages on our dev and users lists (for
research purposes), not looking at the content, but at the number of
messages and number of people.

Since 2011, the number of 'listeners' to these lists have grown
tremendously, although the number of messages has remained quite constant
(I only counted messages sent from people, not machines so not counting
automated messages).

This leads me to believe that maybe we could have a discussion on how these
lists could work better. Could it be that there are many people out there
who maybe would like to ask questions but are afraid to do so because
several hundred people will get their email? For some type of questions,
would other formats be better? Stackexchange-like messaging? Forum-based
messaging? Jason has a good point with this. But different discussions have
different 'optimal' media...

Anyway, I'm jus throwing this into the discussion. To keep to the topic, I
think a sysadm list could be useful.

Best regards,
Lars



2014-10-09 13:34 GMT+02:00 Jason Pickering jason.p.picker...@gmail.com:

 Hi Bob,
 I see the need, but am a bit concerned about establishing another mailing
 list. You can see from the dev list, that there are A LOT of non-dev topics
 already. Some of these are implementation issues, some end-user support,
 and a small smattering of Java jabberwocky. The dev list has sort of become
 the default mailing list for everything, and this is where people tend to
 go for support. The user list receives much less traffic, in spite of the
 fact that most of what is on the dev list is really not development
 related. While I think it is a good idea, there is inertia to overcome.

 Another idea which we have been contemplating is the establishment of a
 forum. This came out of the meeting in Oslo a few weeks back. I have been
 working with Lars Helge on this, but there is some more work which needs to
 be done before it would even be ready for testing. However,maybe a forum
 would be a better media for such discussions?

 Regards,
 Jason


 On Thu, Oct 9, 2014 at 12:06 PM, Alex Tumwesigye atumwesi...@gmail.com
 wrote:

 Brilliant idea.
 Let's go for it.

 Alex

 On Thu, Oct 9, 2014 at 12:30 AM, Bob Jolliffe bobjolli...@gmail.com
 wrote:

 Hi all

 Steven Uggowitzer recently raised the idea with me to create a system
 administrators list.  Aimed at backend sort of things relating to the
 operating system, security, database tuning, dhis2-tools, virtual machine
 images etc.

 Those geeky sort of things which are not about java development or about
 users as such, but all the stuff that needs to happen in between.

 I said I'd run it by our extended community and try and gauge interest.
 Please reply in this thread if you think its a good idea (or not).  If
 there is sufficient interest we can look at setting up.

 Cheers
 Bob

 ___
 Mailing list: https://launchpad.net/~dhis2-users
 Post to : dhis2-us...@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~dhis2-users
 More help   : https://help.launchpad.net/ListHelp




 --
 Alex Tumwesigye

 Technical Advisor - DHIS2,
 Ministry of Health/AFENET
 Kampala
 Uganda

 IT Consultant - BarefootPower Uganda Ltd, SmartSolar, Kenya

 IT Specialist (Servers, Networks and Security, Health Information Systems
 - DHIS2 )  Solar Consultant

 +256 774149 775, + 256 759 800161

 I don't want to be anything other than what I have been - one tree hill 

 ___
 Mailing list: https://launchpad.net/~dhis2-devs
 Post to : dhis2-devs@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~dhis2-devs
 More help   : https://help.launchpad.net/ListHelp




 --
 Jason P. Pickering
 email: jason.p.picker...@gmail.com
 tel:+46764147049

 ___
 Mailing list: https://launchpad.net/~dhis2-devs
 Post to : dhis2-devs@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~dhis2-devs
 More help   : https://help.launchpad.net/ListHelp




-- 
Lars Kristian Roland
Research Fellow, Department of Informatics, University of Oslo
Email: l...@roland.bz - rol...@ifi.uio.no
Phone: +47 90733036
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Develop Application

2014-05-12 Thread Lars Kristian Roland
Here's the wiki page for the INF5750 course, which also has a sample app I
made (Angular etc). But it may not work any more, since some web api stuff
has been updated since. Maybe it could help you as a starting point though.
You'll see other example apps there that students made also.

https://wiki.uio.no/mn/ifi/inf5750/index.php/Main_Page

Best regards,
Lars


2014-05-12 15:47 GMT+02:00 Knut Staring knu...@gmail.com:

 That's the second time today I've seen this question.

 I think we have some extremely simple example apps around (the simplest
 one I know is one Olav made that just redirects the user to a specific
 report - pretty much just a trick to make an important report become a menu
 item). Of course most apps are more sophisticated and would use the Web
 API, which is thoroughly covered in the documentation.

 Morten made a simple app with bootstrap.js and Angular.js - I guess I can
 share it.

 Knut


 On Mon, May 12, 2014 at 3:34 PM, Kenneth Børtveit 
 kenneth.bortv...@gmail.com wrote:

 Hi Devs.

 Is there a tutorial for making DHIS2 apps available?

 -Kenneth

 ___
 Mailing list: https://launchpad.net/~dhis2-devs
 Post to : dhis2-devs@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~dhis2-devs
 More help   : https://help.launchpad.net/ListHelp




 --
 Knut Staring
 Dept. of Informatics, University of Oslo
 +4791880522
 http://dhis2.org

 ___
 Mailing list: https://launchpad.net/~dhis2-devs
 Post to : dhis2-devs@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~dhis2-devs
 More help   : https://help.launchpad.net/ListHelp




-- 
Lars Kristian Roland
Research Fellow, Department of Informatics, University of Oslo
Email: l...@roland.bz - rol...@ifi.uio.no
Phone: +47 90733036
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Storing phonenumbers

2014-04-02 Thread Lars Kristian Roland
Typically you should use 250783114729 %2B250783114729 in the user
settings (i.e. with country code, but without +), but this doesn't make
much sense. We've talked so much about fixing this to something more
consistent and understandable, but it hasn't been done yet.

Lars


2014-04-02 10:54 GMT+02:00 Kenneth Børtveit kenneth.bortv...@gmail.com:

 Hi Devs!

 I am wondering how to store phonenumbers.

 Example:

 Rwanda phone numbers are like this. +250783114729
 Should I store 783114729, 250783114729 or +250783114729?

 When I report data through the gateway DHIS2 recieves data on
 +250783114729 and maps it correctly to my user, but sends a message back
 on 250783114729 (without the '+' sign) which does not map to my user.

 I tried to send a message to myself on the MTN network and it does not
 accept a number without the '+' sign before 250783114729.


 -Kenneth

 ___
 Mailing list: https://launchpad.net/~dhis2-devs
 Post to : dhis2-devs@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~dhis2-devs
 More help   : https://help.launchpad.net/ListHelp




-- 
Lars Kristian Roland
Research Fellow, Department of Informatics, University of Oslo
Email: l...@roland.bz - rol...@ifi.uio.no
Phone: +47 90733036
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] New DHIS2 android client released (ver 1.5)

2014-03-08 Thread Lars Kristian Roland
Great work!!!
8. Mars 2014 18:18 skrev Araz Abishov araz.abishov.g...@gmail.com
følgende:

 Hello DHIS2 team,

 I've been working on a new version of android client for approximately two
 months and now it is finally ready. Current release doesn't have a big list
 of new features, rather application has been rethought. Completely new
 codebase allows to add new functionality with ease. Sidebar navigation
 facilitates development of new features both on tablets and mobile phones.
 There are lots of other enhancements like better perfomance, support of
 earlier android version (2.2+), new libraries and etc.

 Here is the list of major improvements:
 - Client was implemented from scratch.
 - Support of:
 * earlier Android version (2.2+)
 * variety of screens.
 * tablet interface (now there will be only one project for both mobile
 and tablet)
 - Completely new architecture (REST client architectire of Virgil
 Dobjanschi)
 - Great perfomance improvement due to new JSON library (GSON).
 - New library from google for backwards compatability (ActionBarCompat)

 Any feedback on new app will be appreciated :). So don't hesitate to
 express your opinion or suggest any improvements.
 Both source code and instructions on how to build app with predefined
 server address can be found here:
 http://bazaar.launchpad.net/~araz-abishov-gsoc/dhis2/dhis2-android-app-1.5/files
 You can also take a look at app at Google Play:
 https://play.google.com/store/apps/details?id=org.dhis2.mobile

 Best Regards,
 Araz


 ___
 Mailing list: https://launchpad.net/~dhis2-devs
 Post to : dhis2-devs@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~dhis2-devs
 More help   : https://help.launchpad.net/ListHelp


___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] SMS Data

2013-12-23 Thread Lars Kristian Roland
The service is necessary because the incoming http thread only puts the
message into the db, and a separate thread parses messages. This is for
performance reasons to make sure a large burst of sms does not crash thf
system or drop messages. But we may be able to start the service thread by
default without the need for an incoming sms service. Note that some of the
incoming gateways are also outgoing gateways (modem and smpp).

Lars
23. des. 2013 17:04 skrev Knut Staring knu...@gmail.com følgende:

 But why is this necessary, Long? Could we not parse the message without
 this?

 Knut


 On Mon, Dec 23, 2013 at 5:02 PM, Long Ngo Thanh 
 long.hispviet...@gmail.com wrote:

 Hi Riddy,

 It looks like your sms is not automatically parsed and imported by the
 system.

 Make sure that yout sms service is running by going to sms service
 cobfiguration.

 Long
 On Dec 23, 2013 10:41 PM, Knut Staring knu...@gmail.com wrote:

 Did you click on Re-import?


 On Mon, Dec 23, 2013 at 4:35 PM, riddy ndoma riddynd...@gmail.comwrote:

 I ran Analytics, but I see nothing. When I go into the datavalue table,
 I see the data but not in the data entry


 2013/12/23 Knut Staring knu...@gmail.com

 First use Data Entry to see that the data are actually in the
 database. Then, as usual, you need to run Analytics before they show up in
 the Data Visualizer.


 On Mon, Dec 23, 2013 at 4:19 PM, riddy ndoma riddynd...@gmail.comwrote:

 @Knut.
 My concern is to visualize the data received by SMS in the form of a
 graph or table


 2013/12/23 Knut Staring knu...@gmail.com

 By Swiveling, do you refer to the Pivot tables (Tableau croisé
 dynamique)?

 Unfortunately, you have to click on Re-import before the data will
 actually get where you want themm.

 This is the case if you have not set up an SMS Service here:

 http://apps.dhis2.org/demo/dhis-web-maintenance-mobile/showSMSConfigureForm.action




 On Mon, Dec 23, 2013 at 3:42 PM, riddy ndoma 
 riddynd...@gmail.comwrote:

 Hello,
 I used the Android DHIS2 SMS Gateway application sends data via
 SMS. data arrives in the system as well the image attached shows. But 
 when
 I go Swivelling, I do not see the data

 --
 Riddy NDOMA
 Software Developer
 *Skype:* riddyndoma, *G+:* riddyndoma, *FB:* riddy ndoma
 *Twitter:* riddyndoma, *LinkedIn:* riddy ndoma
 *Blog:* http://riddyndoma.blogspot.com/

 Vous servir est mon désire (Serving you is my desire)

 ___
 Mailing list: https://launchpad.net/~dhis2-devs
 Post to : dhis2-devs@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~dhis2-devs
 More help   : https://help.launchpad.net/ListHelp




 --
 Knut Staring
 Dept. of Informatics, University of Oslo
 +4791880522
 http://dhis2.org




 --
 Riddy NDOMA
 Software Developer
 *Skype:* riddyndoma, *G+:* riddyndoma, *FB:* riddy ndoma
 *Twitter:* riddyndoma, *LinkedIn:* riddy ndoma
 *Blog:* http://riddyndoma.blogspot.com/

 Vous servir est mon désire (Serving you is my desire)




 --
 Knut Staring
 Dept. of Informatics, University of Oslo
 +4791880522
 http://dhis2.org




 --
 Riddy NDOMA
 Software Developer
 *Skype:* riddyndoma, *G+:* riddyndoma, *FB:* riddy ndoma
 *Twitter:* riddyndoma, *LinkedIn:* riddy ndoma
 *Blog:* http://riddyndoma.blogspot.com/

 Vous servir est mon désire (Serving you is my desire)




 --
 Knut Staring
 Dept. of Informatics, University of Oslo
 +4791880522
 http://dhis2.org

 ___
 Mailing list: https://launchpad.net/~dhis2-devs
 Post to : dhis2-devs@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~dhis2-devs
 More help   : https://help.launchpad.net/ListHelp




 --
 Knut Staring
 Dept. of Informatics, University of Oslo
 +4791880522
 http://dhis2.org

 ___
 Mailing list: https://launchpad.net/~dhis2-devs
 Post to : dhis2-devs@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~dhis2-devs
 More help   : https://help.launchpad.net/ListHelp


___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Maven compilation failure

2013-11-17 Thread Lars Kristian Roland

Hi,

the Maven repository containing SMSlib is not stable and keeps on going 
down. This is a workaround:


http://www.uio.no/studier/emner/matnat/ifi/INF5750/h13/beskjeder/smslib-error-in-building-dhis2.html

Another is to manually find on the internet and download the smslib into 
your .m2 directory (local maven repository), 
C:\Users\Brajesh\.m2\repository\org\smslib\smslib\3.5.3\smslib-3.5.3.jar


Lars

On 17.11.2013 09:18, Brajesh Murari wrote:

Hello Devs,

There comes some problem while building outer core of dhis-2

 
[INFO] Reactor Summary:
[INFO]
[INFO] DHIS 2  SUCCESS 
[2.269s]
[INFO] DHIS API .. FAILURE 
[1.349s]

[INFO] DHIS Support Parent Project ... SKIPPED
[INFO] DHIS Test Support . SKIPPED
[INFO] DHIS External Support . SKIPPED
[INFO] DHIS Hibernate Support  SKIPPED
[INFO] DHIS XML framework services ... SKIPPED
[INFO] DHIS System Support ... SKIPPED
[INFO] DHIS JDBC Service . SKIPPED
[INFO] DHIS Services Parent Project .. SKIPPED
[INFO] DHIS Core API Implementations . SKIPPED
[INFO] DHIS Administration Service ... SKIPPED
[INFO] DHIS DataMart Service - Default ... SKIPPED
[INFO] DHIS I18n Static .. SKIPPED
[INFO] DHIS Patient API Implementations .. SKIPPED
[INFO] DHIS Data Exchange  SKIPPED
[INFO] DHIS Analytics  SKIPPED
[INFO] DHIS Mobile Service ... SKIPPED
[INFO] DHIS Map Generation Service ... SKIPPED
[INFO] DHIS Event Reporting Service .. SKIPPED
[INFO] DHIS Reporting Service  SKIPPED
[INFO] DHIS Import-Export Service  SKIPPED
[INFO] DHIS JDBC / External Test Project . SKIPPED
[INFO] 


[INFO] BUILD FAILURE
[INFO] 


[INFO] Total time: 6.769s
[INFO] Finished at: Sun Nov 17 13:41:10 IST 2013
[INFO] Final Memory: 19M/166M
[INFO] 

[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile 
(default-compile) on project dhis-api: Compilation failure
[ERROR] error: error reading 
C:\Users\Brajesh\.m2\repository\org\smslib\smslib\3.5.3\smslib-3.5.3.jar; 
error in opening zip file


Is there any help about the problem causes !

Regards,
Brajesh Murari


A fool can become a genius when he understands he is a fool. But; A 
genius can become a fool when he understands he is a genius.
--Dr. 
Abdul Kalam---



___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp



--
Lars Kristian Roland
l...@roland.bz
+47 90733036
www.apus.no - lars.roland.bz

___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Maven compilation failure

2013-11-17 Thread Lars Kristian Roland
Not sure why this happens. Try changing the pom.xml  in the dhis-2
directory, replacing 3.5.3 with 3.5.2-r2307. Just to see if this works.

You can get the smslib from DHIS2 External repo, but for that you have to
change the version number
This is currently mention in pom.xml in dhis-2


dependency
groupIdorg.smslib/groupId
artifactIdsmslib/artifactId
version3.5.3/version
/dependency

change it to:
dependency
groupIdorg.smslib/groupId
artifactIdsmslib/artifactId
version3.5.2-r2307/version
/dependency


2013/11/17 Brajesh Murari brajesh.mur...@yahoo.com

 Hi Roland,

 I have manually downloaded and installed in local maven repository ie.
 ~/.m2 on my system.
 But still one error is causing all compilation failure, ie.

 [ERROR] COMPILATION ERROR :
 [INFO] -

 [ERROR] error: error reading
 C:\Users\Brajesh\.m2\repository\org\smslib\smslib\3.5.3\smslib-3.5.3.jar;
 error in opening zip file

 It seems the manually downloaded and locally installed smslib-3.5.3.jar
 file is
 not been opened as required. I tried to open its smalib-3.5.3.jar file
 manually but its not getting opened.

 How i can remove this problem ?

 Regards
 Brajesh Murari


 
 A fool can become a genius when he understands he is a fool. But; A genius
 can become a fool when he understands he is a genius.
 --Dr.
 Abdul Kalam---


   On Sunday, 17 November 2013 2:00 PM, Lars Kristian Roland 
 l...@roland.bz wrote:
   Hi,

 the Maven repository containing SMSlib is not stable and keeps on going
 down. This is a workaround:


 http://www.uio.no/studier/emner/matnat/ifi/INF5750/h13/beskjeder/smslib-error-in-building-dhis2.html

 Another is to manually find on the internet and download the smslib into
 your .m2 directory (local maven repository),
 C:\Users\Brajesh\.m2\repository\org\smslib\smslib\3.5.3\smslib-3.5.3.jar

 Lars

 On 17.11.2013 09:18, Brajesh Murari wrote:

  Hello Devs,

  There comes some problem while building outer core of dhis-2

   
 [INFO] Reactor Summary:
 [INFO]
 [INFO] DHIS 2  SUCCESS [2.269s]
 [INFO] DHIS API .. FAILURE [1.349s]
 [INFO] DHIS Support Parent Project ... SKIPPED
 [INFO] DHIS Test Support . SKIPPED
 [INFO] DHIS External Support . SKIPPED
 [INFO] DHIS Hibernate Support  SKIPPED
 [INFO] DHIS XML framework services ... SKIPPED
 [INFO] DHIS System Support ... SKIPPED
 [INFO] DHIS JDBC Service . SKIPPED
 [INFO] DHIS Services Parent Project .. SKIPPED
 [INFO] DHIS Core API Implementations . SKIPPED
 [INFO] DHIS Administration Service ... SKIPPED
 [INFO] DHIS DataMart Service - Default ... SKIPPED
 [INFO] DHIS I18n Static .. SKIPPED
 [INFO] DHIS Patient API Implementations .. SKIPPED
 [INFO] DHIS Data Exchange  SKIPPED
 [INFO] DHIS Analytics  SKIPPED
 [INFO] DHIS Mobile Service ... SKIPPED
 [INFO] DHIS Map Generation Service ... SKIPPED
 [INFO] DHIS Event Reporting Service .. SKIPPED
 [INFO] DHIS Reporting Service  SKIPPED
 [INFO] DHIS Import-Export Service  SKIPPED
 [INFO] DHIS JDBC / External Test Project . SKIPPED
 [INFO]
 
 [INFO] BUILD FAILURE
 [INFO]
 
 [INFO] Total time: 6.769s
 [INFO] Finished at: Sun Nov 17 13:41:10 IST 2013
 [INFO] Final Memory: 19M/166M
 [INFO]
 
 [ERROR] Failed to execute goal
 org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile
 (default-compile) on project dhis-api: Compilation failure
 [ERROR] error: error reading
 C:\Users\Brajesh\.m2\repository\org\smslib\smslib\3.5.3\smslib-3.5.3.jar;
 error in opening zip file

  Is there any help about the problem causes !

 Regards,
  Brajesh Murari


 
 A fool can become a genius when he understands he is a fool. But; A genius
 can become a fool when he understands he is a genius

Re: [Dhis2-devs] SMS Gateway

2013-11-12 Thread Lars Kristian Roland
Could you attach a screenshot of the SMS command config + the SMS service
configuration screen?

Something that is not well documented is that the SMS Service has to be
running. You see this in the 'SMS service configuration' screen.

[image: Innebygd bilde 1]
Best regards,
Lars


2013/11/12 riddy ndoma riddynd...@gmail.com

 Hello,
 I just sent the data from SMS gateway. In the SMS system arrived as shown
 in the attached image, I wanted to see the data that I sent at Dataentry
 but I see nothing.

 My SMS command is bound to a dataset that is collected weekly, when I send
 specify the period, so today's date.

 --
 Riddy NDOMA
 Software Developer
 *Skype:* riddyndoma, *G+:* riddyndoma, *FB:* riddy ndoma
 *Twitter:* riddyndoma, *LinkedIn:* riddy ndoma
 *Blog:* http://riddyndoma.blogspot.com/

 Vous servir est mon désire (Serving you is my desire)

 ___
 Mailing list: https://launchpad.net/~dhis2-devs
 Post to : dhis2-devs@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~dhis2-devs
 More help   : https://help.launchpad.net/ListHelp




-- 
Lars Kristian Roland
Research Fellow, Department of Informatics, University of Oslo
Email: l...@roland.bz - rol...@ifi.uio.no
Phone: +47 90733036
image.png___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] SMS Gateway

2013-11-12 Thread Lars Kristian Roland
You need to define an SMS service for outgoing SMS for the SMS parsing to
work. It's paradoxical sorry, but that's probably the problem. Try defining
an HTTP service. Just enter some URL, a user name and password. And make
sure it's started. Then try again. Jerome are working on some slides that
outline this. We'll send out shortly.


2013/11/12 riddy ndoma riddynd...@gmail.com

 hi @Lars,
 Here in the attachment!


 2013/11/12 Lars Kristian Roland l...@roland.bz

 Could you attach a screenshot of the SMS command config + the SMS service
 configuration screen?

 Something that is not well documented is that the SMS Service has to be
 running. You see this in the 'SMS service configuration' screen.

 [image: Innebygd bilde 1]
 Best regards,
 Lars


 2013/11/12 riddy ndoma riddynd...@gmail.com

 Hello,
 I just sent the data from SMS gateway. In the SMS system arrived as
 shown in the attached image, I wanted to see the data that I sent at
 Dataentry but I see nothing.

 My SMS command is bound to a dataset that is collected weekly, when I
 send specify the period, so today's date.

 --
 Riddy NDOMA
 Software Developer
 *Skype:* riddyndoma, *G+:* riddyndoma, *FB:* riddy ndoma
 *Twitter:* riddyndoma, *LinkedIn:* riddy ndoma
 *Blog:* http://riddyndoma.blogspot.com/

 Vous servir est mon désire (Serving you is my desire)

 ___
 Mailing list: https://launchpad.net/~dhis2-devs
 Post to : dhis2-devs@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~dhis2-devs
 More help   : https://help.launchpad.net/ListHelp




 --
 Lars Kristian Roland
 Research Fellow, Department of Informatics, University of Oslo
 Email: l...@roland.bz - rol...@ifi.uio.no
 Phone: +47 90733036




 --
 Riddy NDOMA
 Software Developer
 *Skype:* riddyndoma, *G+:* riddyndoma, *FB:* riddy ndoma
 *Twitter:* riddyndoma, *LinkedIn:* riddy ndoma
 *Blog:* http://riddyndoma.blogspot.com/

 Vous servir est mon désire (Serving you is my desire)




-- 
Lars Kristian Roland
Research Fellow, Department of Informatics, University of Oslo
Email: l...@roland.bz - rol...@ifi.uio.no
Phone: +47 90733036
image.png___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Web API - Search by id

2013-11-04 Thread Lars Kristian Roland
Not sure if this was ironic, but in case it wasn't: I respectfully
disagree. SOAP is old fashioned and should not be woken from the dead.

But it is open source software, so one may of course implement SOAP if one
feels this is better.

Best regards
Mobilars
4. nov. 2013 17:28 skrev Brajesh Murari brajesh.mur...@yahoo.com
følgende:

 I think its time to introduce and develop new module which should be based
 on Simple Object Architecture Protocol (SOAP), as from the trail mail it
 shows REST APIs are not in a position to provide secure layers for finding
 resources, in other words we can say REST APIs are one of the biggest
 failure in DHIS2 application development. I would request to the list and
 the DHIS2 global application development team to introduce some developer
 to work and try to develop DHIS2 web api using SOAP but make sure the team
 engaged in development of this new SOAP based api should not contain any
 married developer nor they should be Post Graduate or Phd holder at all in
 any deciplene nor they should be any consultant or solution architect. This
 team should belong to simple developer with fresh mind and make sure that
 team should not contain any developer who has all ready celebrated their
 silver jubilee in application development.

 Regards,
 Brajesh Murari



   On Monday, 4 November 2013 9:34 PM, Saptarshi Purkayastha 
 sun...@gmail.com wrote:
   It is generally considered to be bad practice in the design of Web API
 or REST APIs that two URLs point to the same resources.
 Also I would think that people who want to juggle between existing web
 functionality and Web API, would like to use internal IDs to get the UID
 and then use the UID for web API calls. This makes it more flexible to use
 and switch between the two IDs depending what functionality you want to
 use, either from core web interface (uses IDs) or Web API (uses UIDs)

 ---
 Regards,
 Saptarshi PURKAYASTHA
 --
 From: janhenrik.overl...@gmail.com
 Date: Mon, 4 Nov 2013 16:57:26 +0100
 Subject: Re: [Dhis2-devs] Web API - Search by id
 To: sun...@gmail.com
 CC: dhis2-devs@lists.launchpad.net

 It's just for convenience. If you make an app that looks up organisation
 units by id, code or name you won't have to change the base url based on
 the parameter.


 On Mon, Nov 4, 2013 at 4:47 PM, Saptarshi Purkayastha sun...@gmail.comwrote:

  Why would one use the search at all in this case of using the UID?
 You can directly get the resource with the UID
 http://apps.dhis2.org/demo/api/organisationUnits/ImspTQPwCqd gives Sierra
 Leone
 http://apps.dhis2.org/demo/api/organisationUnits/search/Sierra%20Leone is
 the search

 ---
 Regards,
 Saptarshi PURKAYASTHA
 --
 From: janhenrik.overl...@gmail.com
 Date: Mon, 4 Nov 2013 16:36:25 +0100
 Subject: Re: [Dhis2-devs] Web API - Search by id
 To: sun...@gmail.com
 CC: dhis2-devs@lists.launchpad.net


 Hi, try the uid. For a web API user there is only one id (which is the
 uid). We don't want to confuse him by saying uid in the docs as it
 implies that there is an id as well.


 On Mon, Nov 4, 2013 at 4:11 PM, Saptarshi Purkayastha sun...@gmail.comwrote:

 The Web API documentation here:
 http://www.dhis2.org/doc/snapshot/en/user/html/ch25s04.html
 suggests that you can search a resource by its id, code and name.
 I tried the following:
 http://apps.dhis2.org/demo/api/organisationUnits/search/559
 But it says

 Object not found for query: 559

 So, does it only work for code and name and not for id?

 ---
 Regards,
 Saptarshi PURKAYASTHA

 ___
 Mailing list: https://launchpad.net/~dhis2-devs
 Post to : dhis2-devs@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~dhis2-devs
 More help   : https://help.launchpad.net/ListHelp




 ___
 Mailing list: https://launchpad.net/~dhis2-devs
 Post to: dhis2-devs@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~dhis2-devs
 More help  : https://help.launchpad.net/ListHelp



 ___
 Mailing list: https://launchpad.net/~dhis2-devs
 Post to : dhis2-devs@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~dhis2-devs
 More help   : https://help.launchpad.net/ListHelp


___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] Apps on demo server

2013-11-01 Thread Lars Kristian Roland
HI.

Right now we have 80 master students making apps for dhis2 plus some other
apps made by others. So from now on there will be a lot of apps on the demo
server. Not all functional. This will stabilize within early december, and
some of the apps will hopefully be usable in real settings, through the
dhis2 app store.

The different project topics are related to tracker, single event with
geocoding, single event with skip logic, discussions and some social
networking integration.

This is a university of Oslo course, but this type of development could
probably be relevant for other universities also. If anyone is interested
in the material, you can find it by googling inf5750 h13.

Lars
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] sms gateway for android

2013-10-26 Thread Lars Kristian Roland
Mobile terminated (DHIS to SMS) works if the android is on a wifi ip that
dhis2 has access to.

For mobile originated (from mobile to dhis), it is simpler.  Only needs
internet with http access to the server, so server could be in cloud.
26. okt. 2013 13:13 skrev Jason Pickering jason.p.picker...@gmail.com
følgende:

 This looks like a useful tool. Is it possible to use this as a means of
 sending SMSes which are sent from the DHIS2 server via the local network
 (to which the android device is connected)? It would seem you would need a
 public IP to do this, but if the android is somehow connected to the DHIS2
 server, I guess there is no means to push these messages directly to the
 Android device. I do not think any device is going to have a public IP.

 Regards,
 Jason



 On Fri, Oct 25, 2013 at 4:15 PM, Knut Staring knu...@gmail.com wrote:

 Just to add, attached is a manual for the Android app:




 On Fri, Oct 25, 2013 at 2:15 PM, Lars Helge Øverland larshe...@gmail.com
  wrote:

 Hi,

 just wanted to highlight a nifty Android app which you can set up as a
 standalone SMS gateway for testing the SMS functionality in DHIS 2. Its
 made by Lars Roland - you can get it from google 
 playhttps://play.google.com/store/apps/details?id=org.dhis2.androidsmsor 
 from here:

 http://www.dhis2.org/appstore

 The app basically looks for incoming SMS arriving at the Android phone,
 parses them to look for keywords and forwards these messages to your DHIS 2
 server using HTTP. You can configure a list of SMS commands that should be
 forwarded to DHIS 2.

 If you for example have created an SMS called 'Report' command within
 DHIS 2 under Mobile Configuration - SMS Commands, and you configure the
 app to forward any SMS starting with 'Report' to DHIS 2, you can use this
 to test data entry by sending for example 'Report A1 B2 C3' to your mobile
 phone.

 If your Android phone has an IP address that is accessible to your DHIS
 2 server you can also use this Android App to send SMS messages from DHIS 2
 to users. The URL to configure into DHISv2 is shown on the bottom of the
 app screen when running the app. This URL is configured in Mobile
 Configuration - SMS Service Configuration - Add Gateway - Generic HTTP
 Gateway inside DHIS 2.

 regards,

 Lars


 ___
 Mailing list: https://launchpad.net/~dhis2-devs
 Post to : dhis2-devs@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~dhis2-devs
 More help   : https://help.launchpad.net/ListHelp




 --
 Knut Staring
 Dept. of Informatics, University of Oslo
 +4791880522
 http://dhis2.org

 ___
 Mailing list: https://launchpad.net/~dhis2-devs
 Post to : dhis2-devs@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~dhis2-devs
 More help   : https://help.launchpad.net/ListHelp



 ___
 Mailing list: https://launchpad.net/~dhis2-devs
 Post to : dhis2-devs@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~dhis2-devs
 More help   : https://help.launchpad.net/ListHelp


___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Wierd ClassCastException on WebAPI calls

2013-10-14 Thread Lars Kristian Roland
Apache Tomcat/7.0.30 - Error report Here is a stack trace of Saptarshi's 
problem (also happens on my IE)


Apache Tomcat/7.0.30 - Error report


 HTTP Status 500 - Request processing failed; nested exception is
 java.lang.ClassCastException: org.hisp.dhis.api.webdomain.Resources
 cannot be cast to org.hisp.dhis.common.IdentifiableObject



*type* Exception report

*message* _Request processing failed; nested exception is 
java.lang.ClassCastException: org.hisp.dhis.api.webdomain.Resources 
cannot be cast to org.hisp.dhis.common.IdentifiableObject_


*description* _The server encountered an internal error that prevented 
it from fulfilling this request._


*exception*

org.springframework.web.util.NestedServletException: Request processing failed; 
nested exception is java.lang.ClassCastException: 
org.hisp.dhis.api.webdomain.Resources cannot be cast to 
org.hisp.dhis.common.IdentifiableObject

org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:948)

org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:827)
javax.servlet.http.HttpServlet.service(HttpServlet.java:621)

org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:812)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)

org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)

org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:118)

org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84)

org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)

org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)

org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)

org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:103)

org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)

org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113)

org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)

org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54)

org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)

org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:45)

org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)

org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:150)

org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)

org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:183)

org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)

org.hisp.dhis.security.filter.CustomAuthenticationFilter.doFilter(CustomAuthenticationFilter.java:55)

org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)

org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105)

org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)

org.hisp.dhis.security.filter.AutomaticAccessFilter.doFilter(AutomaticAccessFilter.java:113)

org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)

org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)

org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)

org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192)

org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160)

org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:343)

org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:260)


Re: [Dhis2-devs] Android client

2013-09-20 Thread Lars Kristian Roland

Very nice client. Great work!

mobi-Lars

On 18.09.2013 18:35, Araz Abishov wrote:

Hi everybody,

Just wanted to share with new android client for dhis2. It would be 
great if you could test it and provide feedback. Any suggestions about 
how I can improve application are appreciated.


Mobile version: http://bit.ly/1giZ8M9
Tablet version: http://bit.ly/16ukZir


___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp



--
Lars Kristian Roland
l...@roland.bz
+47 90733036
www.apus.no - lars.roland.bz

___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Interested GSOC student on idea -Dialplan (PBX) generation for patient communication

2013-04-13 Thread Lars Kristian Roland

Hi,

I guess if you'd like to push voice reminders, you make another SMS 
gateway interface, but use it to interface with an external voice system 
instead.


Not sure how good the tts options are, if it's viable and people will 
understand it. I think pre-recorded messages (your option 1) sounds good.


I think on option could be to use the Instedd voice gateway, or some 
other voicexml service.


Lars

On 13.04.2013 17:54, kasun perera wrote:

Hi Lars

Thanks for you answers.

So if i summarize these are the SMS availability in the system.
1) Automated SMS for program ; template based SMS ( SMS on joined 
date, reminder after sometime)
2) Automated SMS for program stage; template based SMS (reminder 
before appointments, reminder for missed appointments)

3) Manual option for sending SMS- Not template based or pre-populated.

As in DHIS-GSOC idea page voice reminder facility will be created for 
above option 2) for this project.


These are some of my initial ideas for the GSOC proposal, please 
provide your feedback on this.


There is the option to convert SMS itself to a voice message using 
a Text to Speech engine(TTS). This is good and easy option for English 
and few other languages where good TTS systems are already available. 
But fact that  this is a community based system and intended receivers 
most probably speak only their local language, and there may not be 
good TTS systems available for community languages.I 
will completely avoid the path of using a Text to Speech engine(TTS).


I propose to create all the voice call reminder 
setting functionalities next to SMS functionality already available 
in the system, rather than creating them on new web pages. (Yes, it 
may need to create new pages for recording messages, uploading 
messages ect.. )This would be more convenient for system users.


Sample SMS reminder- /Dear / {patient-name}./ Please remember your/ 
{program-stage-name}/ on/ {due-date}./

Thank you./
To create a voice reminder inline with this-
Option 1- This need to record the voice in 7- sub-sections and 
combined it programatically to  create a one voice massage them push 
over the PBX.
Option 2- Create a complete voice message for each individual 
person separately.For this system admin has to put huge time 
and effort to create voice messages, so i'm omitting  option 2.


So there will be need to voice some of the patient 
details(patient-name, due-date). This voicing of patient details would 
be done at later stage but not at the initial 
patient registration time. Will it be better to give the option to 
upload or create voice recordings at the Person Management console 
or create a separate web page for this?


Thanks



On Fri, Apr 12, 2013 at 4:13 PM, Lars Kristian Roland l...@roland.bz 
mailto:l...@roland.bz wrote:


Thanks for your interest. See responses below and don't hesitate
to ask again if I haven't answered all your questions.

On 12.04.2013 11:49, kasun perera wrote:

Hi

I'm just playing around with the SMS facility to get an
understanding how it work, since I hope proposed automated
calling would work in similar fashion. I'm trying this on demo
server http://apps.dhis2.org/demo

Few questions
1) I have added a new person, assign him a TB visit program. From
the Person Dashbored I can see the history of the person. On
Reschedule and set Status menu there is a option to send a
message. It has given textbox to write a message, can this text
box populated with template messages already written? If yes how
can I do that?
Will this send the message immediately or will it send at
scheduled time?

This is the manual option for sending a message, and it's not
prepopulated. The automatic (reminder) messages are set in the
program setup, either on the stages or on the program itself (the
latter only being available in the very latest software) and not
on demo.




2) Maintenance   Programs and Persons  Automated Message Reminder
I can see only text box for time input, and Start button
and Execute button
I activated Start button, will this activate sending messages for
all users or
Can this be configured that message to be send only to perticuler
group, for eg. reminders will send to TB patients but not for
Child program?


This is the batch job for sending out automatic reminders. When
this process is running, it'll generate messages for the next day
at midnight and then send out the messages the next day. These
reminders are sent out as configured in the 'Stage' of Maintenance
- Persons and programs - Program - View program stages (icon)
- Edit stage, bottom of page. This is a message related to each
stage, and is meant as a reminder SMS. So it could be an SMS 5
days before a visit is due, with a reminder to come, or with
educational messages if you prefer that.

On the instant build of trunk apps2.dhis2.org

Re: [Dhis2-devs] Interested GSOC student on idea -Dialplan (PBX) generation for patient communication

2013-04-12 Thread Lars Kristian Roland
Thanks for your interest. See responses below and don't hesitate to ask 
again if I haven't answered all your questions.


On 12.04.2013 11:49, kasun perera wrote:

Hi

I'm just playing around with the SMS facility to get an understanding 
how it work, since I hope proposed automated calling would work 
in similar fashion. I'm trying this on demo server 
http://apps.dhis2.org/demo


Few questions
1) I have added a new person, assign him a TB visit program. From the 
Person Dashbored I can see the history of the person. On 
Reschedule and set Status menu there is a option to send a message. 
It has given textbox to write a message, can this text box populated 
with template messages already written? If yes how can I do that?

Will this send the message immediately or will it send at scheduled time?
This is the manual option for sending a message, and it's not 
prepopulated. The automatic (reminder) messages are set in the program 
setup, either on the stages or on the program itself (the latter only 
being available in the very latest software) and not on demo.




2) Maintenance   Programs and Persons  Automated Message Reminder
I can see only text box for time input, and Start button 
and Execute button
I activated Start button, will this activate sending messages for all 
users or
Can this be configured that message to be send only to perticuler 
group, for eg. reminders will send to TB patients but not for 
Child program?


This is the batch job for sending out automatic reminders. When this 
process is running, it'll generate messages for the next day at midnight 
and then send out the messages the next day. These reminders are sent 
out as configured in the 'Stage' of Maintenance - Persons and programs 
- Program - View program stages (icon) - Edit stage, bottom of page. 
This is a message related to each stage, and is meant as a reminder SMS. 
So it could be an SMS 5 days before a visit is due, with a reminder to 
come, or with educational messages if you prefer that.


On the instant build of trunk apps2.dhis2.org/dev which has the trunk 
version, there is also an automated message for the program itself, set 
with regard to when the user joined the program. So you can then set for 
example that someone joining the TB program will get an SMS on the day 
they joined, and 2 months afterwards.


The thing about these servers is that they are reset every night, so the 
alert configuration doesn't survive. So the demo and dev servers don't 
work properly with the alerts. For some of the alert functions, you can 
press 'Execute' to process immediately, and see that the message is in 
the 'Mobile configuration' - View sent SMS page. BUT for this to appear 
there, there might have to be an SMS configuration under 'SMS Service 
configuration'. This gets reset every night, and we need to add a dummy 
SMS configuration so we don't have to create a configuration every time.



Documentation Says see Add program stage section for defining a 
template message  I can't find this adding template message on system 
can someone please point it to me?
Maintenance - Persons and programs - Program - View program stages 
(icon) - Edit stage, bottom of page.


This is for the automatic reminders, not the manual reminders you 
mention in the beginning of your email.


Best regards
(mobi)Lars



Thanks



On Thu, Apr 11, 2013 at 7:58 AM, kasun perera kkasunper...@gmail.com 
mailto:kkasunper...@gmail.com wrote:


*

Hi All,


I am a Mphil student of University of Colombo School of Computing,
Sri lanka. I have worked in software industry, 1.5 years for
opensource software companies. I'm well experienced developer in
java/ jsp-servelts/ jquery. I have written several research papers
also.


I'm interested on idea -Dialplan (PBX) generation for patient
communication. I have already downloaded the sourcecode build it
on Eclipse. I'm reading the documentation and trying to get better
understanding of the source code specially the DHIS2-Tracker section.


I tried to run the dhis.war file and standalone program, but could
not succeed. It gave me this error Exception in thread Thread-2
java.lang.OutOfMemoryError: PermGen space Seems to be a memory
problem, i'm running this on my laptop having 2Gb RAM. Does it
need lot of memory to run?


Will it be interested to create some mockups for the user
interfaces that I'm planning to develop and submit with the proposal?


Below is brief about my opensource experience related PBX systems.


I have worked for projects Feasibility study to enable Freedom
Fone with voice-based Emergency Data Exchange (FF4EDXL)
(http://lirneasia.net/projects/2010-12-research-program/ff4edxl/) and

Voice-enabled Information Communication Technology for Disaster
Management
(http://lirneasia.net/projects/2010-12-research-program/voiceict4d/)
as a Reserch assistant/ Analist programmer.


We have used Sahana 

Re: [Dhis2-devs] [Dhis2-users] DHIS2 Mobile

2013-03-09 Thread Lars Kristian Roland
Thats great to hear Ojo. Please let us know how things proceed and make 
sure you give us input on new features and improvements.


Lars

On 09.03.2013 14:11, John Ojo wrote:

Hi All,

This is just to share with you that we have successfully set up the 
mobile reporting functionality of DHIS2 for a project in Nigeria. I am 
grateful to you all for the guidance you provided. I feel so empowered 
now. Thanks to you good folks.


Best reagrds,
John
*John Ojo MD, FMCPH
*
Accra, Ghana.
Mobile: +233 234691626
Skype:  Johnojo
Email: jn...@yahoo.com mailto:j...@corridor-sida.org


*From:* Lars Kristian Roland l...@roland.bz
*To:* Knut Staring knu...@gmail.com
*Cc:* DHIS developers dhis2-devs@lists.launchpad.net; John Ojo 
jn...@yahoo.com; dhis1-users dhis2-us...@lists.launchpad.net

*Sent:* Wednesday, February 27, 2013 5:23 PM
*Subject:* Re: [Dhis2-devs] [Dhis2-users] DHIS2 Mobile

Hi,
I would also recommend using the j2me, but I think it is a good idea 
that you implement sms in parallel. There are many existing and 
upcoming features on sms that may be useful. One is that you can fall 
back to using sms as a transport instead of gprs, though gprs works 
well in most contexts. Additionally, if you have smaller data sets, 
these would work well on sms. You can also use sms for messaging and 
alerts.
But as your general route for those data sets, j2me is probably the 
best option. Note that j2me works best when you buy the phones, so you 
can test that it works as expected.

Lars
On 2013 2 27 20:13, Knut Staring knu...@gmail.com 
mailto:knu...@gmail.com wrote:


Hi John,

For your scenario, SMS would not work well. It seems to me that the
J2ME solution (for feature phones such as many Nokias, e.g. 2690 or
C2-02) could be the best option. They also of course have much better
battery duraiton than smartphones.

Knut

On Wed, Feb 27, 2013 at 12:07 PM, John Ojo jn...@yahoo.com
mailto:jn...@yahoo.com wrote:
 Hi Olav,

 Thanks once again.

 We are starting with two data sets with the plan to add more as
time goes on
 and users become more comfortable using the system. Eventually,
we hope to
 have about 4-5 data sets.

 There's likely to be values for most fields every period. We
anticipate
 blank fields to be no more than 1 to 5% every period.

 Can our scenario fit the SMS option? Please what is the
procedure for
 setting up the SMS reporting system. Does it work with version 2.10?

 Thank you.
 John


 
 From: Olav Poppe olav.po...@me.com mailto:olav.po...@me.com
 To: John Ojo jn...@yahoo.com mailto:jn...@yahoo.com
 Cc: DHIS developers dhis2-devs@lists.launchpad.net
mailto:dhis2-devs@lists.launchpad.net; dhis1-users
 dhis2-us...@lists.launchpad.net
mailto:dhis2-us...@lists.launchpad.net
 Sent: Wednesday, February 27, 2013 8:02 AM

 Subject: Re: [Dhis2-users] DHIS2 Mobile

 Hi,
 see replies below.

 27. feb. 2013 kl. 07:46 skrev John Ojo jn...@yahoo.com
mailto:jn...@yahoo.com:


 - what type of phones will be used: do the phones support java?
If it is
 smartphones, do they use a browser that supports offline storage?
 I am yet to assess the phones available on the market. However,
it is likely
 that the phones will support Java at the minimum. We will also
want to
 benefit from the offline data entry capabilities of DHIS2 so we
will most
 likely use phones that support offline storage.

 - do you require support for offline data entry?
 Yes. Could you please kindly explain how this can impact my case
if the
 response is yes or no.


 Any phone that supports the java-client will also support
offline data
 entry. Also, newer smartphones supports offline data entry in
the browser
 (others on the dev/user list might know the exact requirements
for the
 browser/phone). If offline support is not a requirement, you
have the option
 of accessing DHIS2 using a mobile browser on a regular
non-smart phone. If
 you require offline support, the java client or smartphone
browser are the
 options. Using the browser rather than java-client will likely
be easier to
 administer, but how important that is depends on how many phones
will be
 used.


 - how much data are they supposed to enter? If it is only a few data
 elements, the new SMS reporting might be an option.
 The data is not much. for each data set, we are talking about
between 35 to
 40 data elements.


 How many data sets? Is there likely to be values for most fields
every
 period, or will most of them be blank? If only a few values will
be sent
 every week/month, structured SMS might

Re: [Dhis2-devs] [Dhis2-users] DHIS2 Mobile

2013-02-27 Thread Lars Kristian Roland
Hi,

I would also recommend using the j2me, but I think it is a good idea that
you implement sms in parallel. There are many existing and upcoming
features on sms that may be useful. One is that you can fall back to using
sms as a transport instead of gprs, though gprs works well in most
contexts. Additionally, if you have smaller data sets, these would work
well on sms. You can also use sms for messaging and alerts.

But as your general route for those data sets, j2me is probably the best
option. Note that j2me works best when you buy the phones, so you can test
that it works as expected.

Lars
On 2013 2 27 20:13, Knut Staring knu...@gmail.com wrote:

 Hi John,

 For your scenario, SMS would not work well. It seems to me that the
 J2ME solution (for feature phones such as many Nokias, e.g. 2690 or
 C2-02) could be the best option. They also of course have much better
 battery duraiton than smartphones.

 Knut

 On Wed, Feb 27, 2013 at 12:07 PM, John Ojo jn...@yahoo.com wrote:
  Hi Olav,
 
  Thanks once again.
 
  We are starting with two data sets with the plan to add more as time
 goes on
  and users become more comfortable using the system. Eventually, we hope
 to
  have about 4-5 data sets.
 
  There's likely to be values for most fields every period. We anticipate
  blank fields to be no more than 1 to 5% every period.
 
  Can our scenario fit the SMS option? Please what is the procedure for
  setting up the SMS reporting system. Does it work with version 2.10?
 
  Thank you.
  John
 
 
  
  From: Olav Poppe olav.po...@me.com
  To: John Ojo jn...@yahoo.com
  Cc: DHIS developers dhis2-devs@lists.launchpad.net; dhis1-users
  dhis2-us...@lists.launchpad.net
  Sent: Wednesday, February 27, 2013 8:02 AM
 
  Subject: Re: [Dhis2-users] DHIS2 Mobile
 
  Hi,
  see replies below.
 
  27. feb. 2013 kl. 07:46 skrev John Ojo jn...@yahoo.com:
 
 
  - what type of phones will be used: do the phones support java? If it is
  smartphones, do they use a browser that supports offline storage?
  I am yet to assess the phones available on the market. However, it is
 likely
  that the phones will support Java at the minimum. We will also want to
  benefit from the offline data entry capabilities of DHIS2 so we will most
  likely use phones that support offline storage.
 
  - do you require support for offline data entry?
  Yes. Could you please kindly explain how this can impact my case if the
  response is yes or no.
 
 
  Any phone that supports the java-client will also support offline data
  entry. Also, newer smartphones supports offline data entry in the browser
  (others on the dev/user list might know the exact requirements for the
  browser/phone). If offline support is not a requirement, you have the
 option
  of accessing DHIS2 using a mobile browser on a regular non-smart
 phone. If
  you require offline support, the java client or smartphone browser are
 the
  options. Using the browser rather than java-client will likely be easier
 to
  administer, but how important that is depends on how many phones will be
  used.
 
 
  - how much data are they supposed to enter? If it is only a few data
  elements, the new SMS reporting might be an option.
  The data is not much. for each data set, we are talking about between 35
 to
  40 data elements.
 
 
  How many data sets? Is there likely to be values for most fields every
  period, or will most of them be blank? If only a few values will be sent
  every week/month, structured SMS might be an option.
 
 
 
  Thank you so much.
 
  Best regards.
  John
 
  John Ojo MD, FMCPH
  Accra, Ghana.
  Mobile: +233 234691626
  Skype:  Johnojo
  Email: jn...@yahoo.com
 
  
  From: Olav Poppe olav.po...@me.com
  To: John Ojo jn...@yahoo.com
  Cc: DHIS developers dhis2-devs@lists.launchpad.net; dhis1-users
  dhis2-us...@lists.launchpad.net
  Sent: Tuesday, February 26, 2013 7:28 PM
  Subject: Re: [Dhis2-users] DHIS2 Mobile
 
  Hi John,
  there are quite a few options for reporting to DHIS2 using mobile phones,
  can you give us a bit more information about your case:
  - is this aggregate data or case-based data?
  - what type of phones will be used: do the phones support java? If it is
  smartphones, do they use a browser that supports offline storage?
  - do you require support for offline data entry?
  - how much data are they supposed to enter? If it is only a few data
  elements, the new SMS reporting might be an option.
 
  Regards
  Olav
 
  26. feb. 2013 kl. 17:51 skrev John Ojo jn...@yahoo.com:
 
  Dear All,
 
  I need to enable field workers in a country to be able to report into a
  DHIS2  (version 2.10) database using mobile phones.
  Please, I need a step-by-step instructions on how to go about achieving
  this.
 
  I will appreciate your kind assistance in this direction.
 
  Thank you.
  John.
 
  John Ojo MD, FMCPH
  Accra, Ghana.
  Mobile: +233 234691626
  Skype:  Johnojo
  Email: jn...@yahoo.com
  

Re: [Dhis2-devs] dhis sms dependency

2012-05-29 Thread Lars Kristian Roland

Hi,

I believe this is an error and I've let the Vietnam team know already. 
They will fix ASAP. Not sure how fast they can respond. I guess someone 
who knows how could roll back the version on launchpad in the meantime 
so that it can build.


Best regards,
Lars

On 29.05.2012 13:48, Bob Jolliffe wrote:

Currently my build of dhis-web is failing because of missing
dhis-web-sms jar.  I now see that is in dhis-mobile project which I
had not built.  Is it the intention that this should be a dependency
of core dhis?

___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp



___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] DHIS API

2012-03-16 Thread Lars Kristian Roland

Hi,

I'm looking at the DHIS2 API and looking for a pointer to any 
documentation or email that has described it's usage. Apologize if the 
following is answered somewhere. If so, please direct me.


I'd like to try the /api/dataValueSets

Some questions:

- I can see that there used to be a function where the phone number of 
the org-unit could be set in the URL. It seems to have been removed 
again, perhaps for security purposes. But such a function would be 
useful for example when posting from SMS. Do you have tips on how to 
handle authentication from for example an SMS gateway?


- Is my POST being checked for authorization to see if I have rights to 
the particular orgUnit I'm posting to?


- Should the posting of the following XML to the above URL update the 
dataset values for January? Given that the IDs are correct of course. 
Would it be reporting for the orgUnit my logged-in user is associated 
with, or the orgUnit I'm stating?


dataValueSet xmlns=http://dhis2.org/schema/dxf/2.0; 
period=2012-01-01 dataSet=pBOMPrpg1QX orgUnit=DiszpKrYNg8

  dataValue dataElement=f7n9E0hX8qk value=1 /
  dataValue dataElement=Vp12ncSU1Av value=2 /
  dataValue dataElement=LjNlMTl9Nq9 value=3 /
/dataValueSet

Using CURL with the below command and above xml-file gives no error (200 
OK), but I can't quite find the data in DHIS. I might have messaged up 
the ids of course.


curl -XPOST -HContent-Type: application/xml -umobile:district -v -d 
@datavalueset.xml http://apps.dhis2.org/dev/api/dataValueSets;


Best regards,
Lars

___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Lighweight DHIS for organization unit management and data entry

2012-02-02 Thread Lars Kristian Roland
This is in the short term plans. Morten and a master student will be
working on on a light-weight browsing client with offline support (for
example for use on Android phones).

Lars

2012/2/2 Saptarshi Purkayastha sun...@gmail.com

 Hi,

 Has anyone built a lightweight version of DHIS for offline data entry??
 Excluding all the analytics and datamart services.
 Basically want to only allow creating organization units and do data entry
 for these organization units on low-end netbooks. It is probably easy to
 just remove the not-required web modules from the web-portal pom.xml , but
 I want to remove those services that are not required from maintainence
 module.

 Is there documentation somewhere for dependencies or someone already has a
 lightweight version of DHIS for dataentry only??

 ---
 Regards,
 Saptarshi PURKAYASTHA

 My Tech Blog:  http://sunnytalkstech.blogspot.com
 You Live by CHOICE, Not by CHANCE

 ___
 Mailing list: https://launchpad.net/~dhis2-devs
 Post to : dhis2-devs@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~dhis2-devs
 More help   : https://help.launchpad.net/ListHelp




-- 
Lars Kristian Roland
Research Fellow, Department of Informatics, University of Oslo
Email: l...@roland.bz - rol...@ifi.uio.no
Phone: +47 90733036
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] SMTP settings

2012-01-24 Thread Lars Kristian Roland
Jason, can you support SSL-SMTP, or plain unencrypted? That may also be 
important, as I think it's currently supporting encrypted.


Lars

On 24.01.2012 17:12, Lars Helge Øverland wrote:

Hi,

Didn't think about that use case, I think we can remove that validation.

Lars


On Tue, Jan 24, 2012 at 5:09 PM, Jason Pickering
jason.p.picker...@gmail.com  wrote:

Is there a reason that the SMTP server settings require a password?

Maybe I have a security issue with my server, but my SMTP server only
accepts mail to be delivered from localhost. In this case, I do not require
a username or password.

Thoughts?

Regards,
Jason


___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp



--
Lars Kristian Roland
l...@roland.bz
+47 90733036
www.apus.no - lars.roland.bz


___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] African cloud vendors

2011-11-11 Thread Lars Kristian Roland

Hi,

We've been discussing pros and cons of various hosting providers this 
week, and I was just wondering which African countries have local 
hosting alternatives that are high enough quality to run an important 
system like DHIS. I asked a friend of mine from South Africa and he sent 
the question round in his circles on Google+. They came up with some 
examples from South Africa. I'm not sure about their quality, but it'd 
be good if people have good experience with some african hosting 
providers that we bring this into the discussion of 'cloud' etc.


Here they are (for all I know, they could be situated outside Africa):

go2cloud.co.za
spinup.co.za
Afrihost.co.za (JHB location)

This was a quick check. There are probably more. But how about other 
countries?


Best regards,
Lars R



___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-users] Dear Dhis2 users how can i delete?

2011-09-14 Thread Lars Kristian Roland

Hi,

there will be two parallel mobile clients, one mobile browser solution 
and one J2ME based solution. The J2ME solution has an offline function 
so you don't have to be online all the time, while the mobile browsing 
version will require you to be online when you're using it. The J2ME 
version needs to either be online or on SMS while reporting. Because the 
J2ME caches the forms, in some ways it's more but also less flexible 
than the mobile browser version.


LIke Knut is saying first mobile browser version is planned to be 
limited to Aggregate Facility data, but Name Based Activity will follow 
it quickly (and be dependent on requirements from the various 
countries). Your input is there very valuable to us.


The J2ME version available at the same time supports both.

Will the mobile coverage in the usage area be good enough to support a 
browser based solution? Would a fallback to SMS be useful at all? (the 
prefered solution is that GPRS is always used, as it's simpler to deploy)


Are you planning a solution for aggregate facility data only, or do you 
want to use the name based activity (program) features also?


Best regards,
Lars Roland (I'm working with Knut as part of the mobile team).


On 14.09.2011 19:16, Knut Staring wrote:
On Wed, Sep 14, 2011 at 7:02 PM, Muhire Andrew muhireand...@yahoo.com 
mailto:muhireand...@yahoo.com wrote:


Dear team,
  In Dar es salaam workshop some of the countries
were doing pilot on using Mobile  reporting and Benificiary and
programs features  in dhis2 [how is it running in the countries
that has started using it] ? Tanzania how is it? I think  this
will be our next step in Rwanda!
How can i link with the team that is working on mobile part?



Hi Andrew,

The existing mobile solutions are based on J2ME clients, and are 
already quite useful. The field introduction has so far mostly been 
SMS based, but we feel that mobile internet (GPRS, 3G) will be a 
better option in most cases. It is still early days, and I am involved 
in the planning of future solutions. We hope to have a first version 
of a WAP or Opera Mini type solution for simple facility reporting 
(aggregate date) as part of the 2.5 release in October. Quite a bit 
more development is planned for the next 6 months, which will also 
touch on name based solutions (DHIS Tracker).


You should probably await these new developments, becasue they will 
hopefully be both more stable and flexible than the current solution. 
Also, before introducing any mobile solutions, it is quite important 
to implement a solid DHIS2 back bone, and make sure the roll out works 
well. So I think this should wait until after the switch to DHIS2 as 
the new HMIS.


Knut



--
Lars Kristian Roland
l...@roland.bz
+47 90733036
www.apus.no - lars.roland.bz

___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp