From e95ce30fa69673dda74594e4aebd90ec93155b46 Mon Sep 17 00:00:00 2001 From: Ben McIlwain Date: Sat, 1 Aug 2020 11:34:58 -0400 Subject: [PATCH] Upgrade prober & proxy packages from JUnit 4 to JUnit 5 (#734) * Upgrade prober & proxy packages from JUnit 4 to JUnit 5 --- dependencies.gradle | 1 - .../annotationProcessor.lockfile | 24 -- docs/gradle/dependency-locks/apt.lockfile | 3 - .../gradle/dependency-locks/archives.lockfile | 3 - .../buildscript-classpath.lockfile | 3 - .../dependency-locks/checkstyle.lockfile | 18 -- docs/gradle/dependency-locks/compile.lockfile | 249 ----------------- .../compileClasspath.lockfile | 243 ---------------- .../dependency-locks/compileOnly.lockfile | 3 - docs/gradle/dependency-locks/default.lockfile | 249 ----------------- .../dependency-locks/deploy_jar.lockfile | 246 ----------------- .../dependency-locks/errorprone.lockfile | 24 -- .../dependency-locks/errorproneJavac.lockfile | 4 - .../dependency-locks/jacocoAgent.lockfile | 4 - .../dependency-locks/jacocoAnt.lockfile | 11 - docs/gradle/dependency-locks/runtime.lockfile | 249 ----------------- .../runtimeClasspath.lockfile | 246 ----------------- .../testAnnotationProcessor.lockfile | 24 -- docs/gradle/dependency-locks/testApt.lockfile | 3 - .../dependency-locks/testCompile.lockfile | 260 ------------------ .../testCompileClasspath.lockfile | 257 ----------------- .../dependency-locks/testCompileOnly.lockfile | 3 - .../dependency-locks/testRuntime.lockfile | 260 ------------------ .../testRuntimeClasspath.lockfile | 260 ------------------ prober/build.gradle | 3 +- .../dependency-locks/testCompile.lockfile | 3 +- .../testCompileClasspath.lockfile | 3 +- .../dependency-locks/testRuntime.lockfile | 3 +- .../testRuntimeClasspath.lockfile | 3 +- .../blackbox/message/EppMessage.java | 2 + .../blackbox/ProbingSequenceTest.java | 25 +- .../handler/EppActionHandlerTest.java | 159 ++++------- .../handler/WebWhoisActionHandlerTest.java | 15 +- .../blackbox/message/EppMessageTest.java | 38 ++- .../blackbox/metric/MetricsCollectorTest.java | 19 +- .../blackbox/testserver/TestServer.java | 4 +- .../blackbox/token/EppTokenTest.java | 15 +- .../blackbox/token/WebWhoisTokenTest.java | 15 +- proxy/build.gradle | 3 +- .../dependency-locks/testCompile.lockfile | 3 +- .../testCompileClasspath.lockfile | 3 +- .../dependency-locks/testRuntime.lockfile | 3 +- .../testRuntimeClasspath.lockfile | 3 +- .../registry/proxy/EppProtocolModuleTest.java | 27 +- .../registry/proxy/GcpJsonFormatterTest.java | 21 +- .../proxy/HealthCheckProtocolModuleTest.java | 17 +- .../proxy/HttpsRelayProtocolModuleTest.java | 13 +- .../registry/proxy/ProtocolModuleTest.java | 17 +- .../registry/proxy/ProxyModuleTest.java | 29 +- .../proxy/WebWhoisProtocolsModuleTest.java | 13 +- .../proxy/WhoisProtocolModuleTest.java | 23 +- .../handler/BackendMetricsHandlerTest.java | 27 +- .../proxy/handler/EppQuotaHandlerTest.java | 21 +- .../proxy/handler/EppServiceHandlerTest.java | 35 ++- .../handler/FrontendMetricsHandlerTest.java | 21 +- .../proxy/handler/HealthCheckHandlerTest.java | 11 +- .../handler/ProxyProtocolHandlerTest.java | 19 +- .../proxy/handler/RelayHandlerTest.java | 23 +- .../handler/WebWhoisRedirectHandlerTest.java | 33 +-- .../proxy/handler/WhoisQuotaHandlerTest.java | 21 +- .../handler/WhoisServiceHandlerTest.java | 23 +- .../proxy/metric/BackendMetricsTest.java | 23 +- .../proxy/metric/FrontendMetricsTest.java | 21 +- .../proxy/metric/MetricParametersTest.java | 23 +- .../registry/proxy/quota/QuotaConfigTest.java | 17 +- .../proxy/quota/QuotaManagerTest.java | 13 +- .../registry/proxy/quota/TokenStoreTest.java | 35 ++- 67 files changed, 358 insertions(+), 3137 deletions(-) delete mode 100644 docs/gradle/dependency-locks/annotationProcessor.lockfile delete mode 100644 docs/gradle/dependency-locks/apt.lockfile delete mode 100644 docs/gradle/dependency-locks/archives.lockfile delete mode 100644 docs/gradle/dependency-locks/buildscript-classpath.lockfile delete mode 100644 docs/gradle/dependency-locks/checkstyle.lockfile delete mode 100644 docs/gradle/dependency-locks/compile.lockfile delete mode 100644 docs/gradle/dependency-locks/compileClasspath.lockfile delete mode 100644 docs/gradle/dependency-locks/compileOnly.lockfile delete mode 100644 docs/gradle/dependency-locks/default.lockfile delete mode 100644 docs/gradle/dependency-locks/deploy_jar.lockfile delete mode 100644 docs/gradle/dependency-locks/errorprone.lockfile delete mode 100644 docs/gradle/dependency-locks/errorproneJavac.lockfile delete mode 100644 docs/gradle/dependency-locks/jacocoAgent.lockfile delete mode 100644 docs/gradle/dependency-locks/jacocoAnt.lockfile delete mode 100644 docs/gradle/dependency-locks/runtime.lockfile delete mode 100644 docs/gradle/dependency-locks/runtimeClasspath.lockfile delete mode 100644 docs/gradle/dependency-locks/testAnnotationProcessor.lockfile delete mode 100644 docs/gradle/dependency-locks/testApt.lockfile delete mode 100644 docs/gradle/dependency-locks/testCompile.lockfile delete mode 100644 docs/gradle/dependency-locks/testCompileClasspath.lockfile delete mode 100644 docs/gradle/dependency-locks/testCompileOnly.lockfile delete mode 100644 docs/gradle/dependency-locks/testRuntime.lockfile delete mode 100644 docs/gradle/dependency-locks/testRuntimeClasspath.lockfile diff --git a/dependencies.gradle b/dependencies.gradle index 26e3e22b0..69165c0e6 100644 --- a/dependencies.gradle +++ b/dependencies.gradle @@ -110,7 +110,6 @@ ext { 'org.junit.jupiter:junit-jupiter-params:5.6.2', 'org.junit.platform:junit-platform-runner:1.6.2', 'org.junit.platform:junit-platform-suite-api:1.6.2', - 'org.junit.vintage:junit-vintage-engine:5.6.2', 'org.junit-pioneer:junit-pioneer:0.7.0', 'org.apache.avro:avro:1.8.2', 'org.apache.beam:beam-runners-core-construction-java:2.16.0', diff --git a/docs/gradle/dependency-locks/annotationProcessor.lockfile b/docs/gradle/dependency-locks/annotationProcessor.lockfile deleted file mode 100644 index 0e2d9b8d4..000000000 --- a/docs/gradle/dependency-locks/annotationProcessor.lockfile +++ /dev/null @@ -1,24 +0,0 @@ -# This is a Gradle generated file for dependency locking. -# Manual edits can break the build and are not advised. -# This file is expected to be part of source control. -com.github.kevinstern:software-and-algorithms:1.0 -com.github.stephenc.jcip:jcip-annotations:1.0-1 -com.google.auto:auto-common:0.10 -com.google.code.findbugs:jFormatString:3.0.0 -com.google.code.findbugs:jsr305:3.0.2 -com.google.errorprone:error_prone_annotation:2.3.3 -com.google.errorprone:error_prone_annotations:2.3.3 -com.google.errorprone:error_prone_check_api:2.3.3 -com.google.errorprone:error_prone_core:2.3.3 -com.google.errorprone:error_prone_type_annotations:2.3.3 -com.google.guava:failureaccess:1.0.1 -com.google.guava:guava:27.0.1-jre -com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava -com.google.j2objc:j2objc-annotations:1.1 -com.google.protobuf:protobuf-java:3.4.0 -com.googlecode.java-diff-utils:diffutils:1.3.0 -org.checkerframework:checker-qual:2.5.3 -org.checkerframework:dataflow:2.5.3 -org.checkerframework:javacutil:2.5.3 -org.codehaus.mojo:animal-sniffer-annotations:1.17 -org.pcollections:pcollections:2.1.2 diff --git a/docs/gradle/dependency-locks/apt.lockfile b/docs/gradle/dependency-locks/apt.lockfile deleted file mode 100644 index 656c5dbcc..000000000 --- a/docs/gradle/dependency-locks/apt.lockfile +++ /dev/null @@ -1,3 +0,0 @@ -# This is a Gradle generated file for dependency locking. -# Manual edits can break the build and are not advised. -# This file is expected to be part of source control. diff --git a/docs/gradle/dependency-locks/archives.lockfile b/docs/gradle/dependency-locks/archives.lockfile deleted file mode 100644 index 656c5dbcc..000000000 --- a/docs/gradle/dependency-locks/archives.lockfile +++ /dev/null @@ -1,3 +0,0 @@ -# This is a Gradle generated file for dependency locking. -# Manual edits can break the build and are not advised. -# This file is expected to be part of source control. diff --git a/docs/gradle/dependency-locks/buildscript-classpath.lockfile b/docs/gradle/dependency-locks/buildscript-classpath.lockfile deleted file mode 100644 index 656c5dbcc..000000000 --- a/docs/gradle/dependency-locks/buildscript-classpath.lockfile +++ /dev/null @@ -1,3 +0,0 @@ -# This is a Gradle generated file for dependency locking. -# Manual edits can break the build and are not advised. -# This file is expected to be part of source control. diff --git a/docs/gradle/dependency-locks/checkstyle.lockfile b/docs/gradle/dependency-locks/checkstyle.lockfile deleted file mode 100644 index 1f09ae516..000000000 --- a/docs/gradle/dependency-locks/checkstyle.lockfile +++ /dev/null @@ -1,18 +0,0 @@ -# This is a Gradle generated file for dependency locking. -# Manual edits can break the build and are not advised. -# This file is expected to be part of source control. -antlr:antlr:2.7.7 -com.google.code.findbugs:jsr305:3.0.2 -com.google.errorprone:error_prone_annotations:2.3.2 -com.google.guava:failureaccess:1.0.1 -com.google.guava:guava:28.1-jre -com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava -com.google.j2objc:j2objc-annotations:1.3 -com.puppycrawl.tools:checkstyle:8.27 -commons-beanutils:commons-beanutils:1.9.4 -commons-collections:commons-collections:3.2.2 -info.picocli:picocli:4.1.1 -net.sf.saxon:Saxon-HE:9.9.1-5 -org.antlr:antlr4-runtime:4.7.2 -org.checkerframework:checker-qual:2.8.1 -org.codehaus.mojo:animal-sniffer-annotations:1.18 diff --git a/docs/gradle/dependency-locks/compile.lockfile b/docs/gradle/dependency-locks/compile.lockfile deleted file mode 100644 index 191b19c5a..000000000 --- a/docs/gradle/dependency-locks/compile.lockfile +++ /dev/null @@ -1,249 +0,0 @@ -# This is a Gradle generated file for dependency locking. -# Manual edits can break the build and are not advised. -# This file is expected to be part of source control. -androidx.annotation:annotation:1.1.0 -antlr:antlr:2.7.7 -aopalliance:aopalliance:1.0 -args4j:args4j:2.0.23 -cglib:cglib-nodep:2.2 -com.beust:jcommander:1.60 -com.fasterxml.jackson.core:jackson-annotations:2.9.10 -com.fasterxml.jackson.core:jackson-core:2.10.2 -com.fasterxml.jackson.core:jackson-databind:2.9.10 -com.fasterxml:classmate:1.5.1 -com.github.jnr:jffi:1.2.23 -com.github.jnr:jnr-a64asm:1.0.0 -com.github.jnr:jnr-constants:0.9.15 -com.github.jnr:jnr-enxio:0.26 -com.github.jnr:jnr-ffi:2.1.13 -com.github.jnr:jnr-posix:3.0.55 -com.github.jnr:jnr-unixsocket:0.30 -com.github.jnr:jnr-x86asm:1.0.2 -com.google.api-client:google-api-client-appengine:1.30.8 -com.google.api-client:google-api-client-jackson2:1.27.0 -com.google.api-client:google-api-client-java6:1.27.0 -com.google.api-client:google-api-client-servlet:1.30.8 -com.google.api-client:google-api-client:1.30.8 -com.google.api.grpc:grpc-google-cloud-bigquerystorage-v1beta1:0.44.0 -com.google.api.grpc:grpc-google-cloud-bigtable-admin-v2:0.38.0 -com.google.api.grpc:grpc-google-cloud-bigtable-v2:0.38.0 -com.google.api.grpc:grpc-google-cloud-pubsub-v1:1.43.0 -com.google.api.grpc:grpc-google-cloud-spanner-admin-database-v1:1.6.0 -com.google.api.grpc:grpc-google-cloud-spanner-admin-instance-v1:1.6.0 -com.google.api.grpc:grpc-google-cloud-spanner-v1:1.6.0 -com.google.api.grpc:grpc-google-common-protos:1.12.0 -com.google.api.grpc:proto-google-cloud-bigquerystorage-v1beta1:0.44.0 -com.google.api.grpc:proto-google-cloud-bigtable-admin-v2:0.38.0 -com.google.api.grpc:proto-google-cloud-bigtable-v2:0.44.0 -com.google.api.grpc:proto-google-cloud-datastore-v1:0.44.0 -com.google.api.grpc:proto-google-cloud-pubsub-v1:1.43.0 -com.google.api.grpc:proto-google-cloud-spanner-admin-database-v1:1.6.0 -com.google.api.grpc:proto-google-cloud-spanner-admin-instance-v1:1.6.0 -com.google.api.grpc:proto-google-cloud-spanner-v1:1.6.0 -com.google.api.grpc:proto-google-common-protos:1.12.0 -com.google.api.grpc:proto-google-iam-v1:0.12.0 -com.google.api:api-common:1.7.0 -com.google.api:gax-grpc:1.38.0 -com.google.api:gax-httpjson:0.52.0 -com.google.api:gax:1.38.0 -com.google.apis:google-api-services-admin-directory:directory_v1-rev72-1.22.0 -com.google.apis:google-api-services-appengine:v1-rev101-1.25.0 -com.google.apis:google-api-services-bigquery:v2-rev20181104-1.27.0 -com.google.apis:google-api-services-clouddebugger:v2-rev20180801-1.27.0 -com.google.apis:google-api-services-cloudkms:v1-rev12-1.22.0 -com.google.apis:google-api-services-cloudresourcemanager:v1-rev20181015-1.27.0 -com.google.apis:google-api-services-dataflow:v1b3-rev20190607-1.27.0 -com.google.apis:google-api-services-dns:v2beta1-rev6-1.22.0 -com.google.apis:google-api-services-drive:v2-rev160-1.19.1 -com.google.apis:google-api-services-groupssettings:v1-rev60-1.22.0 -com.google.apis:google-api-services-monitoring:v3-rev426-1.23.0 -com.google.apis:google-api-services-pubsub:v1-rev20181105-1.27.0 -com.google.apis:google-api-services-sheets:v4-rev483-1.22.0 -com.google.apis:google-api-services-sqladmin:v1beta4-rev20190827-1.30.1 -com.google.apis:google-api-services-storage:v1-rev20181109-1.27.0 -com.google.appengine.tools:appengine-gcs-client:0.6 -com.google.appengine.tools:appengine-mapreduce:0.9 -com.google.appengine.tools:appengine-pipeline:0.2.13 -com.google.appengine:appengine-api-1.0-sdk:1.9.48 -com.google.appengine:appengine-remote-api:1.9.48 -com.google.appengine:appengine-testing:1.9.58 -com.google.auth:google-auth-library-credentials:0.20.0 -com.google.auth:google-auth-library-oauth2-http:0.20.0 -com.google.auto.value:auto-value-annotations:1.7 -com.google.auto.value:auto-value:1.6.3 -com.google.cloud.bigdataoss:gcsio:1.9.16 -com.google.cloud.bigdataoss:util:1.9.16 -com.google.cloud.bigtable:bigtable-client-core:1.8.0 -com.google.cloud.datastore:datastore-v1-proto-client:1.6.0 -com.google.cloud.sql:jdbc-socket-factory-core:1.0.16 -com.google.cloud.sql:postgres-socket-factory:1.0.16 -com.google.cloud:google-cloud-bigquerystorage:0.79.0-alpha -com.google.cloud:google-cloud-bigtable-admin:0.73.0-alpha -com.google.cloud:google-cloud-bigtable:0.73.0-alpha -com.google.cloud:google-cloud-core-grpc:1.61.0 -com.google.cloud:google-cloud-core-http:1.55.0 -com.google.cloud:google-cloud-core:1.61.0 -com.google.cloud:google-cloud-spanner:1.6.0 -com.google.code.findbugs:jsr305:3.0.2 -com.google.code.gson:gson:2.8.5 -com.google.common.html.types:types:1.0.4 -com.google.dagger:dagger:2.28 -com.google.errorprone:error_prone_annotations:2.3.4 -com.google.flogger:flogger-system-backend:0.3.1 -com.google.flogger:flogger:0.3.1 -com.google.flogger:google-extensions:0.3.1 -com.google.guava:failureaccess:1.0.1 -com.google.guava:guava:29.0-jre -com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava -com.google.gwt:gwt-user:2.8.2 -com.google.http-client:google-http-client-appengine:1.34.1 -com.google.http-client:google-http-client-jackson2:1.34.1 -com.google.http-client:google-http-client-jackson:1.20.0 -com.google.http-client:google-http-client-protobuf:1.20.0 -com.google.http-client:google-http-client:1.34.1 -com.google.inject.extensions:guice-multibindings:4.1.0 -com.google.inject:guice:4.1.0 -com.google.j2objc:j2objc-annotations:1.3 -com.google.jsinterop:jsinterop-annotations:1.0.2 -com.google.monitoring-client:metrics:1.0.7 -com.google.monitoring-client:stackdriver:1.0.7 -com.google.oauth-client:google-oauth-client-appengine:1.30.5 -com.google.oauth-client:google-oauth-client-java6:1.28.0 -com.google.oauth-client:google-oauth-client-jetty:1.28.0 -com.google.oauth-client:google-oauth-client-servlet:1.30.5 -com.google.oauth-client:google-oauth-client:1.30.5 -com.google.protobuf.nano:protobuf-javanano:3.0.0-alpha-5 -com.google.protobuf:protobuf-java-util:3.6.1 -com.google.protobuf:protobuf-java:3.6.1 -com.google.re2j:re2j:1.1 -com.google.template:soy:2018-03-14 -com.googlecode.charts4j:charts4j:1.3 -com.googlecode.json-simple:json-simple:1.1.1 -com.ibm.icu:icu4j:57.1 -com.jcraft:jsch:0.1.55 -com.kohlschutter.junixsocket:junixsocket-common:2.0.4 -com.kohlschutter.junixsocket:junixsocket-native-common:2.0.4 -com.squareup.okhttp:okhttp:2.5.0 -com.squareup.okio:okio:1.13.0 -com.sun.istack:istack-commons-runtime:3.0.7 -com.sun.xml.fastinfoset:FastInfoset:1.2.15 -com.thoughtworks.paranamer:paranamer:2.7 -com.zaxxer:HikariCP:3.2.0 -commons-codec:commons-codec:1.11 -commons-logging:commons-logging:1.2 -dnsjava:dnsjava:2.1.7 -io.dropwizard.metrics:metrics-core:3.1.2 -io.grpc:grpc-all:1.17.1 -io.grpc:grpc-alts:1.17.1 -io.grpc:grpc-auth:1.17.1 -io.grpc:grpc-context:1.22.1 -io.grpc:grpc-core:1.17.1 -io.grpc:grpc-grpclb:1.17.1 -io.grpc:grpc-netty-shaded:1.17.1 -io.grpc:grpc-netty:1.17.1 -io.grpc:grpc-okhttp:1.17.1 -io.grpc:grpc-protobuf-lite:1.17.1 -io.grpc:grpc-protobuf-nano:1.17.1 -io.grpc:grpc-protobuf:1.17.1 -io.grpc:grpc-stub:1.17.1 -io.grpc:grpc-testing:1.17.1 -io.netty:netty-buffer:4.1.30.Final -io.netty:netty-codec-http2:4.1.30.Final -io.netty:netty-codec-http:4.1.30.Final -io.netty:netty-codec-socks:4.1.30.Final -io.netty:netty-codec:4.1.30.Final -io.netty:netty-common:4.1.30.Final -io.netty:netty-handler-proxy:4.1.30.Final -io.netty:netty-handler:4.1.30.Final -io.netty:netty-resolver:4.1.30.Final -io.netty:netty-tcnative-boringssl-static:2.0.17.Final -io.netty:netty-transport:4.1.30.Final -io.opencensus:opencensus-api:0.24.0 -io.opencensus:opencensus-contrib-grpc-metrics:0.17.0 -io.opencensus:opencensus-contrib-grpc-util:0.17.0 -io.opencensus:opencensus-contrib-http-util:0.24.0 -it.unimi.dsi:fastutil:6.5.16 -javax.activation:activation:1.1 -javax.activation:javax.activation-api:1.2.0 -javax.annotation:javax.annotation-api:1.2 -javax.annotation:jsr250-api:1.0 -javax.inject:javax.inject:1 -javax.jdo:jdo2-api:2.3-eb -javax.mail:mail:1.4 -javax.persistence:javax.persistence-api:2.2 -javax.servlet:servlet-api:2.5 -javax.transaction:transaction-api:1.1 -javax.validation:validation-api:1.0.0.GA -javax.xml.bind:jaxb-api:2.3.1 -jline:jline:1.0 -joda-time:joda-time:2.10.3 -junit:junit:4.12 -net.bytebuddy:byte-buddy:1.10.10 -net.java.dev.jna:jna-platform:5.5.0 -net.java.dev.jna:jna:5.5.0 -org.apache.avro:avro:1.8.2 -org.apache.beam:beam-model-job-management:2.16.0 -org.apache.beam:beam-model-pipeline:2.16.0 -org.apache.beam:beam-runners-core-construction-java:2.16.0 -org.apache.beam:beam-runners-google-cloud-dataflow-java:2.16.0 -org.apache.beam:beam-sdks-java-core:2.16.0 -org.apache.beam:beam-sdks-java-extensions-google-cloud-platform-core:2.16.0 -org.apache.beam:beam-sdks-java-extensions-protobuf:2.16.0 -org.apache.beam:beam-sdks-java-io-google-cloud-platform:2.16.0 -org.apache.beam:beam-vendor-bytebuddy-1_9_3:0.1 -org.apache.beam:beam-vendor-grpc-1_21_0:0.1 -org.apache.beam:beam-vendor-guava-26_0-jre:0.1 -org.apache.commons:commons-compress:1.20 -org.apache.commons:commons-lang3:3.5 -org.apache.httpcomponents:httpclient:4.5.11 -org.apache.httpcomponents:httpcore:4.4.13 -org.bouncycastle:bcpg-jdk15on:1.61 -org.bouncycastle:bcprov-jdk15on:1.61 -org.checkerframework:checker-qual:2.11.1 -org.codehaus.jackson:jackson-core-asl:1.9.13 -org.codehaus.jackson:jackson-mapper-asl:1.9.13 -org.codehaus.mojo:animal-sniffer-annotations:1.17 -org.dom4j:dom4j:2.1.3 -org.easymock:easymock:3.0 -org.flywaydb:flyway-core:5.2.4 -org.glassfish.jaxb:jaxb-runtime:2.3.1 -org.glassfish.jaxb:txw2:2.3.1 -org.hamcrest:hamcrest-core:1.3 -org.hibernate.common:hibernate-commons-annotations:5.1.0.Final -org.hibernate:hibernate-core:5.4.17.Final -org.hibernate:hibernate-hikaricp:5.4.17.Final -org.javassist:javassist:3.24.0-GA -org.jboss.logging:jboss-logging:3.3.2.Final -org.jboss.spec.javax.transaction:jboss-transaction-api_1.2_spec:1.1.1.Final -org.jboss:jandex:2.1.3.Final -org.jetbrains:annotations:19.0.0 -org.joda:joda-money:1.0.1 -org.json:json:20160810 -org.jvnet.staxex:stax-ex:1.8 -org.mockito:mockito-core:1.9.5 -org.mortbay.jetty:jetty-util:6.1.26 -org.mortbay.jetty:jetty:6.1.26 -org.objenesis:objenesis:1.2 -org.ow2.asm:asm-analysis:8.0.1 -org.ow2.asm:asm-commons:7.1 -org.ow2.asm:asm-tree:8.0.1 -org.ow2.asm:asm-util:8.0.1 -org.ow2.asm:asm:8.0.1 -org.postgresql:postgresql:42.2.14 -org.rnorth.duct-tape:duct-tape:1.0.8 -org.rnorth.visible-assertions:visible-assertions:2.1.2 -org.rnorth:tcp-unix-socket-proxy:1.0.2 -org.scijava:native-lib-loader:2.0.2 -org.slf4j:slf4j-api:1.7.30 -org.slf4j:slf4j-jdk14:1.7.28 -org.testcontainers:database-commons:1.14.3 -org.testcontainers:jdbc:1.14.3 -org.testcontainers:postgresql:1.14.3 -org.testcontainers:testcontainers:1.14.3 -org.threeten:threetenbp:1.3.3 -org.tukaani:xz:1.8 -org.w3c.css:sac:1.3 -org.xerial.snappy:snappy-java:1.1.4 -org.yaml:snakeyaml:1.17 -xerces:xmlParserAPIs:2.6.2 -xpp3:xpp3:1.1.4c diff --git a/docs/gradle/dependency-locks/compileClasspath.lockfile b/docs/gradle/dependency-locks/compileClasspath.lockfile deleted file mode 100644 index 5532f5f43..000000000 --- a/docs/gradle/dependency-locks/compileClasspath.lockfile +++ /dev/null @@ -1,243 +0,0 @@ -# This is a Gradle generated file for dependency locking. -# Manual edits can break the build and are not advised. -# This file is expected to be part of source control. -androidx.annotation:annotation:1.1.0 -antlr:antlr:2.7.7 -aopalliance:aopalliance:1.0 -args4j:args4j:2.0.23 -cglib:cglib-nodep:2.2 -com.beust:jcommander:1.60 -com.fasterxml.jackson.core:jackson-annotations:2.9.10 -com.fasterxml.jackson.core:jackson-core:2.10.2 -com.fasterxml.jackson.core:jackson-databind:2.9.10 -com.fasterxml:classmate:1.5.1 -com.github.jnr:jffi:1.2.23 -com.github.jnr:jnr-a64asm:1.0.0 -com.github.jnr:jnr-constants:0.9.15 -com.github.jnr:jnr-enxio:0.26 -com.github.jnr:jnr-ffi:2.1.13 -com.github.jnr:jnr-posix:3.0.55 -com.github.jnr:jnr-unixsocket:0.30 -com.github.jnr:jnr-x86asm:1.0.2 -com.google.api-client:google-api-client-appengine:1.30.8 -com.google.api-client:google-api-client-jackson2:1.27.0 -com.google.api-client:google-api-client-java6:1.27.0 -com.google.api-client:google-api-client-servlet:1.30.8 -com.google.api-client:google-api-client:1.30.8 -com.google.api.grpc:grpc-google-cloud-bigquerystorage-v1beta1:0.44.0 -com.google.api.grpc:grpc-google-cloud-bigtable-admin-v2:0.38.0 -com.google.api.grpc:grpc-google-cloud-bigtable-v2:0.38.0 -com.google.api.grpc:grpc-google-cloud-pubsub-v1:1.43.0 -com.google.api.grpc:grpc-google-cloud-spanner-admin-database-v1:1.6.0 -com.google.api.grpc:grpc-google-cloud-spanner-admin-instance-v1:1.6.0 -com.google.api.grpc:grpc-google-cloud-spanner-v1:1.6.0 -com.google.api.grpc:grpc-google-common-protos:1.12.0 -com.google.api.grpc:proto-google-cloud-bigquerystorage-v1beta1:0.44.0 -com.google.api.grpc:proto-google-cloud-bigtable-admin-v2:0.38.0 -com.google.api.grpc:proto-google-cloud-bigtable-v2:0.44.0 -com.google.api.grpc:proto-google-cloud-datastore-v1:0.44.0 -com.google.api.grpc:proto-google-cloud-pubsub-v1:1.43.0 -com.google.api.grpc:proto-google-cloud-spanner-admin-database-v1:1.6.0 -com.google.api.grpc:proto-google-cloud-spanner-admin-instance-v1:1.6.0 -com.google.api.grpc:proto-google-cloud-spanner-v1:1.6.0 -com.google.api.grpc:proto-google-common-protos:1.12.0 -com.google.api.grpc:proto-google-iam-v1:0.12.0 -com.google.api:api-common:1.7.0 -com.google.api:gax-grpc:1.38.0 -com.google.api:gax-httpjson:0.52.0 -com.google.api:gax:1.38.0 -com.google.apis:google-api-services-admin-directory:directory_v1-rev72-1.22.0 -com.google.apis:google-api-services-appengine:v1-rev101-1.25.0 -com.google.apis:google-api-services-bigquery:v2-rev20181104-1.27.0 -com.google.apis:google-api-services-clouddebugger:v2-rev20180801-1.27.0 -com.google.apis:google-api-services-cloudkms:v1-rev12-1.22.0 -com.google.apis:google-api-services-cloudresourcemanager:v1-rev20181015-1.27.0 -com.google.apis:google-api-services-dataflow:v1b3-rev20190607-1.27.0 -com.google.apis:google-api-services-dns:v2beta1-rev6-1.22.0 -com.google.apis:google-api-services-drive:v2-rev160-1.19.1 -com.google.apis:google-api-services-groupssettings:v1-rev60-1.22.0 -com.google.apis:google-api-services-monitoring:v3-rev426-1.23.0 -com.google.apis:google-api-services-pubsub:v1-rev20181105-1.27.0 -com.google.apis:google-api-services-sheets:v4-rev483-1.22.0 -com.google.apis:google-api-services-sqladmin:v1beta4-rev20190827-1.30.1 -com.google.apis:google-api-services-storage:v1-rev20181109-1.27.0 -com.google.appengine.tools:appengine-gcs-client:0.6 -com.google.appengine.tools:appengine-mapreduce:0.9 -com.google.appengine.tools:appengine-pipeline:0.2.13 -com.google.appengine:appengine-api-1.0-sdk:1.9.48 -com.google.appengine:appengine-remote-api:1.9.48 -com.google.appengine:appengine-testing:1.9.58 -com.google.auth:google-auth-library-credentials:0.20.0 -com.google.auth:google-auth-library-oauth2-http:0.20.0 -com.google.auto.value:auto-value-annotations:1.7 -com.google.auto.value:auto-value:1.6.3 -com.google.cloud.bigdataoss:gcsio:1.9.16 -com.google.cloud.bigdataoss:util:1.9.16 -com.google.cloud.bigtable:bigtable-client-core:1.8.0 -com.google.cloud.datastore:datastore-v1-proto-client:1.6.0 -com.google.cloud.sql:jdbc-socket-factory-core:1.0.16 -com.google.cloud:google-cloud-bigquerystorage:0.79.0-alpha -com.google.cloud:google-cloud-bigtable-admin:0.73.0-alpha -com.google.cloud:google-cloud-bigtable:0.73.0-alpha -com.google.cloud:google-cloud-core-grpc:1.61.0 -com.google.cloud:google-cloud-core-http:1.55.0 -com.google.cloud:google-cloud-core:1.61.0 -com.google.cloud:google-cloud-spanner:1.6.0 -com.google.code.findbugs:jsr305:3.0.2 -com.google.code.gson:gson:2.8.5 -com.google.common.html.types:types:1.0.4 -com.google.dagger:dagger:2.28 -com.google.errorprone:error_prone_annotations:2.3.4 -com.google.flogger:flogger-system-backend:0.1 -com.google.flogger:flogger:0.3.1 -com.google.flogger:google-extensions:0.3.1 -com.google.guava:failureaccess:1.0.1 -com.google.guava:guava:29.0-jre -com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava -com.google.gwt:gwt-user:2.8.2 -com.google.http-client:google-http-client-appengine:1.34.1 -com.google.http-client:google-http-client-jackson2:1.34.1 -com.google.http-client:google-http-client-jackson:1.20.0 -com.google.http-client:google-http-client-protobuf:1.20.0 -com.google.http-client:google-http-client:1.34.1 -com.google.inject.extensions:guice-multibindings:4.1.0 -com.google.inject:guice:4.1.0 -com.google.j2objc:j2objc-annotations:1.3 -com.google.jsinterop:jsinterop-annotations:1.0.2 -com.google.monitoring-client:metrics:1.0.7 -com.google.monitoring-client:stackdriver:1.0.7 -com.google.oauth-client:google-oauth-client-appengine:1.30.5 -com.google.oauth-client:google-oauth-client-java6:1.28.0 -com.google.oauth-client:google-oauth-client-jetty:1.28.0 -com.google.oauth-client:google-oauth-client-servlet:1.30.5 -com.google.oauth-client:google-oauth-client:1.30.5 -com.google.protobuf.nano:protobuf-javanano:3.0.0-alpha-5 -com.google.protobuf:protobuf-java-util:3.6.1 -com.google.protobuf:protobuf-java:3.6.1 -com.google.re2j:re2j:1.1 -com.google.template:soy:2018-03-14 -com.googlecode.charts4j:charts4j:1.3 -com.googlecode.json-simple:json-simple:1.1.1 -com.ibm.icu:icu4j:57.1 -com.jcraft:jsch:0.1.55 -com.kohlschutter.junixsocket:junixsocket-common:2.0.4 -com.kohlschutter.junixsocket:junixsocket-native-common:2.0.4 -com.squareup.okhttp:okhttp:2.5.0 -com.squareup.okio:okio:1.13.0 -com.sun.istack:istack-commons-runtime:3.0.7 -com.sun.xml.fastinfoset:FastInfoset:1.2.15 -com.thoughtworks.paranamer:paranamer:2.7 -com.zaxxer:HikariCP:3.2.0 -commons-codec:commons-codec:1.11 -commons-logging:commons-logging:1.2 -dnsjava:dnsjava:2.1.7 -io.dropwizard.metrics:metrics-core:3.1.2 -io.grpc:grpc-all:1.17.1 -io.grpc:grpc-alts:1.17.1 -io.grpc:grpc-auth:1.17.1 -io.grpc:grpc-context:1.22.1 -io.grpc:grpc-core:1.17.1 -io.grpc:grpc-netty-shaded:1.17.1 -io.grpc:grpc-netty:1.17.1 -io.grpc:grpc-okhttp:1.17.1 -io.grpc:grpc-protobuf-lite:1.17.1 -io.grpc:grpc-protobuf-nano:1.17.1 -io.grpc:grpc-protobuf:1.17.1 -io.grpc:grpc-stub:1.17.1 -io.grpc:grpc-testing:1.17.1 -io.netty:netty-buffer:4.1.30.Final -io.netty:netty-codec-http2:4.1.30.Final -io.netty:netty-codec-http:4.1.30.Final -io.netty:netty-codec-socks:4.1.30.Final -io.netty:netty-codec:4.1.30.Final -io.netty:netty-common:4.1.30.Final -io.netty:netty-handler-proxy:4.1.30.Final -io.netty:netty-handler:4.1.30.Final -io.netty:netty-resolver:4.1.30.Final -io.netty:netty-tcnative-boringssl-static:2.0.17.Final -io.netty:netty-transport:4.1.30.Final -io.opencensus:opencensus-api:0.24.0 -io.opencensus:opencensus-contrib-grpc-metrics:0.17.0 -io.opencensus:opencensus-contrib-grpc-util:0.17.0 -io.opencensus:opencensus-contrib-http-util:0.24.0 -it.unimi.dsi:fastutil:6.5.16 -javax.activation:activation:1.1 -javax.activation:javax.activation-api:1.2.0 -javax.annotation:javax.annotation-api:1.2 -javax.annotation:jsr250-api:1.0 -javax.inject:javax.inject:1 -javax.jdo:jdo2-api:2.3-eb -javax.mail:mail:1.4 -javax.persistence:javax.persistence-api:2.2 -javax.servlet:servlet-api:2.5 -javax.transaction:transaction-api:1.1 -javax.validation:validation-api:1.0.0.GA -javax.xml.bind:jaxb-api:2.3.1 -jline:jline:1.0 -joda-time:joda-time:2.10.3 -net.bytebuddy:byte-buddy:1.10.10 -net.java.dev.jna:jna-platform:5.5.0 -net.java.dev.jna:jna:5.5.0 -org.apache.avro:avro:1.8.2 -org.apache.beam:beam-model-job-management:2.16.0 -org.apache.beam:beam-model-pipeline:2.16.0 -org.apache.beam:beam-runners-core-construction-java:2.16.0 -org.apache.beam:beam-runners-google-cloud-dataflow-java:2.16.0 -org.apache.beam:beam-sdks-java-core:2.16.0 -org.apache.beam:beam-sdks-java-extensions-google-cloud-platform-core:2.16.0 -org.apache.beam:beam-sdks-java-extensions-protobuf:2.16.0 -org.apache.beam:beam-sdks-java-io-google-cloud-platform:2.16.0 -org.apache.beam:beam-vendor-bytebuddy-1_9_3:0.1 -org.apache.beam:beam-vendor-grpc-1_21_0:0.1 -org.apache.beam:beam-vendor-guava-26_0-jre:0.1 -org.apache.commons:commons-compress:1.20 -org.apache.commons:commons-lang3:3.5 -org.apache.httpcomponents:httpclient:4.5.11 -org.apache.httpcomponents:httpcore:4.4.13 -org.bouncycastle:bcpg-jdk15on:1.61 -org.bouncycastle:bcprov-jdk15on:1.61 -org.checkerframework:checker-qual:2.11.1 -org.codehaus.jackson:jackson-core-asl:1.9.13 -org.codehaus.jackson:jackson-mapper-asl:1.9.13 -org.codehaus.mojo:animal-sniffer-annotations:1.17 -org.dom4j:dom4j:2.1.3 -org.easymock:easymock:3.0 -org.flywaydb:flyway-core:5.2.4 -org.glassfish.jaxb:jaxb-runtime:2.3.1 -org.glassfish.jaxb:txw2:2.3.1 -org.hibernate.common:hibernate-commons-annotations:5.1.0.Final -org.hibernate:hibernate-core:5.4.17.Final -org.hibernate:hibernate-hikaricp:5.4.17.Final -org.javassist:javassist:3.24.0-GA -org.jboss.logging:jboss-logging:3.3.2.Final -org.jboss.spec.javax.transaction:jboss-transaction-api_1.2_spec:1.1.1.Final -org.jboss:jandex:2.1.3.Final -org.jetbrains:annotations:19.0.0 -org.joda:joda-money:1.0.1 -org.json:json:20160810 -org.jvnet.staxex:stax-ex:1.8 -org.mortbay.jetty:jetty-util:6.1.26 -org.mortbay.jetty:jetty:6.1.26 -org.objenesis:objenesis:1.2 -org.ow2.asm:asm-analysis:8.0.1 -org.ow2.asm:asm-commons:7.1 -org.ow2.asm:asm-tree:8.0.1 -org.ow2.asm:asm-util:8.0.1 -org.ow2.asm:asm:8.0.1 -org.postgresql:postgresql:42.2.14 -org.rnorth.duct-tape:duct-tape:1.0.8 -org.rnorth.visible-assertions:visible-assertions:2.1.2 -org.rnorth:tcp-unix-socket-proxy:1.0.2 -org.scijava:native-lib-loader:2.0.2 -org.slf4j:slf4j-api:1.7.30 -org.testcontainers:database-commons:1.14.3 -org.testcontainers:jdbc:1.14.3 -org.testcontainers:postgresql:1.14.3 -org.testcontainers:testcontainers:1.14.3 -org.threeten:threetenbp:1.3.3 -org.tukaani:xz:1.8 -org.w3c.css:sac:1.3 -org.xerial.snappy:snappy-java:1.1.4 -org.yaml:snakeyaml:1.17 -xerces:xmlParserAPIs:2.6.2 -xpp3:xpp3:1.1.4c diff --git a/docs/gradle/dependency-locks/compileOnly.lockfile b/docs/gradle/dependency-locks/compileOnly.lockfile deleted file mode 100644 index 656c5dbcc..000000000 --- a/docs/gradle/dependency-locks/compileOnly.lockfile +++ /dev/null @@ -1,3 +0,0 @@ -# This is a Gradle generated file for dependency locking. -# Manual edits can break the build and are not advised. -# This file is expected to be part of source control. diff --git a/docs/gradle/dependency-locks/default.lockfile b/docs/gradle/dependency-locks/default.lockfile deleted file mode 100644 index 191b19c5a..000000000 --- a/docs/gradle/dependency-locks/default.lockfile +++ /dev/null @@ -1,249 +0,0 @@ -# This is a Gradle generated file for dependency locking. -# Manual edits can break the build and are not advised. -# This file is expected to be part of source control. -androidx.annotation:annotation:1.1.0 -antlr:antlr:2.7.7 -aopalliance:aopalliance:1.0 -args4j:args4j:2.0.23 -cglib:cglib-nodep:2.2 -com.beust:jcommander:1.60 -com.fasterxml.jackson.core:jackson-annotations:2.9.10 -com.fasterxml.jackson.core:jackson-core:2.10.2 -com.fasterxml.jackson.core:jackson-databind:2.9.10 -com.fasterxml:classmate:1.5.1 -com.github.jnr:jffi:1.2.23 -com.github.jnr:jnr-a64asm:1.0.0 -com.github.jnr:jnr-constants:0.9.15 -com.github.jnr:jnr-enxio:0.26 -com.github.jnr:jnr-ffi:2.1.13 -com.github.jnr:jnr-posix:3.0.55 -com.github.jnr:jnr-unixsocket:0.30 -com.github.jnr:jnr-x86asm:1.0.2 -com.google.api-client:google-api-client-appengine:1.30.8 -com.google.api-client:google-api-client-jackson2:1.27.0 -com.google.api-client:google-api-client-java6:1.27.0 -com.google.api-client:google-api-client-servlet:1.30.8 -com.google.api-client:google-api-client:1.30.8 -com.google.api.grpc:grpc-google-cloud-bigquerystorage-v1beta1:0.44.0 -com.google.api.grpc:grpc-google-cloud-bigtable-admin-v2:0.38.0 -com.google.api.grpc:grpc-google-cloud-bigtable-v2:0.38.0 -com.google.api.grpc:grpc-google-cloud-pubsub-v1:1.43.0 -com.google.api.grpc:grpc-google-cloud-spanner-admin-database-v1:1.6.0 -com.google.api.grpc:grpc-google-cloud-spanner-admin-instance-v1:1.6.0 -com.google.api.grpc:grpc-google-cloud-spanner-v1:1.6.0 -com.google.api.grpc:grpc-google-common-protos:1.12.0 -com.google.api.grpc:proto-google-cloud-bigquerystorage-v1beta1:0.44.0 -com.google.api.grpc:proto-google-cloud-bigtable-admin-v2:0.38.0 -com.google.api.grpc:proto-google-cloud-bigtable-v2:0.44.0 -com.google.api.grpc:proto-google-cloud-datastore-v1:0.44.0 -com.google.api.grpc:proto-google-cloud-pubsub-v1:1.43.0 -com.google.api.grpc:proto-google-cloud-spanner-admin-database-v1:1.6.0 -com.google.api.grpc:proto-google-cloud-spanner-admin-instance-v1:1.6.0 -com.google.api.grpc:proto-google-cloud-spanner-v1:1.6.0 -com.google.api.grpc:proto-google-common-protos:1.12.0 -com.google.api.grpc:proto-google-iam-v1:0.12.0 -com.google.api:api-common:1.7.0 -com.google.api:gax-grpc:1.38.0 -com.google.api:gax-httpjson:0.52.0 -com.google.api:gax:1.38.0 -com.google.apis:google-api-services-admin-directory:directory_v1-rev72-1.22.0 -com.google.apis:google-api-services-appengine:v1-rev101-1.25.0 -com.google.apis:google-api-services-bigquery:v2-rev20181104-1.27.0 -com.google.apis:google-api-services-clouddebugger:v2-rev20180801-1.27.0 -com.google.apis:google-api-services-cloudkms:v1-rev12-1.22.0 -com.google.apis:google-api-services-cloudresourcemanager:v1-rev20181015-1.27.0 -com.google.apis:google-api-services-dataflow:v1b3-rev20190607-1.27.0 -com.google.apis:google-api-services-dns:v2beta1-rev6-1.22.0 -com.google.apis:google-api-services-drive:v2-rev160-1.19.1 -com.google.apis:google-api-services-groupssettings:v1-rev60-1.22.0 -com.google.apis:google-api-services-monitoring:v3-rev426-1.23.0 -com.google.apis:google-api-services-pubsub:v1-rev20181105-1.27.0 -com.google.apis:google-api-services-sheets:v4-rev483-1.22.0 -com.google.apis:google-api-services-sqladmin:v1beta4-rev20190827-1.30.1 -com.google.apis:google-api-services-storage:v1-rev20181109-1.27.0 -com.google.appengine.tools:appengine-gcs-client:0.6 -com.google.appengine.tools:appengine-mapreduce:0.9 -com.google.appengine.tools:appengine-pipeline:0.2.13 -com.google.appengine:appengine-api-1.0-sdk:1.9.48 -com.google.appengine:appengine-remote-api:1.9.48 -com.google.appengine:appengine-testing:1.9.58 -com.google.auth:google-auth-library-credentials:0.20.0 -com.google.auth:google-auth-library-oauth2-http:0.20.0 -com.google.auto.value:auto-value-annotations:1.7 -com.google.auto.value:auto-value:1.6.3 -com.google.cloud.bigdataoss:gcsio:1.9.16 -com.google.cloud.bigdataoss:util:1.9.16 -com.google.cloud.bigtable:bigtable-client-core:1.8.0 -com.google.cloud.datastore:datastore-v1-proto-client:1.6.0 -com.google.cloud.sql:jdbc-socket-factory-core:1.0.16 -com.google.cloud.sql:postgres-socket-factory:1.0.16 -com.google.cloud:google-cloud-bigquerystorage:0.79.0-alpha -com.google.cloud:google-cloud-bigtable-admin:0.73.0-alpha -com.google.cloud:google-cloud-bigtable:0.73.0-alpha -com.google.cloud:google-cloud-core-grpc:1.61.0 -com.google.cloud:google-cloud-core-http:1.55.0 -com.google.cloud:google-cloud-core:1.61.0 -com.google.cloud:google-cloud-spanner:1.6.0 -com.google.code.findbugs:jsr305:3.0.2 -com.google.code.gson:gson:2.8.5 -com.google.common.html.types:types:1.0.4 -com.google.dagger:dagger:2.28 -com.google.errorprone:error_prone_annotations:2.3.4 -com.google.flogger:flogger-system-backend:0.3.1 -com.google.flogger:flogger:0.3.1 -com.google.flogger:google-extensions:0.3.1 -com.google.guava:failureaccess:1.0.1 -com.google.guava:guava:29.0-jre -com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava -com.google.gwt:gwt-user:2.8.2 -com.google.http-client:google-http-client-appengine:1.34.1 -com.google.http-client:google-http-client-jackson2:1.34.1 -com.google.http-client:google-http-client-jackson:1.20.0 -com.google.http-client:google-http-client-protobuf:1.20.0 -com.google.http-client:google-http-client:1.34.1 -com.google.inject.extensions:guice-multibindings:4.1.0 -com.google.inject:guice:4.1.0 -com.google.j2objc:j2objc-annotations:1.3 -com.google.jsinterop:jsinterop-annotations:1.0.2 -com.google.monitoring-client:metrics:1.0.7 -com.google.monitoring-client:stackdriver:1.0.7 -com.google.oauth-client:google-oauth-client-appengine:1.30.5 -com.google.oauth-client:google-oauth-client-java6:1.28.0 -com.google.oauth-client:google-oauth-client-jetty:1.28.0 -com.google.oauth-client:google-oauth-client-servlet:1.30.5 -com.google.oauth-client:google-oauth-client:1.30.5 -com.google.protobuf.nano:protobuf-javanano:3.0.0-alpha-5 -com.google.protobuf:protobuf-java-util:3.6.1 -com.google.protobuf:protobuf-java:3.6.1 -com.google.re2j:re2j:1.1 -com.google.template:soy:2018-03-14 -com.googlecode.charts4j:charts4j:1.3 -com.googlecode.json-simple:json-simple:1.1.1 -com.ibm.icu:icu4j:57.1 -com.jcraft:jsch:0.1.55 -com.kohlschutter.junixsocket:junixsocket-common:2.0.4 -com.kohlschutter.junixsocket:junixsocket-native-common:2.0.4 -com.squareup.okhttp:okhttp:2.5.0 -com.squareup.okio:okio:1.13.0 -com.sun.istack:istack-commons-runtime:3.0.7 -com.sun.xml.fastinfoset:FastInfoset:1.2.15 -com.thoughtworks.paranamer:paranamer:2.7 -com.zaxxer:HikariCP:3.2.0 -commons-codec:commons-codec:1.11 -commons-logging:commons-logging:1.2 -dnsjava:dnsjava:2.1.7 -io.dropwizard.metrics:metrics-core:3.1.2 -io.grpc:grpc-all:1.17.1 -io.grpc:grpc-alts:1.17.1 -io.grpc:grpc-auth:1.17.1 -io.grpc:grpc-context:1.22.1 -io.grpc:grpc-core:1.17.1 -io.grpc:grpc-grpclb:1.17.1 -io.grpc:grpc-netty-shaded:1.17.1 -io.grpc:grpc-netty:1.17.1 -io.grpc:grpc-okhttp:1.17.1 -io.grpc:grpc-protobuf-lite:1.17.1 -io.grpc:grpc-protobuf-nano:1.17.1 -io.grpc:grpc-protobuf:1.17.1 -io.grpc:grpc-stub:1.17.1 -io.grpc:grpc-testing:1.17.1 -io.netty:netty-buffer:4.1.30.Final -io.netty:netty-codec-http2:4.1.30.Final -io.netty:netty-codec-http:4.1.30.Final -io.netty:netty-codec-socks:4.1.30.Final -io.netty:netty-codec:4.1.30.Final -io.netty:netty-common:4.1.30.Final -io.netty:netty-handler-proxy:4.1.30.Final -io.netty:netty-handler:4.1.30.Final -io.netty:netty-resolver:4.1.30.Final -io.netty:netty-tcnative-boringssl-static:2.0.17.Final -io.netty:netty-transport:4.1.30.Final -io.opencensus:opencensus-api:0.24.0 -io.opencensus:opencensus-contrib-grpc-metrics:0.17.0 -io.opencensus:opencensus-contrib-grpc-util:0.17.0 -io.opencensus:opencensus-contrib-http-util:0.24.0 -it.unimi.dsi:fastutil:6.5.16 -javax.activation:activation:1.1 -javax.activation:javax.activation-api:1.2.0 -javax.annotation:javax.annotation-api:1.2 -javax.annotation:jsr250-api:1.0 -javax.inject:javax.inject:1 -javax.jdo:jdo2-api:2.3-eb -javax.mail:mail:1.4 -javax.persistence:javax.persistence-api:2.2 -javax.servlet:servlet-api:2.5 -javax.transaction:transaction-api:1.1 -javax.validation:validation-api:1.0.0.GA -javax.xml.bind:jaxb-api:2.3.1 -jline:jline:1.0 -joda-time:joda-time:2.10.3 -junit:junit:4.12 -net.bytebuddy:byte-buddy:1.10.10 -net.java.dev.jna:jna-platform:5.5.0 -net.java.dev.jna:jna:5.5.0 -org.apache.avro:avro:1.8.2 -org.apache.beam:beam-model-job-management:2.16.0 -org.apache.beam:beam-model-pipeline:2.16.0 -org.apache.beam:beam-runners-core-construction-java:2.16.0 -org.apache.beam:beam-runners-google-cloud-dataflow-java:2.16.0 -org.apache.beam:beam-sdks-java-core:2.16.0 -org.apache.beam:beam-sdks-java-extensions-google-cloud-platform-core:2.16.0 -org.apache.beam:beam-sdks-java-extensions-protobuf:2.16.0 -org.apache.beam:beam-sdks-java-io-google-cloud-platform:2.16.0 -org.apache.beam:beam-vendor-bytebuddy-1_9_3:0.1 -org.apache.beam:beam-vendor-grpc-1_21_0:0.1 -org.apache.beam:beam-vendor-guava-26_0-jre:0.1 -org.apache.commons:commons-compress:1.20 -org.apache.commons:commons-lang3:3.5 -org.apache.httpcomponents:httpclient:4.5.11 -org.apache.httpcomponents:httpcore:4.4.13 -org.bouncycastle:bcpg-jdk15on:1.61 -org.bouncycastle:bcprov-jdk15on:1.61 -org.checkerframework:checker-qual:2.11.1 -org.codehaus.jackson:jackson-core-asl:1.9.13 -org.codehaus.jackson:jackson-mapper-asl:1.9.13 -org.codehaus.mojo:animal-sniffer-annotations:1.17 -org.dom4j:dom4j:2.1.3 -org.easymock:easymock:3.0 -org.flywaydb:flyway-core:5.2.4 -org.glassfish.jaxb:jaxb-runtime:2.3.1 -org.glassfish.jaxb:txw2:2.3.1 -org.hamcrest:hamcrest-core:1.3 -org.hibernate.common:hibernate-commons-annotations:5.1.0.Final -org.hibernate:hibernate-core:5.4.17.Final -org.hibernate:hibernate-hikaricp:5.4.17.Final -org.javassist:javassist:3.24.0-GA -org.jboss.logging:jboss-logging:3.3.2.Final -org.jboss.spec.javax.transaction:jboss-transaction-api_1.2_spec:1.1.1.Final -org.jboss:jandex:2.1.3.Final -org.jetbrains:annotations:19.0.0 -org.joda:joda-money:1.0.1 -org.json:json:20160810 -org.jvnet.staxex:stax-ex:1.8 -org.mockito:mockito-core:1.9.5 -org.mortbay.jetty:jetty-util:6.1.26 -org.mortbay.jetty:jetty:6.1.26 -org.objenesis:objenesis:1.2 -org.ow2.asm:asm-analysis:8.0.1 -org.ow2.asm:asm-commons:7.1 -org.ow2.asm:asm-tree:8.0.1 -org.ow2.asm:asm-util:8.0.1 -org.ow2.asm:asm:8.0.1 -org.postgresql:postgresql:42.2.14 -org.rnorth.duct-tape:duct-tape:1.0.8 -org.rnorth.visible-assertions:visible-assertions:2.1.2 -org.rnorth:tcp-unix-socket-proxy:1.0.2 -org.scijava:native-lib-loader:2.0.2 -org.slf4j:slf4j-api:1.7.30 -org.slf4j:slf4j-jdk14:1.7.28 -org.testcontainers:database-commons:1.14.3 -org.testcontainers:jdbc:1.14.3 -org.testcontainers:postgresql:1.14.3 -org.testcontainers:testcontainers:1.14.3 -org.threeten:threetenbp:1.3.3 -org.tukaani:xz:1.8 -org.w3c.css:sac:1.3 -org.xerial.snappy:snappy-java:1.1.4 -org.yaml:snakeyaml:1.17 -xerces:xmlParserAPIs:2.6.2 -xpp3:xpp3:1.1.4c diff --git a/docs/gradle/dependency-locks/deploy_jar.lockfile b/docs/gradle/dependency-locks/deploy_jar.lockfile deleted file mode 100644 index 47c2875d9..000000000 --- a/docs/gradle/dependency-locks/deploy_jar.lockfile +++ /dev/null @@ -1,246 +0,0 @@ -# This is a Gradle generated file for dependency locking. -# Manual edits can break the build and are not advised. -# This file is expected to be part of source control. -androidx.annotation:annotation:1.1.0 -antlr:antlr:2.7.7 -aopalliance:aopalliance:1.0 -args4j:args4j:2.0.23 -cglib:cglib-nodep:2.2 -com.beust:jcommander:1.60 -com.fasterxml.jackson.core:jackson-annotations:2.9.10 -com.fasterxml.jackson.core:jackson-core:2.10.2 -com.fasterxml.jackson.core:jackson-databind:2.9.10 -com.fasterxml:classmate:1.5.1 -com.github.jnr:jffi:1.2.23 -com.github.jnr:jnr-a64asm:1.0.0 -com.github.jnr:jnr-constants:0.9.15 -com.github.jnr:jnr-enxio:0.26 -com.github.jnr:jnr-ffi:2.1.13 -com.github.jnr:jnr-posix:3.0.55 -com.github.jnr:jnr-unixsocket:0.30 -com.github.jnr:jnr-x86asm:1.0.2 -com.google.api-client:google-api-client-appengine:1.30.8 -com.google.api-client:google-api-client-jackson2:1.27.0 -com.google.api-client:google-api-client-java6:1.27.0 -com.google.api-client:google-api-client-servlet:1.30.8 -com.google.api-client:google-api-client:1.30.8 -com.google.api.grpc:grpc-google-cloud-bigquerystorage-v1beta1:0.44.0 -com.google.api.grpc:grpc-google-cloud-bigtable-admin-v2:0.38.0 -com.google.api.grpc:grpc-google-cloud-bigtable-v2:0.38.0 -com.google.api.grpc:grpc-google-cloud-pubsub-v1:1.43.0 -com.google.api.grpc:grpc-google-cloud-spanner-admin-database-v1:1.6.0 -com.google.api.grpc:grpc-google-cloud-spanner-admin-instance-v1:1.6.0 -com.google.api.grpc:grpc-google-cloud-spanner-v1:1.6.0 -com.google.api.grpc:grpc-google-common-protos:1.12.0 -com.google.api.grpc:proto-google-cloud-bigquerystorage-v1beta1:0.44.0 -com.google.api.grpc:proto-google-cloud-bigtable-admin-v2:0.38.0 -com.google.api.grpc:proto-google-cloud-bigtable-v2:0.44.0 -com.google.api.grpc:proto-google-cloud-datastore-v1:0.44.0 -com.google.api.grpc:proto-google-cloud-pubsub-v1:1.43.0 -com.google.api.grpc:proto-google-cloud-spanner-admin-database-v1:1.6.0 -com.google.api.grpc:proto-google-cloud-spanner-admin-instance-v1:1.6.0 -com.google.api.grpc:proto-google-cloud-spanner-v1:1.6.0 -com.google.api.grpc:proto-google-common-protos:1.12.0 -com.google.api.grpc:proto-google-iam-v1:0.12.0 -com.google.api:api-common:1.7.0 -com.google.api:gax-grpc:1.38.0 -com.google.api:gax-httpjson:0.52.0 -com.google.api:gax:1.38.0 -com.google.apis:google-api-services-admin-directory:directory_v1-rev72-1.22.0 -com.google.apis:google-api-services-appengine:v1-rev101-1.25.0 -com.google.apis:google-api-services-bigquery:v2-rev20181104-1.27.0 -com.google.apis:google-api-services-clouddebugger:v2-rev20180801-1.27.0 -com.google.apis:google-api-services-cloudkms:v1-rev12-1.22.0 -com.google.apis:google-api-services-cloudresourcemanager:v1-rev20181015-1.27.0 -com.google.apis:google-api-services-dataflow:v1b3-rev20190607-1.27.0 -com.google.apis:google-api-services-dns:v2beta1-rev6-1.22.0 -com.google.apis:google-api-services-drive:v2-rev160-1.19.1 -com.google.apis:google-api-services-groupssettings:v1-rev60-1.22.0 -com.google.apis:google-api-services-monitoring:v3-rev426-1.23.0 -com.google.apis:google-api-services-pubsub:v1-rev20181105-1.27.0 -com.google.apis:google-api-services-sheets:v4-rev483-1.22.0 -com.google.apis:google-api-services-sqladmin:v1beta4-rev20190827-1.30.1 -com.google.apis:google-api-services-storage:v1-rev20181109-1.27.0 -com.google.appengine.tools:appengine-gcs-client:0.6 -com.google.appengine.tools:appengine-mapreduce:0.9 -com.google.appengine.tools:appengine-pipeline:0.2.13 -com.google.appengine:appengine-api-1.0-sdk:1.9.48 -com.google.appengine:appengine-remote-api:1.9.48 -com.google.appengine:appengine-testing:1.9.58 -com.google.auth:google-auth-library-credentials:0.20.0 -com.google.auth:google-auth-library-oauth2-http:0.20.0 -com.google.auto.value:auto-value-annotations:1.7 -com.google.auto.value:auto-value:1.6.3 -com.google.cloud.bigdataoss:gcsio:1.9.16 -com.google.cloud.bigdataoss:util:1.9.16 -com.google.cloud.bigtable:bigtable-client-core:1.8.0 -com.google.cloud.datastore:datastore-v1-proto-client:1.6.0 -com.google.cloud.sql:jdbc-socket-factory-core:1.0.16 -com.google.cloud.sql:postgres-socket-factory:1.0.16 -com.google.cloud:google-cloud-bigquerystorage:0.79.0-alpha -com.google.cloud:google-cloud-bigtable-admin:0.73.0-alpha -com.google.cloud:google-cloud-bigtable:0.73.0-alpha -com.google.cloud:google-cloud-core-grpc:1.61.0 -com.google.cloud:google-cloud-core-http:1.55.0 -com.google.cloud:google-cloud-core:1.61.0 -com.google.cloud:google-cloud-spanner:1.6.0 -com.google.code.findbugs:jsr305:3.0.2 -com.google.code.gson:gson:2.8.5 -com.google.common.html.types:types:1.0.4 -com.google.dagger:dagger:2.28 -com.google.errorprone:error_prone_annotations:2.3.4 -com.google.flogger:flogger-system-backend:0.3.1 -com.google.flogger:flogger:0.3.1 -com.google.flogger:google-extensions:0.3.1 -com.google.guava:failureaccess:1.0.1 -com.google.guava:guava:29.0-jre -com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava -com.google.gwt:gwt-user:2.8.2 -com.google.http-client:google-http-client-appengine:1.34.1 -com.google.http-client:google-http-client-jackson2:1.34.1 -com.google.http-client:google-http-client-jackson:1.20.0 -com.google.http-client:google-http-client-protobuf:1.20.0 -com.google.http-client:google-http-client:1.34.1 -com.google.inject.extensions:guice-multibindings:4.1.0 -com.google.inject:guice:4.1.0 -com.google.j2objc:j2objc-annotations:1.3 -com.google.jsinterop:jsinterop-annotations:1.0.2 -com.google.monitoring-client:metrics:1.0.7 -com.google.monitoring-client:stackdriver:1.0.7 -com.google.oauth-client:google-oauth-client-appengine:1.30.5 -com.google.oauth-client:google-oauth-client-java6:1.28.0 -com.google.oauth-client:google-oauth-client-jetty:1.28.0 -com.google.oauth-client:google-oauth-client-servlet:1.30.5 -com.google.oauth-client:google-oauth-client:1.30.5 -com.google.protobuf.nano:protobuf-javanano:3.0.0-alpha-5 -com.google.protobuf:protobuf-java-util:3.6.1 -com.google.protobuf:protobuf-java:3.6.1 -com.google.re2j:re2j:1.1 -com.google.template:soy:2018-03-14 -com.googlecode.charts4j:charts4j:1.3 -com.googlecode.json-simple:json-simple:1.1.1 -com.ibm.icu:icu4j:57.1 -com.jcraft:jsch:0.1.55 -com.kohlschutter.junixsocket:junixsocket-common:2.0.4 -com.kohlschutter.junixsocket:junixsocket-native-common:2.0.4 -com.squareup.okhttp:okhttp:2.5.0 -com.squareup.okio:okio:1.13.0 -com.sun.istack:istack-commons-runtime:3.0.7 -com.sun.xml.fastinfoset:FastInfoset:1.2.15 -com.thoughtworks.paranamer:paranamer:2.7 -com.zaxxer:HikariCP:3.2.0 -commons-codec:commons-codec:1.11 -commons-logging:commons-logging:1.2 -dnsjava:dnsjava:2.1.7 -io.dropwizard.metrics:metrics-core:3.1.2 -io.grpc:grpc-all:1.17.1 -io.grpc:grpc-alts:1.17.1 -io.grpc:grpc-auth:1.17.1 -io.grpc:grpc-context:1.22.1 -io.grpc:grpc-core:1.17.1 -io.grpc:grpc-grpclb:1.17.1 -io.grpc:grpc-netty-shaded:1.17.1 -io.grpc:grpc-netty:1.17.1 -io.grpc:grpc-okhttp:1.17.1 -io.grpc:grpc-protobuf-lite:1.17.1 -io.grpc:grpc-protobuf-nano:1.17.1 -io.grpc:grpc-protobuf:1.17.1 -io.grpc:grpc-stub:1.17.1 -io.grpc:grpc-testing:1.17.1 -io.netty:netty-buffer:4.1.30.Final -io.netty:netty-codec-http2:4.1.30.Final -io.netty:netty-codec-http:4.1.30.Final -io.netty:netty-codec-socks:4.1.30.Final -io.netty:netty-codec:4.1.30.Final -io.netty:netty-common:4.1.30.Final -io.netty:netty-handler-proxy:4.1.30.Final -io.netty:netty-handler:4.1.30.Final -io.netty:netty-resolver:4.1.30.Final -io.netty:netty-tcnative-boringssl-static:2.0.17.Final -io.netty:netty-transport:4.1.30.Final -io.opencensus:opencensus-api:0.24.0 -io.opencensus:opencensus-contrib-grpc-metrics:0.17.0 -io.opencensus:opencensus-contrib-grpc-util:0.17.0 -io.opencensus:opencensus-contrib-http-util:0.24.0 -it.unimi.dsi:fastutil:6.5.16 -javax.activation:activation:1.1 -javax.activation:javax.activation-api:1.2.0 -javax.annotation:javax.annotation-api:1.2 -javax.annotation:jsr250-api:1.0 -javax.inject:javax.inject:1 -javax.jdo:jdo2-api:2.3-eb -javax.mail:mail:1.4 -javax.persistence:javax.persistence-api:2.2 -javax.servlet:servlet-api:2.5 -javax.transaction:transaction-api:1.1 -javax.validation:validation-api:1.0.0.GA -javax.xml.bind:jaxb-api:2.3.1 -jline:jline:1.0 -joda-time:joda-time:2.10.3 -net.bytebuddy:byte-buddy:1.10.10 -net.java.dev.jna:jna-platform:5.5.0 -net.java.dev.jna:jna:5.5.0 -org.apache.avro:avro:1.8.2 -org.apache.beam:beam-model-job-management:2.16.0 -org.apache.beam:beam-model-pipeline:2.16.0 -org.apache.beam:beam-runners-core-construction-java:2.16.0 -org.apache.beam:beam-runners-google-cloud-dataflow-java:2.16.0 -org.apache.beam:beam-sdks-java-core:2.16.0 -org.apache.beam:beam-sdks-java-extensions-google-cloud-platform-core:2.16.0 -org.apache.beam:beam-sdks-java-extensions-protobuf:2.16.0 -org.apache.beam:beam-sdks-java-io-google-cloud-platform:2.16.0 -org.apache.beam:beam-vendor-bytebuddy-1_9_3:0.1 -org.apache.beam:beam-vendor-grpc-1_21_0:0.1 -org.apache.beam:beam-vendor-guava-26_0-jre:0.1 -org.apache.commons:commons-compress:1.20 -org.apache.commons:commons-lang3:3.5 -org.apache.httpcomponents:httpclient:4.5.11 -org.apache.httpcomponents:httpcore:4.4.13 -org.bouncycastle:bcpg-jdk15on:1.61 -org.bouncycastle:bcprov-jdk15on:1.61 -org.checkerframework:checker-qual:2.11.1 -org.codehaus.jackson:jackson-core-asl:1.9.13 -org.codehaus.jackson:jackson-mapper-asl:1.9.13 -org.codehaus.mojo:animal-sniffer-annotations:1.17 -org.dom4j:dom4j:2.1.3 -org.easymock:easymock:3.0 -org.flywaydb:flyway-core:5.2.4 -org.glassfish.jaxb:jaxb-runtime:2.3.1 -org.glassfish.jaxb:txw2:2.3.1 -org.hibernate.common:hibernate-commons-annotations:5.1.0.Final -org.hibernate:hibernate-core:5.4.17.Final -org.hibernate:hibernate-hikaricp:5.4.17.Final -org.javassist:javassist:3.24.0-GA -org.jboss.logging:jboss-logging:3.3.2.Final -org.jboss.spec.javax.transaction:jboss-transaction-api_1.2_spec:1.1.1.Final -org.jboss:jandex:2.1.3.Final -org.jetbrains:annotations:19.0.0 -org.joda:joda-money:1.0.1 -org.json:json:20160810 -org.jvnet.staxex:stax-ex:1.8 -org.mortbay.jetty:jetty-util:6.1.26 -org.mortbay.jetty:jetty:6.1.26 -org.objenesis:objenesis:1.2 -org.ow2.asm:asm-analysis:8.0.1 -org.ow2.asm:asm-commons:7.1 -org.ow2.asm:asm-tree:8.0.1 -org.ow2.asm:asm-util:8.0.1 -org.ow2.asm:asm:8.0.1 -org.postgresql:postgresql:42.2.14 -org.rnorth.duct-tape:duct-tape:1.0.8 -org.rnorth.visible-assertions:visible-assertions:2.1.2 -org.rnorth:tcp-unix-socket-proxy:1.0.2 -org.scijava:native-lib-loader:2.0.2 -org.slf4j:slf4j-api:1.7.30 -org.slf4j:slf4j-jdk14:1.7.28 -org.testcontainers:database-commons:1.14.3 -org.testcontainers:jdbc:1.14.3 -org.testcontainers:postgresql:1.14.3 -org.testcontainers:testcontainers:1.14.3 -org.threeten:threetenbp:1.3.3 -org.tukaani:xz:1.8 -org.w3c.css:sac:1.3 -org.xerial.snappy:snappy-java:1.1.4 -org.yaml:snakeyaml:1.17 -xerces:xmlParserAPIs:2.6.2 -xpp3:xpp3:1.1.4c diff --git a/docs/gradle/dependency-locks/errorprone.lockfile b/docs/gradle/dependency-locks/errorprone.lockfile deleted file mode 100644 index 0e2d9b8d4..000000000 --- a/docs/gradle/dependency-locks/errorprone.lockfile +++ /dev/null @@ -1,24 +0,0 @@ -# This is a Gradle generated file for dependency locking. -# Manual edits can break the build and are not advised. -# This file is expected to be part of source control. -com.github.kevinstern:software-and-algorithms:1.0 -com.github.stephenc.jcip:jcip-annotations:1.0-1 -com.google.auto:auto-common:0.10 -com.google.code.findbugs:jFormatString:3.0.0 -com.google.code.findbugs:jsr305:3.0.2 -com.google.errorprone:error_prone_annotation:2.3.3 -com.google.errorprone:error_prone_annotations:2.3.3 -com.google.errorprone:error_prone_check_api:2.3.3 -com.google.errorprone:error_prone_core:2.3.3 -com.google.errorprone:error_prone_type_annotations:2.3.3 -com.google.guava:failureaccess:1.0.1 -com.google.guava:guava:27.0.1-jre -com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava -com.google.j2objc:j2objc-annotations:1.1 -com.google.protobuf:protobuf-java:3.4.0 -com.googlecode.java-diff-utils:diffutils:1.3.0 -org.checkerframework:checker-qual:2.5.3 -org.checkerframework:dataflow:2.5.3 -org.checkerframework:javacutil:2.5.3 -org.codehaus.mojo:animal-sniffer-annotations:1.17 -org.pcollections:pcollections:2.1.2 diff --git a/docs/gradle/dependency-locks/errorproneJavac.lockfile b/docs/gradle/dependency-locks/errorproneJavac.lockfile deleted file mode 100644 index 43f098f5c..000000000 --- a/docs/gradle/dependency-locks/errorproneJavac.lockfile +++ /dev/null @@ -1,4 +0,0 @@ -# This is a Gradle generated file for dependency locking. -# Manual edits can break the build and are not advised. -# This file is expected to be part of source control. -com.google.errorprone:javac:9+181-r4173-1 diff --git a/docs/gradle/dependency-locks/jacocoAgent.lockfile b/docs/gradle/dependency-locks/jacocoAgent.lockfile deleted file mode 100644 index 6b7fa31b5..000000000 --- a/docs/gradle/dependency-locks/jacocoAgent.lockfile +++ /dev/null @@ -1,4 +0,0 @@ -# This is a Gradle generated file for dependency locking. -# Manual edits can break the build and are not advised. -# This file is expected to be part of source control. -org.jacoco:org.jacoco.agent:0.8.5 diff --git a/docs/gradle/dependency-locks/jacocoAnt.lockfile b/docs/gradle/dependency-locks/jacocoAnt.lockfile deleted file mode 100644 index 40e2c298b..000000000 --- a/docs/gradle/dependency-locks/jacocoAnt.lockfile +++ /dev/null @@ -1,11 +0,0 @@ -# This is a Gradle generated file for dependency locking. -# Manual edits can break the build and are not advised. -# This file is expected to be part of source control. -org.jacoco:org.jacoco.agent:0.8.5 -org.jacoco:org.jacoco.ant:0.8.5 -org.jacoco:org.jacoco.core:0.8.5 -org.jacoco:org.jacoco.report:0.8.5 -org.ow2.asm:asm-analysis:7.2 -org.ow2.asm:asm-commons:7.2 -org.ow2.asm:asm-tree:7.2 -org.ow2.asm:asm:7.2 diff --git a/docs/gradle/dependency-locks/runtime.lockfile b/docs/gradle/dependency-locks/runtime.lockfile deleted file mode 100644 index 191b19c5a..000000000 --- a/docs/gradle/dependency-locks/runtime.lockfile +++ /dev/null @@ -1,249 +0,0 @@ -# This is a Gradle generated file for dependency locking. -# Manual edits can break the build and are not advised. -# This file is expected to be part of source control. -androidx.annotation:annotation:1.1.0 -antlr:antlr:2.7.7 -aopalliance:aopalliance:1.0 -args4j:args4j:2.0.23 -cglib:cglib-nodep:2.2 -com.beust:jcommander:1.60 -com.fasterxml.jackson.core:jackson-annotations:2.9.10 -com.fasterxml.jackson.core:jackson-core:2.10.2 -com.fasterxml.jackson.core:jackson-databind:2.9.10 -com.fasterxml:classmate:1.5.1 -com.github.jnr:jffi:1.2.23 -com.github.jnr:jnr-a64asm:1.0.0 -com.github.jnr:jnr-constants:0.9.15 -com.github.jnr:jnr-enxio:0.26 -com.github.jnr:jnr-ffi:2.1.13 -com.github.jnr:jnr-posix:3.0.55 -com.github.jnr:jnr-unixsocket:0.30 -com.github.jnr:jnr-x86asm:1.0.2 -com.google.api-client:google-api-client-appengine:1.30.8 -com.google.api-client:google-api-client-jackson2:1.27.0 -com.google.api-client:google-api-client-java6:1.27.0 -com.google.api-client:google-api-client-servlet:1.30.8 -com.google.api-client:google-api-client:1.30.8 -com.google.api.grpc:grpc-google-cloud-bigquerystorage-v1beta1:0.44.0 -com.google.api.grpc:grpc-google-cloud-bigtable-admin-v2:0.38.0 -com.google.api.grpc:grpc-google-cloud-bigtable-v2:0.38.0 -com.google.api.grpc:grpc-google-cloud-pubsub-v1:1.43.0 -com.google.api.grpc:grpc-google-cloud-spanner-admin-database-v1:1.6.0 -com.google.api.grpc:grpc-google-cloud-spanner-admin-instance-v1:1.6.0 -com.google.api.grpc:grpc-google-cloud-spanner-v1:1.6.0 -com.google.api.grpc:grpc-google-common-protos:1.12.0 -com.google.api.grpc:proto-google-cloud-bigquerystorage-v1beta1:0.44.0 -com.google.api.grpc:proto-google-cloud-bigtable-admin-v2:0.38.0 -com.google.api.grpc:proto-google-cloud-bigtable-v2:0.44.0 -com.google.api.grpc:proto-google-cloud-datastore-v1:0.44.0 -com.google.api.grpc:proto-google-cloud-pubsub-v1:1.43.0 -com.google.api.grpc:proto-google-cloud-spanner-admin-database-v1:1.6.0 -com.google.api.grpc:proto-google-cloud-spanner-admin-instance-v1:1.6.0 -com.google.api.grpc:proto-google-cloud-spanner-v1:1.6.0 -com.google.api.grpc:proto-google-common-protos:1.12.0 -com.google.api.grpc:proto-google-iam-v1:0.12.0 -com.google.api:api-common:1.7.0 -com.google.api:gax-grpc:1.38.0 -com.google.api:gax-httpjson:0.52.0 -com.google.api:gax:1.38.0 -com.google.apis:google-api-services-admin-directory:directory_v1-rev72-1.22.0 -com.google.apis:google-api-services-appengine:v1-rev101-1.25.0 -com.google.apis:google-api-services-bigquery:v2-rev20181104-1.27.0 -com.google.apis:google-api-services-clouddebugger:v2-rev20180801-1.27.0 -com.google.apis:google-api-services-cloudkms:v1-rev12-1.22.0 -com.google.apis:google-api-services-cloudresourcemanager:v1-rev20181015-1.27.0 -com.google.apis:google-api-services-dataflow:v1b3-rev20190607-1.27.0 -com.google.apis:google-api-services-dns:v2beta1-rev6-1.22.0 -com.google.apis:google-api-services-drive:v2-rev160-1.19.1 -com.google.apis:google-api-services-groupssettings:v1-rev60-1.22.0 -com.google.apis:google-api-services-monitoring:v3-rev426-1.23.0 -com.google.apis:google-api-services-pubsub:v1-rev20181105-1.27.0 -com.google.apis:google-api-services-sheets:v4-rev483-1.22.0 -com.google.apis:google-api-services-sqladmin:v1beta4-rev20190827-1.30.1 -com.google.apis:google-api-services-storage:v1-rev20181109-1.27.0 -com.google.appengine.tools:appengine-gcs-client:0.6 -com.google.appengine.tools:appengine-mapreduce:0.9 -com.google.appengine.tools:appengine-pipeline:0.2.13 -com.google.appengine:appengine-api-1.0-sdk:1.9.48 -com.google.appengine:appengine-remote-api:1.9.48 -com.google.appengine:appengine-testing:1.9.58 -com.google.auth:google-auth-library-credentials:0.20.0 -com.google.auth:google-auth-library-oauth2-http:0.20.0 -com.google.auto.value:auto-value-annotations:1.7 -com.google.auto.value:auto-value:1.6.3 -com.google.cloud.bigdataoss:gcsio:1.9.16 -com.google.cloud.bigdataoss:util:1.9.16 -com.google.cloud.bigtable:bigtable-client-core:1.8.0 -com.google.cloud.datastore:datastore-v1-proto-client:1.6.0 -com.google.cloud.sql:jdbc-socket-factory-core:1.0.16 -com.google.cloud.sql:postgres-socket-factory:1.0.16 -com.google.cloud:google-cloud-bigquerystorage:0.79.0-alpha -com.google.cloud:google-cloud-bigtable-admin:0.73.0-alpha -com.google.cloud:google-cloud-bigtable:0.73.0-alpha -com.google.cloud:google-cloud-core-grpc:1.61.0 -com.google.cloud:google-cloud-core-http:1.55.0 -com.google.cloud:google-cloud-core:1.61.0 -com.google.cloud:google-cloud-spanner:1.6.0 -com.google.code.findbugs:jsr305:3.0.2 -com.google.code.gson:gson:2.8.5 -com.google.common.html.types:types:1.0.4 -com.google.dagger:dagger:2.28 -com.google.errorprone:error_prone_annotations:2.3.4 -com.google.flogger:flogger-system-backend:0.3.1 -com.google.flogger:flogger:0.3.1 -com.google.flogger:google-extensions:0.3.1 -com.google.guava:failureaccess:1.0.1 -com.google.guava:guava:29.0-jre -com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava -com.google.gwt:gwt-user:2.8.2 -com.google.http-client:google-http-client-appengine:1.34.1 -com.google.http-client:google-http-client-jackson2:1.34.1 -com.google.http-client:google-http-client-jackson:1.20.0 -com.google.http-client:google-http-client-protobuf:1.20.0 -com.google.http-client:google-http-client:1.34.1 -com.google.inject.extensions:guice-multibindings:4.1.0 -com.google.inject:guice:4.1.0 -com.google.j2objc:j2objc-annotations:1.3 -com.google.jsinterop:jsinterop-annotations:1.0.2 -com.google.monitoring-client:metrics:1.0.7 -com.google.monitoring-client:stackdriver:1.0.7 -com.google.oauth-client:google-oauth-client-appengine:1.30.5 -com.google.oauth-client:google-oauth-client-java6:1.28.0 -com.google.oauth-client:google-oauth-client-jetty:1.28.0 -com.google.oauth-client:google-oauth-client-servlet:1.30.5 -com.google.oauth-client:google-oauth-client:1.30.5 -com.google.protobuf.nano:protobuf-javanano:3.0.0-alpha-5 -com.google.protobuf:protobuf-java-util:3.6.1 -com.google.protobuf:protobuf-java:3.6.1 -com.google.re2j:re2j:1.1 -com.google.template:soy:2018-03-14 -com.googlecode.charts4j:charts4j:1.3 -com.googlecode.json-simple:json-simple:1.1.1 -com.ibm.icu:icu4j:57.1 -com.jcraft:jsch:0.1.55 -com.kohlschutter.junixsocket:junixsocket-common:2.0.4 -com.kohlschutter.junixsocket:junixsocket-native-common:2.0.4 -com.squareup.okhttp:okhttp:2.5.0 -com.squareup.okio:okio:1.13.0 -com.sun.istack:istack-commons-runtime:3.0.7 -com.sun.xml.fastinfoset:FastInfoset:1.2.15 -com.thoughtworks.paranamer:paranamer:2.7 -com.zaxxer:HikariCP:3.2.0 -commons-codec:commons-codec:1.11 -commons-logging:commons-logging:1.2 -dnsjava:dnsjava:2.1.7 -io.dropwizard.metrics:metrics-core:3.1.2 -io.grpc:grpc-all:1.17.1 -io.grpc:grpc-alts:1.17.1 -io.grpc:grpc-auth:1.17.1 -io.grpc:grpc-context:1.22.1 -io.grpc:grpc-core:1.17.1 -io.grpc:grpc-grpclb:1.17.1 -io.grpc:grpc-netty-shaded:1.17.1 -io.grpc:grpc-netty:1.17.1 -io.grpc:grpc-okhttp:1.17.1 -io.grpc:grpc-protobuf-lite:1.17.1 -io.grpc:grpc-protobuf-nano:1.17.1 -io.grpc:grpc-protobuf:1.17.1 -io.grpc:grpc-stub:1.17.1 -io.grpc:grpc-testing:1.17.1 -io.netty:netty-buffer:4.1.30.Final -io.netty:netty-codec-http2:4.1.30.Final -io.netty:netty-codec-http:4.1.30.Final -io.netty:netty-codec-socks:4.1.30.Final -io.netty:netty-codec:4.1.30.Final -io.netty:netty-common:4.1.30.Final -io.netty:netty-handler-proxy:4.1.30.Final -io.netty:netty-handler:4.1.30.Final -io.netty:netty-resolver:4.1.30.Final -io.netty:netty-tcnative-boringssl-static:2.0.17.Final -io.netty:netty-transport:4.1.30.Final -io.opencensus:opencensus-api:0.24.0 -io.opencensus:opencensus-contrib-grpc-metrics:0.17.0 -io.opencensus:opencensus-contrib-grpc-util:0.17.0 -io.opencensus:opencensus-contrib-http-util:0.24.0 -it.unimi.dsi:fastutil:6.5.16 -javax.activation:activation:1.1 -javax.activation:javax.activation-api:1.2.0 -javax.annotation:javax.annotation-api:1.2 -javax.annotation:jsr250-api:1.0 -javax.inject:javax.inject:1 -javax.jdo:jdo2-api:2.3-eb -javax.mail:mail:1.4 -javax.persistence:javax.persistence-api:2.2 -javax.servlet:servlet-api:2.5 -javax.transaction:transaction-api:1.1 -javax.validation:validation-api:1.0.0.GA -javax.xml.bind:jaxb-api:2.3.1 -jline:jline:1.0 -joda-time:joda-time:2.10.3 -junit:junit:4.12 -net.bytebuddy:byte-buddy:1.10.10 -net.java.dev.jna:jna-platform:5.5.0 -net.java.dev.jna:jna:5.5.0 -org.apache.avro:avro:1.8.2 -org.apache.beam:beam-model-job-management:2.16.0 -org.apache.beam:beam-model-pipeline:2.16.0 -org.apache.beam:beam-runners-core-construction-java:2.16.0 -org.apache.beam:beam-runners-google-cloud-dataflow-java:2.16.0 -org.apache.beam:beam-sdks-java-core:2.16.0 -org.apache.beam:beam-sdks-java-extensions-google-cloud-platform-core:2.16.0 -org.apache.beam:beam-sdks-java-extensions-protobuf:2.16.0 -org.apache.beam:beam-sdks-java-io-google-cloud-platform:2.16.0 -org.apache.beam:beam-vendor-bytebuddy-1_9_3:0.1 -org.apache.beam:beam-vendor-grpc-1_21_0:0.1 -org.apache.beam:beam-vendor-guava-26_0-jre:0.1 -org.apache.commons:commons-compress:1.20 -org.apache.commons:commons-lang3:3.5 -org.apache.httpcomponents:httpclient:4.5.11 -org.apache.httpcomponents:httpcore:4.4.13 -org.bouncycastle:bcpg-jdk15on:1.61 -org.bouncycastle:bcprov-jdk15on:1.61 -org.checkerframework:checker-qual:2.11.1 -org.codehaus.jackson:jackson-core-asl:1.9.13 -org.codehaus.jackson:jackson-mapper-asl:1.9.13 -org.codehaus.mojo:animal-sniffer-annotations:1.17 -org.dom4j:dom4j:2.1.3 -org.easymock:easymock:3.0 -org.flywaydb:flyway-core:5.2.4 -org.glassfish.jaxb:jaxb-runtime:2.3.1 -org.glassfish.jaxb:txw2:2.3.1 -org.hamcrest:hamcrest-core:1.3 -org.hibernate.common:hibernate-commons-annotations:5.1.0.Final -org.hibernate:hibernate-core:5.4.17.Final -org.hibernate:hibernate-hikaricp:5.4.17.Final -org.javassist:javassist:3.24.0-GA -org.jboss.logging:jboss-logging:3.3.2.Final -org.jboss.spec.javax.transaction:jboss-transaction-api_1.2_spec:1.1.1.Final -org.jboss:jandex:2.1.3.Final -org.jetbrains:annotations:19.0.0 -org.joda:joda-money:1.0.1 -org.json:json:20160810 -org.jvnet.staxex:stax-ex:1.8 -org.mockito:mockito-core:1.9.5 -org.mortbay.jetty:jetty-util:6.1.26 -org.mortbay.jetty:jetty:6.1.26 -org.objenesis:objenesis:1.2 -org.ow2.asm:asm-analysis:8.0.1 -org.ow2.asm:asm-commons:7.1 -org.ow2.asm:asm-tree:8.0.1 -org.ow2.asm:asm-util:8.0.1 -org.ow2.asm:asm:8.0.1 -org.postgresql:postgresql:42.2.14 -org.rnorth.duct-tape:duct-tape:1.0.8 -org.rnorth.visible-assertions:visible-assertions:2.1.2 -org.rnorth:tcp-unix-socket-proxy:1.0.2 -org.scijava:native-lib-loader:2.0.2 -org.slf4j:slf4j-api:1.7.30 -org.slf4j:slf4j-jdk14:1.7.28 -org.testcontainers:database-commons:1.14.3 -org.testcontainers:jdbc:1.14.3 -org.testcontainers:postgresql:1.14.3 -org.testcontainers:testcontainers:1.14.3 -org.threeten:threetenbp:1.3.3 -org.tukaani:xz:1.8 -org.w3c.css:sac:1.3 -org.xerial.snappy:snappy-java:1.1.4 -org.yaml:snakeyaml:1.17 -xerces:xmlParserAPIs:2.6.2 -xpp3:xpp3:1.1.4c diff --git a/docs/gradle/dependency-locks/runtimeClasspath.lockfile b/docs/gradle/dependency-locks/runtimeClasspath.lockfile deleted file mode 100644 index 47c2875d9..000000000 --- a/docs/gradle/dependency-locks/runtimeClasspath.lockfile +++ /dev/null @@ -1,246 +0,0 @@ -# This is a Gradle generated file for dependency locking. -# Manual edits can break the build and are not advised. -# This file is expected to be part of source control. -androidx.annotation:annotation:1.1.0 -antlr:antlr:2.7.7 -aopalliance:aopalliance:1.0 -args4j:args4j:2.0.23 -cglib:cglib-nodep:2.2 -com.beust:jcommander:1.60 -com.fasterxml.jackson.core:jackson-annotations:2.9.10 -com.fasterxml.jackson.core:jackson-core:2.10.2 -com.fasterxml.jackson.core:jackson-databind:2.9.10 -com.fasterxml:classmate:1.5.1 -com.github.jnr:jffi:1.2.23 -com.github.jnr:jnr-a64asm:1.0.0 -com.github.jnr:jnr-constants:0.9.15 -com.github.jnr:jnr-enxio:0.26 -com.github.jnr:jnr-ffi:2.1.13 -com.github.jnr:jnr-posix:3.0.55 -com.github.jnr:jnr-unixsocket:0.30 -com.github.jnr:jnr-x86asm:1.0.2 -com.google.api-client:google-api-client-appengine:1.30.8 -com.google.api-client:google-api-client-jackson2:1.27.0 -com.google.api-client:google-api-client-java6:1.27.0 -com.google.api-client:google-api-client-servlet:1.30.8 -com.google.api-client:google-api-client:1.30.8 -com.google.api.grpc:grpc-google-cloud-bigquerystorage-v1beta1:0.44.0 -com.google.api.grpc:grpc-google-cloud-bigtable-admin-v2:0.38.0 -com.google.api.grpc:grpc-google-cloud-bigtable-v2:0.38.0 -com.google.api.grpc:grpc-google-cloud-pubsub-v1:1.43.0 -com.google.api.grpc:grpc-google-cloud-spanner-admin-database-v1:1.6.0 -com.google.api.grpc:grpc-google-cloud-spanner-admin-instance-v1:1.6.0 -com.google.api.grpc:grpc-google-cloud-spanner-v1:1.6.0 -com.google.api.grpc:grpc-google-common-protos:1.12.0 -com.google.api.grpc:proto-google-cloud-bigquerystorage-v1beta1:0.44.0 -com.google.api.grpc:proto-google-cloud-bigtable-admin-v2:0.38.0 -com.google.api.grpc:proto-google-cloud-bigtable-v2:0.44.0 -com.google.api.grpc:proto-google-cloud-datastore-v1:0.44.0 -com.google.api.grpc:proto-google-cloud-pubsub-v1:1.43.0 -com.google.api.grpc:proto-google-cloud-spanner-admin-database-v1:1.6.0 -com.google.api.grpc:proto-google-cloud-spanner-admin-instance-v1:1.6.0 -com.google.api.grpc:proto-google-cloud-spanner-v1:1.6.0 -com.google.api.grpc:proto-google-common-protos:1.12.0 -com.google.api.grpc:proto-google-iam-v1:0.12.0 -com.google.api:api-common:1.7.0 -com.google.api:gax-grpc:1.38.0 -com.google.api:gax-httpjson:0.52.0 -com.google.api:gax:1.38.0 -com.google.apis:google-api-services-admin-directory:directory_v1-rev72-1.22.0 -com.google.apis:google-api-services-appengine:v1-rev101-1.25.0 -com.google.apis:google-api-services-bigquery:v2-rev20181104-1.27.0 -com.google.apis:google-api-services-clouddebugger:v2-rev20180801-1.27.0 -com.google.apis:google-api-services-cloudkms:v1-rev12-1.22.0 -com.google.apis:google-api-services-cloudresourcemanager:v1-rev20181015-1.27.0 -com.google.apis:google-api-services-dataflow:v1b3-rev20190607-1.27.0 -com.google.apis:google-api-services-dns:v2beta1-rev6-1.22.0 -com.google.apis:google-api-services-drive:v2-rev160-1.19.1 -com.google.apis:google-api-services-groupssettings:v1-rev60-1.22.0 -com.google.apis:google-api-services-monitoring:v3-rev426-1.23.0 -com.google.apis:google-api-services-pubsub:v1-rev20181105-1.27.0 -com.google.apis:google-api-services-sheets:v4-rev483-1.22.0 -com.google.apis:google-api-services-sqladmin:v1beta4-rev20190827-1.30.1 -com.google.apis:google-api-services-storage:v1-rev20181109-1.27.0 -com.google.appengine.tools:appengine-gcs-client:0.6 -com.google.appengine.tools:appengine-mapreduce:0.9 -com.google.appengine.tools:appengine-pipeline:0.2.13 -com.google.appengine:appengine-api-1.0-sdk:1.9.48 -com.google.appengine:appengine-remote-api:1.9.48 -com.google.appengine:appengine-testing:1.9.58 -com.google.auth:google-auth-library-credentials:0.20.0 -com.google.auth:google-auth-library-oauth2-http:0.20.0 -com.google.auto.value:auto-value-annotations:1.7 -com.google.auto.value:auto-value:1.6.3 -com.google.cloud.bigdataoss:gcsio:1.9.16 -com.google.cloud.bigdataoss:util:1.9.16 -com.google.cloud.bigtable:bigtable-client-core:1.8.0 -com.google.cloud.datastore:datastore-v1-proto-client:1.6.0 -com.google.cloud.sql:jdbc-socket-factory-core:1.0.16 -com.google.cloud.sql:postgres-socket-factory:1.0.16 -com.google.cloud:google-cloud-bigquerystorage:0.79.0-alpha -com.google.cloud:google-cloud-bigtable-admin:0.73.0-alpha -com.google.cloud:google-cloud-bigtable:0.73.0-alpha -com.google.cloud:google-cloud-core-grpc:1.61.0 -com.google.cloud:google-cloud-core-http:1.55.0 -com.google.cloud:google-cloud-core:1.61.0 -com.google.cloud:google-cloud-spanner:1.6.0 -com.google.code.findbugs:jsr305:3.0.2 -com.google.code.gson:gson:2.8.5 -com.google.common.html.types:types:1.0.4 -com.google.dagger:dagger:2.28 -com.google.errorprone:error_prone_annotations:2.3.4 -com.google.flogger:flogger-system-backend:0.3.1 -com.google.flogger:flogger:0.3.1 -com.google.flogger:google-extensions:0.3.1 -com.google.guava:failureaccess:1.0.1 -com.google.guava:guava:29.0-jre -com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava -com.google.gwt:gwt-user:2.8.2 -com.google.http-client:google-http-client-appengine:1.34.1 -com.google.http-client:google-http-client-jackson2:1.34.1 -com.google.http-client:google-http-client-jackson:1.20.0 -com.google.http-client:google-http-client-protobuf:1.20.0 -com.google.http-client:google-http-client:1.34.1 -com.google.inject.extensions:guice-multibindings:4.1.0 -com.google.inject:guice:4.1.0 -com.google.j2objc:j2objc-annotations:1.3 -com.google.jsinterop:jsinterop-annotations:1.0.2 -com.google.monitoring-client:metrics:1.0.7 -com.google.monitoring-client:stackdriver:1.0.7 -com.google.oauth-client:google-oauth-client-appengine:1.30.5 -com.google.oauth-client:google-oauth-client-java6:1.28.0 -com.google.oauth-client:google-oauth-client-jetty:1.28.0 -com.google.oauth-client:google-oauth-client-servlet:1.30.5 -com.google.oauth-client:google-oauth-client:1.30.5 -com.google.protobuf.nano:protobuf-javanano:3.0.0-alpha-5 -com.google.protobuf:protobuf-java-util:3.6.1 -com.google.protobuf:protobuf-java:3.6.1 -com.google.re2j:re2j:1.1 -com.google.template:soy:2018-03-14 -com.googlecode.charts4j:charts4j:1.3 -com.googlecode.json-simple:json-simple:1.1.1 -com.ibm.icu:icu4j:57.1 -com.jcraft:jsch:0.1.55 -com.kohlschutter.junixsocket:junixsocket-common:2.0.4 -com.kohlschutter.junixsocket:junixsocket-native-common:2.0.4 -com.squareup.okhttp:okhttp:2.5.0 -com.squareup.okio:okio:1.13.0 -com.sun.istack:istack-commons-runtime:3.0.7 -com.sun.xml.fastinfoset:FastInfoset:1.2.15 -com.thoughtworks.paranamer:paranamer:2.7 -com.zaxxer:HikariCP:3.2.0 -commons-codec:commons-codec:1.11 -commons-logging:commons-logging:1.2 -dnsjava:dnsjava:2.1.7 -io.dropwizard.metrics:metrics-core:3.1.2 -io.grpc:grpc-all:1.17.1 -io.grpc:grpc-alts:1.17.1 -io.grpc:grpc-auth:1.17.1 -io.grpc:grpc-context:1.22.1 -io.grpc:grpc-core:1.17.1 -io.grpc:grpc-grpclb:1.17.1 -io.grpc:grpc-netty-shaded:1.17.1 -io.grpc:grpc-netty:1.17.1 -io.grpc:grpc-okhttp:1.17.1 -io.grpc:grpc-protobuf-lite:1.17.1 -io.grpc:grpc-protobuf-nano:1.17.1 -io.grpc:grpc-protobuf:1.17.1 -io.grpc:grpc-stub:1.17.1 -io.grpc:grpc-testing:1.17.1 -io.netty:netty-buffer:4.1.30.Final -io.netty:netty-codec-http2:4.1.30.Final -io.netty:netty-codec-http:4.1.30.Final -io.netty:netty-codec-socks:4.1.30.Final -io.netty:netty-codec:4.1.30.Final -io.netty:netty-common:4.1.30.Final -io.netty:netty-handler-proxy:4.1.30.Final -io.netty:netty-handler:4.1.30.Final -io.netty:netty-resolver:4.1.30.Final -io.netty:netty-tcnative-boringssl-static:2.0.17.Final -io.netty:netty-transport:4.1.30.Final -io.opencensus:opencensus-api:0.24.0 -io.opencensus:opencensus-contrib-grpc-metrics:0.17.0 -io.opencensus:opencensus-contrib-grpc-util:0.17.0 -io.opencensus:opencensus-contrib-http-util:0.24.0 -it.unimi.dsi:fastutil:6.5.16 -javax.activation:activation:1.1 -javax.activation:javax.activation-api:1.2.0 -javax.annotation:javax.annotation-api:1.2 -javax.annotation:jsr250-api:1.0 -javax.inject:javax.inject:1 -javax.jdo:jdo2-api:2.3-eb -javax.mail:mail:1.4 -javax.persistence:javax.persistence-api:2.2 -javax.servlet:servlet-api:2.5 -javax.transaction:transaction-api:1.1 -javax.validation:validation-api:1.0.0.GA -javax.xml.bind:jaxb-api:2.3.1 -jline:jline:1.0 -joda-time:joda-time:2.10.3 -net.bytebuddy:byte-buddy:1.10.10 -net.java.dev.jna:jna-platform:5.5.0 -net.java.dev.jna:jna:5.5.0 -org.apache.avro:avro:1.8.2 -org.apache.beam:beam-model-job-management:2.16.0 -org.apache.beam:beam-model-pipeline:2.16.0 -org.apache.beam:beam-runners-core-construction-java:2.16.0 -org.apache.beam:beam-runners-google-cloud-dataflow-java:2.16.0 -org.apache.beam:beam-sdks-java-core:2.16.0 -org.apache.beam:beam-sdks-java-extensions-google-cloud-platform-core:2.16.0 -org.apache.beam:beam-sdks-java-extensions-protobuf:2.16.0 -org.apache.beam:beam-sdks-java-io-google-cloud-platform:2.16.0 -org.apache.beam:beam-vendor-bytebuddy-1_9_3:0.1 -org.apache.beam:beam-vendor-grpc-1_21_0:0.1 -org.apache.beam:beam-vendor-guava-26_0-jre:0.1 -org.apache.commons:commons-compress:1.20 -org.apache.commons:commons-lang3:3.5 -org.apache.httpcomponents:httpclient:4.5.11 -org.apache.httpcomponents:httpcore:4.4.13 -org.bouncycastle:bcpg-jdk15on:1.61 -org.bouncycastle:bcprov-jdk15on:1.61 -org.checkerframework:checker-qual:2.11.1 -org.codehaus.jackson:jackson-core-asl:1.9.13 -org.codehaus.jackson:jackson-mapper-asl:1.9.13 -org.codehaus.mojo:animal-sniffer-annotations:1.17 -org.dom4j:dom4j:2.1.3 -org.easymock:easymock:3.0 -org.flywaydb:flyway-core:5.2.4 -org.glassfish.jaxb:jaxb-runtime:2.3.1 -org.glassfish.jaxb:txw2:2.3.1 -org.hibernate.common:hibernate-commons-annotations:5.1.0.Final -org.hibernate:hibernate-core:5.4.17.Final -org.hibernate:hibernate-hikaricp:5.4.17.Final -org.javassist:javassist:3.24.0-GA -org.jboss.logging:jboss-logging:3.3.2.Final -org.jboss.spec.javax.transaction:jboss-transaction-api_1.2_spec:1.1.1.Final -org.jboss:jandex:2.1.3.Final -org.jetbrains:annotations:19.0.0 -org.joda:joda-money:1.0.1 -org.json:json:20160810 -org.jvnet.staxex:stax-ex:1.8 -org.mortbay.jetty:jetty-util:6.1.26 -org.mortbay.jetty:jetty:6.1.26 -org.objenesis:objenesis:1.2 -org.ow2.asm:asm-analysis:8.0.1 -org.ow2.asm:asm-commons:7.1 -org.ow2.asm:asm-tree:8.0.1 -org.ow2.asm:asm-util:8.0.1 -org.ow2.asm:asm:8.0.1 -org.postgresql:postgresql:42.2.14 -org.rnorth.duct-tape:duct-tape:1.0.8 -org.rnorth.visible-assertions:visible-assertions:2.1.2 -org.rnorth:tcp-unix-socket-proxy:1.0.2 -org.scijava:native-lib-loader:2.0.2 -org.slf4j:slf4j-api:1.7.30 -org.slf4j:slf4j-jdk14:1.7.28 -org.testcontainers:database-commons:1.14.3 -org.testcontainers:jdbc:1.14.3 -org.testcontainers:postgresql:1.14.3 -org.testcontainers:testcontainers:1.14.3 -org.threeten:threetenbp:1.3.3 -org.tukaani:xz:1.8 -org.w3c.css:sac:1.3 -org.xerial.snappy:snappy-java:1.1.4 -org.yaml:snakeyaml:1.17 -xerces:xmlParserAPIs:2.6.2 -xpp3:xpp3:1.1.4c diff --git a/docs/gradle/dependency-locks/testAnnotationProcessor.lockfile b/docs/gradle/dependency-locks/testAnnotationProcessor.lockfile deleted file mode 100644 index 0e2d9b8d4..000000000 --- a/docs/gradle/dependency-locks/testAnnotationProcessor.lockfile +++ /dev/null @@ -1,24 +0,0 @@ -# This is a Gradle generated file for dependency locking. -# Manual edits can break the build and are not advised. -# This file is expected to be part of source control. -com.github.kevinstern:software-and-algorithms:1.0 -com.github.stephenc.jcip:jcip-annotations:1.0-1 -com.google.auto:auto-common:0.10 -com.google.code.findbugs:jFormatString:3.0.0 -com.google.code.findbugs:jsr305:3.0.2 -com.google.errorprone:error_prone_annotation:2.3.3 -com.google.errorprone:error_prone_annotations:2.3.3 -com.google.errorprone:error_prone_check_api:2.3.3 -com.google.errorprone:error_prone_core:2.3.3 -com.google.errorprone:error_prone_type_annotations:2.3.3 -com.google.guava:failureaccess:1.0.1 -com.google.guava:guava:27.0.1-jre -com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava -com.google.j2objc:j2objc-annotations:1.1 -com.google.protobuf:protobuf-java:3.4.0 -com.googlecode.java-diff-utils:diffutils:1.3.0 -org.checkerframework:checker-qual:2.5.3 -org.checkerframework:dataflow:2.5.3 -org.checkerframework:javacutil:2.5.3 -org.codehaus.mojo:animal-sniffer-annotations:1.17 -org.pcollections:pcollections:2.1.2 diff --git a/docs/gradle/dependency-locks/testApt.lockfile b/docs/gradle/dependency-locks/testApt.lockfile deleted file mode 100644 index 656c5dbcc..000000000 --- a/docs/gradle/dependency-locks/testApt.lockfile +++ /dev/null @@ -1,3 +0,0 @@ -# This is a Gradle generated file for dependency locking. -# Manual edits can break the build and are not advised. -# This file is expected to be part of source control. diff --git a/docs/gradle/dependency-locks/testCompile.lockfile b/docs/gradle/dependency-locks/testCompile.lockfile deleted file mode 100644 index 8bda33bfa..000000000 --- a/docs/gradle/dependency-locks/testCompile.lockfile +++ /dev/null @@ -1,260 +0,0 @@ -# This is a Gradle generated file for dependency locking. -# Manual edits can break the build and are not advised. -# This file is expected to be part of source control. -androidx.annotation:annotation:1.1.0 -antlr:antlr:2.7.7 -aopalliance:aopalliance:1.0 -args4j:args4j:2.0.23 -cglib:cglib-nodep:2.2 -com.beust:jcommander:1.60 -com.fasterxml.jackson.core:jackson-annotations:2.9.10 -com.fasterxml.jackson.core:jackson-core:2.10.2 -com.fasterxml.jackson.core:jackson-databind:2.9.10 -com.fasterxml:classmate:1.5.1 -com.github.jnr:jffi:1.2.23 -com.github.jnr:jnr-a64asm:1.0.0 -com.github.jnr:jnr-constants:0.9.15 -com.github.jnr:jnr-enxio:0.26 -com.github.jnr:jnr-ffi:2.1.13 -com.github.jnr:jnr-posix:3.0.55 -com.github.jnr:jnr-unixsocket:0.30 -com.github.jnr:jnr-x86asm:1.0.2 -com.google.api-client:google-api-client-appengine:1.30.8 -com.google.api-client:google-api-client-jackson2:1.27.0 -com.google.api-client:google-api-client-java6:1.27.0 -com.google.api-client:google-api-client-servlet:1.30.8 -com.google.api-client:google-api-client:1.30.8 -com.google.api.grpc:grpc-google-cloud-bigquerystorage-v1beta1:0.44.0 -com.google.api.grpc:grpc-google-cloud-bigtable-admin-v2:0.38.0 -com.google.api.grpc:grpc-google-cloud-bigtable-v2:0.38.0 -com.google.api.grpc:grpc-google-cloud-pubsub-v1:1.43.0 -com.google.api.grpc:grpc-google-cloud-spanner-admin-database-v1:1.6.0 -com.google.api.grpc:grpc-google-cloud-spanner-admin-instance-v1:1.6.0 -com.google.api.grpc:grpc-google-cloud-spanner-v1:1.6.0 -com.google.api.grpc:grpc-google-common-protos:1.12.0 -com.google.api.grpc:proto-google-cloud-bigquerystorage-v1beta1:0.44.0 -com.google.api.grpc:proto-google-cloud-bigtable-admin-v2:0.38.0 -com.google.api.grpc:proto-google-cloud-bigtable-v2:0.44.0 -com.google.api.grpc:proto-google-cloud-datastore-v1:0.44.0 -com.google.api.grpc:proto-google-cloud-pubsub-v1:1.43.0 -com.google.api.grpc:proto-google-cloud-spanner-admin-database-v1:1.6.0 -com.google.api.grpc:proto-google-cloud-spanner-admin-instance-v1:1.6.0 -com.google.api.grpc:proto-google-cloud-spanner-v1:1.6.0 -com.google.api.grpc:proto-google-common-protos:1.12.0 -com.google.api.grpc:proto-google-iam-v1:0.12.0 -com.google.api:api-common:1.7.0 -com.google.api:gax-grpc:1.38.0 -com.google.api:gax-httpjson:0.52.0 -com.google.api:gax:1.38.0 -com.google.apis:google-api-services-admin-directory:directory_v1-rev72-1.22.0 -com.google.apis:google-api-services-appengine:v1-rev101-1.25.0 -com.google.apis:google-api-services-bigquery:v2-rev20181104-1.27.0 -com.google.apis:google-api-services-clouddebugger:v2-rev20180801-1.27.0 -com.google.apis:google-api-services-cloudkms:v1-rev12-1.22.0 -com.google.apis:google-api-services-cloudresourcemanager:v1-rev20181015-1.27.0 -com.google.apis:google-api-services-dataflow:v1b3-rev20190607-1.27.0 -com.google.apis:google-api-services-dns:v2beta1-rev6-1.22.0 -com.google.apis:google-api-services-drive:v2-rev160-1.19.1 -com.google.apis:google-api-services-groupssettings:v1-rev60-1.22.0 -com.google.apis:google-api-services-monitoring:v3-rev426-1.23.0 -com.google.apis:google-api-services-pubsub:v1-rev20181105-1.27.0 -com.google.apis:google-api-services-sheets:v4-rev483-1.22.0 -com.google.apis:google-api-services-sqladmin:v1beta4-rev20190827-1.30.1 -com.google.apis:google-api-services-storage:v1-rev20181109-1.27.0 -com.google.appengine.tools:appengine-gcs-client:0.6 -com.google.appengine.tools:appengine-mapreduce:0.9 -com.google.appengine.tools:appengine-pipeline:0.2.13 -com.google.appengine:appengine-api-1.0-sdk:1.9.48 -com.google.appengine:appengine-remote-api:1.9.48 -com.google.appengine:appengine-testing:1.9.58 -com.google.auth:google-auth-library-credentials:0.20.0 -com.google.auth:google-auth-library-oauth2-http:0.20.0 -com.google.auto.value:auto-value-annotations:1.7 -com.google.auto.value:auto-value:1.6.3 -com.google.cloud.bigdataoss:gcsio:1.9.16 -com.google.cloud.bigdataoss:util:1.9.16 -com.google.cloud.bigtable:bigtable-client-core:1.8.0 -com.google.cloud.datastore:datastore-v1-proto-client:1.6.0 -com.google.cloud.sql:jdbc-socket-factory-core:1.0.16 -com.google.cloud.sql:postgres-socket-factory:1.0.16 -com.google.cloud:google-cloud-bigquerystorage:0.79.0-alpha -com.google.cloud:google-cloud-bigtable-admin:0.73.0-alpha -com.google.cloud:google-cloud-bigtable:0.73.0-alpha -com.google.cloud:google-cloud-core-grpc:1.61.0 -com.google.cloud:google-cloud-core-http:1.55.0 -com.google.cloud:google-cloud-core:1.61.0 -com.google.cloud:google-cloud-spanner:1.6.0 -com.google.code.findbugs:jsr305:3.0.2 -com.google.code.gson:gson:2.8.5 -com.google.common.html.types:types:1.0.4 -com.google.dagger:dagger:2.28 -com.google.errorprone:error_prone_annotations:2.3.4 -com.google.flogger:flogger-system-backend:0.3.1 -com.google.flogger:flogger:0.3.1 -com.google.flogger:google-extensions:0.3.1 -com.google.guava:failureaccess:1.0.1 -com.google.guava:guava:29.0-jre -com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava -com.google.gwt:gwt-user:2.8.2 -com.google.http-client:google-http-client-appengine:1.34.1 -com.google.http-client:google-http-client-jackson2:1.34.1 -com.google.http-client:google-http-client-jackson:1.20.0 -com.google.http-client:google-http-client-protobuf:1.20.0 -com.google.http-client:google-http-client:1.34.1 -com.google.inject.extensions:guice-multibindings:4.1.0 -com.google.inject:guice:4.1.0 -com.google.j2objc:j2objc-annotations:1.3 -com.google.jsinterop:jsinterop-annotations:1.0.2 -com.google.monitoring-client:metrics:1.0.7 -com.google.monitoring-client:stackdriver:1.0.7 -com.google.oauth-client:google-oauth-client-appengine:1.30.5 -com.google.oauth-client:google-oauth-client-java6:1.28.0 -com.google.oauth-client:google-oauth-client-jetty:1.28.0 -com.google.oauth-client:google-oauth-client-servlet:1.30.5 -com.google.oauth-client:google-oauth-client:1.30.5 -com.google.protobuf.nano:protobuf-javanano:3.0.0-alpha-5 -com.google.protobuf:protobuf-java-util:3.6.1 -com.google.protobuf:protobuf-java:3.6.1 -com.google.re2j:re2j:1.1 -com.google.template:soy:2018-03-14 -com.google.truth:truth:1.0 -com.googlecode.charts4j:charts4j:1.3 -com.googlecode.java-diff-utils:diffutils:1.3.0 -com.googlecode.json-simple:json-simple:1.1.1 -com.ibm.icu:icu4j:57.1 -com.jcraft:jsch:0.1.55 -com.kohlschutter.junixsocket:junixsocket-common:2.0.4 -com.kohlschutter.junixsocket:junixsocket-native-common:2.0.4 -com.squareup.okhttp:okhttp:2.5.0 -com.squareup.okio:okio:1.13.0 -com.sun.istack:istack-commons-runtime:3.0.7 -com.sun.xml.fastinfoset:FastInfoset:1.2.15 -com.thoughtworks.paranamer:paranamer:2.7 -com.thoughtworks.qdox:qdox:1.12.1 -com.zaxxer:HikariCP:3.2.0 -commons-codec:commons-codec:1.11 -commons-logging:commons-logging:1.2 -dnsjava:dnsjava:2.1.7 -io.dropwizard.metrics:metrics-core:3.1.2 -io.grpc:grpc-all:1.17.1 -io.grpc:grpc-alts:1.17.1 -io.grpc:grpc-auth:1.17.1 -io.grpc:grpc-context:1.22.1 -io.grpc:grpc-core:1.17.1 -io.grpc:grpc-grpclb:1.17.1 -io.grpc:grpc-netty-shaded:1.17.1 -io.grpc:grpc-netty:1.17.1 -io.grpc:grpc-okhttp:1.17.1 -io.grpc:grpc-protobuf-lite:1.17.1 -io.grpc:grpc-protobuf-nano:1.17.1 -io.grpc:grpc-protobuf:1.17.1 -io.grpc:grpc-stub:1.17.1 -io.grpc:grpc-testing:1.17.1 -io.netty:netty-buffer:4.1.30.Final -io.netty:netty-codec-http2:4.1.30.Final -io.netty:netty-codec-http:4.1.30.Final -io.netty:netty-codec-socks:4.1.30.Final -io.netty:netty-codec:4.1.30.Final -io.netty:netty-common:4.1.30.Final -io.netty:netty-handler-proxy:4.1.30.Final -io.netty:netty-handler:4.1.30.Final -io.netty:netty-resolver:4.1.30.Final -io.netty:netty-tcnative-boringssl-static:2.0.17.Final -io.netty:netty-transport:4.1.30.Final -io.opencensus:opencensus-api:0.24.0 -io.opencensus:opencensus-contrib-grpc-metrics:0.17.0 -io.opencensus:opencensus-contrib-grpc-util:0.17.0 -io.opencensus:opencensus-contrib-http-util:0.24.0 -it.unimi.dsi:fastutil:6.5.16 -javax.activation:activation:1.1 -javax.activation:javax.activation-api:1.2.0 -javax.annotation:javax.annotation-api:1.2 -javax.annotation:jsr250-api:1.0 -javax.inject:javax.inject:1 -javax.jdo:jdo2-api:2.3-eb -javax.mail:mail:1.4 -javax.persistence:javax.persistence-api:2.2 -javax.servlet:servlet-api:2.5 -javax.transaction:transaction-api:1.1 -javax.validation:validation-api:1.0.0.GA -javax.xml.bind:jaxb-api:2.3.1 -jline:jline:1.0 -joda-time:joda-time:2.10.3 -junit:junit:4.12 -net.bytebuddy:byte-buddy:1.10.10 -net.java.dev.jna:jna-platform:5.5.0 -net.java.dev.jna:jna:5.5.0 -org.apache.avro:avro:1.8.2 -org.apache.beam:beam-model-job-management:2.16.0 -org.apache.beam:beam-model-pipeline:2.16.0 -org.apache.beam:beam-runners-core-construction-java:2.16.0 -org.apache.beam:beam-runners-google-cloud-dataflow-java:2.16.0 -org.apache.beam:beam-sdks-java-core:2.16.0 -org.apache.beam:beam-sdks-java-extensions-google-cloud-platform-core:2.16.0 -org.apache.beam:beam-sdks-java-extensions-protobuf:2.16.0 -org.apache.beam:beam-sdks-java-io-google-cloud-platform:2.16.0 -org.apache.beam:beam-vendor-bytebuddy-1_9_3:0.1 -org.apache.beam:beam-vendor-grpc-1_21_0:0.1 -org.apache.beam:beam-vendor-guava-26_0-jre:0.1 -org.apache.commons:commons-compress:1.20 -org.apache.commons:commons-lang3:3.5 -org.apache.httpcomponents:httpclient:4.5.11 -org.apache.httpcomponents:httpcore:4.4.13 -org.apiguardian:apiguardian-api:1.1.0 -org.bouncycastle:bcpg-jdk15on:1.61 -org.bouncycastle:bcprov-jdk15on:1.61 -org.checkerframework:checker-compat-qual:2.5.5 -org.checkerframework:checker-qual:2.11.1 -org.codehaus.jackson:jackson-core-asl:1.9.13 -org.codehaus.jackson:jackson-mapper-asl:1.9.13 -org.codehaus.mojo:animal-sniffer-annotations:1.17 -org.dom4j:dom4j:2.1.3 -org.easymock:easymock:3.0 -org.flywaydb:flyway-core:5.2.4 -org.glassfish.jaxb:jaxb-runtime:2.3.1 -org.glassfish.jaxb:txw2:2.3.1 -org.hamcrest:hamcrest-core:1.3 -org.hibernate.common:hibernate-commons-annotations:5.1.0.Final -org.hibernate:hibernate-core:5.4.17.Final -org.hibernate:hibernate-hikaricp:5.4.17.Final -org.javassist:javassist:3.24.0-GA -org.jboss.logging:jboss-logging:3.3.2.Final -org.jboss.spec.javax.transaction:jboss-transaction-api_1.2_spec:1.1.1.Final -org.jboss:jandex:2.1.3.Final -org.jetbrains:annotations:19.0.0 -org.joda:joda-money:1.0.1 -org.json:json:20160810 -org.junit.jupiter:junit-jupiter-api:5.6.2 -org.junit.jupiter:junit-jupiter-engine:5.6.2 -org.junit.platform:junit-platform-commons:1.6.2 -org.junit.platform:junit-platform-engine:1.6.2 -org.junit:junit-bom:5.6.2 -org.jvnet.staxex:stax-ex:1.8 -org.mockito:mockito-core:1.9.5 -org.mortbay.jetty:jetty-util:6.1.26 -org.mortbay.jetty:jetty:6.1.26 -org.objenesis:objenesis:1.2 -org.opentest4j:opentest4j:1.2.0 -org.ow2.asm:asm-analysis:8.0.1 -org.ow2.asm:asm-commons:7.1 -org.ow2.asm:asm-tree:8.0.1 -org.ow2.asm:asm-util:8.0.1 -org.ow2.asm:asm:8.0.1 -org.postgresql:postgresql:42.2.14 -org.rnorth.duct-tape:duct-tape:1.0.8 -org.rnorth.visible-assertions:visible-assertions:2.1.2 -org.rnorth:tcp-unix-socket-proxy:1.0.2 -org.scijava:native-lib-loader:2.0.2 -org.slf4j:slf4j-api:1.7.30 -org.slf4j:slf4j-jdk14:1.7.28 -org.testcontainers:database-commons:1.14.3 -org.testcontainers:jdbc:1.14.3 -org.testcontainers:postgresql:1.14.3 -org.testcontainers:testcontainers:1.14.3 -org.threeten:threetenbp:1.3.3 -org.tukaani:xz:1.8 -org.w3c.css:sac:1.3 -org.xerial.snappy:snappy-java:1.1.4 -org.yaml:snakeyaml:1.17 -xerces:xmlParserAPIs:2.6.2 -xpp3:xpp3:1.1.4c diff --git a/docs/gradle/dependency-locks/testCompileClasspath.lockfile b/docs/gradle/dependency-locks/testCompileClasspath.lockfile deleted file mode 100644 index f3fdc0b4d..000000000 --- a/docs/gradle/dependency-locks/testCompileClasspath.lockfile +++ /dev/null @@ -1,257 +0,0 @@ -# This is a Gradle generated file for dependency locking. -# Manual edits can break the build and are not advised. -# This file is expected to be part of source control. -androidx.annotation:annotation:1.1.0 -antlr:antlr:2.7.7 -aopalliance:aopalliance:1.0 -args4j:args4j:2.0.23 -cglib:cglib-nodep:2.2 -com.beust:jcommander:1.60 -com.fasterxml.jackson.core:jackson-annotations:2.9.10 -com.fasterxml.jackson.core:jackson-core:2.10.2 -com.fasterxml.jackson.core:jackson-databind:2.9.10 -com.fasterxml:classmate:1.5.1 -com.github.jnr:jffi:1.2.23 -com.github.jnr:jnr-a64asm:1.0.0 -com.github.jnr:jnr-constants:0.9.15 -com.github.jnr:jnr-enxio:0.26 -com.github.jnr:jnr-ffi:2.1.13 -com.github.jnr:jnr-posix:3.0.55 -com.github.jnr:jnr-unixsocket:0.30 -com.github.jnr:jnr-x86asm:1.0.2 -com.google.api-client:google-api-client-appengine:1.30.8 -com.google.api-client:google-api-client-jackson2:1.27.0 -com.google.api-client:google-api-client-java6:1.27.0 -com.google.api-client:google-api-client-servlet:1.30.8 -com.google.api-client:google-api-client:1.30.8 -com.google.api.grpc:grpc-google-cloud-bigquerystorage-v1beta1:0.44.0 -com.google.api.grpc:grpc-google-cloud-bigtable-admin-v2:0.38.0 -com.google.api.grpc:grpc-google-cloud-bigtable-v2:0.38.0 -com.google.api.grpc:grpc-google-cloud-pubsub-v1:1.43.0 -com.google.api.grpc:grpc-google-cloud-spanner-admin-database-v1:1.6.0 -com.google.api.grpc:grpc-google-cloud-spanner-admin-instance-v1:1.6.0 -com.google.api.grpc:grpc-google-cloud-spanner-v1:1.6.0 -com.google.api.grpc:grpc-google-common-protos:1.12.0 -com.google.api.grpc:proto-google-cloud-bigquerystorage-v1beta1:0.44.0 -com.google.api.grpc:proto-google-cloud-bigtable-admin-v2:0.38.0 -com.google.api.grpc:proto-google-cloud-bigtable-v2:0.44.0 -com.google.api.grpc:proto-google-cloud-datastore-v1:0.44.0 -com.google.api.grpc:proto-google-cloud-pubsub-v1:1.43.0 -com.google.api.grpc:proto-google-cloud-spanner-admin-database-v1:1.6.0 -com.google.api.grpc:proto-google-cloud-spanner-admin-instance-v1:1.6.0 -com.google.api.grpc:proto-google-cloud-spanner-v1:1.6.0 -com.google.api.grpc:proto-google-common-protos:1.12.0 -com.google.api.grpc:proto-google-iam-v1:0.12.0 -com.google.api:api-common:1.7.0 -com.google.api:gax-grpc:1.38.0 -com.google.api:gax-httpjson:0.52.0 -com.google.api:gax:1.38.0 -com.google.apis:google-api-services-admin-directory:directory_v1-rev72-1.22.0 -com.google.apis:google-api-services-appengine:v1-rev101-1.25.0 -com.google.apis:google-api-services-bigquery:v2-rev20181104-1.27.0 -com.google.apis:google-api-services-clouddebugger:v2-rev20180801-1.27.0 -com.google.apis:google-api-services-cloudkms:v1-rev12-1.22.0 -com.google.apis:google-api-services-cloudresourcemanager:v1-rev20181015-1.27.0 -com.google.apis:google-api-services-dataflow:v1b3-rev20190607-1.27.0 -com.google.apis:google-api-services-dns:v2beta1-rev6-1.22.0 -com.google.apis:google-api-services-drive:v2-rev160-1.19.1 -com.google.apis:google-api-services-groupssettings:v1-rev60-1.22.0 -com.google.apis:google-api-services-monitoring:v3-rev426-1.23.0 -com.google.apis:google-api-services-pubsub:v1-rev20181105-1.27.0 -com.google.apis:google-api-services-sheets:v4-rev483-1.22.0 -com.google.apis:google-api-services-sqladmin:v1beta4-rev20190827-1.30.1 -com.google.apis:google-api-services-storage:v1-rev20181109-1.27.0 -com.google.appengine.tools:appengine-gcs-client:0.6 -com.google.appengine.tools:appengine-mapreduce:0.9 -com.google.appengine.tools:appengine-pipeline:0.2.13 -com.google.appengine:appengine-api-1.0-sdk:1.9.48 -com.google.appengine:appengine-remote-api:1.9.48 -com.google.appengine:appengine-testing:1.9.58 -com.google.auth:google-auth-library-credentials:0.20.0 -com.google.auth:google-auth-library-oauth2-http:0.20.0 -com.google.auto.value:auto-value-annotations:1.7 -com.google.auto.value:auto-value:1.6.3 -com.google.cloud.bigdataoss:gcsio:1.9.16 -com.google.cloud.bigdataoss:util:1.9.16 -com.google.cloud.bigtable:bigtable-client-core:1.8.0 -com.google.cloud.datastore:datastore-v1-proto-client:1.6.0 -com.google.cloud.sql:jdbc-socket-factory-core:1.0.16 -com.google.cloud:google-cloud-bigquerystorage:0.79.0-alpha -com.google.cloud:google-cloud-bigtable-admin:0.73.0-alpha -com.google.cloud:google-cloud-bigtable:0.73.0-alpha -com.google.cloud:google-cloud-core-grpc:1.61.0 -com.google.cloud:google-cloud-core-http:1.55.0 -com.google.cloud:google-cloud-core:1.61.0 -com.google.cloud:google-cloud-spanner:1.6.0 -com.google.code.findbugs:jsr305:3.0.2 -com.google.code.gson:gson:2.8.5 -com.google.common.html.types:types:1.0.4 -com.google.dagger:dagger:2.28 -com.google.errorprone:error_prone_annotations:2.3.4 -com.google.flogger:flogger-system-backend:0.1 -com.google.flogger:flogger:0.3.1 -com.google.flogger:google-extensions:0.3.1 -com.google.guava:failureaccess:1.0.1 -com.google.guava:guava:29.0-jre -com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava -com.google.gwt:gwt-user:2.8.2 -com.google.http-client:google-http-client-appengine:1.34.1 -com.google.http-client:google-http-client-jackson2:1.34.1 -com.google.http-client:google-http-client-jackson:1.20.0 -com.google.http-client:google-http-client-protobuf:1.20.0 -com.google.http-client:google-http-client:1.34.1 -com.google.inject.extensions:guice-multibindings:4.1.0 -com.google.inject:guice:4.1.0 -com.google.j2objc:j2objc-annotations:1.3 -com.google.jsinterop:jsinterop-annotations:1.0.2 -com.google.monitoring-client:metrics:1.0.7 -com.google.monitoring-client:stackdriver:1.0.7 -com.google.oauth-client:google-oauth-client-appengine:1.30.5 -com.google.oauth-client:google-oauth-client-java6:1.28.0 -com.google.oauth-client:google-oauth-client-jetty:1.28.0 -com.google.oauth-client:google-oauth-client-servlet:1.30.5 -com.google.oauth-client:google-oauth-client:1.30.5 -com.google.protobuf.nano:protobuf-javanano:3.0.0-alpha-5 -com.google.protobuf:protobuf-java-util:3.6.1 -com.google.protobuf:protobuf-java:3.6.1 -com.google.re2j:re2j:1.1 -com.google.template:soy:2018-03-14 -com.google.truth:truth:1.0 -com.googlecode.charts4j:charts4j:1.3 -com.googlecode.java-diff-utils:diffutils:1.3.0 -com.googlecode.json-simple:json-simple:1.1.1 -com.ibm.icu:icu4j:57.1 -com.jcraft:jsch:0.1.55 -com.kohlschutter.junixsocket:junixsocket-common:2.0.4 -com.kohlschutter.junixsocket:junixsocket-native-common:2.0.4 -com.squareup.okhttp:okhttp:2.5.0 -com.squareup.okio:okio:1.13.0 -com.sun.istack:istack-commons-runtime:3.0.7 -com.sun.xml.fastinfoset:FastInfoset:1.2.15 -com.thoughtworks.paranamer:paranamer:2.7 -com.thoughtworks.qdox:qdox:1.12.1 -com.zaxxer:HikariCP:3.2.0 -commons-codec:commons-codec:1.11 -commons-logging:commons-logging:1.2 -dnsjava:dnsjava:2.1.7 -io.dropwizard.metrics:metrics-core:3.1.2 -io.grpc:grpc-all:1.17.1 -io.grpc:grpc-alts:1.17.1 -io.grpc:grpc-auth:1.17.1 -io.grpc:grpc-context:1.22.1 -io.grpc:grpc-core:1.17.1 -io.grpc:grpc-netty-shaded:1.17.1 -io.grpc:grpc-netty:1.17.1 -io.grpc:grpc-okhttp:1.17.1 -io.grpc:grpc-protobuf-lite:1.17.1 -io.grpc:grpc-protobuf-nano:1.17.1 -io.grpc:grpc-protobuf:1.17.1 -io.grpc:grpc-stub:1.17.1 -io.grpc:grpc-testing:1.17.1 -io.netty:netty-buffer:4.1.30.Final -io.netty:netty-codec-http2:4.1.30.Final -io.netty:netty-codec-http:4.1.30.Final -io.netty:netty-codec-socks:4.1.30.Final -io.netty:netty-codec:4.1.30.Final -io.netty:netty-common:4.1.30.Final -io.netty:netty-handler-proxy:4.1.30.Final -io.netty:netty-handler:4.1.30.Final -io.netty:netty-resolver:4.1.30.Final -io.netty:netty-tcnative-boringssl-static:2.0.17.Final -io.netty:netty-transport:4.1.30.Final -io.opencensus:opencensus-api:0.24.0 -io.opencensus:opencensus-contrib-grpc-metrics:0.17.0 -io.opencensus:opencensus-contrib-grpc-util:0.17.0 -io.opencensus:opencensus-contrib-http-util:0.24.0 -it.unimi.dsi:fastutil:6.5.16 -javax.activation:activation:1.1 -javax.activation:javax.activation-api:1.2.0 -javax.annotation:javax.annotation-api:1.2 -javax.annotation:jsr250-api:1.0 -javax.inject:javax.inject:1 -javax.jdo:jdo2-api:2.3-eb -javax.mail:mail:1.4 -javax.persistence:javax.persistence-api:2.2 -javax.servlet:servlet-api:2.5 -javax.transaction:transaction-api:1.1 -javax.validation:validation-api:1.0.0.GA -javax.xml.bind:jaxb-api:2.3.1 -jline:jline:1.0 -joda-time:joda-time:2.10.3 -junit:junit:4.12 -net.bytebuddy:byte-buddy:1.10.10 -net.java.dev.jna:jna-platform:5.5.0 -net.java.dev.jna:jna:5.5.0 -org.apache.avro:avro:1.8.2 -org.apache.beam:beam-model-job-management:2.16.0 -org.apache.beam:beam-model-pipeline:2.16.0 -org.apache.beam:beam-runners-core-construction-java:2.16.0 -org.apache.beam:beam-runners-google-cloud-dataflow-java:2.16.0 -org.apache.beam:beam-sdks-java-core:2.16.0 -org.apache.beam:beam-sdks-java-extensions-google-cloud-platform-core:2.16.0 -org.apache.beam:beam-sdks-java-extensions-protobuf:2.16.0 -org.apache.beam:beam-sdks-java-io-google-cloud-platform:2.16.0 -org.apache.beam:beam-vendor-bytebuddy-1_9_3:0.1 -org.apache.beam:beam-vendor-grpc-1_21_0:0.1 -org.apache.beam:beam-vendor-guava-26_0-jre:0.1 -org.apache.commons:commons-compress:1.20 -org.apache.commons:commons-lang3:3.5 -org.apache.httpcomponents:httpclient:4.5.11 -org.apache.httpcomponents:httpcore:4.4.13 -org.apiguardian:apiguardian-api:1.1.0 -org.bouncycastle:bcpg-jdk15on:1.61 -org.bouncycastle:bcprov-jdk15on:1.61 -org.checkerframework:checker-compat-qual:2.5.5 -org.checkerframework:checker-qual:2.11.1 -org.codehaus.jackson:jackson-core-asl:1.9.13 -org.codehaus.jackson:jackson-mapper-asl:1.9.13 -org.codehaus.mojo:animal-sniffer-annotations:1.17 -org.dom4j:dom4j:2.1.3 -org.easymock:easymock:3.0 -org.flywaydb:flyway-core:5.2.4 -org.glassfish.jaxb:jaxb-runtime:2.3.1 -org.glassfish.jaxb:txw2:2.3.1 -org.hamcrest:hamcrest-core:1.3 -org.hibernate.common:hibernate-commons-annotations:5.1.0.Final -org.hibernate:hibernate-core:5.4.17.Final -org.hibernate:hibernate-hikaricp:5.4.17.Final -org.javassist:javassist:3.24.0-GA -org.jboss.logging:jboss-logging:3.3.2.Final -org.jboss.spec.javax.transaction:jboss-transaction-api_1.2_spec:1.1.1.Final -org.jboss:jandex:2.1.3.Final -org.jetbrains:annotations:19.0.0 -org.joda:joda-money:1.0.1 -org.json:json:20160810 -org.junit.jupiter:junit-jupiter-api:5.6.2 -org.junit.jupiter:junit-jupiter-engine:5.6.2 -org.junit.platform:junit-platform-commons:1.6.2 -org.junit.platform:junit-platform-engine:1.6.2 -org.junit:junit-bom:5.6.2 -org.jvnet.staxex:stax-ex:1.8 -org.mockito:mockito-core:1.9.5 -org.mortbay.jetty:jetty-util:6.1.26 -org.mortbay.jetty:jetty:6.1.26 -org.objenesis:objenesis:1.2 -org.opentest4j:opentest4j:1.2.0 -org.ow2.asm:asm-analysis:8.0.1 -org.ow2.asm:asm-commons:7.1 -org.ow2.asm:asm-tree:8.0.1 -org.ow2.asm:asm-util:8.0.1 -org.ow2.asm:asm:8.0.1 -org.postgresql:postgresql:42.2.14 -org.rnorth.duct-tape:duct-tape:1.0.8 -org.rnorth.visible-assertions:visible-assertions:2.1.2 -org.rnorth:tcp-unix-socket-proxy:1.0.2 -org.scijava:native-lib-loader:2.0.2 -org.slf4j:slf4j-api:1.7.30 -org.testcontainers:database-commons:1.14.3 -org.testcontainers:jdbc:1.14.3 -org.testcontainers:postgresql:1.14.3 -org.testcontainers:testcontainers:1.14.3 -org.threeten:threetenbp:1.3.3 -org.tukaani:xz:1.8 -org.w3c.css:sac:1.3 -org.xerial.snappy:snappy-java:1.1.4 -org.yaml:snakeyaml:1.17 -xerces:xmlParserAPIs:2.6.2 -xpp3:xpp3:1.1.4c diff --git a/docs/gradle/dependency-locks/testCompileOnly.lockfile b/docs/gradle/dependency-locks/testCompileOnly.lockfile deleted file mode 100644 index 656c5dbcc..000000000 --- a/docs/gradle/dependency-locks/testCompileOnly.lockfile +++ /dev/null @@ -1,3 +0,0 @@ -# This is a Gradle generated file for dependency locking. -# Manual edits can break the build and are not advised. -# This file is expected to be part of source control. diff --git a/docs/gradle/dependency-locks/testRuntime.lockfile b/docs/gradle/dependency-locks/testRuntime.lockfile deleted file mode 100644 index 8bda33bfa..000000000 --- a/docs/gradle/dependency-locks/testRuntime.lockfile +++ /dev/null @@ -1,260 +0,0 @@ -# This is a Gradle generated file for dependency locking. -# Manual edits can break the build and are not advised. -# This file is expected to be part of source control. -androidx.annotation:annotation:1.1.0 -antlr:antlr:2.7.7 -aopalliance:aopalliance:1.0 -args4j:args4j:2.0.23 -cglib:cglib-nodep:2.2 -com.beust:jcommander:1.60 -com.fasterxml.jackson.core:jackson-annotations:2.9.10 -com.fasterxml.jackson.core:jackson-core:2.10.2 -com.fasterxml.jackson.core:jackson-databind:2.9.10 -com.fasterxml:classmate:1.5.1 -com.github.jnr:jffi:1.2.23 -com.github.jnr:jnr-a64asm:1.0.0 -com.github.jnr:jnr-constants:0.9.15 -com.github.jnr:jnr-enxio:0.26 -com.github.jnr:jnr-ffi:2.1.13 -com.github.jnr:jnr-posix:3.0.55 -com.github.jnr:jnr-unixsocket:0.30 -com.github.jnr:jnr-x86asm:1.0.2 -com.google.api-client:google-api-client-appengine:1.30.8 -com.google.api-client:google-api-client-jackson2:1.27.0 -com.google.api-client:google-api-client-java6:1.27.0 -com.google.api-client:google-api-client-servlet:1.30.8 -com.google.api-client:google-api-client:1.30.8 -com.google.api.grpc:grpc-google-cloud-bigquerystorage-v1beta1:0.44.0 -com.google.api.grpc:grpc-google-cloud-bigtable-admin-v2:0.38.0 -com.google.api.grpc:grpc-google-cloud-bigtable-v2:0.38.0 -com.google.api.grpc:grpc-google-cloud-pubsub-v1:1.43.0 -com.google.api.grpc:grpc-google-cloud-spanner-admin-database-v1:1.6.0 -com.google.api.grpc:grpc-google-cloud-spanner-admin-instance-v1:1.6.0 -com.google.api.grpc:grpc-google-cloud-spanner-v1:1.6.0 -com.google.api.grpc:grpc-google-common-protos:1.12.0 -com.google.api.grpc:proto-google-cloud-bigquerystorage-v1beta1:0.44.0 -com.google.api.grpc:proto-google-cloud-bigtable-admin-v2:0.38.0 -com.google.api.grpc:proto-google-cloud-bigtable-v2:0.44.0 -com.google.api.grpc:proto-google-cloud-datastore-v1:0.44.0 -com.google.api.grpc:proto-google-cloud-pubsub-v1:1.43.0 -com.google.api.grpc:proto-google-cloud-spanner-admin-database-v1:1.6.0 -com.google.api.grpc:proto-google-cloud-spanner-admin-instance-v1:1.6.0 -com.google.api.grpc:proto-google-cloud-spanner-v1:1.6.0 -com.google.api.grpc:proto-google-common-protos:1.12.0 -com.google.api.grpc:proto-google-iam-v1:0.12.0 -com.google.api:api-common:1.7.0 -com.google.api:gax-grpc:1.38.0 -com.google.api:gax-httpjson:0.52.0 -com.google.api:gax:1.38.0 -com.google.apis:google-api-services-admin-directory:directory_v1-rev72-1.22.0 -com.google.apis:google-api-services-appengine:v1-rev101-1.25.0 -com.google.apis:google-api-services-bigquery:v2-rev20181104-1.27.0 -com.google.apis:google-api-services-clouddebugger:v2-rev20180801-1.27.0 -com.google.apis:google-api-services-cloudkms:v1-rev12-1.22.0 -com.google.apis:google-api-services-cloudresourcemanager:v1-rev20181015-1.27.0 -com.google.apis:google-api-services-dataflow:v1b3-rev20190607-1.27.0 -com.google.apis:google-api-services-dns:v2beta1-rev6-1.22.0 -com.google.apis:google-api-services-drive:v2-rev160-1.19.1 -com.google.apis:google-api-services-groupssettings:v1-rev60-1.22.0 -com.google.apis:google-api-services-monitoring:v3-rev426-1.23.0 -com.google.apis:google-api-services-pubsub:v1-rev20181105-1.27.0 -com.google.apis:google-api-services-sheets:v4-rev483-1.22.0 -com.google.apis:google-api-services-sqladmin:v1beta4-rev20190827-1.30.1 -com.google.apis:google-api-services-storage:v1-rev20181109-1.27.0 -com.google.appengine.tools:appengine-gcs-client:0.6 -com.google.appengine.tools:appengine-mapreduce:0.9 -com.google.appengine.tools:appengine-pipeline:0.2.13 -com.google.appengine:appengine-api-1.0-sdk:1.9.48 -com.google.appengine:appengine-remote-api:1.9.48 -com.google.appengine:appengine-testing:1.9.58 -com.google.auth:google-auth-library-credentials:0.20.0 -com.google.auth:google-auth-library-oauth2-http:0.20.0 -com.google.auto.value:auto-value-annotations:1.7 -com.google.auto.value:auto-value:1.6.3 -com.google.cloud.bigdataoss:gcsio:1.9.16 -com.google.cloud.bigdataoss:util:1.9.16 -com.google.cloud.bigtable:bigtable-client-core:1.8.0 -com.google.cloud.datastore:datastore-v1-proto-client:1.6.0 -com.google.cloud.sql:jdbc-socket-factory-core:1.0.16 -com.google.cloud.sql:postgres-socket-factory:1.0.16 -com.google.cloud:google-cloud-bigquerystorage:0.79.0-alpha -com.google.cloud:google-cloud-bigtable-admin:0.73.0-alpha -com.google.cloud:google-cloud-bigtable:0.73.0-alpha -com.google.cloud:google-cloud-core-grpc:1.61.0 -com.google.cloud:google-cloud-core-http:1.55.0 -com.google.cloud:google-cloud-core:1.61.0 -com.google.cloud:google-cloud-spanner:1.6.0 -com.google.code.findbugs:jsr305:3.0.2 -com.google.code.gson:gson:2.8.5 -com.google.common.html.types:types:1.0.4 -com.google.dagger:dagger:2.28 -com.google.errorprone:error_prone_annotations:2.3.4 -com.google.flogger:flogger-system-backend:0.3.1 -com.google.flogger:flogger:0.3.1 -com.google.flogger:google-extensions:0.3.1 -com.google.guava:failureaccess:1.0.1 -com.google.guava:guava:29.0-jre -com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava -com.google.gwt:gwt-user:2.8.2 -com.google.http-client:google-http-client-appengine:1.34.1 -com.google.http-client:google-http-client-jackson2:1.34.1 -com.google.http-client:google-http-client-jackson:1.20.0 -com.google.http-client:google-http-client-protobuf:1.20.0 -com.google.http-client:google-http-client:1.34.1 -com.google.inject.extensions:guice-multibindings:4.1.0 -com.google.inject:guice:4.1.0 -com.google.j2objc:j2objc-annotations:1.3 -com.google.jsinterop:jsinterop-annotations:1.0.2 -com.google.monitoring-client:metrics:1.0.7 -com.google.monitoring-client:stackdriver:1.0.7 -com.google.oauth-client:google-oauth-client-appengine:1.30.5 -com.google.oauth-client:google-oauth-client-java6:1.28.0 -com.google.oauth-client:google-oauth-client-jetty:1.28.0 -com.google.oauth-client:google-oauth-client-servlet:1.30.5 -com.google.oauth-client:google-oauth-client:1.30.5 -com.google.protobuf.nano:protobuf-javanano:3.0.0-alpha-5 -com.google.protobuf:protobuf-java-util:3.6.1 -com.google.protobuf:protobuf-java:3.6.1 -com.google.re2j:re2j:1.1 -com.google.template:soy:2018-03-14 -com.google.truth:truth:1.0 -com.googlecode.charts4j:charts4j:1.3 -com.googlecode.java-diff-utils:diffutils:1.3.0 -com.googlecode.json-simple:json-simple:1.1.1 -com.ibm.icu:icu4j:57.1 -com.jcraft:jsch:0.1.55 -com.kohlschutter.junixsocket:junixsocket-common:2.0.4 -com.kohlschutter.junixsocket:junixsocket-native-common:2.0.4 -com.squareup.okhttp:okhttp:2.5.0 -com.squareup.okio:okio:1.13.0 -com.sun.istack:istack-commons-runtime:3.0.7 -com.sun.xml.fastinfoset:FastInfoset:1.2.15 -com.thoughtworks.paranamer:paranamer:2.7 -com.thoughtworks.qdox:qdox:1.12.1 -com.zaxxer:HikariCP:3.2.0 -commons-codec:commons-codec:1.11 -commons-logging:commons-logging:1.2 -dnsjava:dnsjava:2.1.7 -io.dropwizard.metrics:metrics-core:3.1.2 -io.grpc:grpc-all:1.17.1 -io.grpc:grpc-alts:1.17.1 -io.grpc:grpc-auth:1.17.1 -io.grpc:grpc-context:1.22.1 -io.grpc:grpc-core:1.17.1 -io.grpc:grpc-grpclb:1.17.1 -io.grpc:grpc-netty-shaded:1.17.1 -io.grpc:grpc-netty:1.17.1 -io.grpc:grpc-okhttp:1.17.1 -io.grpc:grpc-protobuf-lite:1.17.1 -io.grpc:grpc-protobuf-nano:1.17.1 -io.grpc:grpc-protobuf:1.17.1 -io.grpc:grpc-stub:1.17.1 -io.grpc:grpc-testing:1.17.1 -io.netty:netty-buffer:4.1.30.Final -io.netty:netty-codec-http2:4.1.30.Final -io.netty:netty-codec-http:4.1.30.Final -io.netty:netty-codec-socks:4.1.30.Final -io.netty:netty-codec:4.1.30.Final -io.netty:netty-common:4.1.30.Final -io.netty:netty-handler-proxy:4.1.30.Final -io.netty:netty-handler:4.1.30.Final -io.netty:netty-resolver:4.1.30.Final -io.netty:netty-tcnative-boringssl-static:2.0.17.Final -io.netty:netty-transport:4.1.30.Final -io.opencensus:opencensus-api:0.24.0 -io.opencensus:opencensus-contrib-grpc-metrics:0.17.0 -io.opencensus:opencensus-contrib-grpc-util:0.17.0 -io.opencensus:opencensus-contrib-http-util:0.24.0 -it.unimi.dsi:fastutil:6.5.16 -javax.activation:activation:1.1 -javax.activation:javax.activation-api:1.2.0 -javax.annotation:javax.annotation-api:1.2 -javax.annotation:jsr250-api:1.0 -javax.inject:javax.inject:1 -javax.jdo:jdo2-api:2.3-eb -javax.mail:mail:1.4 -javax.persistence:javax.persistence-api:2.2 -javax.servlet:servlet-api:2.5 -javax.transaction:transaction-api:1.1 -javax.validation:validation-api:1.0.0.GA -javax.xml.bind:jaxb-api:2.3.1 -jline:jline:1.0 -joda-time:joda-time:2.10.3 -junit:junit:4.12 -net.bytebuddy:byte-buddy:1.10.10 -net.java.dev.jna:jna-platform:5.5.0 -net.java.dev.jna:jna:5.5.0 -org.apache.avro:avro:1.8.2 -org.apache.beam:beam-model-job-management:2.16.0 -org.apache.beam:beam-model-pipeline:2.16.0 -org.apache.beam:beam-runners-core-construction-java:2.16.0 -org.apache.beam:beam-runners-google-cloud-dataflow-java:2.16.0 -org.apache.beam:beam-sdks-java-core:2.16.0 -org.apache.beam:beam-sdks-java-extensions-google-cloud-platform-core:2.16.0 -org.apache.beam:beam-sdks-java-extensions-protobuf:2.16.0 -org.apache.beam:beam-sdks-java-io-google-cloud-platform:2.16.0 -org.apache.beam:beam-vendor-bytebuddy-1_9_3:0.1 -org.apache.beam:beam-vendor-grpc-1_21_0:0.1 -org.apache.beam:beam-vendor-guava-26_0-jre:0.1 -org.apache.commons:commons-compress:1.20 -org.apache.commons:commons-lang3:3.5 -org.apache.httpcomponents:httpclient:4.5.11 -org.apache.httpcomponents:httpcore:4.4.13 -org.apiguardian:apiguardian-api:1.1.0 -org.bouncycastle:bcpg-jdk15on:1.61 -org.bouncycastle:bcprov-jdk15on:1.61 -org.checkerframework:checker-compat-qual:2.5.5 -org.checkerframework:checker-qual:2.11.1 -org.codehaus.jackson:jackson-core-asl:1.9.13 -org.codehaus.jackson:jackson-mapper-asl:1.9.13 -org.codehaus.mojo:animal-sniffer-annotations:1.17 -org.dom4j:dom4j:2.1.3 -org.easymock:easymock:3.0 -org.flywaydb:flyway-core:5.2.4 -org.glassfish.jaxb:jaxb-runtime:2.3.1 -org.glassfish.jaxb:txw2:2.3.1 -org.hamcrest:hamcrest-core:1.3 -org.hibernate.common:hibernate-commons-annotations:5.1.0.Final -org.hibernate:hibernate-core:5.4.17.Final -org.hibernate:hibernate-hikaricp:5.4.17.Final -org.javassist:javassist:3.24.0-GA -org.jboss.logging:jboss-logging:3.3.2.Final -org.jboss.spec.javax.transaction:jboss-transaction-api_1.2_spec:1.1.1.Final -org.jboss:jandex:2.1.3.Final -org.jetbrains:annotations:19.0.0 -org.joda:joda-money:1.0.1 -org.json:json:20160810 -org.junit.jupiter:junit-jupiter-api:5.6.2 -org.junit.jupiter:junit-jupiter-engine:5.6.2 -org.junit.platform:junit-platform-commons:1.6.2 -org.junit.platform:junit-platform-engine:1.6.2 -org.junit:junit-bom:5.6.2 -org.jvnet.staxex:stax-ex:1.8 -org.mockito:mockito-core:1.9.5 -org.mortbay.jetty:jetty-util:6.1.26 -org.mortbay.jetty:jetty:6.1.26 -org.objenesis:objenesis:1.2 -org.opentest4j:opentest4j:1.2.0 -org.ow2.asm:asm-analysis:8.0.1 -org.ow2.asm:asm-commons:7.1 -org.ow2.asm:asm-tree:8.0.1 -org.ow2.asm:asm-util:8.0.1 -org.ow2.asm:asm:8.0.1 -org.postgresql:postgresql:42.2.14 -org.rnorth.duct-tape:duct-tape:1.0.8 -org.rnorth.visible-assertions:visible-assertions:2.1.2 -org.rnorth:tcp-unix-socket-proxy:1.0.2 -org.scijava:native-lib-loader:2.0.2 -org.slf4j:slf4j-api:1.7.30 -org.slf4j:slf4j-jdk14:1.7.28 -org.testcontainers:database-commons:1.14.3 -org.testcontainers:jdbc:1.14.3 -org.testcontainers:postgresql:1.14.3 -org.testcontainers:testcontainers:1.14.3 -org.threeten:threetenbp:1.3.3 -org.tukaani:xz:1.8 -org.w3c.css:sac:1.3 -org.xerial.snappy:snappy-java:1.1.4 -org.yaml:snakeyaml:1.17 -xerces:xmlParserAPIs:2.6.2 -xpp3:xpp3:1.1.4c diff --git a/docs/gradle/dependency-locks/testRuntimeClasspath.lockfile b/docs/gradle/dependency-locks/testRuntimeClasspath.lockfile deleted file mode 100644 index 8bda33bfa..000000000 --- a/docs/gradle/dependency-locks/testRuntimeClasspath.lockfile +++ /dev/null @@ -1,260 +0,0 @@ -# This is a Gradle generated file for dependency locking. -# Manual edits can break the build and are not advised. -# This file is expected to be part of source control. -androidx.annotation:annotation:1.1.0 -antlr:antlr:2.7.7 -aopalliance:aopalliance:1.0 -args4j:args4j:2.0.23 -cglib:cglib-nodep:2.2 -com.beust:jcommander:1.60 -com.fasterxml.jackson.core:jackson-annotations:2.9.10 -com.fasterxml.jackson.core:jackson-core:2.10.2 -com.fasterxml.jackson.core:jackson-databind:2.9.10 -com.fasterxml:classmate:1.5.1 -com.github.jnr:jffi:1.2.23 -com.github.jnr:jnr-a64asm:1.0.0 -com.github.jnr:jnr-constants:0.9.15 -com.github.jnr:jnr-enxio:0.26 -com.github.jnr:jnr-ffi:2.1.13 -com.github.jnr:jnr-posix:3.0.55 -com.github.jnr:jnr-unixsocket:0.30 -com.github.jnr:jnr-x86asm:1.0.2 -com.google.api-client:google-api-client-appengine:1.30.8 -com.google.api-client:google-api-client-jackson2:1.27.0 -com.google.api-client:google-api-client-java6:1.27.0 -com.google.api-client:google-api-client-servlet:1.30.8 -com.google.api-client:google-api-client:1.30.8 -com.google.api.grpc:grpc-google-cloud-bigquerystorage-v1beta1:0.44.0 -com.google.api.grpc:grpc-google-cloud-bigtable-admin-v2:0.38.0 -com.google.api.grpc:grpc-google-cloud-bigtable-v2:0.38.0 -com.google.api.grpc:grpc-google-cloud-pubsub-v1:1.43.0 -com.google.api.grpc:grpc-google-cloud-spanner-admin-database-v1:1.6.0 -com.google.api.grpc:grpc-google-cloud-spanner-admin-instance-v1:1.6.0 -com.google.api.grpc:grpc-google-cloud-spanner-v1:1.6.0 -com.google.api.grpc:grpc-google-common-protos:1.12.0 -com.google.api.grpc:proto-google-cloud-bigquerystorage-v1beta1:0.44.0 -com.google.api.grpc:proto-google-cloud-bigtable-admin-v2:0.38.0 -com.google.api.grpc:proto-google-cloud-bigtable-v2:0.44.0 -com.google.api.grpc:proto-google-cloud-datastore-v1:0.44.0 -com.google.api.grpc:proto-google-cloud-pubsub-v1:1.43.0 -com.google.api.grpc:proto-google-cloud-spanner-admin-database-v1:1.6.0 -com.google.api.grpc:proto-google-cloud-spanner-admin-instance-v1:1.6.0 -com.google.api.grpc:proto-google-cloud-spanner-v1:1.6.0 -com.google.api.grpc:proto-google-common-protos:1.12.0 -com.google.api.grpc:proto-google-iam-v1:0.12.0 -com.google.api:api-common:1.7.0 -com.google.api:gax-grpc:1.38.0 -com.google.api:gax-httpjson:0.52.0 -com.google.api:gax:1.38.0 -com.google.apis:google-api-services-admin-directory:directory_v1-rev72-1.22.0 -com.google.apis:google-api-services-appengine:v1-rev101-1.25.0 -com.google.apis:google-api-services-bigquery:v2-rev20181104-1.27.0 -com.google.apis:google-api-services-clouddebugger:v2-rev20180801-1.27.0 -com.google.apis:google-api-services-cloudkms:v1-rev12-1.22.0 -com.google.apis:google-api-services-cloudresourcemanager:v1-rev20181015-1.27.0 -com.google.apis:google-api-services-dataflow:v1b3-rev20190607-1.27.0 -com.google.apis:google-api-services-dns:v2beta1-rev6-1.22.0 -com.google.apis:google-api-services-drive:v2-rev160-1.19.1 -com.google.apis:google-api-services-groupssettings:v1-rev60-1.22.0 -com.google.apis:google-api-services-monitoring:v3-rev426-1.23.0 -com.google.apis:google-api-services-pubsub:v1-rev20181105-1.27.0 -com.google.apis:google-api-services-sheets:v4-rev483-1.22.0 -com.google.apis:google-api-services-sqladmin:v1beta4-rev20190827-1.30.1 -com.google.apis:google-api-services-storage:v1-rev20181109-1.27.0 -com.google.appengine.tools:appengine-gcs-client:0.6 -com.google.appengine.tools:appengine-mapreduce:0.9 -com.google.appengine.tools:appengine-pipeline:0.2.13 -com.google.appengine:appengine-api-1.0-sdk:1.9.48 -com.google.appengine:appengine-remote-api:1.9.48 -com.google.appengine:appengine-testing:1.9.58 -com.google.auth:google-auth-library-credentials:0.20.0 -com.google.auth:google-auth-library-oauth2-http:0.20.0 -com.google.auto.value:auto-value-annotations:1.7 -com.google.auto.value:auto-value:1.6.3 -com.google.cloud.bigdataoss:gcsio:1.9.16 -com.google.cloud.bigdataoss:util:1.9.16 -com.google.cloud.bigtable:bigtable-client-core:1.8.0 -com.google.cloud.datastore:datastore-v1-proto-client:1.6.0 -com.google.cloud.sql:jdbc-socket-factory-core:1.0.16 -com.google.cloud.sql:postgres-socket-factory:1.0.16 -com.google.cloud:google-cloud-bigquerystorage:0.79.0-alpha -com.google.cloud:google-cloud-bigtable-admin:0.73.0-alpha -com.google.cloud:google-cloud-bigtable:0.73.0-alpha -com.google.cloud:google-cloud-core-grpc:1.61.0 -com.google.cloud:google-cloud-core-http:1.55.0 -com.google.cloud:google-cloud-core:1.61.0 -com.google.cloud:google-cloud-spanner:1.6.0 -com.google.code.findbugs:jsr305:3.0.2 -com.google.code.gson:gson:2.8.5 -com.google.common.html.types:types:1.0.4 -com.google.dagger:dagger:2.28 -com.google.errorprone:error_prone_annotations:2.3.4 -com.google.flogger:flogger-system-backend:0.3.1 -com.google.flogger:flogger:0.3.1 -com.google.flogger:google-extensions:0.3.1 -com.google.guava:failureaccess:1.0.1 -com.google.guava:guava:29.0-jre -com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava -com.google.gwt:gwt-user:2.8.2 -com.google.http-client:google-http-client-appengine:1.34.1 -com.google.http-client:google-http-client-jackson2:1.34.1 -com.google.http-client:google-http-client-jackson:1.20.0 -com.google.http-client:google-http-client-protobuf:1.20.0 -com.google.http-client:google-http-client:1.34.1 -com.google.inject.extensions:guice-multibindings:4.1.0 -com.google.inject:guice:4.1.0 -com.google.j2objc:j2objc-annotations:1.3 -com.google.jsinterop:jsinterop-annotations:1.0.2 -com.google.monitoring-client:metrics:1.0.7 -com.google.monitoring-client:stackdriver:1.0.7 -com.google.oauth-client:google-oauth-client-appengine:1.30.5 -com.google.oauth-client:google-oauth-client-java6:1.28.0 -com.google.oauth-client:google-oauth-client-jetty:1.28.0 -com.google.oauth-client:google-oauth-client-servlet:1.30.5 -com.google.oauth-client:google-oauth-client:1.30.5 -com.google.protobuf.nano:protobuf-javanano:3.0.0-alpha-5 -com.google.protobuf:protobuf-java-util:3.6.1 -com.google.protobuf:protobuf-java:3.6.1 -com.google.re2j:re2j:1.1 -com.google.template:soy:2018-03-14 -com.google.truth:truth:1.0 -com.googlecode.charts4j:charts4j:1.3 -com.googlecode.java-diff-utils:diffutils:1.3.0 -com.googlecode.json-simple:json-simple:1.1.1 -com.ibm.icu:icu4j:57.1 -com.jcraft:jsch:0.1.55 -com.kohlschutter.junixsocket:junixsocket-common:2.0.4 -com.kohlschutter.junixsocket:junixsocket-native-common:2.0.4 -com.squareup.okhttp:okhttp:2.5.0 -com.squareup.okio:okio:1.13.0 -com.sun.istack:istack-commons-runtime:3.0.7 -com.sun.xml.fastinfoset:FastInfoset:1.2.15 -com.thoughtworks.paranamer:paranamer:2.7 -com.thoughtworks.qdox:qdox:1.12.1 -com.zaxxer:HikariCP:3.2.0 -commons-codec:commons-codec:1.11 -commons-logging:commons-logging:1.2 -dnsjava:dnsjava:2.1.7 -io.dropwizard.metrics:metrics-core:3.1.2 -io.grpc:grpc-all:1.17.1 -io.grpc:grpc-alts:1.17.1 -io.grpc:grpc-auth:1.17.1 -io.grpc:grpc-context:1.22.1 -io.grpc:grpc-core:1.17.1 -io.grpc:grpc-grpclb:1.17.1 -io.grpc:grpc-netty-shaded:1.17.1 -io.grpc:grpc-netty:1.17.1 -io.grpc:grpc-okhttp:1.17.1 -io.grpc:grpc-protobuf-lite:1.17.1 -io.grpc:grpc-protobuf-nano:1.17.1 -io.grpc:grpc-protobuf:1.17.1 -io.grpc:grpc-stub:1.17.1 -io.grpc:grpc-testing:1.17.1 -io.netty:netty-buffer:4.1.30.Final -io.netty:netty-codec-http2:4.1.30.Final -io.netty:netty-codec-http:4.1.30.Final -io.netty:netty-codec-socks:4.1.30.Final -io.netty:netty-codec:4.1.30.Final -io.netty:netty-common:4.1.30.Final -io.netty:netty-handler-proxy:4.1.30.Final -io.netty:netty-handler:4.1.30.Final -io.netty:netty-resolver:4.1.30.Final -io.netty:netty-tcnative-boringssl-static:2.0.17.Final -io.netty:netty-transport:4.1.30.Final -io.opencensus:opencensus-api:0.24.0 -io.opencensus:opencensus-contrib-grpc-metrics:0.17.0 -io.opencensus:opencensus-contrib-grpc-util:0.17.0 -io.opencensus:opencensus-contrib-http-util:0.24.0 -it.unimi.dsi:fastutil:6.5.16 -javax.activation:activation:1.1 -javax.activation:javax.activation-api:1.2.0 -javax.annotation:javax.annotation-api:1.2 -javax.annotation:jsr250-api:1.0 -javax.inject:javax.inject:1 -javax.jdo:jdo2-api:2.3-eb -javax.mail:mail:1.4 -javax.persistence:javax.persistence-api:2.2 -javax.servlet:servlet-api:2.5 -javax.transaction:transaction-api:1.1 -javax.validation:validation-api:1.0.0.GA -javax.xml.bind:jaxb-api:2.3.1 -jline:jline:1.0 -joda-time:joda-time:2.10.3 -junit:junit:4.12 -net.bytebuddy:byte-buddy:1.10.10 -net.java.dev.jna:jna-platform:5.5.0 -net.java.dev.jna:jna:5.5.0 -org.apache.avro:avro:1.8.2 -org.apache.beam:beam-model-job-management:2.16.0 -org.apache.beam:beam-model-pipeline:2.16.0 -org.apache.beam:beam-runners-core-construction-java:2.16.0 -org.apache.beam:beam-runners-google-cloud-dataflow-java:2.16.0 -org.apache.beam:beam-sdks-java-core:2.16.0 -org.apache.beam:beam-sdks-java-extensions-google-cloud-platform-core:2.16.0 -org.apache.beam:beam-sdks-java-extensions-protobuf:2.16.0 -org.apache.beam:beam-sdks-java-io-google-cloud-platform:2.16.0 -org.apache.beam:beam-vendor-bytebuddy-1_9_3:0.1 -org.apache.beam:beam-vendor-grpc-1_21_0:0.1 -org.apache.beam:beam-vendor-guava-26_0-jre:0.1 -org.apache.commons:commons-compress:1.20 -org.apache.commons:commons-lang3:3.5 -org.apache.httpcomponents:httpclient:4.5.11 -org.apache.httpcomponents:httpcore:4.4.13 -org.apiguardian:apiguardian-api:1.1.0 -org.bouncycastle:bcpg-jdk15on:1.61 -org.bouncycastle:bcprov-jdk15on:1.61 -org.checkerframework:checker-compat-qual:2.5.5 -org.checkerframework:checker-qual:2.11.1 -org.codehaus.jackson:jackson-core-asl:1.9.13 -org.codehaus.jackson:jackson-mapper-asl:1.9.13 -org.codehaus.mojo:animal-sniffer-annotations:1.17 -org.dom4j:dom4j:2.1.3 -org.easymock:easymock:3.0 -org.flywaydb:flyway-core:5.2.4 -org.glassfish.jaxb:jaxb-runtime:2.3.1 -org.glassfish.jaxb:txw2:2.3.1 -org.hamcrest:hamcrest-core:1.3 -org.hibernate.common:hibernate-commons-annotations:5.1.0.Final -org.hibernate:hibernate-core:5.4.17.Final -org.hibernate:hibernate-hikaricp:5.4.17.Final -org.javassist:javassist:3.24.0-GA -org.jboss.logging:jboss-logging:3.3.2.Final -org.jboss.spec.javax.transaction:jboss-transaction-api_1.2_spec:1.1.1.Final -org.jboss:jandex:2.1.3.Final -org.jetbrains:annotations:19.0.0 -org.joda:joda-money:1.0.1 -org.json:json:20160810 -org.junit.jupiter:junit-jupiter-api:5.6.2 -org.junit.jupiter:junit-jupiter-engine:5.6.2 -org.junit.platform:junit-platform-commons:1.6.2 -org.junit.platform:junit-platform-engine:1.6.2 -org.junit:junit-bom:5.6.2 -org.jvnet.staxex:stax-ex:1.8 -org.mockito:mockito-core:1.9.5 -org.mortbay.jetty:jetty-util:6.1.26 -org.mortbay.jetty:jetty:6.1.26 -org.objenesis:objenesis:1.2 -org.opentest4j:opentest4j:1.2.0 -org.ow2.asm:asm-analysis:8.0.1 -org.ow2.asm:asm-commons:7.1 -org.ow2.asm:asm-tree:8.0.1 -org.ow2.asm:asm-util:8.0.1 -org.ow2.asm:asm:8.0.1 -org.postgresql:postgresql:42.2.14 -org.rnorth.duct-tape:duct-tape:1.0.8 -org.rnorth.visible-assertions:visible-assertions:2.1.2 -org.rnorth:tcp-unix-socket-proxy:1.0.2 -org.scijava:native-lib-loader:2.0.2 -org.slf4j:slf4j-api:1.7.30 -org.slf4j:slf4j-jdk14:1.7.28 -org.testcontainers:database-commons:1.14.3 -org.testcontainers:jdbc:1.14.3 -org.testcontainers:postgresql:1.14.3 -org.testcontainers:testcontainers:1.14.3 -org.threeten:threetenbp:1.3.3 -org.tukaani:xz:1.8 -org.w3c.css:sac:1.3 -org.xerial.snappy:snappy-java:1.1.4 -org.yaml:snakeyaml:1.17 -xerces:xmlParserAPIs:2.6.2 -xpp3:xpp3:1.1.4c diff --git a/prober/build.gradle b/prober/build.gradle index 15ac56353..b5ca41962 100644 --- a/prober/build.gradle +++ b/prober/build.gradle @@ -48,10 +48,9 @@ dependencies { testCompile deps['com.google.monitoring-client:contrib'] testCompile deps['com.google.truth:truth'] - testCompile deps['junit:junit'] testCompile deps['org.junit.jupiter:junit-jupiter-api'] testCompile deps['org.junit.jupiter:junit-jupiter-engine'] - testCompile deps['org.junit.vintage:junit-vintage-engine'] + testCompile deps['org.junit.jupiter:junit-jupiter-params'] testCompile deps['org.mockito:mockito-core'] testCompile project(path: ':common', configuration: 'testing') testCompile project(path: ':networking', configuration: 'testRuntime') diff --git a/prober/gradle/dependency-locks/testCompile.lockfile b/prober/gradle/dependency-locks/testCompile.lockfile index cecda02f9..36c6a7021 100644 --- a/prober/gradle/dependency-locks/testCompile.lockfile +++ b/prober/gradle/dependency-locks/testCompile.lockfile @@ -47,7 +47,7 @@ javax.inject:javax.inject:1 javax.mail:mail:1.4 javax.xml.bind:jaxb-api:2.3.0 joda-time:joda-time:2.9.2 -junit:junit:4.13 +junit:junit:4.12 net.bytebuddy:byte-buddy-agent:1.10.5 net.bytebuddy:byte-buddy:1.10.5 org.apache.httpcomponents:httpclient:4.5.11 @@ -63,7 +63,6 @@ org.junit.jupiter:junit-jupiter-engine:5.6.2 org.junit.jupiter:junit-jupiter-params:5.6.2 org.junit.platform:junit-platform-commons:1.6.2 org.junit.platform:junit-platform-engine:1.6.2 -org.junit.vintage:junit-vintage-engine:5.6.2 org.junit:junit-bom:5.6.2 org.mockito:mockito-core:3.3.3 org.objenesis:objenesis:2.6 diff --git a/prober/gradle/dependency-locks/testCompileClasspath.lockfile b/prober/gradle/dependency-locks/testCompileClasspath.lockfile index cecda02f9..36c6a7021 100644 --- a/prober/gradle/dependency-locks/testCompileClasspath.lockfile +++ b/prober/gradle/dependency-locks/testCompileClasspath.lockfile @@ -47,7 +47,7 @@ javax.inject:javax.inject:1 javax.mail:mail:1.4 javax.xml.bind:jaxb-api:2.3.0 joda-time:joda-time:2.9.2 -junit:junit:4.13 +junit:junit:4.12 net.bytebuddy:byte-buddy-agent:1.10.5 net.bytebuddy:byte-buddy:1.10.5 org.apache.httpcomponents:httpclient:4.5.11 @@ -63,7 +63,6 @@ org.junit.jupiter:junit-jupiter-engine:5.6.2 org.junit.jupiter:junit-jupiter-params:5.6.2 org.junit.platform:junit-platform-commons:1.6.2 org.junit.platform:junit-platform-engine:1.6.2 -org.junit.vintage:junit-vintage-engine:5.6.2 org.junit:junit-bom:5.6.2 org.mockito:mockito-core:3.3.3 org.objenesis:objenesis:2.6 diff --git a/prober/gradle/dependency-locks/testRuntime.lockfile b/prober/gradle/dependency-locks/testRuntime.lockfile index cecda02f9..36c6a7021 100644 --- a/prober/gradle/dependency-locks/testRuntime.lockfile +++ b/prober/gradle/dependency-locks/testRuntime.lockfile @@ -47,7 +47,7 @@ javax.inject:javax.inject:1 javax.mail:mail:1.4 javax.xml.bind:jaxb-api:2.3.0 joda-time:joda-time:2.9.2 -junit:junit:4.13 +junit:junit:4.12 net.bytebuddy:byte-buddy-agent:1.10.5 net.bytebuddy:byte-buddy:1.10.5 org.apache.httpcomponents:httpclient:4.5.11 @@ -63,7 +63,6 @@ org.junit.jupiter:junit-jupiter-engine:5.6.2 org.junit.jupiter:junit-jupiter-params:5.6.2 org.junit.platform:junit-platform-commons:1.6.2 org.junit.platform:junit-platform-engine:1.6.2 -org.junit.vintage:junit-vintage-engine:5.6.2 org.junit:junit-bom:5.6.2 org.mockito:mockito-core:3.3.3 org.objenesis:objenesis:2.6 diff --git a/prober/gradle/dependency-locks/testRuntimeClasspath.lockfile b/prober/gradle/dependency-locks/testRuntimeClasspath.lockfile index cecda02f9..36c6a7021 100644 --- a/prober/gradle/dependency-locks/testRuntimeClasspath.lockfile +++ b/prober/gradle/dependency-locks/testRuntimeClasspath.lockfile @@ -47,7 +47,7 @@ javax.inject:javax.inject:1 javax.mail:mail:1.4 javax.xml.bind:jaxb-api:2.3.0 joda-time:joda-time:2.9.2 -junit:junit:4.13 +junit:junit:4.12 net.bytebuddy:byte-buddy-agent:1.10.5 net.bytebuddy:byte-buddy:1.10.5 org.apache.httpcomponents:httpclient:4.5.11 @@ -63,7 +63,6 @@ org.junit.jupiter:junit-jupiter-engine:5.6.2 org.junit.jupiter:junit-jupiter-params:5.6.2 org.junit.platform:junit-platform-commons:1.6.2 org.junit.platform:junit-platform-engine:1.6.2 -org.junit.vintage:junit-vintage-engine:5.6.2 org.junit:junit-bom:5.6.2 org.mockito:mockito-core:3.3.3 org.objenesis:objenesis:2.6 diff --git a/prober/src/main/java/google/registry/monitoring/blackbox/message/EppMessage.java b/prober/src/main/java/google/registry/monitoring/blackbox/message/EppMessage.java index cb8092bdf..7e4892b24 100644 --- a/prober/src/main/java/google/registry/monitoring/blackbox/message/EppMessage.java +++ b/prober/src/main/java/google/registry/monitoring/blackbox/message/EppMessage.java @@ -92,12 +92,14 @@ public class EppMessage { @VisibleForTesting public static final String XPASS_EXPRESSION = String.format("//eppns:result[@code>='%s'][@code<'%s']", 1000, 2000); + /** * Expression that expresses a result code in the {@link EppResponseMessage} that means failure. */ @VisibleForTesting public static final String XFAIL_EXPRESSION = String.format("//eppns:result[@code>='%s'][@code<'%s']", 2000, 3000); + // "Security" errors from RFC 5730, plus the error we get when we end // up no longer logged (see b/28196510). // 2002 "Command use error" diff --git a/prober/src/test/java/google/registry/monitoring/blackbox/ProbingSequenceTest.java b/prober/src/test/java/google/registry/monitoring/blackbox/ProbingSequenceTest.java index 468a8e0e7..cccf9127e 100644 --- a/prober/src/test/java/google/registry/monitoring/blackbox/ProbingSequenceTest.java +++ b/prober/src/test/java/google/registry/monitoring/blackbox/ProbingSequenceTest.java @@ -37,10 +37,8 @@ import io.netty.channel.Channel; import io.netty.channel.ChannelPromise; import io.netty.channel.embedded.EmbeddedChannel; import org.joda.time.Duration; -import org.junit.Before; -import org.junit.Test; -import org.junit.runner.RunWith; -import org.junit.runners.JUnit4; +import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.Test; import org.mockito.Mockito; /** @@ -56,8 +54,7 @@ import org.mockito.Mockito; * UnrecoverableStateException}, using mocks of the steps or actions, as the sequences are run using * the main thread (with {@link EmbeddedChannel}). */ -@RunWith(JUnit4.class) -public class ProbingSequenceTest { +class ProbingSequenceTest { private static final String PROTOCOL_NAME = "PROTOCOL"; private static final String MESSAGE_NAME = "MESSAGE"; @@ -100,8 +97,8 @@ public class ProbingSequenceTest { /** Default mock {@link Clock} passed into each {@link ProbingSequence} tested */ private Clock clock = new FakeClock(); - @Before - public void setup() { + @BeforeEach + void beforeEach() { // To avoid a NullPointerException, we must have a protocol return persistent connection as // false. doReturn(true).when(mockProtocol).persistentConnection(); @@ -124,7 +121,7 @@ public class ProbingSequenceTest { } @Test - public void testSequenceBasicConstruction_Success() { + void testSequenceBasicConstruction_Success() { ProbingStep firstStep = Mockito.mock(ProbingStep.class); ProbingStep secondStep = Mockito.mock(ProbingStep.class); ProbingStep thirdStep = Mockito.mock(ProbingStep.class); @@ -149,7 +146,7 @@ public class ProbingSequenceTest { } @Test - public void testSequenceAdvancedConstruction_Success() { + void testSequenceAdvancedConstruction_Success() { ProbingStep firstStep = Mockito.mock(ProbingStep.class); ProbingStep secondStep = Mockito.mock(ProbingStep.class); ProbingStep thirdStep = Mockito.mock(ProbingStep.class); @@ -175,7 +172,7 @@ public class ProbingSequenceTest { } @Test - public void testRunStep_Success() throws UndeterminedStateException { + void testRunStep_Success() throws UndeterminedStateException { // Always returns a succeeded future on call to mockAction. Also advances the FakeClock by // standard LATENCY to check right latency is recorded. doAnswer( @@ -229,7 +226,7 @@ public class ProbingSequenceTest { } @Test - public void testRunLoop_Success() throws UndeterminedStateException { + void testRunLoop_Success() throws UndeterminedStateException { // Always returns a succeeded future on call to mockAction. Also advances the FakeClock by // standard LATENCY to check right latency is recorded. doAnswer( @@ -367,7 +364,7 @@ public class ProbingSequenceTest { } @Test - public void testRunStep_FailureRunning() throws UndeterminedStateException { + void testRunStep_FailureRunning() throws UndeterminedStateException { // Returns a failed future when calling the generated mock action. Also advances FakeClock by // LATENCY in order to check right latency is recorded. doAnswer( @@ -402,7 +399,7 @@ public class ProbingSequenceTest { } @Test - public void testRunStep_FailureGenerating() throws UndeterminedStateException { + void testRunStep_FailureGenerating() throws UndeterminedStateException { // Mock first step throws an error when generating the first action, and advances the clock // by LATENCY. doAnswer( diff --git a/prober/src/test/java/google/registry/monitoring/blackbox/handler/EppActionHandlerTest.java b/prober/src/test/java/google/registry/monitoring/blackbox/handler/EppActionHandlerTest.java index 76b2ed1da..a24e22e5b 100644 --- a/prober/src/test/java/google/registry/monitoring/blackbox/handler/EppActionHandlerTest.java +++ b/prober/src/test/java/google/registry/monitoring/blackbox/handler/EppActionHandlerTest.java @@ -17,24 +17,18 @@ package google.registry.monitoring.blackbox.handler; import static com.google.common.truth.Truth.assertThat; import static org.junit.jupiter.api.Assertions.assertThrows; -import google.registry.monitoring.blackbox.exception.EppClientException; import google.registry.monitoring.blackbox.exception.FailureException; -import google.registry.monitoring.blackbox.exception.UndeterminedStateException; import google.registry.monitoring.blackbox.message.EppRequestMessage; import google.registry.monitoring.blackbox.message.EppResponseMessage; import google.registry.monitoring.blackbox.util.EppUtils; import io.netty.channel.ChannelFuture; import io.netty.channel.ChannelHandler; import io.netty.channel.embedded.EmbeddedChannel; -import java.io.IOException; -import org.junit.Before; -import org.junit.Test; -import org.junit.runner.RunWith; -import org.junit.runners.Parameterized; -import org.junit.runners.Parameterized.Parameter; -import org.junit.runners.Parameterized.Parameters; +import java.util.stream.Stream; +import org.junit.jupiter.params.ParameterizedTest; +import org.junit.jupiter.params.provider.Arguments; +import org.junit.jupiter.params.provider.MethodSource; import org.w3c.dom.Document; -import org.xml.sax.SAXException; /** * Unit tests for {@link EppActionHandler} and {@link EppMessageHandler} as well as integration @@ -44,8 +38,7 @@ import org.xml.sax.SAXException; * of {@link EppResponseMessage}s with corresponding {@link EppRequestMessage} sent down channel * pipeline. */ -@RunWith(Parameterized.class) -public class EppActionHandlerTest { +class EppActionHandlerTest { private static final String USER_ID = "TEST_ID"; private static final String USER_PASSWORD = "TEST_PASSWORD"; @@ -54,94 +47,74 @@ public class EppActionHandlerTest { private static final String DOMAIN_NAME = "TEST_DOMAIN_NAME.test"; private static final String SERVER_ID = "TEST_SERVER_ID"; - @Parameter(0) - public EppRequestMessage message; - private EmbeddedChannel channel; private EppActionHandler actionHandler = new EppActionHandler(); private EppMessageHandler messageHandler = new EppMessageHandler(EppUtils.getGreetingResponse()); - // We test all relevant EPP actions - @Parameters(name = "{0}") - public static EppRequestMessage[] data() { - return new EppRequestMessage[] { - EppUtils.getHelloMessage(EppUtils.getGreetingResponse()), - EppUtils.getLoginMessage(EppUtils.getSuccessResponse(), USER_ID, USER_PASSWORD), - EppUtils.getCreateMessage(EppUtils.getSuccessResponse()), - EppUtils.getCreateMessage(EppUtils.getFailureResponse()), - EppUtils.getDeleteMessage(EppUtils.getSuccessResponse()), - EppUtils.getDeleteMessage(EppUtils.getFailureResponse()), - EppUtils.getLogoutMessage(EppUtils.getSuccessResponse()), - EppUtils.getCheckMessage(EppUtils.getDomainExistsResponse()), - EppUtils.getCheckMessage(EppUtils.getDomainNotExistsResponse()) - }; + @SuppressWarnings("unused") + static Stream provideTestCombinations() { + return Stream.of( + EppUtils.getHelloMessage(EppUtils.getGreetingResponse()), + EppUtils.getLoginMessage(EppUtils.getSuccessResponse(), USER_ID, USER_PASSWORD), + EppUtils.getCreateMessage(EppUtils.getSuccessResponse()), + EppUtils.getCreateMessage(EppUtils.getFailureResponse()), + EppUtils.getDeleteMessage(EppUtils.getSuccessResponse()), + EppUtils.getDeleteMessage(EppUtils.getFailureResponse()), + EppUtils.getLogoutMessage(EppUtils.getSuccessResponse()), + EppUtils.getCheckMessage(EppUtils.getDomainExistsResponse()), + EppUtils.getCheckMessage(EppUtils.getDomainNotExistsResponse())) + .map(Arguments::of); } - /** Setup main three handlers to be used in pipeline. */ - @Before - public void setup() throws EppClientException { + private void setupRequestAndChannels(EppRequestMessage message, ChannelHandler... handlers) + throws Exception { message.modifyMessage(USER_CLIENT_TRID, DOMAIN_NAME); - } - - private void setupEmbeddedChannel(ChannelHandler... handlers) { channel = new EmbeddedChannel(handlers); } private Document getResponse(EppResponseMessage response, boolean fail, String clTrid) - throws IOException, EppClientException { - if (response.name().equals("greeting")) { - if (fail) { - return EppUtils.getBasicResponse(true, clTrid, SERVER_ID); - } else { - return EppUtils.getGreeting(); - } - } else if (response.name().equals("domainExists")) { - return EppUtils.getDomainCheck(!fail, clTrid, SERVER_ID, DOMAIN_NAME); - - } else if (response.name().equals("domainNotExists")) { - return EppUtils.getDomainCheck(fail, clTrid, SERVER_ID, DOMAIN_NAME); - - } else if (response.name().equals("success")) { - return EppUtils.getBasicResponse(!fail, clTrid, SERVER_ID); - - } else { - return EppUtils.getBasicResponse(fail, clTrid, SERVER_ID); + throws Exception { + switch (response.name()) { + case "greeting": + if (fail) { + return EppUtils.getBasicResponse(true, clTrid, SERVER_ID); + } else { + return EppUtils.getGreeting(); + } + case "domainExists": + return EppUtils.getDomainCheck(!fail, clTrid, SERVER_ID, DOMAIN_NAME); + case "domainNotExists": + return EppUtils.getDomainCheck(fail, clTrid, SERVER_ID, DOMAIN_NAME); + case "success": + return EppUtils.getBasicResponse(!fail, clTrid, SERVER_ID); + default: + return EppUtils.getBasicResponse(fail, clTrid, SERVER_ID); } } - @Test - public void testBasicAction_Success_Embedded() - throws SAXException, IOException, EppClientException, FailureException { + @ParameterizedTest + @MethodSource("provideTestCombinations") + void testBasicAction_Success_Embedded(EppRequestMessage message) throws Exception { // We simply use an embedded channel in this instance - setupEmbeddedChannel(actionHandler); - + setupRequestAndChannels(message, actionHandler); ChannelFuture future = actionHandler.getFinishedFuture(); - EppResponseMessage response = message.getExpectedResponse(); - response.getDocument( EppUtils.docToByteBuf(getResponse(message.getExpectedResponse(), false, USER_CLIENT_TRID))); - channel.writeInbound(response); - ChannelFuture unusedFuture = future.syncUninterruptibly(); - assertThat(future.isSuccess()).isTrue(); } - @Test - public void testBasicAction_FailCode_Embedded() - throws SAXException, IOException, EppClientException, FailureException { + @ParameterizedTest + @MethodSource("provideTestCombinations") + void testBasicAction_FailCode_Embedded(EppRequestMessage message) throws Exception { // We simply use an embedded channel in this instance - setupEmbeddedChannel(actionHandler); - + setupRequestAndChannels(message, actionHandler); ChannelFuture future = actionHandler.getFinishedFuture(); - EppResponseMessage response = message.getExpectedResponse(); - response.getDocument( EppUtils.docToByteBuf(getResponse(message.getExpectedResponse(), true, USER_CLIENT_TRID))); - channel.writeInbound(response); assertThrows( @@ -151,19 +124,15 @@ public class EppActionHandlerTest { }); } - @Test - public void testBasicAction_FailTRID_Embedded() - throws SAXException, IOException, EppClientException, FailureException { + @ParameterizedTest + @MethodSource("provideTestCombinations") + void testBasicAction_FailTRID_Embedded(EppRequestMessage message) throws Exception { // We simply use an embedded channel in this instance - setupEmbeddedChannel(actionHandler); - + setupRequestAndChannels(message, actionHandler); ChannelFuture future = actionHandler.getFinishedFuture(); - EppResponseMessage response = message.getExpectedResponse(); - response.getDocument( EppUtils.docToByteBuf(getResponse(message.getExpectedResponse(), false, FAILURE_TRID))); - channel.writeInbound(response); if (message.getExpectedResponse().name().equals("greeting")) { @@ -178,32 +147,26 @@ public class EppActionHandlerTest { } } - @Test - public void testIntegratedAction_Success_Embedded() - throws IOException, SAXException, UndeterminedStateException { + @ParameterizedTest + @MethodSource("provideTestCombinations") + void testIntegratedAction_Success_Embedded(EppRequestMessage message) throws Exception { // We simply use an embedded channel in this instance - setupEmbeddedChannel(messageHandler, actionHandler); - + setupRequestAndChannels(message, messageHandler, actionHandler); ChannelFuture future = actionHandler.getFinishedFuture(); channel.writeOutbound(message); - channel.writeInbound( EppUtils.docToByteBuf(getResponse(message.getExpectedResponse(), false, USER_CLIENT_TRID))); - ChannelFuture unusedFuture = future.syncUninterruptibly(); - assertThat(future.isSuccess()).isTrue(); } - @Test - public void testIntegratedAction_FailCode_Embedded() - throws IOException, SAXException, UndeterminedStateException { + @ParameterizedTest + @MethodSource("provideTestCombinations") + void testIntegratedAction_FailCode_Embedded(EppRequestMessage message) throws Exception { // We simply use an embedded channel in this instance - setupEmbeddedChannel(messageHandler, actionHandler); - + setupRequestAndChannels(message, messageHandler, actionHandler); ChannelFuture future = actionHandler.getFinishedFuture(); channel.writeOutbound(message); - channel.writeInbound( EppUtils.docToByteBuf(getResponse(message.getExpectedResponse(), true, USER_CLIENT_TRID))); @@ -214,15 +177,13 @@ public class EppActionHandlerTest { }); } - @Test - public void testIntegratedAction_FailTRID_Embedded() - throws IOException, SAXException, UndeterminedStateException { + @ParameterizedTest + @MethodSource("provideTestCombinations") + void testIntegratedAction_FailTRID_Embedded(EppRequestMessage message) throws Exception { // We simply use an embedded channel in this instance - setupEmbeddedChannel(messageHandler, actionHandler); - + setupRequestAndChannels(message, messageHandler, actionHandler); ChannelFuture future = actionHandler.getFinishedFuture(); channel.writeOutbound(message); - channel.writeInbound( EppUtils.docToByteBuf(getResponse(message.getExpectedResponse(), false, FAILURE_TRID))); diff --git a/prober/src/test/java/google/registry/monitoring/blackbox/handler/WebWhoisActionHandlerTest.java b/prober/src/test/java/google/registry/monitoring/blackbox/handler/WebWhoisActionHandlerTest.java index 3bfa25ad9..96b84fd95 100644 --- a/prober/src/test/java/google/registry/monitoring/blackbox/handler/WebWhoisActionHandlerTest.java +++ b/prober/src/test/java/google/registry/monitoring/blackbox/handler/WebWhoisActionHandlerTest.java @@ -38,9 +38,7 @@ import io.netty.channel.nio.NioEventLoopGroup; import io.netty.handler.codec.http.FullHttpResponse; import io.netty.handler.codec.http.HttpResponseStatus; import javax.inject.Provider; -import org.junit.Test; -import org.junit.runner.RunWith; -import org.junit.runners.JUnit4; +import org.junit.jupiter.api.Test; /** * Unit tests for {@link WebWhoisActionHandler}. @@ -48,8 +46,7 @@ import org.junit.runners.JUnit4; *

Attempts to test how well {@link WebWhoisActionHandler} works when responding to all possible * types of responses */ -@RunWith(JUnit4.class) -public class WebWhoisActionHandlerTest { +class WebWhoisActionHandlerTest { private static final int HTTP_PORT = 80; private static final String HTTP_REDIRECT = "http://"; @@ -105,7 +102,7 @@ public class WebWhoisActionHandlerTest { } @Test - public void testBasic_responseOk() { + void testBasic_responseOk() { // setup setup("", null, true); setupChannel(initialProtocol); @@ -126,7 +123,7 @@ public class WebWhoisActionHandlerTest { } @Test - public void testBasic_responseFailure_badRequest() { + void testBasic_responseFailure_badRequest() { // setup setup("", null, false); setupChannel(initialProtocol); @@ -152,7 +149,7 @@ public class WebWhoisActionHandlerTest { } @Test - public void testBasic_responseFailure_badURL() { + void testBasic_responseFailure_badURL() { // setup setup("", null, false); setupChannel(initialProtocol); @@ -179,7 +176,7 @@ public class WebWhoisActionHandlerTest { } @Test - public void testAdvanced_redirect() { + void testAdvanced_redirect() { // Sets up EventLoopGroup with 1 thread to be blocking. EventLoopGroup group = new NioEventLoopGroup(1); diff --git a/prober/src/test/java/google/registry/monitoring/blackbox/message/EppMessageTest.java b/prober/src/test/java/google/registry/monitoring/blackbox/message/EppMessageTest.java index 18b5e8472..0bce6f365 100644 --- a/prober/src/test/java/google/registry/monitoring/blackbox/message/EppMessageTest.java +++ b/prober/src/test/java/google/registry/monitoring/blackbox/message/EppMessageTest.java @@ -29,23 +29,21 @@ import java.util.List; import java.util.Map; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.DocumentBuilderFactory; -import org.junit.Before; -import org.junit.Test; -import org.junit.runner.RunWith; -import org.junit.runners.JUnit4; +import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.Test; import org.w3c.dom.Document; import org.w3c.dom.Element; import org.xml.sax.SAXException; -@RunWith(JUnit4.class) -public class EppMessageTest { +/** Unit tests for {@link EppMessage}. */ +class EppMessageTest { private Document xmlDoc = null; private Document greeting = null; private DocumentBuilder builder = null; - @Before - public void setUp() throws Exception { + @BeforeEach + void beforeEach() throws Exception { String xmlString = "" + "text1" @@ -64,7 +62,7 @@ public class EppMessageTest { } @Test - public void xmlDocToStringSuccess() throws Exception { + void xmlDocToStringSuccess() throws Exception { Document xml = builder.newDocument(); Element doc = xml.createElement("doc"); Element title = xml.createElement("title"); @@ -88,7 +86,7 @@ public class EppMessageTest { } @Test - public void xmlDoctoByteArraySuccess() throws Exception { + void xmlDoctoByteArraySuccess() throws Exception { Document xml = builder.newDocument(); Element doc = xml.createElement("doc"); Element title = xml.createElement("title"); @@ -112,12 +110,12 @@ public class EppMessageTest { } @Test - public void eppValidateSuccess() throws Exception { + void eppValidateSuccess() throws Exception { EppMessage.eppValidate(greeting); } @Test - public void eppValidateFail() { + void eppValidateFail() { assertThrows(SAXException.class, () -> EppMessage.eppValidate(xmlDoc)); } @@ -127,7 +125,7 @@ public class EppMessageTest { * actual (greeting) respoonse. */ @Test - public void verifyResponseSuccess() throws Exception { + void verifyResponseSuccess() throws Exception { ArrayList list = new ArrayList<>(); list.add("epp"); list.add("//textAndAttr[@myAttr1='1'] | //textAndAttr[child::text()='text1']"); @@ -139,7 +137,7 @@ public class EppMessageTest { } @Test - public void verifyEppResponseSuccess() throws Exception { + void verifyEppResponseSuccess() throws Exception { ArrayList list = new ArrayList<>(); list.add("*"); list.add("/eppns:epp"); @@ -151,7 +149,7 @@ public class EppMessageTest { } @Test - public void verifyResponseMissingTextFail() { + void verifyResponseMissingTextFail() { ArrayList list = new ArrayList<>(); list.add("epp"); list.add("//textAndAttr[child::text()='text2']"); @@ -160,7 +158,7 @@ public class EppMessageTest { } @Test - public void verifyResponseMissingAttrFail() { + void verifyResponseMissingAttrFail() { ArrayList list = new ArrayList<>(); list.add("epp"); list.add("//textAndAttr/@myAttr2"); @@ -169,7 +167,7 @@ public class EppMessageTest { } @Test - public void verifyResponseSplitTextAttrFail() { + void verifyResponseSplitTextAttrFail() { ArrayList list = new ArrayList<>(); list.add("epp"); list.add("//textAndAttrSplitRepeated[@myAttr3='3'][child::text()='text3']"); @@ -178,7 +176,7 @@ public class EppMessageTest { } @Test - public void getEppDocFromTemplateTest() throws Exception { + void getEppDocFromTemplateTest() throws Exception { Map replaceMap = new HashMap<>(); replaceMap.put("//eppns:expectedClTRID", "ABC-1234-CBA"); replaceMap.put("//domainns:name", "foo"); @@ -189,7 +187,7 @@ public class EppMessageTest { } @Test - public void getEppDocFromTemplateTestFail() { + void getEppDocFromTemplateTestFail() { Map replaceMap = new HashMap<>(); replaceMap.put("//eppns:create", "ABC-1234-CBA"); replaceMap.put("//domainns:name", "foo"); @@ -199,7 +197,7 @@ public class EppMessageTest { } @Test - public void checkValidDomainName() { + void checkValidDomainName() { String domainName = "good.tld"; assertThat(domainName.matches(EppMessage.VALID_SLD_LABEL_REGEX)).isTrue(); domainName = "good.tld."; diff --git a/prober/src/test/java/google/registry/monitoring/blackbox/metric/MetricsCollectorTest.java b/prober/src/test/java/google/registry/monitoring/blackbox/metric/MetricsCollectorTest.java index c73de8a5a..6feaba55d 100644 --- a/prober/src/test/java/google/registry/monitoring/blackbox/metric/MetricsCollectorTest.java +++ b/prober/src/test/java/google/registry/monitoring/blackbox/metric/MetricsCollectorTest.java @@ -19,14 +19,11 @@ import static com.google.monitoring.metrics.contrib.LongMetricSubject.assertThat import com.google.common.collect.ImmutableSet; import google.registry.monitoring.blackbox.metric.MetricsCollector.ResponseType; -import org.junit.Before; -import org.junit.Test; -import org.junit.runner.RunWith; -import org.junit.runners.JUnit4; +import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.Test; /** Unit tests for {@link MetricsCollector}. */ -@RunWith(JUnit4.class) -public class MetricsCollectorTest { +class MetricsCollectorTest { private final String requestName = "request"; private final String responseName = "response"; @@ -34,13 +31,13 @@ public class MetricsCollectorTest { private final MetricsCollector metrics = new MetricsCollector(); - @Before - public void setUp() { + @BeforeEach + void beforeEach() { metrics.resetMetric(); } @Test - public void testOneRecord() { + void testOneRecord() { metrics.recordResult(protocol, requestName, responseName, ResponseType.SUCCESS, 100); assertThat(MetricsCollector.responsesCounter) @@ -56,7 +53,7 @@ public class MetricsCollectorTest { } @Test - public void testMultipleRecords_sameStatus() { + void testMultipleRecords_sameStatus() { metrics.recordResult(protocol, requestName, responseName, ResponseType.FAILURE, 100); metrics.recordResult(protocol, requestName, responseName, ResponseType.FAILURE, 200); @@ -77,7 +74,7 @@ public class MetricsCollectorTest { } @Test - public void testMultipleRecords_differentStatus() { + void testMultipleRecords_differentStatus() { metrics.recordResult(protocol, requestName, responseName, ResponseType.SUCCESS, 100); metrics.recordResult(protocol, requestName, responseName, ResponseType.FAILURE, 200); diff --git a/prober/src/test/java/google/registry/monitoring/blackbox/testserver/TestServer.java b/prober/src/test/java/google/registry/monitoring/blackbox/testserver/TestServer.java index 1c06a3db2..c2779daea 100644 --- a/prober/src/test/java/google/registry/monitoring/blackbox/testserver/TestServer.java +++ b/prober/src/test/java/google/registry/monitoring/blackbox/testserver/TestServer.java @@ -51,7 +51,7 @@ public class TestServer { this(new NioEventLoopGroup(1), localAddress, handlers); } - public TestServer( + private TestServer( EventLoopGroup eventLoopGroup, LocalAddress localAddress, ImmutableList handlers) { @@ -108,7 +108,7 @@ public class TestServer { * @param destinationInput - Server will send back an {@link HttpResponseStatus} OK response * when receiving a request with this host location */ - public RedirectHandler(String redirectInput, String destinationInput, String destinationPath) { + RedirectHandler(String redirectInput, String destinationInput, String destinationPath) { this.redirectInput = redirectInput; this.destinationInput = destinationInput; this.destinationPath = destinationPath; diff --git a/prober/src/test/java/google/registry/monitoring/blackbox/token/EppTokenTest.java b/prober/src/test/java/google/registry/monitoring/blackbox/token/EppTokenTest.java index 77c743c96..2bd202b01 100644 --- a/prober/src/test/java/google/registry/monitoring/blackbox/token/EppTokenTest.java +++ b/prober/src/test/java/google/registry/monitoring/blackbox/token/EppTokenTest.java @@ -20,14 +20,11 @@ import google.registry.monitoring.blackbox.exception.UndeterminedStateException; import google.registry.monitoring.blackbox.message.EppRequestMessage; import google.registry.monitoring.blackbox.util.EppUtils; import io.netty.channel.Channel; -import org.junit.Test; -import org.junit.runner.RunWith; -import org.junit.runners.JUnit4; +import org.junit.jupiter.api.Test; import org.mockito.Mockito; /** Unit Tests for each {@link Token} subtype (just {@link WebWhoisToken} for now) */ -@RunWith(JUnit4.class) -public class EppTokenTest { +class EppTokenTest { private static String TEST_HOST = "host"; private static String TEST_TLD = "tld"; @@ -36,7 +33,7 @@ public class EppTokenTest { private EppToken transientEppToken = new EppToken.Transient(TEST_TLD, TEST_HOST); @Test - public void testMessageModificationSuccess_PersistentToken() throws UndeterminedStateException { + void testMessageModificationSuccess_PersistentToken() throws UndeterminedStateException { EppRequestMessage originalMessage = EppUtils.getCreateMessage(EppUtils.getSuccessResponse()); String domainName = persistentEppToken.getCurrentDomainName(); @@ -51,7 +48,7 @@ public class EppTokenTest { } @Test - public void testMessageModificationSuccess_TransientToken() throws UndeterminedStateException { + void testMessageModificationSuccess_TransientToken() throws UndeterminedStateException { EppRequestMessage originalMessage = EppUtils.getCreateMessage(EppUtils.getSuccessResponse()); String domainName = transientEppToken.getCurrentDomainName(); @@ -66,7 +63,7 @@ public class EppTokenTest { } @Test - public void testNext_persistentToken() { + void testNext_persistentToken() { String domainName = persistentEppToken.getCurrentDomainName(); Channel mockChannel = Mockito.mock(Channel.class); persistentEppToken.setChannel(mockChannel); @@ -78,7 +75,7 @@ public class EppTokenTest { } @Test - public void testNext_transientToken() { + void testNext_transientToken() { String domainName = transientEppToken.getCurrentDomainName(); Channel mockChannel = Mockito.mock(Channel.class); transientEppToken.setChannel(mockChannel); diff --git a/prober/src/test/java/google/registry/monitoring/blackbox/token/WebWhoisTokenTest.java b/prober/src/test/java/google/registry/monitoring/blackbox/token/WebWhoisTokenTest.java index dfb4cd599..be8c3f63e 100644 --- a/prober/src/test/java/google/registry/monitoring/blackbox/token/WebWhoisTokenTest.java +++ b/prober/src/test/java/google/registry/monitoring/blackbox/token/WebWhoisTokenTest.java @@ -19,13 +19,10 @@ import static com.google.common.truth.Truth.assertThat; import com.google.common.collect.ImmutableList; import google.registry.monitoring.blackbox.exception.UndeterminedStateException; import google.registry.monitoring.blackbox.message.HttpRequestMessage; -import org.junit.Test; -import org.junit.runner.RunWith; -import org.junit.runners.JUnit4; +import org.junit.jupiter.api.Test; /** Unit Tests for {@link WebWhoisToken} */ -@RunWith(JUnit4.class) -public class WebWhoisTokenTest { +class WebWhoisTokenTest { private static final String PREFIX = "whois.nic."; private static final String HOST = "starter"; @@ -35,10 +32,10 @@ public class WebWhoisTokenTest { private final ImmutableList testDomains = ImmutableList.of(FIRST_TLD, SECOND_TLD, THIRD_TLD); - public Token webToken = new WebWhoisToken(testDomains); + private Token webToken = new WebWhoisToken(testDomains); @Test - public void testMessageModification() throws UndeterminedStateException { + void testMessageModification() throws UndeterminedStateException { // creates Request message with header HttpRequestMessage message = new HttpRequestMessage(); message.headers().set("host", HOST); @@ -49,13 +46,13 @@ public class WebWhoisTokenTest { } @Test - public void testHostOfToken() { + void testHostOfToken() { assertThat(webToken.host()).isEqualTo(PREFIX + FIRST_TLD); assertThat(webToken.host()).isEqualTo(PREFIX + FIRST_TLD); } @Test - public void testNextToken() { + void testNextToken() { assertThat(webToken.host()).isEqualTo(PREFIX + FIRST_TLD); webToken = webToken.next(); diff --git a/proxy/build.gradle b/proxy/build.gradle index 47a420fae..f663083e1 100644 --- a/proxy/build.gradle +++ b/proxy/build.gradle @@ -75,10 +75,9 @@ dependencies { testCompile deps['com.google.monitoring-client:contrib'] testCompile deps['com.google.truth:truth'] testCompile deps['org.yaml:snakeyaml'] - testCompile deps['junit:junit'] testCompile deps['org.junit.jupiter:junit-jupiter-api'] testCompile deps['org.junit.jupiter:junit-jupiter-engine'] - testCompile deps['org.junit.vintage:junit-vintage-engine'] + testCompile deps['org.junit.jupiter:junit-jupiter-params'] testCompile deps['org.mockito:mockito-core'] testCompile project(path: ':common', configuration: 'testing') testCompile project(path: ':networking', configuration: 'testRuntime') diff --git a/proxy/gradle/dependency-locks/testCompile.lockfile b/proxy/gradle/dependency-locks/testCompile.lockfile index c92e9cae7..6817f52cb 100644 --- a/proxy/gradle/dependency-locks/testCompile.lockfile +++ b/proxy/gradle/dependency-locks/testCompile.lockfile @@ -52,7 +52,7 @@ javax.inject:javax.inject:1 javax.mail:mail:1.4 javax.xml.bind:jaxb-api:2.3.0 joda-time:joda-time:2.9.2 -junit:junit:4.13 +junit:junit:4.12 net.bytebuddy:byte-buddy-agent:1.10.5 net.bytebuddy:byte-buddy:1.10.5 org.apache.httpcomponents:httpclient:4.5.11 @@ -68,7 +68,6 @@ org.junit.jupiter:junit-jupiter-engine:5.6.2 org.junit.jupiter:junit-jupiter-params:5.6.2 org.junit.platform:junit-platform-commons:1.6.2 org.junit.platform:junit-platform-engine:1.6.2 -org.junit.vintage:junit-vintage-engine:5.6.2 org.junit:junit-bom:5.6.2 org.mockito:mockito-core:3.3.3 org.objenesis:objenesis:2.6 diff --git a/proxy/gradle/dependency-locks/testCompileClasspath.lockfile b/proxy/gradle/dependency-locks/testCompileClasspath.lockfile index c92e9cae7..6817f52cb 100644 --- a/proxy/gradle/dependency-locks/testCompileClasspath.lockfile +++ b/proxy/gradle/dependency-locks/testCompileClasspath.lockfile @@ -52,7 +52,7 @@ javax.inject:javax.inject:1 javax.mail:mail:1.4 javax.xml.bind:jaxb-api:2.3.0 joda-time:joda-time:2.9.2 -junit:junit:4.13 +junit:junit:4.12 net.bytebuddy:byte-buddy-agent:1.10.5 net.bytebuddy:byte-buddy:1.10.5 org.apache.httpcomponents:httpclient:4.5.11 @@ -68,7 +68,6 @@ org.junit.jupiter:junit-jupiter-engine:5.6.2 org.junit.jupiter:junit-jupiter-params:5.6.2 org.junit.platform:junit-platform-commons:1.6.2 org.junit.platform:junit-platform-engine:1.6.2 -org.junit.vintage:junit-vintage-engine:5.6.2 org.junit:junit-bom:5.6.2 org.mockito:mockito-core:3.3.3 org.objenesis:objenesis:2.6 diff --git a/proxy/gradle/dependency-locks/testRuntime.lockfile b/proxy/gradle/dependency-locks/testRuntime.lockfile index c92e9cae7..6817f52cb 100644 --- a/proxy/gradle/dependency-locks/testRuntime.lockfile +++ b/proxy/gradle/dependency-locks/testRuntime.lockfile @@ -52,7 +52,7 @@ javax.inject:javax.inject:1 javax.mail:mail:1.4 javax.xml.bind:jaxb-api:2.3.0 joda-time:joda-time:2.9.2 -junit:junit:4.13 +junit:junit:4.12 net.bytebuddy:byte-buddy-agent:1.10.5 net.bytebuddy:byte-buddy:1.10.5 org.apache.httpcomponents:httpclient:4.5.11 @@ -68,7 +68,6 @@ org.junit.jupiter:junit-jupiter-engine:5.6.2 org.junit.jupiter:junit-jupiter-params:5.6.2 org.junit.platform:junit-platform-commons:1.6.2 org.junit.platform:junit-platform-engine:1.6.2 -org.junit.vintage:junit-vintage-engine:5.6.2 org.junit:junit-bom:5.6.2 org.mockito:mockito-core:3.3.3 org.objenesis:objenesis:2.6 diff --git a/proxy/gradle/dependency-locks/testRuntimeClasspath.lockfile b/proxy/gradle/dependency-locks/testRuntimeClasspath.lockfile index c92e9cae7..6817f52cb 100644 --- a/proxy/gradle/dependency-locks/testRuntimeClasspath.lockfile +++ b/proxy/gradle/dependency-locks/testRuntimeClasspath.lockfile @@ -52,7 +52,7 @@ javax.inject:javax.inject:1 javax.mail:mail:1.4 javax.xml.bind:jaxb-api:2.3.0 joda-time:joda-time:2.9.2 -junit:junit:4.13 +junit:junit:4.12 net.bytebuddy:byte-buddy-agent:1.10.5 net.bytebuddy:byte-buddy:1.10.5 org.apache.httpcomponents:httpclient:4.5.11 @@ -68,7 +68,6 @@ org.junit.jupiter:junit-jupiter-engine:5.6.2 org.junit.jupiter:junit-jupiter-params:5.6.2 org.junit.platform:junit-platform-commons:1.6.2 org.junit.platform:junit-platform-engine:1.6.2 -org.junit.vintage:junit-vintage-engine:5.6.2 org.junit:junit-bom:5.6.2 org.mockito:mockito-core:3.3.3 org.objenesis:objenesis:2.6 diff --git a/proxy/src/test/java/google/registry/proxy/EppProtocolModuleTest.java b/proxy/src/test/java/google/registry/proxy/EppProtocolModuleTest.java index 30c211070..8db36c168 100644 --- a/proxy/src/test/java/google/registry/proxy/EppProtocolModuleTest.java +++ b/proxy/src/test/java/google/registry/proxy/EppProtocolModuleTest.java @@ -37,14 +37,11 @@ import io.netty.handler.codec.http.cookie.Cookie; import io.netty.handler.codec.http.cookie.DefaultCookie; import io.netty.util.concurrent.Promise; import java.security.cert.X509Certificate; -import org.junit.Before; -import org.junit.Test; -import org.junit.runner.RunWith; -import org.junit.runners.JUnit4; +import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.Test; /** End-to-end tests for {@link EppProtocolModule}. */ -@RunWith(JUnit4.class) -public class EppProtocolModuleTest extends ProtocolModuleTest { +class EppProtocolModuleTest extends ProtocolModuleTest { private static final int HEADER_LENGTH = 4; @@ -59,7 +56,7 @@ public class EppProtocolModuleTest extends ProtocolModuleTest { private X509Certificate certificate; - public EppProtocolModuleTest() { + EppProtocolModuleTest() { super(TestComponent::eppHandlers); } @@ -119,9 +116,9 @@ public class EppProtocolModuleTest extends ProtocolModuleTest { return TestUtils.makeEppHttpResponse(new String(content, UTF_8), status, cookies); } + @BeforeEach @Override - @Before - public void setUp() throws Exception { + void beforeEach() throws Exception { testComponent = makeTestComponent(new FakeClock()); certificate = SelfSignedCaCertificate.create().cert(); initializeChannel( @@ -135,7 +132,7 @@ public class EppProtocolModuleTest extends ProtocolModuleTest { } @Test - public void testSuccess_singleFrameInboundMessage() throws Exception { + void testSuccess_singleFrameInboundMessage() throws Exception { // First inbound message is hello. assertThat((FullHttpRequest) channel.readInbound()).isEqualTo(makeEppHttpRequest(HELLO_BYTES)); @@ -151,7 +148,7 @@ public class EppProtocolModuleTest extends ProtocolModuleTest { } @Test - public void testSuccess_SingleFrame_MultipleInboundMessages() throws Exception { + void testSuccess_SingleFrame_MultipleInboundMessages() throws Exception { // First inbound message is hello. channel.readInbound(); @@ -173,7 +170,7 @@ public class EppProtocolModuleTest extends ProtocolModuleTest { } @Test - public void testSuccess_MultipleFrames_MultipleInboundMessages() throws Exception { + void testSuccess_MultipleFrames_MultipleInboundMessages() throws Exception { // First inbound message is hello. channel.readInbound(); @@ -201,7 +198,7 @@ public class EppProtocolModuleTest extends ProtocolModuleTest { } @Test - public void testSuccess_simpleOutboundMessage() throws Exception { + void testSuccess_simpleOutboundMessage() throws Exception { // First inbound message is hello. channel.readInbound(); @@ -217,7 +214,7 @@ public class EppProtocolModuleTest extends ProtocolModuleTest { } @Test - public void testFailure_nonOkOutboundMessage() throws Exception { + void testFailure_nonOkOutboundMessage() throws Exception { // First inbound message is hello. channel.readInbound(); @@ -239,7 +236,7 @@ public class EppProtocolModuleTest extends ProtocolModuleTest { } @Test - public void testSuccess_setAndReadCookies() throws Exception { + void testSuccess_setAndReadCookies() throws Exception { // First inbound message is hello. channel.readInbound(); diff --git a/proxy/src/test/java/google/registry/proxy/GcpJsonFormatterTest.java b/proxy/src/test/java/google/registry/proxy/GcpJsonFormatterTest.java index 9fbecbba2..00e7e8e8b 100644 --- a/proxy/src/test/java/google/registry/proxy/GcpJsonFormatterTest.java +++ b/proxy/src/test/java/google/registry/proxy/GcpJsonFormatterTest.java @@ -19,14 +19,11 @@ import static com.google.common.truth.Truth.assertThat; import com.google.common.base.Joiner; import java.util.logging.Level; import java.util.logging.LogRecord; -import org.junit.Before; -import org.junit.Test; -import org.junit.runner.RunWith; -import org.junit.runners.JUnit4; +import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.Test; /** Unit tests for {@link google.registry.proxy.GcpJsonFormatter}. */ -@RunWith(JUnit4.class) -public class GcpJsonFormatterTest { +class GcpJsonFormatterTest { private static final String LOGGER_NAME = "example.company.app.logger"; private static final String SOURCE_CLASS_NAME = "example.company.app.component.Doer"; @@ -55,20 +52,20 @@ public class GcpJsonFormatterTest { return "\"" + content.replaceAll("\n", "\\\\n") + "\""; } - @Before - public void setUp() { + @BeforeEach + void beforeEach() { logRecord.setLoggerName(LOGGER_NAME); } @Test - public void testSuccess() { + void testSuccess() { String actual = formatter.format(logRecord); String expected = makeJson("WARNING", LOGGER_NAME, MESSAGE); assertThat(actual).isEqualTo(expected); } @Test - public void testSuccess_sourceClassAndMethod() { + void testSuccess_sourceClassAndMethod() { logRecord.setSourceClassName(SOURCE_CLASS_NAME); logRecord.setSourceMethodName(SOURCE_METHOD_NAME); String actual = formatter.format(logRecord); @@ -77,7 +74,7 @@ public class GcpJsonFormatterTest { } @Test - public void testSuccess_multilineMessage() { + void testSuccess_multilineMessage() { String multilineMessage = "First line message\nSecond line message\n"; logRecord.setMessage(multilineMessage); String actual = formatter.format(logRecord); @@ -86,7 +83,7 @@ public class GcpJsonFormatterTest { } @Test - public void testSuccess_withCause() { + void testSuccess_withCause() { Throwable throwable = new Throwable("Some reason"); StackTraceElement[] stacktrace = { new StackTraceElement("class1", "method1", "file1", 5), diff --git a/proxy/src/test/java/google/registry/proxy/HealthCheckProtocolModuleTest.java b/proxy/src/test/java/google/registry/proxy/HealthCheckProtocolModuleTest.java index 3ab6a7352..a5cb9fd61 100644 --- a/proxy/src/test/java/google/registry/proxy/HealthCheckProtocolModuleTest.java +++ b/proxy/src/test/java/google/registry/proxy/HealthCheckProtocolModuleTest.java @@ -19,20 +19,17 @@ import static java.nio.charset.StandardCharsets.US_ASCII; import io.netty.buffer.ByteBuf; import io.netty.buffer.Unpooled; -import org.junit.Test; -import org.junit.runner.RunWith; -import org.junit.runners.JUnit4; +import org.junit.jupiter.api.Test; /** End-to-end tests for {@link HealthCheckProtocolModule}. */ -@RunWith(JUnit4.class) -public class HealthCheckProtocolModuleTest extends ProtocolModuleTest { +class HealthCheckProtocolModuleTest extends ProtocolModuleTest { - public HealthCheckProtocolModuleTest() { + HealthCheckProtocolModuleTest() { super(TestComponent::healthCheckHandlers); } @Test - public void testSuccess_expectedInboundMessage() { + void testSuccess_expectedInboundMessage() { // no inbound message passed along. assertThat( channel.writeInbound( @@ -47,7 +44,7 @@ public class HealthCheckProtocolModuleTest extends ProtocolModuleTest { } @Test - public void testSuccess_InboundMessageTooShort() { + void testSuccess_InboundMessageTooShort() { String shortRequest = "HEALTH_CHECK"; // no inbound message passed along. assertThat(channel.writeInbound(Unpooled.wrappedBuffer(shortRequest.getBytes(US_ASCII)))) @@ -58,7 +55,7 @@ public class HealthCheckProtocolModuleTest extends ProtocolModuleTest { } @Test - public void testSuccess_InboundMessageTooLong() { + void testSuccess_InboundMessageTooLong() { String longRequest = "HEALTH_CHECK_REQUEST HELLO"; // no inbound message passed along. assertThat(channel.writeInbound(Unpooled.wrappedBuffer(longRequest.getBytes(US_ASCII)))) @@ -76,7 +73,7 @@ public class HealthCheckProtocolModuleTest extends ProtocolModuleTest { } @Test - public void testSuccess_InboundMessageNotMatch() { + void testSuccess_InboundMessageNotMatch() { String invalidRequest = "HEALTH_CHECK_REQUESX"; // no inbound message passed along. assertThat(channel.writeInbound(Unpooled.wrappedBuffer(invalidRequest.getBytes(US_ASCII)))) diff --git a/proxy/src/test/java/google/registry/proxy/HttpsRelayProtocolModuleTest.java b/proxy/src/test/java/google/registry/proxy/HttpsRelayProtocolModuleTest.java index 9ed0bd5a8..b32e28a0b 100644 --- a/proxy/src/test/java/google/registry/proxy/HttpsRelayProtocolModuleTest.java +++ b/proxy/src/test/java/google/registry/proxy/HttpsRelayProtocolModuleTest.java @@ -27,9 +27,7 @@ import io.netty.handler.codec.http.FullHttpResponse; import io.netty.handler.codec.http.HttpObjectAggregator; import io.netty.handler.codec.http.HttpResponseStatus; import io.netty.handler.codec.http.HttpServerCodec; -import org.junit.Test; -import org.junit.runner.RunWith; -import org.junit.runners.JUnit4; +import org.junit.jupiter.api.Test; /** * End-to-end tests for {@link HttpsRelayProtocolModule}. @@ -45,8 +43,7 @@ import org.junit.runners.JUnit4; * handlers that deal with HTTP protocol, but not whether the handlers converts between bytes and * HTTP messages correctly, which is presumed correct. */ -@RunWith(JUnit4.class) -public class HttpsRelayProtocolModuleTest extends ProtocolModuleTest { +class HttpsRelayProtocolModuleTest extends ProtocolModuleTest { private static final String HOST = "test.tld"; private static final String PATH = "/path/to/test"; @@ -55,7 +52,7 @@ public class HttpsRelayProtocolModuleTest extends ProtocolModuleTest { private final EmbeddedChannel serverChannel = new EmbeddedChannel(new HttpServerCodec(), new HttpObjectAggregator(512 * 1024)); - public HttpsRelayProtocolModuleTest() { + HttpsRelayProtocolModuleTest() { super(TestComponent::httpsRelayHandlers); } @@ -92,12 +89,12 @@ public class HttpsRelayProtocolModuleTest extends ProtocolModuleTest { } @Test - public void testSuccess_OkResponse() { + void testSuccess_OkResponse() { requestAndRespondWithStatus(HttpResponseStatus.OK); } @Test - public void testSuccess_NonOkResponse() { + void testSuccess_NonOkResponse() { requestAndRespondWithStatus(HttpResponseStatus.BAD_REQUEST); } } diff --git a/proxy/src/test/java/google/registry/proxy/ProtocolModuleTest.java b/proxy/src/test/java/google/registry/proxy/ProtocolModuleTest.java index 06e801440..01fe1352f 100644 --- a/proxy/src/test/java/google/registry/proxy/ProtocolModuleTest.java +++ b/proxy/src/test/java/google/registry/proxy/ProtocolModuleTest.java @@ -62,7 +62,7 @@ import java.util.function.Supplier; import javax.inject.Named; import javax.inject.Provider; import javax.inject.Singleton; -import org.junit.Before; +import org.junit.jupiter.api.BeforeEach; /** * Base class for end-to-end tests of a {@link Protocol}. @@ -78,9 +78,9 @@ import org.junit.Before; */ public abstract class ProtocolModuleTest { - protected static final ProxyConfig PROXY_CONFIG = getProxyConfig(Environment.LOCAL); + static final ProxyConfig PROXY_CONFIG = getProxyConfig(Environment.LOCAL); - protected TestComponent testComponent; + TestComponent testComponent; /** * Default list of handler classes that are not of interest in end-to-end testing of the {@link @@ -122,10 +122,10 @@ public abstract class ProtocolModuleTest { * Method reference to the component method that exposes the list of handler providers for the * specific {@link Protocol} in interest. */ - protected final Function>> + private final Function>> handlerProvidersMethod; - protected final ImmutableSet> excludedHandlers; + private final ImmutableSet> excludedHandlers; protected ProtocolModuleTest( Function>> @@ -149,7 +149,7 @@ public abstract class ProtocolModuleTest { .collect(toImmutableList()); } - protected void initializeChannel(Consumer initializer) { + void initializeChannel(Consumer initializer) { channel = new EmbeddedChannel( new ChannelInitializer() { @@ -174,8 +174,8 @@ public abstract class ProtocolModuleTest { .build(); } - @Before - public void setUp() throws Exception { + @BeforeEach + void beforeEach() throws Exception { testComponent = makeTestComponent(new FakeClock()); initializeChannel(this::addAllTestableHandlers); } @@ -196,6 +196,7 @@ public abstract class ProtocolModuleTest { HttpsRelayProtocolModule.class }) interface TestComponent { + @WhoisProtocol ImmutableList> whoisHandlers(); diff --git a/proxy/src/test/java/google/registry/proxy/ProxyModuleTest.java b/proxy/src/test/java/google/registry/proxy/ProxyModuleTest.java index 042084970..3b682f70f 100644 --- a/proxy/src/test/java/google/registry/proxy/ProxyModuleTest.java +++ b/proxy/src/test/java/google/registry/proxy/ProxyModuleTest.java @@ -21,19 +21,16 @@ import static org.junit.jupiter.api.Assertions.assertThrows; import com.beust.jcommander.ParameterException; import google.registry.proxy.ProxyConfig.Environment; -import org.junit.Test; -import org.junit.runner.RunWith; -import org.junit.runners.JUnit4; +import org.junit.jupiter.api.Test; /** Unit tests for {@link ProxyModule}. */ -@RunWith(JUnit4.class) -public class ProxyModuleTest { +class ProxyModuleTest { private static final ProxyConfig PROXY_CONFIG = getProxyConfig(LOCAL); private final ProxyModule proxyModule = new ProxyModule(); @Test - public void testSuccess_parseArgs_defaultArgs() { + void testSuccess_parseArgs_defaultArgs() { String[] args = {}; proxyModule.parse(args); assertThat(proxyModule.provideWhoisPort(PROXY_CONFIG)).isEqualTo(PROXY_CONFIG.whois.port); @@ -49,7 +46,7 @@ public class ProxyModuleTest { } @Test - public void testFailure_parseArgs_loggingInProduction() { + void testFailure_parseArgs_loggingInProduction() { String[] args = {"--env", "production", "--log"}; IllegalArgumentException e = assertThrows( @@ -63,7 +60,7 @@ public class ProxyModuleTest { } @Test - public void testFailure_parseArgs_wrongArguments() { + void testFailure_parseArgs_wrongArguments() { String[] args = {"--wrong_flag", "some_value"}; ParameterException thrown = assertThrows(ParameterException.class, () -> proxyModule.parse(args)); @@ -71,56 +68,56 @@ public class ProxyModuleTest { } @Test - public void testSuccess_parseArgs_log() { + void testSuccess_parseArgs_log() { String[] args = {"--log"}; proxyModule.parse(args); assertThat(proxyModule.log).isTrue(); } @Test - public void testSuccess_parseArgs_customWhoisPort() { + void testSuccess_parseArgs_customWhoisPort() { String[] args = {"--whois", "12345"}; proxyModule.parse(args); assertThat(proxyModule.provideWhoisPort(PROXY_CONFIG)).isEqualTo(12345); } @Test - public void testSuccess_parseArgs_customEppPort() { + void testSuccess_parseArgs_customEppPort() { String[] args = {"--epp", "22222"}; proxyModule.parse(args); assertThat(proxyModule.provideEppPort(PROXY_CONFIG)).isEqualTo(22222); } @Test - public void testSuccess_parseArgs_customHealthCheckPort() { + void testSuccess_parseArgs_customHealthCheckPort() { String[] args = {"--health_check", "23456"}; proxyModule.parse(args); assertThat(proxyModule.provideHealthCheckPort(PROXY_CONFIG)).isEqualTo(23456); } @Test - public void testSuccess_parseArgs_customhttpWhoisPort() { + void testSuccess_parseArgs_customhttpWhoisPort() { String[] args = {"--http_whois", "12121"}; proxyModule.parse(args); assertThat(proxyModule.provideHttpWhoisProtocol(PROXY_CONFIG)).isEqualTo(12121); } @Test - public void testSuccess_parseArgs_customhttpsWhoisPort() { + void testSuccess_parseArgs_customhttpsWhoisPort() { String[] args = {"--https_whois", "21212"}; proxyModule.parse(args); assertThat(proxyModule.provideHttpsWhoisProtocol(PROXY_CONFIG)).isEqualTo(21212); } @Test - public void testSuccess_parseArgs_customEnvironment() { + void testSuccess_parseArgs_customEnvironment() { String[] args = {"--env", "ALpHa"}; proxyModule.parse(args); assertThat(proxyModule.provideEnvironment()).isEqualTo(Environment.ALPHA); } @Test - public void testFailure_parseArgs_wrongEnvironment() { + void testFailure_parseArgs_wrongEnvironment() { String[] args = {"--env", "beta"}; ParameterException e = assertThrows(ParameterException.class, () -> proxyModule.parse(args)); assertThat(e).hasMessageThat().contains("Invalid value for --env parameter"); diff --git a/proxy/src/test/java/google/registry/proxy/WebWhoisProtocolsModuleTest.java b/proxy/src/test/java/google/registry/proxy/WebWhoisProtocolsModuleTest.java index adb521d68..98338d25f 100644 --- a/proxy/src/test/java/google/registry/proxy/WebWhoisProtocolsModuleTest.java +++ b/proxy/src/test/java/google/registry/proxy/WebWhoisProtocolsModuleTest.java @@ -28,9 +28,7 @@ import io.netty.handler.codec.http.FullHttpResponse; import io.netty.handler.codec.http.HttpClientCodec; import io.netty.handler.codec.http.HttpObjectAggregator; import io.netty.handler.codec.http.HttpResponseStatus; -import org.junit.Test; -import org.junit.runner.RunWith; -import org.junit.runners.JUnit4; +import org.junit.jupiter.api.Test; /** * End-to-end tests for {@link WebWhoisProtocolsModule}. @@ -49,8 +47,7 @@ import org.junit.runners.JUnit4; *

Only the HTTP redirect protocol is tested as both protocols share the same handlers except for * those that are excluded ({@code SslServerInitializer}, {@code WebWhoisRedirectHandler}). */ -@RunWith(JUnit4.class) -public class WebWhoisProtocolsModuleTest extends ProtocolModuleTest { +class WebWhoisProtocolsModuleTest extends ProtocolModuleTest { private static final String HOST = "test.tld"; private static final String PATH = "/path/to/test"; @@ -58,7 +55,7 @@ public class WebWhoisProtocolsModuleTest extends ProtocolModuleTest { private final EmbeddedChannel clientChannel = new EmbeddedChannel(new HttpClientCodec(), new HttpObjectAggregator(512 * 1024)); - public WebWhoisProtocolsModuleTest() { + WebWhoisProtocolsModuleTest() { super(TestComponent::httpWhoisHandlers); } @@ -98,12 +95,12 @@ public class WebWhoisProtocolsModuleTest extends ProtocolModuleTest { } @Test - public void testSuccess_OkResponse() { + void testSuccess_OkResponse() { requestAndRespondWithStatus(HttpResponseStatus.OK); } @Test - public void testSuccess_NonOkResponse() { + void testSuccess_NonOkResponse() { requestAndRespondWithStatus(HttpResponseStatus.BAD_REQUEST); } } diff --git a/proxy/src/test/java/google/registry/proxy/WhoisProtocolModuleTest.java b/proxy/src/test/java/google/registry/proxy/WhoisProtocolModuleTest.java index c2640b309..fc467b29c 100644 --- a/proxy/src/test/java/google/registry/proxy/WhoisProtocolModuleTest.java +++ b/proxy/src/test/java/google/registry/proxy/WhoisProtocolModuleTest.java @@ -31,20 +31,17 @@ import io.netty.handler.codec.http.FullHttpResponse; import io.netty.handler.codec.http.HttpResponseStatus; import java.nio.channels.ClosedChannelException; import java.util.stream.Stream; -import org.junit.Test; -import org.junit.runner.RunWith; -import org.junit.runners.JUnit4; +import org.junit.jupiter.api.Test; /** End-to-end tests for {@link WhoisProtocolModule}. */ -@RunWith(JUnit4.class) -public class WhoisProtocolModuleTest extends ProtocolModuleTest { +class WhoisProtocolModuleTest extends ProtocolModuleTest { - public WhoisProtocolModuleTest() { + WhoisProtocolModuleTest() { super(TestComponent::whoisHandlers); } @Test - public void testSuccess_singleFrameInboundMessage() { + void testSuccess_singleFrameInboundMessage() { String inputString = "test.tld\r\n"; // Inbound message processed and passed along. assertThat(channel.writeInbound(Unpooled.wrappedBuffer(inputString.getBytes(US_ASCII)))) @@ -64,7 +61,7 @@ public class WhoisProtocolModuleTest extends ProtocolModuleTest { } @Test - public void testSuccess_noNewlineInboundMessage() { + void testSuccess_noNewlineInboundMessage() { String inputString = "test.tld"; // No newline encountered, no message formed. assertThat(channel.writeInbound(Unpooled.wrappedBuffer(inputString.getBytes(US_ASCII)))) @@ -73,7 +70,7 @@ public class WhoisProtocolModuleTest extends ProtocolModuleTest { } @Test - public void testSuccess_multiFrameInboundMessage() { + void testSuccess_multiFrameInboundMessage() { String frame1 = "test"; String frame2 = "1.tld"; String frame3 = "\r\nte"; @@ -113,7 +110,7 @@ public class WhoisProtocolModuleTest extends ProtocolModuleTest { } @Test - public void testSuccess_inboundMessageTooLong() { + void testSuccess_inboundMessageTooLong() { String inputString = Stream.generate(() -> "x").limit(513).collect(joining()) + "\r\n"; // Nothing gets propagated further. assertThat(channel.writeInbound(Unpooled.wrappedBuffer(inputString.getBytes(US_ASCII)))) @@ -123,7 +120,7 @@ public class WhoisProtocolModuleTest extends ProtocolModuleTest { } @Test - public void testSuccess_parseSingleOutboundHttpResponse() { + void testSuccess_parseSingleOutboundHttpResponse() { String outputString = "line1\r\nline2\r\n"; FullHttpResponse response = makeWhoisHttpResponse(outputString, HttpResponseStatus.OK); // Http response parsed and passed along. @@ -136,7 +133,7 @@ public class WhoisProtocolModuleTest extends ProtocolModuleTest { } @Test - public void testFailure_parseOnlyFirstFromMultipleOutboundHttpResponse() { + void testFailure_parseOnlyFirstFromMultipleOutboundHttpResponse() { String outputString1 = "line1\r\nline2\r\n"; String outputString2 = "line3\r\nline4\r\nline5\r\n"; FullHttpResponse response1 = makeWhoisHttpResponse(outputString1, HttpResponseStatus.OK); @@ -151,7 +148,7 @@ public class WhoisProtocolModuleTest extends ProtocolModuleTest { } @Test - public void testFailure_outboundResponseStatusNotOK() { + void testFailure_outboundResponseStatusNotOK() { String outputString = "line1\r\nline2\r\n"; FullHttpResponse response = makeWhoisHttpResponse(outputString, HttpResponseStatus.BAD_REQUEST); EncoderException thrown = diff --git a/proxy/src/test/java/google/registry/proxy/handler/BackendMetricsHandlerTest.java b/proxy/src/test/java/google/registry/proxy/handler/BackendMetricsHandlerTest.java index 1b24bb636..02f475bd5 100644 --- a/proxy/src/test/java/google/registry/proxy/handler/BackendMetricsHandlerTest.java +++ b/proxy/src/test/java/google/registry/proxy/handler/BackendMetricsHandlerTest.java @@ -40,14 +40,11 @@ import io.netty.handler.codec.http.FullHttpResponse; import io.netty.handler.codec.http.HttpResponseStatus; import org.joda.time.DateTime; import org.joda.time.Duration; -import org.junit.Before; -import org.junit.Test; -import org.junit.runner.RunWith; -import org.junit.runners.JUnit4; +import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.Test; /** Unit tests for {@link BackendMetricsHandler}. */ -@RunWith(JUnit4.class) -public class BackendMetricsHandlerTest { +class BackendMetricsHandlerTest { private static final String HOST = "host.tld"; private static final String CLIENT_CERT_HASH = "blah12345"; @@ -75,8 +72,8 @@ public class BackendMetricsHandlerTest { private EmbeddedChannel channel; - @Before - public void setUp() { + @BeforeEach + void beforeEach() { EmbeddedChannel frontendChannel = new EmbeddedChannel(); frontendChannel.attr(PROTOCOL_KEY).set(frontendProtocol); frontendChannel.attr(CLIENT_CERTIFICATE_HASH_KEY).set(CLIENT_CERT_HASH); @@ -93,7 +90,7 @@ public class BackendMetricsHandlerTest { } @Test - public void testFailure_outbound_wrongType() { + void testFailure_outbound_wrongType() { Object request = new Object(); IllegalArgumentException e = assertThrows(IllegalArgumentException.class, () -> channel.writeOutbound(request)); @@ -101,7 +98,7 @@ public class BackendMetricsHandlerTest { } @Test - public void testFailure_inbound_wrongType() { + void testFailure_inbound_wrongType() { Object response = new Object(); IllegalArgumentException e = assertThrows(IllegalArgumentException.class, () -> channel.writeInbound(response)); @@ -109,7 +106,7 @@ public class BackendMetricsHandlerTest { } @Test - public void testSuccess_oneRequest() { + void testSuccess_oneRequest() { FullHttpRequest request = makeHttpPostRequest("some content", HOST, "/"); // outbound message passed to the next handler. assertThat(channel.writeOutbound(request)).isTrue(); @@ -120,7 +117,7 @@ public class BackendMetricsHandlerTest { } @Test - public void testSuccess_oneRequest_oneResponse() { + void testSuccess_oneRequest_oneResponse() { FullHttpRequest request = makeHttpPostRequest("some request", HOST, "/"); FullHttpResponse response = makeHttpResponse("some response", HttpResponseStatus.OK); // outbound message passed to the next handler. @@ -139,7 +136,7 @@ public class BackendMetricsHandlerTest { } @Test - public void testSuccess_badResponse() { + void testSuccess_badResponse() { FullHttpRequest request = makeHttpPostRequest("some request", HOST, "/"); FullHttpResponse response = makeHttpResponse("some bad response", HttpResponseStatus.BAD_REQUEST); @@ -161,7 +158,7 @@ public class BackendMetricsHandlerTest { } @Test - public void testFailure_responseBeforeRequest() { + void testFailure_responseBeforeRequest() { FullHttpResponse response = makeHttpResponse("phantom response", HttpResponseStatus.OK); IllegalStateException e = assertThrows(IllegalStateException.class, () -> channel.writeInbound(response)); @@ -169,7 +166,7 @@ public class BackendMetricsHandlerTest { } @Test - public void testSuccess_pipelinedResponses() { + void testSuccess_pipelinedResponses() { FullHttpRequest request1 = makeHttpPostRequest("request 1", HOST, "/"); FullHttpResponse response1 = makeHttpResponse("response 1", HttpResponseStatus.OK); FullHttpRequest request2 = makeHttpPostRequest("request 22", HOST, "/"); diff --git a/proxy/src/test/java/google/registry/proxy/handler/EppQuotaHandlerTest.java b/proxy/src/test/java/google/registry/proxy/handler/EppQuotaHandlerTest.java index 28bd55c07..7f579a576 100644 --- a/proxy/src/test/java/google/registry/proxy/handler/EppQuotaHandlerTest.java +++ b/proxy/src/test/java/google/registry/proxy/handler/EppQuotaHandlerTest.java @@ -38,14 +38,11 @@ import io.netty.channel.embedded.EmbeddedChannel; import org.joda.time.DateTime; import org.joda.time.DateTimeZone; import org.joda.time.Duration; -import org.junit.Before; -import org.junit.Test; -import org.junit.runner.RunWith; -import org.junit.runners.JUnit4; +import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.Test; /** Unit tests for {@link EppQuotaHandler} */ -@RunWith(JUnit4.class) -public class EppQuotaHandlerTest { +class EppQuotaHandlerTest { private final QuotaManager quotaManager = mock(QuotaManager.class); private final FrontendMetrics metrics = mock(FrontendMetrics.class); @@ -73,14 +70,14 @@ public class EppQuotaHandlerTest { .build()); } - @Before - public void setUp() { + @BeforeEach + void beforeEach() { channel.attr(CLIENT_CERTIFICATE_HASH_KEY).set(clientCertHash); setProtocol(channel); } @Test - public void testSuccess_quotaGrantedAndReturned() { + void testSuccess_quotaGrantedAndReturned() { when(quotaManager.acquireQuota(QuotaRequest.create(clientCertHash))) .thenReturn(QuotaResponse.create(true, clientCertHash, now)); @@ -104,7 +101,7 @@ public class EppQuotaHandlerTest { } @Test - public void testFailure_quotaNotGranted() { + void testFailure_quotaNotGranted() { when(quotaManager.acquireQuota(QuotaRequest.create(clientCertHash))) .thenReturn(QuotaResponse.create(false, clientCertHash, now)); OverQuotaException e = @@ -119,7 +116,7 @@ public class EppQuotaHandlerTest { } @Test - public void testSuccess_twoChannels_twoUserIds() { + void testSuccess_twoChannels_twoUserIds() { // Set up another user. final EppQuotaHandler otherHandler = new EppQuotaHandler(quotaManager, metrics); final EmbeddedChannel otherChannel = new EmbeddedChannel(otherHandler); @@ -147,7 +144,7 @@ public class EppQuotaHandlerTest { } @Test - public void testSuccess_twoChannels_sameUserIds() { + void testSuccess_twoChannels_sameUserIds() { // Set up another channel for the same user. final EppQuotaHandler otherHandler = new EppQuotaHandler(quotaManager, metrics); final EmbeddedChannel otherChannel = new EmbeddedChannel(otherHandler); diff --git a/proxy/src/test/java/google/registry/proxy/handler/EppServiceHandlerTest.java b/proxy/src/test/java/google/registry/proxy/handler/EppServiceHandlerTest.java index f3474967f..b98b615da 100644 --- a/proxy/src/test/java/google/registry/proxy/handler/EppServiceHandlerTest.java +++ b/proxy/src/test/java/google/registry/proxy/handler/EppServiceHandlerTest.java @@ -44,14 +44,11 @@ import io.netty.handler.codec.http.cookie.Cookie; import io.netty.handler.codec.http.cookie.DefaultCookie; import io.netty.util.concurrent.Promise; import java.security.cert.X509Certificate; -import org.junit.Before; -import org.junit.Test; -import org.junit.runner.RunWith; -import org.junit.runners.JUnit4; +import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.Test; /** Unit tests for {@link EppServiceHandler}. */ -@RunWith(JUnit4.class) -public class EppServiceHandlerTest { +class EppServiceHandlerTest { private static final String HELLO = "\n" @@ -112,8 +109,8 @@ public class EppServiceHandlerTest { cookies); } - @Before - public void setUp() throws Exception { + @BeforeEach + void beforeEach() throws Exception { clientCertificate = SelfSignedCaCertificate.create().cert(); channel = setUpNewChannel(eppServiceHandler); } @@ -132,7 +129,7 @@ public class EppServiceHandlerTest { } @Test - public void testSuccess_connectionMetrics_oneConnection() throws Exception { + void testSuccess_connectionMetrics_oneConnection() throws Exception { setHandshakeSuccess(); String certHash = getCertificateHash(clientCertificate); assertThat(channel.isActive()).isTrue(); @@ -141,7 +138,7 @@ public class EppServiceHandlerTest { } @Test - public void testSuccess_connectionMetrics_twoConnections_sameClient() throws Exception { + void testSuccess_connectionMetrics_twoConnections_sameClient() throws Exception { setHandshakeSuccess(); String certHash = getCertificateHash(clientCertificate); assertThat(channel.isActive()).isTrue(); @@ -165,7 +162,7 @@ public class EppServiceHandlerTest { } @Test - public void testSuccess_connectionMetrics_twoConnections_differentClients() throws Exception { + void testSuccess_connectionMetrics_twoConnections_differentClients() throws Exception { setHandshakeSuccess(); String certHash = getCertificateHash(clientCertificate); assertThat(channel.isActive()).isTrue(); @@ -191,7 +188,7 @@ public class EppServiceHandlerTest { } @Test - public void testSuccess_sendHelloUponHandshakeSuccess() throws Exception { + void testSuccess_sendHelloUponHandshakeSuccess() throws Exception { // Nothing to pass to the next handler. assertThat((Object) channel.readInbound()).isNull(); setHandshakeSuccess(); @@ -204,7 +201,7 @@ public class EppServiceHandlerTest { } @Test - public void testSuccess_disconnectUponHandshakeFailure() throws Exception { + void testSuccess_disconnectUponHandshakeFailure() throws Exception { // Nothing to pass to the next handler. assertThat((Object) channel.readInbound()).isNull(); setHandshakeFailure(); @@ -212,7 +209,7 @@ public class EppServiceHandlerTest { } @Test - public void testSuccess_sendRequestToNextHandler() throws Exception { + void testSuccess_sendRequestToNextHandler() throws Exception { setHandshakeSuccess(); // First inbound message is hello. channel.readInbound(); @@ -226,7 +223,7 @@ public class EppServiceHandlerTest { } @Test - public void testSuccess_sendResponseToNextHandler() throws Exception { + void testSuccess_sendResponseToNextHandler() throws Exception { setHandshakeSuccess(); String content = "stuff"; channel.writeOutbound(makeEppHttpResponse(content, HttpResponseStatus.OK)); @@ -238,7 +235,7 @@ public class EppServiceHandlerTest { } @Test - public void testSuccess_sendResponseToNextHandler_andDisconnect() throws Exception { + void testSuccess_sendResponseToNextHandler_andDisconnect() throws Exception { setHandshakeSuccess(); String content = "stuff"; HttpResponse response = makeEppHttpResponse(content, HttpResponseStatus.OK); @@ -253,7 +250,7 @@ public class EppServiceHandlerTest { } @Test - public void testFailure_disconnectOnNonOKResponseStatus() throws Exception { + void testFailure_disconnectOnNonOKResponseStatus() throws Exception { setHandshakeSuccess(); String content = "stuff"; EncoderException thrown = @@ -269,7 +266,7 @@ public class EppServiceHandlerTest { } @Test - public void testSuccess_setCookies() throws Exception { + void testSuccess_setCookies() throws Exception { setHandshakeSuccess(); // First inbound message is hello. channel.readInbound(); @@ -291,7 +288,7 @@ public class EppServiceHandlerTest { } @Test - public void testSuccess_updateCookies() throws Exception { + void testSuccess_updateCookies() throws Exception { setHandshakeSuccess(); // First inbound message is hello. channel.readInbound(); diff --git a/proxy/src/test/java/google/registry/proxy/handler/FrontendMetricsHandlerTest.java b/proxy/src/test/java/google/registry/proxy/handler/FrontendMetricsHandlerTest.java index 42c382621..b8d03925e 100644 --- a/proxy/src/test/java/google/registry/proxy/handler/FrontendMetricsHandlerTest.java +++ b/proxy/src/test/java/google/registry/proxy/handler/FrontendMetricsHandlerTest.java @@ -32,14 +32,11 @@ import io.netty.channel.ChannelInitializer; import io.netty.channel.embedded.EmbeddedChannel; import org.joda.time.DateTime; import org.joda.time.Duration; -import org.junit.Before; -import org.junit.Test; -import org.junit.runner.RunWith; -import org.junit.runners.JUnit4; +import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.Test; /** Unit tests for {@link FrontendMetricsHandler}. */ -@RunWith(JUnit4.class) -public class FrontendMetricsHandlerTest { +class FrontendMetricsHandlerTest { private static final String CLIENT_CERT_HASH = "blah12345"; private static final String PROTOCOL_NAME = "frontend protocol"; @@ -58,8 +55,8 @@ public class FrontendMetricsHandlerTest { private EmbeddedChannel channel; - @Before - public void setUp() { + @BeforeEach + void beforeEach() { channel = new EmbeddedChannel( new ChannelInitializer() { @@ -73,7 +70,7 @@ public class FrontendMetricsHandlerTest { } @Test - public void testSuccess_oneRequest() { + void testSuccess_oneRequest() { // Inbound message passed to the next handler. Object request = new Object(); assertThat(channel.writeInbound(request)).isTrue(); @@ -82,7 +79,7 @@ public class FrontendMetricsHandlerTest { } @Test - public void testSuccess_oneRequest_oneResponse() { + void testSuccess_oneRequest_oneResponse() { Object request = new Object(); Object response = new Object(); // Inbound message passed to the next handler. @@ -98,7 +95,7 @@ public class FrontendMetricsHandlerTest { } @Test - public void testFailure_responseBeforeRequest() { + void testFailure_responseBeforeRequest() { Object response = new Object(); IllegalStateException e = assertThrows(IllegalStateException.class, () -> channel.writeOutbound(response)); @@ -106,7 +103,7 @@ public class FrontendMetricsHandlerTest { } @Test - public void testSuccess_pipelinedResponses() { + void testSuccess_pipelinedResponses() { Object request1 = new Object(); Object response1 = new Object(); Object request2 = new Object(); diff --git a/proxy/src/test/java/google/registry/proxy/handler/HealthCheckHandlerTest.java b/proxy/src/test/java/google/registry/proxy/handler/HealthCheckHandlerTest.java index 634163f9d..53fd6a1c2 100644 --- a/proxy/src/test/java/google/registry/proxy/handler/HealthCheckHandlerTest.java +++ b/proxy/src/test/java/google/registry/proxy/handler/HealthCheckHandlerTest.java @@ -20,13 +20,10 @@ import static java.nio.charset.StandardCharsets.US_ASCII; import io.netty.buffer.ByteBuf; import io.netty.buffer.Unpooled; import io.netty.channel.embedded.EmbeddedChannel; -import org.junit.Test; -import org.junit.runner.RunWith; -import org.junit.runners.JUnit4; +import org.junit.jupiter.api.Test; /** Unit tests for {@link HealthCheckHandler}. */ -@RunWith(JUnit4.class) -public class HealthCheckHandlerTest { +class HealthCheckHandlerTest { private static final String CHECK_REQ = "REQUEST"; private static final String CHECK_RES = "RESPONSE"; @@ -36,7 +33,7 @@ public class HealthCheckHandlerTest { private final EmbeddedChannel channel = new EmbeddedChannel(healthCheckHandler); @Test - public void testSuccess_ResponseSent() { + void testSuccess_ResponseSent() { ByteBuf input = Unpooled.wrappedBuffer(CHECK_REQ.getBytes(US_ASCII)); // No inbound message passed to the next handler. assertThat(channel.writeInbound(input)).isFalse(); @@ -46,7 +43,7 @@ public class HealthCheckHandlerTest { } @Test - public void testSuccess_IgnoreUnrecognizedRequest() { + void testSuccess_IgnoreUnrecognizedRequest() { String unrecognizedInput = "1234567"; ByteBuf input = Unpooled.wrappedBuffer(unrecognizedInput.getBytes(US_ASCII)); // No inbound message passed to the next handler. diff --git a/proxy/src/test/java/google/registry/proxy/handler/ProxyProtocolHandlerTest.java b/proxy/src/test/java/google/registry/proxy/handler/ProxyProtocolHandlerTest.java index 62c885d1b..de75b512f 100644 --- a/proxy/src/test/java/google/registry/proxy/handler/ProxyProtocolHandlerTest.java +++ b/proxy/src/test/java/google/registry/proxy/handler/ProxyProtocolHandlerTest.java @@ -21,13 +21,10 @@ import static java.nio.charset.StandardCharsets.UTF_8; import io.netty.buffer.ByteBuf; import io.netty.buffer.Unpooled; import io.netty.channel.embedded.EmbeddedChannel; -import org.junit.Test; -import org.junit.runner.RunWith; -import org.junit.runners.JUnit4; +import org.junit.jupiter.api.Test; /** Unit tests for {@link ProxyProtocolHandler}. */ -@RunWith(JUnit4.class) -public class ProxyProtocolHandlerTest { +class ProxyProtocolHandlerTest { private static final String HEADER_TEMPLATE = "PROXY TCP%d %s %s %s %s\r\n"; @@ -37,7 +34,7 @@ public class ProxyProtocolHandlerTest { private String header; @Test - public void testSuccess_proxyHeaderPresent_singleFrame() { + void testSuccess_proxyHeaderPresent_singleFrame() { header = String.format(HEADER_TEMPLATE, 4, "172.0.0.1", "255.255.255.255", "234", "123"); String message = "some message"; // Header processed, rest of the message passed along. @@ -50,7 +47,7 @@ public class ProxyProtocolHandlerTest { } @Test - public void testSuccess_proxyHeaderUnknownSource_singleFrame() { + void testSuccess_proxyHeaderUnknownSource_singleFrame() { header = "PROXY UNKNOWN\r\n"; String message = "some message"; // Header processed, rest of the message passed along. @@ -63,7 +60,7 @@ public class ProxyProtocolHandlerTest { } @Test - public void testSuccess_proxyHeaderPresent_multipleFrames() { + void testSuccess_proxyHeaderPresent_multipleFrames() { header = String.format(HEADER_TEMPLATE, 4, "172.0.0.1", "255.255.255.255", "234", "123"); String frame1 = header.substring(0, 4); String frame2 = header.substring(4, 7); @@ -85,7 +82,7 @@ public class ProxyProtocolHandlerTest { } @Test - public void testSuccess_proxyHeaderPresent_singleFrame_ipv6() { + void testSuccess_proxyHeaderPresent_singleFrame_ipv6() { header = String.format(HEADER_TEMPLATE, 6, "2001:db8:0:1:1:1:1:1", "0:0:0:0:0:0:0:1", "234", "123"); String message = "some message"; @@ -99,7 +96,7 @@ public class ProxyProtocolHandlerTest { } @Test - public void testSuccess_proxyHeaderNotPresent_singleFrame() { + void testSuccess_proxyHeaderNotPresent_singleFrame() { String message = "some message"; // No header present, rest of the message passed along. assertThat(channel.writeInbound(Unpooled.wrappedBuffer(message.getBytes(UTF_8)))).isTrue(); @@ -110,7 +107,7 @@ public class ProxyProtocolHandlerTest { } @Test - public void testSuccess_proxyHeaderNotPresent_multipleFrames() { + void testSuccess_proxyHeaderNotPresent_multipleFrames() { String frame1 = "som"; String frame2 = "e mess"; String frame3 = "age\nis not"; diff --git a/proxy/src/test/java/google/registry/proxy/handler/RelayHandlerTest.java b/proxy/src/test/java/google/registry/proxy/handler/RelayHandlerTest.java index e1735c2c3..ca06d9807 100644 --- a/proxy/src/test/java/google/registry/proxy/handler/RelayHandlerTest.java +++ b/proxy/src/test/java/google/registry/proxy/handler/RelayHandlerTest.java @@ -25,14 +25,11 @@ import google.registry.proxy.Protocol.BackendProtocol; import google.registry.proxy.Protocol.FrontendProtocol; import io.netty.channel.embedded.EmbeddedChannel; import java.util.ArrayDeque; -import org.junit.Before; -import org.junit.Test; -import org.junit.runner.RunWith; -import org.junit.runners.JUnit4; +import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.Test; /** Unit tests for {@link RelayHandler}. */ -@RunWith(JUnit4.class) -public class RelayHandlerTest { +class RelayHandlerTest { private static final class ExpectedType {} @@ -56,8 +53,8 @@ public class RelayHandlerTest { .build(); private final BackendProtocol backendProtocol = frontendProtocol.relayProtocol(); - @Before - public void setUp() { + @BeforeEach + void beforeEach() { inboundChannel.attr(RELAY_CHANNEL_KEY).set(outboundChannel); inboundChannel.attr(RELAY_BUFFER_KEY).set(new ArrayDeque<>()); inboundChannel.attr(PROTOCOL_KEY).set(frontendProtocol); @@ -65,7 +62,7 @@ public class RelayHandlerTest { } @Test - public void testSuccess_relayInboundMessageOfExpectedType() { + void testSuccess_relayInboundMessageOfExpectedType() { ExpectedType inboundMessage = new ExpectedType(); // Relay handler intercepted the message, no further inbound message. assertThat(inboundChannel.writeInbound(inboundMessage)).isFalse(); @@ -75,7 +72,7 @@ public class RelayHandlerTest { } @Test - public void testSuccess_ignoreInboundMessageOfOtherType() { + void testSuccess_ignoreInboundMessageOfOtherType() { OtherType inboundMessage = new OtherType(); // Relay handler ignores inbound message of other types, the inbound message is passed along. assertThat(inboundChannel.writeInbound(inboundMessage)).isTrue(); @@ -85,7 +82,7 @@ public class RelayHandlerTest { } @Test - public void testSuccess_frontClosed() { + void testSuccess_frontClosed() { inboundChannel.attr(RELAY_BUFFER_KEY).set(null); inboundChannel.attr(PROTOCOL_KEY).set(backendProtocol); outboundChannel.attr(PROTOCOL_KEY).set(frontendProtocol); @@ -101,7 +98,7 @@ public class RelayHandlerTest { } @Test - public void testSuccess_backendClosed_enqueueBuffer() { + void testSuccess_backendClosed_enqueueBuffer() { ExpectedType inboundMessage = new ExpectedType(); // Outbound channel (backend) is closed. outboundChannel.finish(); @@ -114,7 +111,7 @@ public class RelayHandlerTest { } @Test - public void testSuccess_channelRead_relayNotSet() { + void testSuccess_channelRead_relayNotSet() { ExpectedType inboundMessage = new ExpectedType(); inboundChannel.attr(RELAY_CHANNEL_KEY).set(null); // Nothing to read. diff --git a/proxy/src/test/java/google/registry/proxy/handler/WebWhoisRedirectHandlerTest.java b/proxy/src/test/java/google/registry/proxy/handler/WebWhoisRedirectHandlerTest.java index e61385c92..7843dae3c 100644 --- a/proxy/src/test/java/google/registry/proxy/handler/WebWhoisRedirectHandlerTest.java +++ b/proxy/src/test/java/google/registry/proxy/handler/WebWhoisRedirectHandlerTest.java @@ -24,13 +24,10 @@ import io.netty.channel.embedded.EmbeddedChannel; import io.netty.handler.codec.http.FullHttpRequest; import io.netty.handler.codec.http.FullHttpResponse; import io.netty.handler.codec.http.HttpResponseStatus; -import org.junit.Test; -import org.junit.runner.RunWith; -import org.junit.runners.JUnit4; +import org.junit.jupiter.api.Test; /** Unit tests for {@link WebWhoisRedirectHandler}. */ -@RunWith(JUnit4.class) -public class WebWhoisRedirectHandlerTest { +class WebWhoisRedirectHandlerTest { private static final String REDIRECT_HOST = "www.example.com"; private static final String TARGET_HOST = "whois.nic.tld"; @@ -62,7 +59,7 @@ public class WebWhoisRedirectHandlerTest { // HTTP redirect tests. @Test - public void testSuccess_http_methodNotAllowed() { + void testSuccess_http_methodNotAllowed() { setupChannel(false); request = makeHttpPostRequest("", TARGET_HOST, "/"); // No inbound message passed to the next handler. @@ -74,7 +71,7 @@ public class WebWhoisRedirectHandlerTest { } @Test - public void testSuccess_http_badHost() { + void testSuccess_http_badHost() { setupChannel(false); request = makeHttpGetRequest("", "/"); // No inbound message passed to the next handler. @@ -86,7 +83,7 @@ public class WebWhoisRedirectHandlerTest { } @Test - public void testSuccess_http_noHost() { + void testSuccess_http_noHost() { setupChannel(false); request = makeHttpGetRequest("", "/"); request.headers().remove("host"); @@ -99,7 +96,7 @@ public class WebWhoisRedirectHandlerTest { } @Test - public void testSuccess_http_healthCheck() { + void testSuccess_http_healthCheck() { setupChannel(false); request = makeHttpPostRequest("", TARGET_HOST, "/"); // No inbound message passed to the next handler. @@ -111,7 +108,7 @@ public class WebWhoisRedirectHandlerTest { } @Test - public void testSuccess_http_redirectToHttps() { + void testSuccess_http_redirectToHttps() { setupChannel(false); request = makeHttpGetRequest(TARGET_HOST, "/"); // No inbound message passed to the next handler. @@ -125,7 +122,7 @@ public class WebWhoisRedirectHandlerTest { } @Test - public void testSuccess_http_redirectToHttps_hostAndPort() { + void testSuccess_http_redirectToHttps_hostAndPort() { setupChannel(false); request = makeHttpGetRequest(TARGET_HOST + ":80", "/"); // No inbound message passed to the next handler. @@ -139,7 +136,7 @@ public class WebWhoisRedirectHandlerTest { } @Test - public void testSuccess_http_redirectToHttps_noKeepAlive() { + void testSuccess_http_redirectToHttps_noKeepAlive() { setupChannel(false); request = makeHttpGetRequest(TARGET_HOST, "/"); request.headers().set("connection", "close"); @@ -156,7 +153,7 @@ public class WebWhoisRedirectHandlerTest { // HTTPS redirect tests. @Test - public void testSuccess_https_methodNotAllowed() { + void testSuccess_https_methodNotAllowed() { setupChannel(true); request = makeHttpPostRequest("", TARGET_HOST, "/"); // No inbound message passed to the next handler. @@ -168,7 +165,7 @@ public class WebWhoisRedirectHandlerTest { } @Test - public void testSuccess_https_badHost() { + void testSuccess_https_badHost() { setupChannel(true); request = makeHttpGetRequest("", "/"); // No inbound message passed to the next handler. @@ -180,7 +177,7 @@ public class WebWhoisRedirectHandlerTest { } @Test - public void testSuccess_https_noHost() { + void testSuccess_https_noHost() { setupChannel(true); request = makeHttpGetRequest("", "/"); request.headers().remove("host"); @@ -193,7 +190,7 @@ public class WebWhoisRedirectHandlerTest { } @Test - public void testSuccess_https_healthCheck() { + void testSuccess_https_healthCheck() { setupChannel(true); request = makeHttpGetRequest("health-check.invalid", "/"); // No inbound message passed to the next handler. @@ -205,7 +202,7 @@ public class WebWhoisRedirectHandlerTest { } @Test - public void testSuccess_https_redirectToDestination() { + void testSuccess_https_redirectToDestination() { setupChannel(true); request = makeHttpGetRequest(TARGET_HOST, "/"); // No inbound message passed to the next handler. @@ -218,7 +215,7 @@ public class WebWhoisRedirectHandlerTest { } @Test - public void testSuccess_https_redirectToDestination_noKeepAlive() { + void testSuccess_https_redirectToDestination_noKeepAlive() { setupChannel(true); request = makeHttpGetRequest(TARGET_HOST, "/"); request.headers().set("connection", "close"); diff --git a/proxy/src/test/java/google/registry/proxy/handler/WhoisQuotaHandlerTest.java b/proxy/src/test/java/google/registry/proxy/handler/WhoisQuotaHandlerTest.java index a29a000c4..1020b9f83 100644 --- a/proxy/src/test/java/google/registry/proxy/handler/WhoisQuotaHandlerTest.java +++ b/proxy/src/test/java/google/registry/proxy/handler/WhoisQuotaHandlerTest.java @@ -37,14 +37,11 @@ import io.netty.channel.embedded.EmbeddedChannel; import org.joda.time.DateTime; import org.joda.time.DateTimeZone; import org.joda.time.Duration; -import org.junit.Before; -import org.junit.Test; -import org.junit.runner.RunWith; -import org.junit.runners.JUnit4; +import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.Test; /** Unit tests for {@link WhoisQuotaHandler} */ -@RunWith(JUnit4.class) -public class WhoisQuotaHandlerTest { +class WhoisQuotaHandlerTest { private final QuotaManager quotaManager = mock(QuotaManager.class); private final FrontendMetrics metrics = mock(FrontendMetrics.class); @@ -72,14 +69,14 @@ public class WhoisQuotaHandlerTest { .build()); } - @Before - public void setUp() { + @BeforeEach + void beforeEach() { channel.attr(REMOTE_ADDRESS_KEY).set(remoteAddress); setProtocol(channel); } @Test - public void testSuccess_quotaGranted() { + void testSuccess_quotaGranted() { when(quotaManager.acquireQuota(QuotaRequest.create(remoteAddress))) .thenReturn(QuotaResponse.create(true, remoteAddress, now)); @@ -99,7 +96,7 @@ public class WhoisQuotaHandlerTest { } @Test - public void testFailure_quotaNotGranted() { + void testFailure_quotaNotGranted() { when(quotaManager.acquireQuota(QuotaRequest.create(remoteAddress))) .thenReturn(QuotaResponse.create(false, remoteAddress, now)); OverQuotaException e = @@ -110,7 +107,7 @@ public class WhoisQuotaHandlerTest { } @Test - public void testSuccess_twoChannels_twoUserIds() { + void testSuccess_twoChannels_twoUserIds() { // Set up another user. final WhoisQuotaHandler otherHandler = new WhoisQuotaHandler(quotaManager, metrics); final EmbeddedChannel otherChannel = new EmbeddedChannel(otherHandler); @@ -138,7 +135,7 @@ public class WhoisQuotaHandlerTest { } @Test - public void testSuccess_oneUser_rateLimited() { + void testSuccess_oneUser_rateLimited() { // Set up another channel for the same user. final WhoisQuotaHandler otherHandler = new WhoisQuotaHandler(quotaManager, metrics); final EmbeddedChannel otherChannel = new EmbeddedChannel(otherHandler); diff --git a/proxy/src/test/java/google/registry/proxy/handler/WhoisServiceHandlerTest.java b/proxy/src/test/java/google/registry/proxy/handler/WhoisServiceHandlerTest.java index 923dcfc95..6abf4a245 100644 --- a/proxy/src/test/java/google/registry/proxy/handler/WhoisServiceHandlerTest.java +++ b/proxy/src/test/java/google/registry/proxy/handler/WhoisServiceHandlerTest.java @@ -34,14 +34,11 @@ import io.netty.handler.codec.EncoderException; import io.netty.handler.codec.http.FullHttpRequest; import io.netty.handler.codec.http.FullHttpResponse; import io.netty.handler.codec.http.HttpResponseStatus; -import org.junit.Before; -import org.junit.Test; -import org.junit.runner.RunWith; -import org.junit.runners.JUnit4; +import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.Test; /** Unit tests for {@link WhoisServiceHandler}. */ -@RunWith(JUnit4.class) -public class WhoisServiceHandlerTest { +class WhoisServiceHandlerTest { private static final String RELAY_HOST = "www.example.tld"; private static final String RELAY_PATH = "/test"; @@ -56,22 +53,22 @@ public class WhoisServiceHandlerTest { new WhoisServiceHandler(RELAY_HOST, RELAY_PATH, () -> ACCESS_TOKEN, metrics); private EmbeddedChannel channel; - @Before - public void setUp() { + @BeforeEach + void beforeEach() { // Need to reset metrics for each test method, since they are static fields on the class and // shared between each run. channel = new EmbeddedChannel(whoisServiceHandler); } @Test - public void testSuccess_connectionMetrics_oneChannel() { + void testSuccess_connectionMetrics_oneChannel() { assertThat(channel.isActive()).isTrue(); verify(metrics).registerActiveConnection(PROTOCOL, CLIENT_HASH, channel); verifyNoMoreInteractions(metrics); } @Test - public void testSuccess_ConnectionMetrics_twoConnections() { + void testSuccess_ConnectionMetrics_twoConnections() { assertThat(channel.isActive()).isTrue(); verify(metrics).registerActiveConnection(PROTOCOL, CLIENT_HASH, channel); @@ -88,7 +85,7 @@ public class WhoisServiceHandlerTest { } @Test - public void testSuccess_fireInboundHttpRequest() { + void testSuccess_fireInboundHttpRequest() { ByteBuf inputBuffer = Unpooled.wrappedBuffer(QUERY_CONTENT.getBytes(US_ASCII)); FullHttpRequest expectedRequest = makeWhoisHttpRequest(QUERY_CONTENT, RELAY_HOST, RELAY_PATH, ACCESS_TOKEN); @@ -102,7 +99,7 @@ public class WhoisServiceHandlerTest { } @Test - public void testSuccess_parseOutboundHttpResponse() { + void testSuccess_parseOutboundHttpResponse() { String outputString = "line1\r\nline2\r\n"; FullHttpResponse outputResponse = makeWhoisHttpResponse(outputString, HttpResponseStatus.OK); // output data passed to next handler @@ -115,7 +112,7 @@ public class WhoisServiceHandlerTest { } @Test - public void testFailure_OutboundHttpResponseNotOK() { + void testFailure_OutboundHttpResponseNotOK() { String outputString = "line1\r\nline2\r\n"; FullHttpResponse outputResponse = makeWhoisHttpResponse(outputString, HttpResponseStatus.BAD_REQUEST); diff --git a/proxy/src/test/java/google/registry/proxy/metric/BackendMetricsTest.java b/proxy/src/test/java/google/registry/proxy/metric/BackendMetricsTest.java index 77f43fd3f..009b9b586 100644 --- a/proxy/src/test/java/google/registry/proxy/metric/BackendMetricsTest.java +++ b/proxy/src/test/java/google/registry/proxy/metric/BackendMetricsTest.java @@ -24,14 +24,11 @@ import io.netty.handler.codec.http.FullHttpRequest; import io.netty.handler.codec.http.FullHttpResponse; import io.netty.handler.codec.http.HttpResponseStatus; import org.joda.time.Duration; -import org.junit.Before; -import org.junit.Test; -import org.junit.runner.RunWith; -import org.junit.runners.JUnit4; +import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.Test; /** Unit tests for {@link BackendMetrics}. */ -@RunWith(JUnit4.class) -public class BackendMetricsTest { +class BackendMetricsTest { private final String host = "host.tld"; private final String certHash = "blah12345"; @@ -39,13 +36,13 @@ public class BackendMetricsTest { private final BackendMetrics metrics = new BackendMetrics(); - @Before - public void setUp() { + @BeforeEach + void beforeEach() { metrics.resetMetrics(); } @Test - public void testSuccess_oneRequest() { + void testSuccess_oneRequest() { String content = "some content"; FullHttpRequest request = makeHttpPostRequest(content, host, "/"); metrics.requestSent(protocol, certHash, request.content().readableBytes()); @@ -64,7 +61,7 @@ public class BackendMetricsTest { } @Test - public void testSuccess_multipleRequests() { + void testSuccess_multipleRequests() { String content1 = "some content"; String content2 = "some other content"; FullHttpRequest request1 = makeHttpPostRequest(content1, host, "/"); @@ -87,7 +84,7 @@ public class BackendMetricsTest { } @Test - public void testSuccess_oneResponse() { + void testSuccess_oneResponse() { String content = "some response"; FullHttpResponse response = makeHttpResponse(content, HttpResponseStatus.OK); metrics.responseReceived(protocol, certHash, response, Duration.millis(5)); @@ -109,7 +106,7 @@ public class BackendMetricsTest { } @Test - public void testSuccess_multipleResponses() { + void testSuccess_multipleResponses() { String content1 = "some response"; String content2 = "other response"; String content3 = "a very bad response"; @@ -142,7 +139,7 @@ public class BackendMetricsTest { } @Test - public void testSuccess_oneRequest_oneResponse() { + void testSuccess_oneRequest_oneResponse() { String requestContent = "some request"; String responseContent = "the only response"; FullHttpRequest request = makeHttpPostRequest(requestContent, host, "/"); diff --git a/proxy/src/test/java/google/registry/proxy/metric/FrontendMetricsTest.java b/proxy/src/test/java/google/registry/proxy/metric/FrontendMetricsTest.java index da189300e..ec839a61d 100644 --- a/proxy/src/test/java/google/registry/proxy/metric/FrontendMetricsTest.java +++ b/proxy/src/test/java/google/registry/proxy/metric/FrontendMetricsTest.java @@ -20,26 +20,23 @@ import static com.google.monitoring.metrics.contrib.LongMetricSubject.assertThat import io.netty.channel.ChannelFuture; import io.netty.channel.DefaultChannelId; import io.netty.channel.embedded.EmbeddedChannel; -import org.junit.Before; -import org.junit.Test; -import org.junit.runner.RunWith; -import org.junit.runners.JUnit4; +import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.Test; /** Unit tests for {@link FrontendMetrics}. */ -@RunWith(JUnit4.class) -public class FrontendMetricsTest { +class FrontendMetricsTest { private static final String PROTOCOL = "some protocol"; private static final String CERT_HASH = "abc_blah_1134zdf"; private final FrontendMetrics metrics = new FrontendMetrics(); - @Before - public void setUp() { + @BeforeEach + void beforeEach() { metrics.resetMetrics(); } @Test - public void testSuccess_oneConnection() { + void testSuccess_oneConnection() { EmbeddedChannel channel = new EmbeddedChannel(); metrics.registerActiveConnection(PROTOCOL, CERT_HASH, channel); assertThat(channel.isActive()).isTrue(); @@ -62,7 +59,7 @@ public class FrontendMetricsTest { } @Test - public void testSuccess_twoConnections_sameClient() { + void testSuccess_twoConnections_sameClient() { EmbeddedChannel channel1 = new EmbeddedChannel(); EmbeddedChannel channel2 = new EmbeddedChannel(DefaultChannelId.newInstance()); @@ -111,7 +108,7 @@ public class FrontendMetricsTest { } @Test - public void testSuccess_twoConnections_differentClients() { + void testSuccess_twoConnections_differentClients() { EmbeddedChannel channel1 = new EmbeddedChannel(); EmbeddedChannel channel2 = new EmbeddedChannel(DefaultChannelId.newInstance()); String certHash2 = "blahblah_lol_234"; @@ -167,7 +164,7 @@ public class FrontendMetricsTest { } @Test - public void testSuccess_registerQuotaRejections() { + void testSuccess_registerQuotaRejections() { String otherCertHash = "foobar1234X"; String remoteAddress = "127.0.0.1"; String otherProtocol = "other protocol"; diff --git a/proxy/src/test/java/google/registry/proxy/metric/MetricParametersTest.java b/proxy/src/test/java/google/registry/proxy/metric/MetricParametersTest.java index cd40bda37..f4b46c8d3 100644 --- a/proxy/src/test/java/google/registry/proxy/metric/MetricParametersTest.java +++ b/proxy/src/test/java/google/registry/proxy/metric/MetricParametersTest.java @@ -36,14 +36,11 @@ import java.net.HttpURLConnection; import java.util.HashMap; import java.util.Map.Entry; import java.util.function.Function; -import org.junit.Before; -import org.junit.Test; -import org.junit.runner.RunWith; -import org.junit.runners.JUnit4; +import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.Test; /** Unit tests for {@link MetricParameters}. */ -@RunWith(JUnit4.class) -public class MetricParametersTest { +class MetricParametersTest { private static final HashMap RESULTS = new HashMap<>(); @@ -71,8 +68,8 @@ public class MetricParametersTest { return new ByteArrayInputStream(input.getBytes(UTF_8)); } - @Before - public void setUp() throws Exception { + @BeforeEach + void beforeEach() throws Exception { fakeEnvVarMap.put(NAMESPACE_ID_ENV, "some-namespace"); fakeEnvVarMap.put(POD_ID_ENV, "some-pod"); fakeEnvVarMap.put(CONTAINER_NAME_ENV, "some-container"); @@ -97,26 +94,26 @@ public class MetricParametersTest { } @Test - public void testSuccess() { + void testSuccess() { assertThat(metricParameters.makeLabelsMap()).isEqualTo(ImmutableMap.copyOf(RESULTS)); } @Test - public void testSuccess_missingEnvVar() { + void testSuccess_missingEnvVar() { fakeEnvVarMap.remove(POD_ID_ENV); RESULTS.put("pod_id", ""); assertThat(metricParameters.makeLabelsMap()).isEqualTo(ImmutableMap.copyOf(RESULTS)); } @Test - public void testSuccess_malformedZone() throws Exception { + void testSuccess_malformedZone() throws Exception { when(zoneConnection.getInputStream()).thenReturn(makeInputStreamFromString("some-zone")); RESULTS.put("zone", ""); assertThat(metricParameters.makeLabelsMap()).isEqualTo(ImmutableMap.copyOf(RESULTS)); } @Test - public void testSuccess_errorResponseCode() throws Exception { + void testSuccess_errorResponseCode() throws Exception { when(projectIdConnection.getResponseCode()).thenReturn(404); when(projectIdConnection.getErrorStream()) .thenReturn(makeInputStreamFromString("some error message")); @@ -125,7 +122,7 @@ public class MetricParametersTest { } @Test - public void testSuccess_connectionError() throws Exception { + void testSuccess_connectionError() throws Exception { InputStream fakeInputStream = mock(InputStream.class); when(projectIdConnection.getInputStream()).thenReturn(fakeInputStream); when(fakeInputStream.read(any(byte[].class), anyInt(), anyInt())) diff --git a/proxy/src/test/java/google/registry/proxy/quota/QuotaConfigTest.java b/proxy/src/test/java/google/registry/proxy/quota/QuotaConfigTest.java index 759dae78c..371c2ea1d 100644 --- a/proxy/src/test/java/google/registry/proxy/quota/QuotaConfigTest.java +++ b/proxy/src/test/java/google/registry/proxy/quota/QuotaConfigTest.java @@ -20,14 +20,11 @@ import static org.junit.jupiter.api.Assertions.assertThrows; import google.registry.proxy.ProxyConfig.Quota; import org.joda.time.Duration; -import org.junit.Test; -import org.junit.runner.RunWith; -import org.junit.runners.JUnit4; +import org.junit.jupiter.api.Test; import org.yaml.snakeyaml.Yaml; /** Unit Tests for {@link QuotaConfig} */ -@RunWith(JUnit4.class) -public class QuotaConfigTest { +class QuotaConfigTest { private QuotaConfig quotaConfig; @@ -47,7 +44,7 @@ public class QuotaConfigTest { } @Test - public void testSuccess_regularConfig() { + void testSuccess_regularConfig() { quotaConfig = loadQuotaConfig("quota_config_regular.yaml"); assertThat(quotaConfig.getRefreshPeriod()).isEqualTo(Duration.standardHours(1)); validateQuota("abc", 10, 60); @@ -56,7 +53,7 @@ public class QuotaConfigTest { } @Test - public void testSuccess_onlyDefault() { + void testSuccess_onlyDefault() { quotaConfig = loadQuotaConfig("quota_config_default.yaml"); assertThat(quotaConfig.getRefreshPeriod()).isEqualTo(Duration.standardHours(1)); validateQuota("abc", 100, 60); @@ -65,14 +62,14 @@ public class QuotaConfigTest { } @Test - public void testSuccess_noRefresh_noRefill() { + void testSuccess_noRefresh_noRefill() { quotaConfig = loadQuotaConfig("quota_config_no_refresh_no_refill.yaml"); assertThat(quotaConfig.getRefreshPeriod()).isEqualTo(Duration.ZERO); assertThat(quotaConfig.getRefillPeriod("no_match")).isEqualTo(Duration.ZERO); } @Test - public void testFailure_getTokenAmount_throwsOnUnlimitedTokens() { + void testFailure_getTokenAmount_throwsOnUnlimitedTokens() { quotaConfig = loadQuotaConfig("quota_config_unlimited_tokens.yaml"); assertThat(quotaConfig.hasUnlimitedTokens("some_user")).isTrue(); IllegalStateException e = @@ -83,7 +80,7 @@ public class QuotaConfigTest { } @Test - public void testFailure_duplicateUserId() { + void testFailure_duplicateUserId() { IllegalArgumentException e = assertThrows( IllegalArgumentException.class, () -> loadQuotaConfig("quota_config_duplicate.yaml")); diff --git a/proxy/src/test/java/google/registry/proxy/quota/QuotaManagerTest.java b/proxy/src/test/java/google/registry/proxy/quota/QuotaManagerTest.java index 104d0a1ed..b42f2cd46 100644 --- a/proxy/src/test/java/google/registry/proxy/quota/QuotaManagerTest.java +++ b/proxy/src/test/java/google/registry/proxy/quota/QuotaManagerTest.java @@ -29,13 +29,10 @@ import google.registry.proxy.quota.TokenStore.TimestampedInteger; import google.registry.testing.FakeClock; import java.util.concurrent.Future; import org.joda.time.DateTime; -import org.junit.Test; -import org.junit.runner.RunWith; -import org.junit.runners.JUnit4; +import org.junit.jupiter.api.Test; /** Unit tests for {@link QuotaManager}. */ -@RunWith(JUnit4.class) -public class QuotaManagerTest { +class QuotaManagerTest { private static final String USER_ID = "theUser"; @@ -48,7 +45,7 @@ public class QuotaManagerTest { private QuotaResponse response; @Test - public void testSuccess_requestApproved() { + void testSuccess_requestApproved() { when(tokenStore.take(anyString())).thenReturn(TimestampedInteger.create(1, clock.nowUtc())); request = QuotaRequest.create(USER_ID); @@ -59,7 +56,7 @@ public class QuotaManagerTest { } @Test - public void testSuccess_requestDenied() { + void testSuccess_requestDenied() { when(tokenStore.take(anyString())).thenReturn(TimestampedInteger.create(0, clock.nowUtc())); request = QuotaRequest.create(USER_ID); @@ -70,7 +67,7 @@ public class QuotaManagerTest { } @Test - public void testSuccess_rebate() throws Exception { + void testSuccess_rebate() throws Exception { DateTime grantedTokenRefillTime = clock.nowUtc(); response = QuotaResponse.create(true, USER_ID, grantedTokenRefillTime); QuotaRebate rebate = QuotaRebate.create(response); diff --git a/proxy/src/test/java/google/registry/proxy/quota/TokenStoreTest.java b/proxy/src/test/java/google/registry/proxy/quota/TokenStoreTest.java index 6d8023003..06591d191 100644 --- a/proxy/src/test/java/google/registry/proxy/quota/TokenStoreTest.java +++ b/proxy/src/test/java/google/registry/proxy/quota/TokenStoreTest.java @@ -33,15 +33,12 @@ import java.util.concurrent.ScheduledExecutorService; import java.util.concurrent.TimeUnit; import org.joda.time.DateTime; import org.joda.time.Duration; -import org.junit.Before; -import org.junit.Test; -import org.junit.runner.RunWith; -import org.junit.runners.JUnit4; +import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.Test; import org.mockito.ArgumentCaptor; /** Unit tests for {@link TokenStore}. */ -@RunWith(JUnit4.class) -public class TokenStoreTest { +class TokenStoreTest { private final QuotaConfig quotaConfig = mock(QuotaConfig.class); private final FakeClock clock = new FakeClock(); @@ -89,8 +86,8 @@ public class TokenStoreTest { }); } - @Before - public void setUp() { + @BeforeEach + void beforeEach() { when(quotaConfig.getRefreshPeriod()).thenReturn(Duration.standardSeconds(60)); when(quotaConfig.getRefillPeriod(user)).thenReturn(Duration.standardSeconds(10)); when(quotaConfig.getTokenAmount(user)).thenReturn(3); @@ -99,7 +96,7 @@ public class TokenStoreTest { } @Test - public void testSuccess_take() { + void testSuccess_take() { // Take 3 tokens one by one. DateTime refillTime = clock.nowUtc(); assertTake(1, 2, refillTime); @@ -118,13 +115,13 @@ public class TokenStoreTest { } @Test - public void testSuccess_put_entryDoesNotExist() { + void testSuccess_put_entryDoesNotExist() { tokenStore.put(user, clock.nowUtc()); assertThat(tokenStore.getTokenForTests(user)).isNull(); } @Test - public void testSuccess_put() { + void testSuccess_put() { DateTime refillTime = clock.nowUtc(); // Initialize the entry. @@ -148,7 +145,7 @@ public class TokenStoreTest { } @Test - public void testSuccess_takeAndPut() { + void testSuccess_takeAndPut() { DateTime refillTime = clock.nowUtc(); // Take 1 token. @@ -168,7 +165,7 @@ public class TokenStoreTest { } @Test - public void testSuccess_multipleUsers() { + void testSuccess_multipleUsers() { DateTime refillTime1 = clock.nowUtc(); DateTime refillTime2 = clock.nowUtc(); @@ -196,7 +193,7 @@ public class TokenStoreTest { } @Test - public void testSuccess_refresh() { + void testSuccess_refresh() { DateTime refillTime1 = clock.nowUtc(); assertTake(user, 1, 2, refillTime1); @@ -214,7 +211,7 @@ public class TokenStoreTest { } @Test - public void testSuccess_unlimitedQuota() { + void testSuccess_unlimitedQuota() { when(quotaConfig.hasUnlimitedTokens(user)).thenReturn(true); for (int i = 0; i < 10000; ++i) { assertTake(1, SENTINEL_UNLIMITED_TOKENS, clock.nowUtc()); @@ -225,7 +222,7 @@ public class TokenStoreTest { } @Test - public void testSuccess_noRefill() { + void testSuccess_noRefill() { when(quotaConfig.getRefillPeriod(user)).thenReturn(Duration.ZERO); DateTime refillTime = clock.nowUtc(); assertTake(1, 2, refillTime); @@ -236,7 +233,7 @@ public class TokenStoreTest { } @Test - public void testSuccess_noRefresh() { + void testSuccess_noRefresh() { when(quotaConfig.getRefreshPeriod()).thenReturn(Duration.ZERO); DateTime refillTime = clock.nowUtc(); assertTake(1, 2, refillTime); @@ -246,7 +243,7 @@ public class TokenStoreTest { } @Test - public void testSuccess_concurrency() throws Exception { + void testSuccess_concurrency() throws Exception { ExecutorService executor = Executors.newWorkStealingPool(); final DateTime time1 = clock.nowUtc(); submitAndWaitForTasks( @@ -297,7 +294,7 @@ public class TokenStoreTest { } @Test - public void testSuccess_scheduleRefresh() throws Exception { + void testSuccess_scheduleRefresh() throws Exception { when(quotaConfig.getRefreshPeriod()).thenReturn(Duration.standardSeconds(5)); tokenStore.scheduleRefresh();