Hi devs,
a new solution for dhis configuration is in place and the conf file should
now be called:
*dhis.conf*
The db related properties are now:
connection.dialect = org.hibernate.dialect.PostgreSQLDialect
connection.driver_class = org.postgresql.Driver
connection.url =
I agree that structure is nice. However, the intention is to keep this as
simple as absolutely possibly. I think the average dhis self-taught sys
admin is a bit familiar with good old property files but not so much with
yaml or json, and the risk for people ending up with invalid config is
high. I
Hi Lars,
Great idea, and I am sure it will be useful.
Just to be a bit difficult as I usually am however.
In some scripts (mostly Python) i have used YAML for these sorts of
configurations. The advantage is it is pretty human readable, and yet
more structured than plain text files, so it would
A default full config file can be found here:
https://github.com/dhis2/dhis2-utils/blob/master/resources/conf/dhis.conf
--
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 :
For similar (tangentially related) configuration, I have used json.
See below. Either yaml or json (or even dreaded xml), I agree with
Jason that a bit of structure can be beneficial. Yaml syntax is maybe
the most forgiving for user editing by hand.
{
"dhis2Systems" : {
"hmis" : {
"type" :
Hi everyone
I just pushed some code that enables the new in-memory filter engine, in
that I have also added a few new operators, and updated a few old ones.
The new operators are documented here
http://dhis2.github.io/dhis2-docs/master/en/developer/html/ch01s07.html
Please note that we now also
Hi Lars,
Yes, I see your point, and maybe even YAML is too much. Having two leading
spaces could be too much to task.
Anyway, I thought I would at least suggest it, but if a plain old
properties file works, then lets not over-engineer it for the moment. I can
just possibly envision a situation
7 matches
Mail list logo