summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* Use Arrays.asList with varargs.Karsten Loesing2018-08-20
|
* Simplify stream chain.Karsten Loesing2018-08-20
|
* Remove unnecessary null check.Karsten Loesing2018-08-20
|
* Remove redundant casts.Karsten Loesing2018-08-20
|
* Avoid manual array copies.Karsten Loesing2018-08-20
|
* Replace while with for loops.Karsten Loesing2018-08-20
|
* Use more powerful Map methods.Karsten Loesing2018-08-20
|
* Replace lambda with method reference.Karsten Loesing2018-08-20
|
* Remove unnecessary boxing.Karsten Loesing2018-08-20
|
* Remove unthrown exceptions.Karsten Loesing2018-08-20
|
* Replace Comparator with lambda.Karsten Loesing2018-08-20
|
* Use Java 5 and 7 idioms in more places.Karsten Loesing2018-08-20
|
* Remove unused parameters.Karsten Loesing2018-08-20
|
* Remove redundant modifiers from interface methods.Karsten Loesing2018-08-20
|
* Update to latest metrics-base.Karsten Loesing2018-08-17
|
* Fix single quotes to make Jenkins happy again.Karsten Loesing2018-07-09
|
* Resume previously aborted downloads.Karsten Loesing2018-07-09
| | | | | | | | | | | | | | | So far, whenever DescriptorCollector fetches a remote file, it writes its contents to a local temporary file and later renames that file. The idea is to avoid incomplete downloads. However, if a local temporary file already exists from an earlier run, DescriptorCollector fails and skips the remote file. This is not intended. With this change, DescriptorCollector always overwrites a local temporary file when it finds one. It still doesn't delete incomplete temporary files that are not re-attempted later. But not skipping them is already a good start. Fixes #24153.
* Replace JAXB with Apache Commons Codec dependency.Karsten Loesing2018-07-04
| | | | | | | | | | | The reason is that JAXB won't be part of standard Java 9 anymore, and the only reason why we used it was to get rid of Apache Commons Codec as dependency, three years ago. Now it makes sense to just go back to Apache Commons Codec in preparation of upgrading to Java 9. Partially reverts 1734d16. Fixes #25444.
* Bump version to 2.4.0-dev.Karsten Loesing2018-05-25
|
* Prepare for 2.4.0 release.metrics-lib-2.4.0Karsten Loesing2018-05-23
|
* Replace Gson with Jackson.Karsten Loesing2018-05-23
| | | | Implements #26159.
* Bump version to 2.3.0-dev.Karsten Loesing2018-04-18
|
* Prepare for 2.3.0 release.metrics-lib-2.3.0Karsten Loesing2018-04-18
|
* Use the descriptor file name for determining descriptor type.iwakeh2018-04-18
| | | | | | | | | | | | | Initial solution suggested by Karsten. In addition, add a test that would fail without this patch and adapt old test to expect the correct behavior. Also provide the origin of the descriptor with getDescriptorFile. Include a test for this functionality in log descriptors. Provide proper file name to log descriptor classes, because this filename contains log metadata for storing log files properly. Solves task-25332.
* Clarify parameter description in DescriptorParser's javadoc.iwakeh2018-04-16
| | | | Also rename parameter for clarity and apply the name change to the implementation.
* Create ServerDescriptor#isHiddenServiceDir.Karsten Loesing2018-04-16
| | | | | | | | | | Turns out that Tor has never supported versions in the hidden-service-dir descriptor line. This commit replaces ServerDescriptor#getHiddenServiceDirVersions with ServerDescriptor#isHiddenServiceDir. Fixes #25712.
* Add change log entry for #24290.Karsten Loesing2018-03-27
|
* Use timeout of one minute for fetching index.iwakeh2018-03-19
| | | | | | | This is set for connect as well as read and can be overridden by system properties sun.net.client.default<Connect|Read>Timeout. Implements task-24290.
* Add change log entry for #25526.Karsten Loesing2018-03-19
|
* Override logLines method from LogDescriptor.iwakeh2018-02-26
|
* Bump version to 2.2.0-dev.Karsten Loesing2018-02-26
|
* Prepare for 2.2.0 release, again.metrics-lib-2.2.0Karsten Loesing2018-02-26
|
* Accomodate logs with more than Integer.MAX_VALUE lines.iwakeh2018-02-26
| | | | Implements task-23046.
* Enable handling of larger (> 2G) log files.iwakeh2018-02-16
| | | | | | | | | | | As log files can be compressed very efficiently log descriptor raw bytes contain the compressed bytes. Added methods for accessing uncompressed log content, as well as stream based methods for decompression and compression in class FileType. Adapted all tests to the changes. Implements task-25329.
* Add log line interfaces and access methods.iwakeh2018-02-16
| | | | | For both the general LogDescriptor and extension WebServerAccessLog. Include some new tests.
* Add log message reporting progress reading tarballs.Karsten Loesing2018-02-06
| | | | Implements #22990.
* Prepare for 2.2.0 release.Karsten Loesing2018-02-05
|
* Fail early when 'null' values are added.iwakeh2018-02-05
| | | | | | And, allow for roughly a years worth of entries in dateMap and requestMap before re-hashing by setting initial capacity. Defaults are fine for the small ipMap and protocolMap.
* Use 'putIfAbsent'.iwakeh2018-02-05
|
* Provide 'equals' and 'hashCode' implementations.iwakeh2018-02-05
|
* Reduce memory footprint of log lines.iwakeh2018-02-05
| | | | | | Also make validation optional for internal web log constructor. CollecTor uses this for storing freshly sanitized logs, which don't need to be validated a second time.
* Use enum for request method.iwakeh2018-02-05
|
* Store size as simple int.iwakeh2018-02-05
|
* Prepare date strings lazily in order to improve performance.iwakeh2018-02-05
|
* Add new descriptor type for web server access logs.iwakeh2018-01-31
| | | | | Implements task-22983 and is based on the log-descriptor specification.
* Added package-info.iwakeh2018-01-31
|
* Added a space.iwakeh2018-01-31
|
* Update copyright to 2018.Karsten Loesing2018-01-09
|
* Update to latest metrics-base.Karsten Loesing2017-12-04
|
* Update to latest metrics-base.Karsten Loesing2017-10-26
|