Re: [Dhis2-devs] DHIS with postgres 9.6

2016-11-29 Thread Aamer Mohammed
orking - should be added to the JIRA issue tracker. >> >> Knut >> >> On Tue, Nov 29, 2016 at 6:54 PM, Aamer Mohammed <aam...@thoughtworks.com> >> wrote: >> >>> Hi devs, >>> >>> We are getting error as attached when

Re: [Dhis2-devs] DHIS with postgres 9.6

2016-11-29 Thread Aamer Mohammed
Morten Olav Hansen > Senior Engineer, DHIS 2 > University of Oslo > http://www.dhis2.org > > On Tue, Nov 29, 2016 at 6:54 PM, Aamer Mohammed <aam...@thoughtworks.com> > wrote: > >> Hi devs, >> >> We are getting error as attached when using dh

[Dhis2-devs] DHIS with postgres 9.6

2016-11-29 Thread Aamer Mohammed
Hi devs, We are getting error as attached when using dhis with postgres 9.6. With 9.5 it seems to be working fine. Any ideas? Thanks Aamer. * INFO 2016-11-28 11:06:54,698 System property dhis2.home not set (DefaultLocationManager.java [localhost-startStop-1]) * INFO 2016-11-28 11:06:54,701

Re: [Dhis2-devs] java.lang.NumberFormatException in dhis 2.25 log

2016-11-18 Thread Aamer Mohammed
Front end developer, DHIS 2 > University of Oslo > https://www.dhis2.org > > On Fri, Nov 18, 2016 at 10:25 AM, Aamer Mohammed <aam...@thoughtworks.com> > wrote: > >> This is still an issue with the latest 2.25 revision. Any updates on this. >> >> On We

Re: [Dhis2-devs] java.lang.NumberFormatException in dhis 2.25 log

2016-11-18 Thread Aamer Mohammed
This is still an issue with the latest 2.25 revision. Any updates on this. On Wed, Nov 2, 2016 at 11:40 AM, Knut Staring <knu...@gmail.com> wrote: > I have also seen this, on fresh installs. > > On Nov 2, 2016 7:05 AM, "Aamer Mohammed" <aam...@thoughtworks.com&

Re: [Dhis2-devs] DHIS2 Metadata Sync error

2016-11-07 Thread Aamer Mohammed
; -- >>> Morten Olav Hansen >>> Senior Engineer, DHIS 2 >>> University of Oslo >>> http://www.dhis2.org >>> >>> On Mon, Nov 7, 2016 at 12:39 PM, Morten Olav Hansen <mor...@dhis2.org> >>> wrote: >>> >>>> Yeah, this i

Re: [Dhis2-devs] DHIS2 Metadata Sync error

2016-11-06 Thread Aamer Mohammed
Hi, As per the logs, metadata sync is failing in the importer phase when trying to import metadata. -- * ERROR 2016-10-24 11:44:03,758 Exception occurred while trying to import the metadata. object references an unsaved transient instance - save the transient instance before flushing:

[Dhis2-devs] java.lang.NumberFormatException in dhis 2.25 log

2016-11-01 Thread Aamer Mohammed
Hi We see the below error in server log when we open maintenance app in DHIS. This error is seen on a fresh DHIS instance as well. We have checked this on latest 2.25 revision (Build revision: 5e16867) -- * WARN 2016-11-02 11:01:13,452 Error setting value

[Dhis2-devs] DHIS dependency scan

2016-10-27 Thread Aamer Mohammed
Hi Team, We have run vulnerability checks on DHIS dependencies using the dependency-check maven plugin. This plugin wraps the OWASP Dependency Check utility which uses NIST’s National Vulnerability Database (NVD) to identify the vulnerable dependencies. Please find the report attached. Did anyone

[Dhis2-devs] Testing upgrade of DHIS2 from 2.21 to 2.24

