Commit Graph

913 Commits

Author SHA1 Message Date
Karsten Loesing
8263cc7bdb Remove dependency on metrics-lib's log package (4/4).
- Remove package-internal abstract class.
2019-11-25 17:02:07 +01:00
Karsten Loesing
c11b61465a Remove dependency on metrics-lib's log package (3/4).
- Remove package-internal interfaces InternalLogDescriptor and
   InternalWebServerAccessLog.
2019-11-25 17:01:09 +01:00
Karsten Loesing
ea1b1b4f6a Remove dependency on metrics-lib's log package (2/4).
- Remove unused code.
2019-11-25 17:01:00 +01:00
Karsten Loesing
859476ecae Remove dependency on metrics-lib's log package (1/4).
- Copy types from metrics-lib to this code base.
 - Update package and import statements.
 - Copy remaining parts of metrics-lib's FileType.
2019-11-25 17:00:44 +01:00
Karsten Loesing
cc3aa57e57 Remove dependency on DescriptorIndexCollector. 2019-11-22 18:49:46 +01:00
Karsten Loesing
5a0e6be21c Remove dependency on metrics-lib's internal package.
The only functionality contained in metrics-lib's internal package is
file (de-)compression, which in turn uses a third-party library that
we're using anyway. This is a weak reason for depending on our own
library for this functionality. Removing this dependency will make it
easier to make changes to our library in the future.

The new FileType class is based on a copy of the same enum type in
metrics-lib without @since tags and without methods that we don't use.
2019-11-22 18:01:11 +01:00
Karsten Loesing
de10fcd5b3 Stop checking and reloading configuration file.
Removes a deprecation warning and simplifies code.

Implements #32554.
2019-11-22 12:03:57 +01:00
Karsten Loesing
edf505ae06 Remove String[][] as configuration value type. 2019-11-21 09:49:49 +01:00
Karsten Loesing
ccdad654f2 Remove final modifier from private method. 2019-11-20 16:44:25 +01:00
Karsten Loesing
86f8001590 Make inner class static. 2019-11-20 15:14:15 +01:00
Karsten Loesing
5d5d2eba7f Tweak DownloaderTest a bit. 2019-11-20 12:50:57 +01:00
Karsten Loesing
e25b39757c Fix logging bug. 2019-11-20 12:50:57 +01:00
Karsten Loesing
3bbc4db433 Fix two JavaDocs issues with package-info.java. 2019-11-20 12:50:57 +01:00
Karsten Loesing
7338d79d1a Use StandardCharsets.US_ASCII instead of "US-ASCII". 2019-11-20 12:50:57 +01:00
Karsten Loesing
38234a3788 Fix minor JavaDoc issue. 2019-11-20 12:50:57 +01:00
Karsten Loesing
d3d63bb1d8 Bump version to 1.13.1-dev. 2019-11-11 10:19:39 +01:00
Karsten Loesing
199d1bed2b Prepare for 1.13.1 release. 2019-11-11 10:14:47 +01:00
Karsten Loesing
de8ab5f1e9 Bump version to 1.13.0-dev. 2019-11-09 11:35:02 +01:00
Karsten Loesing
facb211791 Prepare for 1.13.0 release. 2019-11-09 11:08:20 +01:00
Karsten Loesing
31034e8781 Tweak BridgeDB metrics file names.
We were using the same path for BridgeDB metrics in out/ and recent/,
and file names didn't contain the "-bridgedb-metrics" suffix that we
intended to add.

We're now using paths generated by BridgedbMetricsPersistence.

Also update create-tarballs.sh to create BridgeDB metrics tarballs.

Still part of #19332.
2019-11-09 11:03:26 +01:00
Karsten Loesing
500b7c5ad3 Extend index.json by additional file meta data.
Implements #31204.
2019-11-09 11:00:20 +01:00
Karsten Loesing
0e57dae0bf Bump version to 1.12.0-dev. 2019-10-18 11:11:38 +02:00
Karsten Loesing
fcdaeb8681 Prepare for 1.12.0 release. 2019-10-18 11:05:42 +02:00
Karsten Loesing
5c87bf6b63 Update to latest metrics-base. 2019-10-18 10:59:03 +02:00
Karsten Loesing
f2abf679c8 Add new BridgedbMetrics module.
Implements part of #19332.
2019-10-18 10:58:15 +02:00
Karsten Loesing
834ef7c5e7 Tweak URL-based unit tests.
Turns out that one of the tests that we disabled earlier was only
slow, because creating a URL instance to https://something.dummy.org/
triggered an actual DNS resolve. There's absolutely no need to do
this, so we can as well use localhost in all our test URLs.
2019-09-27 12:23:19 +02:00
Karsten Loesing
dc3a2e4aea Create utility class for downloading from HTTP servers
Also skip two tests in ConfigurationTest that together take 53 seconds
which has the effect that we don't run tests very often.

