Commit graph

255 commits

Author SHA1 Message Date
Manfred Karrer
1c58d89465
Apply code inspection
- Fix spelling
- Remove exception throw clause which was never thrown
- Add not null preconditions
- Remove unneeded types in diamonds
- Add final
- Fix java doc
- Make Reporter constructor protected (abstract)
2018-12-29 14:13:26 +01:00
Florian Reimair
36612185e1 Removed unused dummy Metric 2018-12-29 14:04:33 +01:00
Manfred Karrer
2d8ca8c0f9
Add monitor directory as parent for test directories
- Apply reorg imports and reformat to test classes
2018-12-29 13:53:30 +01:00
Manfred Karrer
2762d74c8f
Rename TorRoundtripTime to TorRoundTripTime 2018-12-29 13:44:57 +01:00
Manfred Karrer
d4db4d882b
Reformat code, organize imports, fix spelling 2018-12-29 13:41:18 +01:00
Florian Reimair
7cf083bb11 Readme, Javadoc, cleanup 2018-12-29 11:26:53 +01:00
Florian Reimair
ada2e586e5 Pretty up config file 2018-12-28 19:12:39 +01:00
Florian Reimair
26f6088f9f Graphite reporter is available 2018-12-28 17:35:30 +01:00
Florian Reimair
a7d86f3352 Refactored metric infrastructure 2018-12-28 17:33:52 +01:00
Florian Reimair
09e02ba6c9 Refactored Metric 2018-12-28 13:28:59 +01:00
Florian Reimair
973bcf5a79 Introduce reporter concept 2018-12-28 13:27:09 +01:00
Florian Reimair
2db74a14b8 Refactored TorStartupTime 2018-12-21 11:38:10 +01:00
Florian Reimair
d46813c866 TorHiddenServiceStartupTime Metric available 2018-12-21 11:35:26 +01:00
Florian Reimair
295cb6c2b8 Graceful shutdown, Netlayer 0.6.2 2018-12-21 11:34:29 +01:00
Florian Reimair
bff347bf8f TorRoundtripTime Metric does samples 2018-12-19 11:56:18 +01:00
Florian Reimair
612c5f3bdd Refactored Metrics scheduler 2018-12-19 01:17:47 +01:00
Florian Reimair
fb9c11f9f3 TorRoundTripTime Metric available 2018-12-19 01:11:20 +01:00
Florian Reimair
4d0a094977 Configurable socksPort for TorStartupTime Metric 2018-12-18 13:06:10 +01:00
Florian Reimair
6b43b47a25 Cleanup 2018-12-18 13:05:25 +01:00
Florian Reimair
1d6e101a1c Enhance config file documentation 2018-12-18 11:56:50 +01:00
Florian Reimair
677ed2390e Add initial TorStartupTime metric 2018-12-18 11:56:35 +01:00
Florian Reimair
9394da1c2c Introduce reporting stub 2018-12-18 11:55:19 +01:00
Florian Reimair
0f8c420351 Synchronize all the things 2018-12-18 11:49:02 +01:00
Florian Reimair
414623ba9f Introduce general purpose Tor instance 2018-12-18 11:46:03 +01:00
Florian Reimair
bb266949e0 Use lombok/slf4j for logging 2018-12-11 12:05:09 +01:00
Florian Reimair
930cb8c56a Metrics can be renamed 2018-12-11 11:19:34 +01:00
Florian Reimair
a73c24fa1b Metrics can be reenabled via config 2018-12-10 21:19:30 +01:00
Florian Reimair
4d39d6b71a Basic configuration tests 2018-12-10 21:18:39 +01:00
Florian Reimair
da483a245e Metrics can be disabled via config 2018-12-10 16:42:49 +01:00
Florian Reimair
4796f1b01b Reloading config during runtime available 2018-12-10 16:28:45 +01:00
Florian Reimair
52c5a7efe1 Use configurable properties file 2018-12-10 16:04:27 +01:00
Florian Reimair
984aabfdd4 Periodical schedule 2018-12-10 14:47:34 +01:00
Florian Reimair
86d642596e Basic configuration infrastructure available 2018-12-10 14:46:10 +01:00
Florian Reimair
df5b2dc15e Basic framework for Monitor 2018-12-10 13:57:14 +01:00
Florian Reimair
5e96b8ebe2 Patch deprecated Networknode 2018-12-07 10:14:20 +01:00
Chris Beams
931f369fb6
Include executable name and version in help output 2018-11-24 13:24:03 +01:00
Chris Beams
83e1dd37f9
Refactor option parsing configuration
This change eliminates the BisqExecutable.description method and
replaces it with proper use of the `describedAs` and `defaultsTo`
methods in the JOptSimple API. This removes the concern of formatting
option argument descriptions and default values from the BisqExecutable
class, and delegates it to the new BisqHelpFormatter (see previous
commit), which is designed for the purpose.

For example, prior to this commit, the help text for the --banList
option read as follows:

    --banList=<value>
            Nodes to exclude from network connections. (default: )

Now it reads as follows:

    --banList=<host:port[,...]>
            Nodes to exclude from network connections.

Likewise, previous to this commit, the --logLevel option read as
follows:

    --logLevel=<value>
            Log level [OFF, ALL, ERROR, WARN, INFO, DEBUG, TRACE]
            (default: INFO)

And now it reads like this:

    --logLevel=<OFF|ALL|ERROR|WARN|INFO|DEBUG|TRACE> (default: INFO)
            Log level

There are a number of further improvements that can and should be made
to the description text of the various options, the types specified for
their arguments, etc, but these will be handled in subsequent commits.
This commit is strictly about refactoring existing parser configuration
to take advantage of the new BisqHelpFormatter.
2018-11-24 13:24:03 +01:00
Chris Beams
e97625cfc3
Pull up remaining monitor config to root 2018-11-04 17:41:37 +01:00
Chris Beams
bd1e7e273f
Pull up application plugin config to root 2018-11-04 16:27:52 +01:00
Chris Beams
1cdb39ab60
Pull up JesusMcCloud repo to root
Not all subprojects need it, but most do.
2018-11-04 14:28:14 +01:00
Chris Beams
4e1fa914a2
Pull up common repositories to root build.gradle 2018-11-04 14:20:55 +01:00
Chris Beams
95c8b8ddfa
Pull up application and configuration of java plugin 2018-11-04 14:20:55 +01:00
Chris Beams
3c1c402d40
Remove use of maven plugin
It is no longer necessary to publish Maven metadata about common, core
and other submodules as they are no longer managed as separate libraries
in separate repositories. The only way these modules should be getting
referenced is from within applications in this repository such as
desktop, statsnode, etc. Essentially, we're no longer publishing our
libraries for public consumption.
2018-11-04 13:19:06 +01:00
Manfred Karrer
bb20264473
Move classes 2018-09-23 15:35:06 -05:00
Manfred Karrer
920ad2e1b5
Rename network package to nodes 2018-09-23 15:29:09 -05:00
Manfred Karrer
8d0f6b7556
Rename BitcoinNodes to BtcNodes 2018-09-23 15:22:20 -05:00
Manfred Karrer
0d86176f4e
Further refactorings: move classes to other packages 2018-09-23 15:09:22 -05:00
Manfred Karrer
16fac73b6d
Further refactorings move classes to other packages 2018-09-23 14:56:46 -05:00
Manfred Karrer
f3f719a632
Move btc setup classes to setup package 2018-09-23 14:46:58 -05:00
Christoph Atteneder
68fb1163a3
Add Java 10 configuration for merged repositories 2018-09-17 13:37:03 +02:00