2016-10-21 Thread Aamer Mohammed
Hi Lars/Morten, Recently we did a DHIS upgrade test to upgrade our instances from 2.21 to 2.24. We started with 2.21 instance having good amount of metadata. We sequentially upgraded that instance to 2.24 by following the upgrade scripts for each DHIS version. >From that upgraded instance, an

Re: [Dhis2-devs] DHIS2 metadata export-import test in 2.24 and 2.25

2016-10-20 Thread Aamer Mohammed
Hi Lars/Morten, In 2.25, while testing the metadata import using the new importer, we have seen the below items were not getting imported. Could you please check and let us know if any information is required from our end to resolve the issue. Thanks Aamer. On Tue, Oct 18, 2016 at 10:03 PM,

Re: [Dhis2-devs] Upgrading DHIS2 from 2.21 to 2.24 and using new exporter/importer

2016-10-09 Thread Aamer Mohammed
Hi Lars/Morten, This is reproducible on 2.25 as well. Any updates regarding this issue. Let us know if any further details are required from our end. Thanks Aamer. On Thu, Oct 6, 2016 at 4:12 PM, Aamer Mohammed <aam...@thoughtworks.com> wrote: > Hi Lars, > > Thanks for t

Re: [Dhis2-devs] Upgrading DHIS2 from 2.21 to 2.24 and using new exporter/importer

2016-10-06 Thread Aamer Mohammed
Thu, Sep 29, 2016 at 1:31 PM, Aamer Mohammed <aam...@thoughtworks.com> > wrote: > >> Hi, >> >> For continuation of testing, we changed the metadata to ensure that a >> Group can be part of only one GroupSet. >> 1) We got the below issue. >> {"sta

Re: [Dhis2-devs] Upgrading DHIS2 from 2.21 to 2.24 and using new exporter/importer

2016-09-29 Thread Aamer Mohammed
duplicates: You have groups > which are part of multiple group sets. In these cases, Hibernate will > create duplicate GroupSets as a result of the database integrity issue. > > So short term solution is to change the metadata, long term we will fix > this properly and allow for many-to-many

Re: [Dhis2-devs] scheduling in DHIS

2016-09-26 Thread Aamer Mohammed
ghtworks.com >>>>>> > wrote: >>>>>> >>>>>>> Hi Lars >>>>>>> >>>>>>> We are looking at extending org.hisp.dhis.system.scheduling.Scheduler >>>>>>> to also have the ability to return the Listenable

Re: [Dhis2-devs] MetadataVersion to be shown in the "About" section

2016-09-26 Thread Aamer Mohammed
Hi Lars, We have made the changes and submitted PR#156 for the same. Please have a look and let us know if any changes Thanks Aamer. On Tue, Jun 14, 2016 at 6:27 PM, Lars Helge Øverland wrote: > > > On Tue, Jun 14, 2016 at 2:56 PM, Vanya Seth >

Re: [Dhis2-devs] Metadata Sync - API versioning in DHIS

2016-09-22 Thread Aamer Mohammed
that wasn't moved over >> yet, all you need to do is to annotate your controller with: >> >> @ApiVersion( { Version.DEFAULT, Version.ALL } ) >> >> -- >> Morten Olav Hansen >> Senior Engineer, DHIS 2 >> University of Oslo >> http://www.dhis2.org &g

Re: [Dhis2-devs] Metadata Sync - API versioning in DHIS

2016-09-20 Thread Aamer Mohammed
that they can work fine with the new baseUrl as well. Thanks Aamer. On Tue, Sep 20, 2016 at 4:48 PM, Aamer Mohammed <aam...@thoughtworks.com> wrote: > Hi Lars/Morten, > > This is regarding the metadata sync feature which we have contributed to > DHIS recently. When we are using th

[Dhis2-devs] Metadata Sync - API versioning in DHIS

2016-09-20 Thread Aamer Mohammed
Hi Lars/Morten, This is regarding the metadata sync feature which we have contributed to DHIS recently. When we are using the setting-app from 2.25 development branch (master), we see that versioned api calls are being made from the app instead of the default api calls. /api/25/metadata/versions

Re: [Dhis2-devs] Upgrading DHIS2 from 2.21 to 2.24 and using new exporter/importer

2016-09-14 Thread Aamer Mohammed
in 3 >>> category >>> >>>>>> option groups, same with oqeVQ71LCgY.. >>> >>>>>> >>> >>>>>> I will look into making the validation process more robust.. but >>> at >>> >>>&g

Re: [Dhis2-devs] Providing scheduling flexibility to other tasks

2016-09-09 Thread Aamer Mohammed
Hi Morten/Lars, Any thoughts on below please. Thanks Aamer. On Fri, Aug 5, 2016 at 2:35 PM, Aamer Mohammed <aam...@thoughtworks.com> wrote: > Any comments on below please. > > Thanks > Aamer. > > On Fri, Jul 29, 2016 at 5:55 PM, Aamer Mohammed <aam...@thoughtworks

[Dhis2-devs] translations using d2

2016-09-09 Thread Aamer Mohammed
Hi Mark, We have been using d2 library in couple of our custom apps and we want to implement translations using the same. Currently the translations as they work in other dhis apps is by parsing the client side.properties file and getting the translation using

Re: [Dhis2-devs] Application Security testing for DHIS 2

2016-08-23 Thread Aamer Mohammed
rabilities. 1) Cross-site scripting attacks 2) Broken authentication attacks 3) Injection flaws 4) malicious code Thanks Aamer. On Fri, Jul 29, 2016 at 5:37 PM, Aamer Mohammed <aam...@thoughtworks.com> wrote: > Hi Team, > > We are now beginning to look at application se