Implements #31599.
2019-09-27 10:41:05 +02:00
Karsten Loesing
de03530b98 Use metrics-base ant task to fetch metrics-lib.
Implements part of #31649.
2019-09-27 10:05:35 +02:00
Karsten Loesing
18877fdb4d Bump version to 1.11.1-dev. 2019-09-19 15:11:37 +02:00
Karsten Loesing
91e5a07df8 Prepare for 1.11.1 release. 2019-09-19 15:00:00 +02:00
Karsten Loesing
8ed8de6e76 Fix bridge pool assignments sync and log statement. 2019-09-19 14:57:15 +02:00
Karsten Loesing
d3203ceb9e Update create-tarballs.sh script and PROTOCOL.
These changes still belong to archiving bridge pool assignments. But
they're not important enough for putting out a new release at this
point.
2019-09-19 12:37:18 +02:00
Karsten Loesing
cb6e85d79a Bump version to 1.11.0-dev. 2019-09-19 11:32:29 +02:00
Karsten Loesing
a51b6e49cd Prepare for 1.11.0 release. 2019-09-19 11:10:49 +02:00
Karsten Loesing
54ac654d40 Tone down a warning about outdated assignments. 2019-09-19 11:09:41 +02:00
Karsten Loesing
b2b3363232 Archive bridge pool assignments again.
Implements #31558.
2019-09-19 10:39:38 +02:00
Karsten Loesing
522a54ed47 Upgrade to latest metrics-base. 2019-09-19 10:29:27 +02:00
Karsten Loesing
16894a4d00 Bump version to 1.10.0-dev. 2019-09-12 10:59:05 +02:00
Karsten Loesing
1037677d9e Prepare for 1.10.0 release. 2019-09-12 10:50:49 +02:00
Karsten Loesing
d132d40f8b Also update metrics-lib version for GitLab's CI. 2019-09-12 10:20:12 +02:00
Karsten Loesing
569bb83ff5 Archive snowflake statistics.
Implements #29461.
2019-09-11 16:29:17 +02:00
Iain R. Learmonth
a8a4961a1b Adds GitLab CI for tests and checks
Configuration is held in the .gitlab-ci.yml file.

Fixes: #31399
2019-09-05 13:26:11 +01:00
Karsten Loesing
8010084311 Remove Cobertura from the build process. 2019-08-14 11:38:40 +02:00
Karsten Loesing
027a54bfe2 Use Ivy for resolving external dependencies.
Includes an upgrade to the latest metrics-base commit 256e619.

Implements part of #31326.
2019-08-06 17:04:41 +02:00
Karsten Loesing
abde3f7591 Add source name to locally imported bandwidth files.
Implements #30219.
2019-07-30 11:30:54 +02:00
Karsten Loesing
6ad185caea Revert all Debian buster library upgrades.
Turns out that updating all dependencies, including those in
metrics-web and exonerator using servlets and JSPs, is much harder
than expected. We decided to revert all these changes for now, so that
we can merge patches again. We're going to investigate alternatives
like Ant + Ivy, Maven, or Gradle in the near future.
2019-07-28 21:50:09 +02:00
Karsten Loesing
7f36a2b12e Add change log entry for Cobertura deps. 2019-07-24 19:56:18 +02:00
Karsten Loesing
02b709b65e Upgrade to latest metrics-base.
Also include change log entries and fix a few Checkstyle complaints.
2019-07-24 19:16:24 +02:00
Karsten Loesing
e65269dfe7 Update to Debian buster libraries.
Also upgrade to latest metrics-base.

Checkstyle is excluded from this update.
2019-07-24 10:43:52 +02:00
Karsten Loesing
d992d8719d Bump version to 1.9.1-dev. 2019-05-30 15:32:07 +02:00