[tor-bugs] #24041 [Metrics]: Unify Metrics' products operational configuration

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Apr 2 08:41:26 UTC 2018


#24041: Unify Metrics' products operational configuration
-------------------------+--------------------------
 Reporter:  karsten      |          Owner:  iwakeh
     Type:  enhancement  |         Status:  accepted
 Priority:  Medium       |      Milestone:
Component:  Metrics      |        Version:
 Severity:  Normal       |     Resolution:
 Keywords:               |  Actual Points:
Parent ID:               |         Points:
 Reviewer:               |        Sponsor:
-------------------------+--------------------------

Comment (by irl):

 Java properties didn't really provide the hierarchical structure to the
 configuration that is needed for the bot. There are types of accounts, and
 then there can be 0 or more of each type, and then those have properties
 within them.

 An example XML file is now included in the documentation:

 https://people.torproject.org/~irl/metrics-
 bot/org/torproject/metrics/bot/Configuration.html

 If all you need are strings and lists then properties is fine, but once
 you get into lists of lists it gets a lot more difficult and you have to
 start working out your own syntax for separating items, etc.

 Commons Configuration is in Debian as libcommons-configuration-java (1.10
 in both testing and stable).

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/24041#comment:5>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list