Re: [Dhis2-devs] Upgrading DHIS2 from 2.21 to 2.24 and using new exporter/importer

2016-08-22 Thread Aamer Mohammed
Any thoughts please on the below approach. Let us know if any details are required from our end around this. On Wed, Aug 17, 2016 at 1:18 PM, Aamer Mohammed <aam...@thoughtworks.com> wrote: > Hi Morten, > > We have our metadata configured on a DHIS 2.21 instance. We have > seq

[Dhis2-devs] Upgrading DHIS2 from 2.21 to 2.24 and using new exporter/importer

2016-08-17 Thread Aamer Mohammed
Hi Morten, We have our metadata configured on a DHIS 2.21 instance. We have sequentially upgraded this instance to 2.22, 2.23 and 2.24 by following the upgrade notes for each of them. We want to export the metadata from this upgraded 2.24 instance and import it to a fresh instance which is

[Dhis2-devs] scheduling in DHIS

2016-08-07 Thread Aamer Mohammed
Hi Lars/Morten, The scheduling page in DHIS 2.24 has ability to run tasks immediately in below sections. - Metadata Synchronization - Using 'Sync Now' button - SMS Scheduler - Using 'Run Now' button When the user clicks 'Sync Now' button, an asynchronous task is triggered in the backend

Re: [Dhis2-devs] Issues with custom attributes

2016-08-05 Thread Aamer Mohammed
Hi Mark, We have created an attribute called "isPrintable" with a value type - "Yes Only" and assigned it to data set and program. In the maintenance app, when we look at the data set,the attribute is shown as a 'check box'. But in the older Data Sets app the attribute is not shown.And in the

Re: [Dhis2-devs] Application Security testing for DHIS 2

2016-08-05 Thread Aamer Mohammed
Hi Team, Any insights for the below request would be helpful to get us started around this. Thanks On Fri, Jul 29, 2016 at 5:37 PM, Aamer Mohammed <aam...@thoughtworks.com> wrote: > Hi Team, > > We are now beginning to look at application security of DHIS 2. We want

Re: [Dhis2-devs] dhis charts using highcharts and png downloads

