← Back to team overview

dhis2-devs team mailing list archive

Re: Retrieve bulk system settings

 

Hi Mahendra,

no sorry there is not.

Ideally we should have SystemSetting.java extend BaseIdentifiableObject,
that way it would be simple to expose it in the standard way in the web
api, i.e. retrieve lists, and to include them in meta-data import-export.

A quicker fix would be to expose all system settings in the web api
SystemSettingController as a plain Map. You can find the relevant
methods/add to SystemSettingManager in dhis-service-core.

Let us know if you feel like taking this task on. Otherwise we can include
it on the road map.

cheers

Lars





On Tue, May 6, 2014 at 7:46 AM, Mahendra Kariya <
mahendra.kariya@xxxxxxxxxxxxxxxx> wrote:

> Hi All,
>
> We are customizing DHIS2 for MSF.
>
> We have a scenario where we need to retrieve the system settings in bulk.
> Currently the API requires a key in GET call.
>
> Is there any other way to do this?
>
>
>
> Thanks,
> Mahendra
> *Thought*Works
>