Closed mforsyth closed 8 years ago
Just a small comment, otherwise LGTM.
Just checking, The intention is first to add static config support and then add support for no-clojure configuration?
@wyegelwel Actually, the intention here is to have the clojure config file and the data file it loads co-exist, & see if that makes people happy. My thinking: the problem isn't that a clojure file exists outside the jar, it's that you have to edit clojure code in order to do things like changing thresholds and hostnames, and adding or removing predefined comets.
There are advantages to "coexistence" rather than asking users to pick either .clj or .json. It means that the decision isn't very significant - if someone starts out just wanting to do things like changing the slave to report every 30 seconds instead of every 60 seconds, he can just edit JSON. Later on, if he realizes that he needs to write a custom comet, he doesn't have to change much; he can leave his custom JSON file where it is, and edit the .clj file to add the custom comet.
OK @tnn1t1s @wyegelwel I've made changes based on your comments. The slave's .json file is way more self-documenting now (and flexible!). Thanks :)
lgtm. What do you think @tnn1t1s?
I'm good
On Fri, Feb 12, 2016 at 11:13 AM wyegelwel notifications@github.com wrote:
lgtm. What do you think @tnn1t1s https://github.com/tnn1t1s?
— Reply to this email directly or view it on GitHub https://github.com/twosigma/satellite/pull/54#issuecomment-183391139.
Alright, thanks guys, I will just add some documentation and then we'll get this merged.
Attn @wkf I will add documentation once the code itself is all approved...