2016-08-01 Thread Aamer Mohammed
; for example: > A chart is configured for getting data for last 12 months. I want to get > data from jan 2016 to jan 2015. Can we specify the starting time period as > Jan 2016 along with chart id. > > > Thanks > > On Thu, Jul 14, 2016 at 4:57 PM, Aamer Mohammed <aam...@t

[Dhis2-devs] using new exporter in dhis play instance

2016-08-01 Thread Aamer Mohammed
Hi Morten, We are planning to use created filter to get the filtered set of metadata basing upon created date. For example: To get a filtered set of metadata that was created since April 1, 2016 https://play.dhis2.org/demo/api/24/metadata?filter=created:gte:2016-04-01 That filter is working fine

[Dhis2-devs] Application Security testing for DHIS 2

2016-07-29 Thread Aamer Mohammed
Hi Team, We are now beginning to look at application security of DHIS 2. We want to understand if there is already any security testing in place for DHIS and any guidelines around it. This will be helpful in security testing the features which we have already contributed and the ones which we are

Re: [Dhis2-devs] dhis charts using highcharts and png downloads

2016-07-29 Thread Aamer Mohammed
Hi Team, Any updates on the below questions? On Tue, Jul 26, 2016 at 5:07 PM, Aamer Mohammed <aam...@thoughtworks.com> wrote: > Hi Jan / Team, > > Few additional questions apart from the ones below. > >- Is any other image utility supported apart from png? Wha

Re: [Dhis2-devs] Issue with custom attributes in data set api

2016-07-28 Thread Aamer Mohammed
The other data sets still do not show the attribute as it was in the first case. So the api is showing two different behaviours for the same test case. We have reproduced all of these in play demo instance itself. Could you please provide inputs for the same. Thanks Aamer. On Thu, Jul 28, 201

[Dhis2-devs] Issue with custom attributes in data set api

2016-07-28 Thread Aamer Mohammed
Hi Morten, We have created an attribute called "isPrintable" with a value type - "Yes Only" and assigned it to data set and program. We have few clarifications on the below api * /api/dataSets.json?fields=id,name,attributeValues[:all,value,name,attribute[id,name,code]]* - Immediately after

Re: [Dhis2-devs] dhis charts using highcharts and png downloads

2016-07-26 Thread Aamer Mohammed
are waiting on your inputs as we are planning to use this endpoint in our custom apps. Thanks On Mon, Jul 25, 2016 at 3:03 PM, Aamer Mohammed <aam...@thoughtworks.com> wrote: > Hi Jan, > > This endpoint https://play.dhis2.org/demo/api/svg.png > <https://play.dhis2.org/dev/api/s

Re: [Dhis2-devs] Plan for Metadata Sync /Versioning ongoing development

2016-07-25 Thread Aamer Mohammed
oca_sync-2.24) as we do not want to backport big features into 2.24 > which can cause issues with a stable branch. > > -- > Morten Olav Hansen > Senior Engineer, DHIS 2 > University of Oslo > http://www.dhis2.org > > On Thu, Jul 14, 2016 at 6:54 AM, Aamer Mohammed <aam.

Re: [Dhis2-devs] dhis charts using highcharts and png downloads

2016-07-25 Thread Aamer Mohammed
dpoint which converts html tables to images? Our custom app has a functionality wherein the user should be able to export the images/tables to word documents. We do not want to reconstruct the table from the json table data. Thanks Aamer. On Thu, Jul 14, 2016 at 4:57 PM, Aamer Mohamme

Re: [Dhis2-devs] dhis charts using highcharts and png downloads

2016-07-14 Thread Aamer Mohammed
y 2016 at 10:13, Knut Staring <knu...@gmail.com> wrote: > >> HI Aamer, >> >> Just a heads-up that this is holiday time in Norway, so it may take some >> time for you to get a reply. >> >> Knut >> >> On Wed, Jul 13, 2016 at 9:23 AM, Aamer Moham

