summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Prepare for 1.7.0 release.descriptor-1.7.0Karsten Loesing2017-05-16
|
* Fix a few checkstyle complaints about whitespace.Karsten Loesing2017-05-16
|
* Test for empty keys in more places.Karsten Loesing2017-05-16
|
* Reverse equality test in if-statements.iwakeh2017-05-16
| | | | (This should be in checkstyle.)
* Make all tests pass. Implements task-22217.iwakeh2017-05-16
|
* Let tests also verify error message (for all padding-count related tests).iwakeh2017-05-16
| | | | Added some tests of which two don't pass yet.
* Parse "padding-counts" lines in extra-info descriptors.Karsten Loesing2017-05-16
| | | | Implements #22217.
* Tweak change log.Karsten Loesing2017-05-12
|
* Deprecate setFailUnrecognizedDescriptorLines().Karsten Loesing2017-05-11
| | | | Implements #22228.
* Add descriptor digest to vote and streamline method names.Karsten Loesing2017-05-10
| | | | Implements #20333.
* Add change log entry for #22190.Karsten Loesing2017-05-10
|
* Make tests pass again and solve task-22190.iwakeh2017-05-09
|
* Provided failing test for issue in task-22190.iwakeh2017-05-09
|
* Extended JavaDoc explanation. Part of task-22190.iwakeh2017-05-09
|
* Tweak change log a bit.Karsten Loesing2017-05-09
|
* Accept extra arguments in extra-info descriptors.Karsten Loesing2017-05-09
| | | | | | | | | According to the specification it's valid to add extra arguments to descriptor lines unless they are tagged with "[No extra arguments]". This is not the case for any of the statistics-related lines in extra-info descriptors, so we should allow extra arguments there. Fixes #21934.
* Add support for six new key-value pairs added by OnionPerf.Karsten Loesing2017-05-08
| | | | | | | | | | | OnionPerf adds six new key-value pairs to the .tpf format that Torperf/CollecTor did not produce: ENDPOINTLOCAL, ENDPOINTPROXY, ENDPOINTREMOTE, HOSTNAMELOCAL, HOSTNAMEREMOTE, and SOURCEADDRESS. We should add support for these keys to metrics-lib, so that we can start using their values. Implements #22122.
* Don't skip unrecognized lines in certain cases.Karsten Loesing2017-04-07
| | | | | | | | | | | | | | | | | When we started using Java 7's switch-on-String in 2b4d773, we broke unrecognized line parsing in extra-info descriptors. Namely, when we reached the end of a crypto block we didn't reset the list for collecting crypto lines. So far so good, but any following unrecognized lines would be collected as crypto lines and later discarded, rather than being added to the unrecognized-lines list and later reported. This only affects relay descriptors, because sanitized bridge descriptors don't contain crypto blocks. And it only affects relay descriptors with crypto blocks, like "identity-ed25519", whereas relay extra-info descriptors published by older versions were not affected. Fixes #21890.
* Update to latest metrics-base.Karsten Loesing2017-03-14
|
* Add tutorial link and examples.Karsten Loesing2017-03-13
|
* Bump version to 1.6.0-dev.Karsten Loesing2017-02-17
|
* Prepare for 1.6.0 release.descriptor-1.6.0Karsten Loesing2017-02-17
|
* Tweak Javadocs.Karsten Loesing2017-02-17
|
* Deprecate three classes using HttpURLConnection.Karsten Loesing2017-02-17
| | | | Fixes #20323.
* Only create javadoc for api, implements part of task-21469.iwakeh2017-02-15
|
* Parse "shared-rand-.*" lines in consensuses and votes.Karsten Loesing2017-02-14
|
* Parse new protocol versions lines.Karsten Loesing2017-02-14
|
* Make the reader thread a daemon thread.iwakeh2017-02-01
|
* Avoid deleting extraneous local descriptor files.Karsten Loesing2017-01-31
| | | | | | | | | DescriptorIndexCollector deletes descriptor files from a previous or concurrent collect run if it doesn't collect those files itself. This is unexpected behavior and differs from what DescriptorCollectorImpl does. Fixes #20525.
* Remove 604 checkstyle complaints.Karsten Loesing2017-01-25
| | | | Resolves #21144.
* Update copyright.Karsten Loesing2017-01-13
|
* Update to latest metrics-base.Karsten Loesing2017-01-05
|
* Added changelog entry.iwakeh2017-01-05
|
* Added development description.iwakeh2017-01-05
|
* Implements task-20596: use metrics-base and reduced build.xml,iwakeh2017-01-05
| | | | | | | | | added bootstrap script. Removed obsolete metrics_checks.xml and made bootstrap-development.sh executable. Only add metrics-lib class files to release jar.
* Make tests pass again. Gson demands no-args constructors.iwakeh2017-01-05
|
* Log more, throw fewer RuntimeExceptions.Karsten Loesing2017-01-05
|
* Update licensehiromipaw2017-01-03
|
* Added test and cure for corrupted history file.iwakeh2016-12-20
| | | | | | | In that case a warning is logged and parsing continued. Warning makes sense, as it could be due to problems with the file system, which an operator can do something about.
* Add tests for descriptor reader.Karsten Loesing2016-12-20
|
* Some read/write modernization of DescriptorReaderImpl.iwakeh2016-12-20
|
* Add methods for loading and saving a history file.Karsten Loesing2016-12-20
| | | | | | | | | | | | | | | | | | | | The history file implementation in `DescriptorReader` writes the history file passed in `setExcludeFiles()` immediately after reading and parsing the last descriptor and putting it into the queue, regardless of whether the application has finished processing those descriptors. If the application fails after the history file is written, it may not be able to process descriptors in the next execution that have still been in the queue at the time of failing. This commit deprecates the `setExcludeFiles()` method and replaces it by a `setHistoryFile()` and a `saveHistoryFile()` method. Applications would use `setHistoryFile()` before starting to read descriptors, process all descriptors, perform any cleaning up, and then call `saveHistoryFile()`. Implements #20521.
* Revert "Prepare metrics-lib for jenkins build. Exclude checks when building ↵hiromipaw2016-11-18
| | | | | | in jenkins. Add clean task as dep for test." This reverts commit d154982e5a974bf451086241e79f9b3d9f56b2c6.
* Prepare metrics-lib for jenkins build. Exclude checks when building in ↵hiromipaw2016-11-15
| | | | jenkins. Add clean task as dep for test.
* Bump version to 1.5.0-dev.Karsten Loesing2016-10-20
|
* Prepare for 1.5.0 release.descriptor-1.5.0Karsten Loesing2016-10-19
|
* Implements task-20039: DescriptorIndexCollector now accepts a URL path.iwakeh2016-10-19
| | | | | If only a base URL is given, try to retrieve 'index/index.json' from the given host URL.
* Added checkstyle unused imports module.iwakeh2016-10-19
|
* Logs the served implementation. Implements task-20334.iwakeh2016-10-19
|
* Changed 'descriptor.collector' default value to DescriptorIndexCollector.iwakeh2016-10-19
| | | | Implements task-20404.