Re: [Dhis2-devs] Plan for Metadata Sync /Versioning ongoing development

2016-07-13 Thread Aamer Mohammed
h the regular > review/merge process. > > If you need to do bugfixes to what was released in 2.24, you first do the > fix in trunk, and then we back-port the fix rev to 2.24 stable. > > > best regards, > > Lars > > > > > On Wed, Jul 13, 2016 at 8:

Re: [Dhis2-devs] dhis charts using highcharts and png downloads

2016-07-13 Thread Aamer Mohammed
Hi Jan/Bjørn, Any thoughts on roadmap for highcharts based abstractions or in improving quality of the api/charts/data which is giving a png now and is not as good as the high charts generated chart. Any thoughts will be much appreciated. Thanks Aamer. On Mon, Jul 11, 2016 at 8:15 PM, Mark

[Dhis2-devs] Plan for Metadata Sync /Versioning ongoing development

2016-07-13 Thread Aamer Mohammed
Hi Lars and Team, As the branch https://code.launchpad.net/~twoca-devs/dhis2/twoca_sync is now merged in 2.24, we are continuing to test it further and also add some more features around it like controller layer test cases, etc... So we want to understand on how we can provide patches/fixes for

Re: [Dhis2-devs] DHIS2 Documentation for Metadata Sync and Versioning

2016-06-27 Thread Aamer Mohammed
cally.. (mvn clean package), could be something local on your laptop? I > see no complaints from our build server either > > -- > Morten Olav Hansen > Senior Engineer, DHIS 2 > University of Oslo > http://www.dhis2.org > > On Mon, Jun 27, 2016 at 1:59 PM, Aamer Mohamm

Re: [Dhis2-devs] DHIS2 Documentation for Metadata Sync and Versioning

2016-06-27 Thread Aamer Mohammed
Hi We have forked dhis2-docs repo to get started with the documentation for the new features. However when we try to build the just cloned repo with apache maven as mentioned in http://dhis2.github.io/dhis2-docs/2.22/en/implementer/html/apas09.html we are getting below error -- [ERROR]

[Dhis2-devs] Issue with DHIS event capture page - 2.24

2016-06-23 Thread Aamer Mohammed
Hi We are on the latest build from trunk, 23409. On opening the event capture page, we are unable to register any event as the data elements are not showing. See screenshot below. [image: Inline image 1] Is anyone else facing this issue? Thanks Aamer.

Re: [Dhis2-devs] Plan for merging in trunk for 2.24

2016-06-18 Thread Aamer Mohammed
g/reviewing of your pull request and > deploying it so it's part of the core product. > > Regards, > > Mark > > On Sat, Jun 18, 2016 at 7:40 AM, Aamer Mohammed <aam...@thoughtworks.com> > wrote: > >> Hi Lars, >> >> We also have changes to one of th

Re: [Dhis2-devs] Plan for merging in trunk for 2.24

2016-06-17 Thread Aamer Mohammed
Hi Lars, We also have changes to one of the screens in settings-app, for which the source code is in a git repo. I wanted to understand on how to move ahead with these changes. I hope that submitting a pull request when we send the launchpad details would suffice. Let us know your thoughts on

[Dhis2-devs] Logging for Metadata sync feature

2016-06-15 Thread Aamer Mohammed
Hi Lars, We are using log4j.properties file instead of 'Log4JLogConfigInitializer' for metadata sync logging purpose. The FILE parameter of FileAppender in log4j.properties needs the value of DHIS2_HOME environment variable to save the metadata sync log in the same folder location as that of the

[Dhis2-devs] Implementing the anonymous events data push feature

2016-05-12 Thread Aamer Mohammed
Hi Lars/Morten, We have been working on implementing the anonymous events data push feature as part of our requirement. This is currently in testing and we are planning to merge this along with the metadata sync and versioning functionality. We see that there is already a blueprint for the

Re: [Dhis2-devs] Status of ImportSummaries in /api/events

2016-05-12 Thread Aamer Mohammed
that part is > not started yet, so let's see). > > @Abyot: are you using this returned status for anything in your EC/TC apps? > > -- > Morten Olav Hansen > Senior Engineer, DHIS 2 > University of Oslo > http://www.dhis2.org > > On Thu, May 12, 2016 at 12:52 PM, Aamer Moha

[Dhis2-devs] Status of ImportSummaries in /api/events

2016-05-11 Thread Aamer Mohammed
Hi We are using /api/events to post event related data and it is being uploaded successfully. The api returns a response of type ImportSummaries which has the status of ImportSummary along with the count of data which is imported/updated. In case of any conflicts being reported in ImportSummary,

[Dhis2-devs] Issue when using 2.23 Event Capture

2016-05-10 Thread Aamer Mohammed
Hi We are using the latest version of 2.23 (revision #22911) When using 'Event capture' functionality, we found the below issue. We created a program without registration and attached category combination of type attribute to it. In the Event Capture page, upon selecting the program and the

Re: [Dhis2-devs] Issue with /api/reportTables api

2016-04-19 Thread Aamer Mohammed
> > > > > > > > On Mon, Apr 18, 2016 at 1:36 PM, Aamer Mohammed <aam...@thoughtworks.com> > wrote: > >> Hi Lars, >> >> I checked on demo (Version 2.22, Revision 21999). The reportTable 'ANC >> Coverages Quarterly' has below data >

Re: [Dhis2-devs] Issue with /api/reportTables api

2016-04-18 Thread Aamer Mohammed
le, but Jan-Mar in /data.html. Should be fixed. >> >> On 12 April 2016 at 11:06, Aamer Mohammed <aam...@thoughtworks.com> >> wrote: >> >>> >>> I checked in play.dhis2.org also. I am seeing the same issue. >>> For the reportTable, "ANC: Co

Re: [Dhis2-devs] Issue with /api/reportTables api

2016-04-12 Thread Aamer Mohammed
d of March 2016... not sure if >> it's a known issue or not, but seems like a bug, Lars will know better >> (maybe it's fixed already) >> >> -- >> Morten >> >> On Tue, Apr 12, 2016 at 2:27 PM, Aamer Mohammed <aam...@thoughtworks.com> >> wrote: >>

[Dhis2-devs] Issue with /api/reportTables api

2016-04-12 Thread Aamer Mohammed
Hi Devs, We have seen the below issue when working with /api/reportTables api. We are using DHIS 2.21 build revision 21058. The reportTable as seen in DHIS app is as below. [image: Inline image 1] However when we try to fetch the data for the same report Table through

Re: [Dhis2-devs] Using DHIS File Store

2016-02-29 Thread Aamer Mohammed
Any thoughts from the community please. Can we leverage File Store to store data independent of any other object or should it be referenced from other objects only? Thanks Aamer. On Fri, Feb 26, 2016 at 12:29 PM, Aamer Mohammed <aam...@thoughtworks.com> wrote: > Hi All, > > W

[Dhis2-devs] Using DHIS Data Store

2016-02-25 Thread Aamer Mohammed
Hi All, We are thinking of leveraging the existing DHIS Data Store to store specific data related to our application. We have used api/dataStore end-point and were able to save/retrieve the data successfully. We are bit apprehensive with regard to size of data being stored. Any suggestions from

[Dhis2-devs] DHIS2 - Issues with 2.22

2016-02-03 Thread Aamer Mohammed
Hi I am using two instances of DHIS on 2.22 version and facing the below issues currently. *Issue 1:* *Unable to sync data between the two instances.* I have setup the synchronization as per http://dhis2.github.io/dhis2-docs/2.21/en/user/html/ch22s16.html and trying to save the data. I have