From ab61bd05b7ae89642d3a9af82c777bbbe9dbc878 Mon Sep 17 00:00:00 2001 From: Hubert Plociniczak Date: Thu, 25 Apr 2024 00:18:52 +0200 Subject: [PATCH] compile with graalvm --- MODULE.bazel | 6 + MODULE.bazel.lock | 92 +++++++++++- WORKSPACE => WORKSPACE.bazel | 0 maven_install.json | 218 ++++++++++++++++++++++++++++- tools/http-test-helper/BUILD.bazel | 12 ++ 5 files changed, 322 insertions(+), 6 deletions(-) rename WORKSPACE => WORKSPACE.bazel (100%) create mode 100644 tools/http-test-helper/BUILD.bazel diff --git a/MODULE.bazel b/MODULE.bazel index 19f7741a55..b5b4da18ac 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -53,6 +53,9 @@ cats_version = "2.9.0" circe_version = "0.14.5" circe_libs = ["circe-core", "circe-generic", "circe-parser"] circe = ["io.circe:%s_2.13:%s" % (x, circe_version) for x in circe_libs] +commons_text_version = "1.10.0" +http_components_version = "4.4.1" +jackson_version = "2.15.2" maven = use_extension("@rules_jvm_external//:extensions.bzl", "maven") ## After updating a list of artifacts run @@ -62,6 +65,9 @@ maven.install( "com.typesafe.scala-logging:scala-logging_2.13:%s" % scala_logging_version, "org.scalatest:scalatest_2.13:%s" % scalatest_version, "org.typelevel:cats-core_2.13:%s" % cats_version, + "org.apache.commons:commons-text:%s" % commons_text_version, + "org.apache.httpcomponents:httpclient:%s" % http_components_version, + "com.fasterxml.jackson.core:jackson-databind:%s" % jackson_version ] + circe, fail_if_repin_required = True, lock_file = "//:maven_install.json", diff --git a/MODULE.bazel.lock b/MODULE.bazel.lock index 20de6c7a5b..a6bb4b8a8a 100644 --- a/MODULE.bazel.lock +++ b/MODULE.bazel.lock @@ -1,6 +1,6 @@ { "lockFileVersion": 6, - "moduleFileHash": "3e0b485bc50025228ff313fac2fe594a17ebf5595a6e70c7282f35f0b8133399", + "moduleFileHash": "6a3c0e8ec645ca9137de65f11f4ddebff3a6e1a8b5f915800f791471a0996859", "flags": { "cmdRegistries": [ "https://bcr.bazel.build/" @@ -159,7 +159,7 @@ "usingModule": "", "location": { "file": "@@//:MODULE.bazel", - "line": 57, + "line": 60, "column": 22 }, "imports": { @@ -175,6 +175,9 @@ "com.typesafe.scala-logging:scala-logging_2.13:3.9.4", "org.scalatest:scalatest_2.13:3.3.0-SNAP4", "org.typelevel:cats-core_2.13:2.9.0", + "org.apache.commons:commons-text:1.10.0", + "org.apache.httpcomponents:httpclient:4.4.1", + "com.fasterxml.jackson.core:jackson-databind:2.15.2", "io.circe:circe-core_2.13:0.14.5", "io.circe:circe-generic_2.13:0.14.5", "io.circe:circe-parser_2.13:0.14.5" @@ -189,7 +192,7 @@ "devDependency": false, "location": { "file": "@@//:MODULE.bazel", - "line": 60, + "line": 63, "column": 14 } } @@ -137129,7 +137132,7 @@ "bzlTransitiveDigest": "WLH6tV/jGiZ73lPBSYWRhoilLeqSLs6vQqjK4ph6NG0=", "recordedFileInputs": { "@@rules_jvm_external~//rules_jvm_external_deps_install.json": "cafb5d2d8119391eb2b322ce3840d3352ea82d496bdb8cbd4b6779ec4d044dda", - "@@//maven_install.json": "5b97d86077cfdc073e934dae125d17fdbfce73e9847fbc9d10e1856bcbf902ef" + "@@//maven_install.json": "6644c09e6d88b959f15a31712781b98842a6049ced536863825bbe02e50dd1ba" }, "recordedDirentsInputs": {}, "envVariables": {}, @@ -137327,6 +137330,18 @@ "downloaded_file_path": "v1/org/apache/maven/maven-artifact/3.9.4/maven-artifact-3.9.4.jar" } }, + "org_apache_commons_commons_text_1_10_0": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "770cd903fa7b604d1f7ef7ba17f84108667294b2b478be8ed1af3bffb4ae0018", + "urls": [ + "https://repo.maven.apache.org/maven2/org/apache/commons/commons-text/1.10.0/commons-text-1.10.0.jar", + "https://repo1.maven.org/maven2/org/apache/commons/commons-text/1.10.0/commons-text-1.10.0.jar" + ], + "downloaded_file_path": "v1/org/apache/commons/commons-text/1.10.0/commons-text-1.10.0.jar" + } + }, "software_amazon_awssdk_metrics_spi_2_20_128": { "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", "ruleClassName": "http_file", @@ -137344,6 +137359,7 @@ "attributes": { "sha256": "d919d904486c037f8d193412da0c92e22a9fa24230b9d67a57855c5c31c7e94e", "urls": [ + "https://repo.maven.apache.org/maven2/org/apache/commons/commons-lang3/3.12.0/commons-lang3-3.12.0.jar", "https://repo1.maven.org/maven2/org/apache/commons/commons-lang3/3.12.0/commons-lang3-3.12.0.jar" ], "downloaded_file_path": "v1/org/apache/commons/commons-lang3/3.12.0/commons-lang3-3.12.0.jar" @@ -137400,6 +137416,7 @@ "attributes": { "sha256": "303c99e82b1faa91a0bae5d8fbeb56f7e2adf9b526a900dd723bf140d62bd4b4", "urls": [ + "https://repo.maven.apache.org/maven2/com/fasterxml/jackson/core/jackson-core/2.15.2/jackson-core-2.15.2.jar", "https://repo1.maven.org/maven2/com/fasterxml/jackson/core/jackson-core/2.15.2/jackson-core-2.15.2.jar" ], "downloaded_file_path": "v1/com/fasterxml/jackson/core/jackson-core/2.15.2/jackson-core-2.15.2.jar" @@ -137592,6 +137609,18 @@ "downloaded_file_path": "v1/com/typesafe/scala-logging/scala-logging_2.13/3.9.4/scala-logging_2.13-3.9.4.jar" } }, + "org_apache_httpcomponents_httpclient_4_4_1": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "b2958ffb74f691e108abe69af0002ccff90ba326420596b1aab5bb0f63c31ef9", + "urls": [ + "https://repo.maven.apache.org/maven2/org/apache/httpcomponents/httpclient/4.4.1/httpclient-4.4.1.jar", + "https://repo1.maven.org/maven2/org/apache/httpcomponents/httpclient/4.4.1/httpclient-4.4.1.jar" + ], + "downloaded_file_path": "v1/org/apache/httpcomponents/httpclient/4.4.1/httpclient-4.4.1.jar" + } + }, "io_grpc_grpc_netty_shaded_1_56_1": { "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", "ruleClassName": "http_file", @@ -137603,6 +137632,18 @@ "downloaded_file_path": "v1/io/grpc/grpc-netty-shaded/1.56.1/grpc-netty-shaded-1.56.1.jar" } }, + "commons_codec_commons_codec_1_9": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "ad19d2601c3abf0b946b5c3a4113e226a8c1e3305e395b90013b78dd94a723ce", + "urls": [ + "https://repo.maven.apache.org/maven2/commons-codec/commons-codec/1.9/commons-codec-1.9.jar", + "https://repo1.maven.org/maven2/commons-codec/commons-codec/1.9/commons-codec-1.9.jar" + ], + "downloaded_file_path": "v1/commons-codec/commons-codec/1.9/commons-codec-1.9.jar" + } + }, "io_netty_netty_transport_4_1_94_Final": { "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", "ruleClassName": "http_file", @@ -137709,6 +137750,9 @@ "{ \"group\": \"com.typesafe.scala-logging\", \"artifact\": \"scala-logging_2.13\", \"version\": \"3.9.4\" }", "{ \"group\": \"org.scalatest\", \"artifact\": \"scalatest_2.13\", \"version\": \"3.3.0-SNAP4\" }", "{ \"group\": \"org.typelevel\", \"artifact\": \"cats-core_2.13\", \"version\": \"2.9.0\" }", + "{ \"group\": \"org.apache.commons\", \"artifact\": \"commons-text\", \"version\": \"1.10.0\" }", + "{ \"group\": \"org.apache.httpcomponents\", \"artifact\": \"httpclient\", \"version\": \"4.4.1\" }", + "{ \"group\": \"com.fasterxml.jackson.core\", \"artifact\": \"jackson-databind\", \"version\": \"2.15.2\" }", "{ \"group\": \"io.circe\", \"artifact\": \"circe-core_2.13\", \"version\": \"0.14.5\" }", "{ \"group\": \"io.circe\", \"artifact\": \"circe-generic_2.13\", \"version\": \"0.14.5\" }", "{ \"group\": \"io.circe\", \"artifact\": \"circe-parser_2.13\", \"version\": \"0.14.5\" }", @@ -138138,6 +138182,18 @@ "downloaded_file_path": "v1/io/netty/netty-resolver/4.1.94.Final/netty-resolver-4.1.94.Final.jar" } }, + "com_fasterxml_jackson_core_jackson_annotations_2_15_2": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "04e21f94dcfee4b078fa5a5f53047b785aaba69d19de392f616e7a7fe5d3882f", + "urls": [ + "https://repo.maven.apache.org/maven2/com/fasterxml/jackson/core/jackson-annotations/2.15.2/jackson-annotations-2.15.2.jar", + "https://repo1.maven.org/maven2/com/fasterxml/jackson/core/jackson-annotations/2.15.2/jackson-annotations-2.15.2.jar" + ], + "downloaded_file_path": "v1/com/fasterxml/jackson/core/jackson-annotations/2.15.2/jackson-annotations-2.15.2.jar" + } + }, "com_google_http_client_google_http_client_1_43_3": { "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", "ruleClassName": "http_file", @@ -138171,6 +138227,18 @@ "downloaded_file_path": "v1/io/opencensus/opencensus-proto/0.2.0/opencensus-proto-0.2.0.jar" } }, + "com_fasterxml_jackson_core_jackson_databind_2_15_2": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "0eb2fdad6e40ab8832a78c9b22f58196dd970594e8d3d5a26ead87847c4f3a96", + "urls": [ + "https://repo.maven.apache.org/maven2/com/fasterxml/jackson/core/jackson-databind/2.15.2/jackson-databind-2.15.2.jar", + "https://repo1.maven.org/maven2/com/fasterxml/jackson/core/jackson-databind/2.15.2/jackson-databind-2.15.2.jar" + ], + "downloaded_file_path": "v1/com/fasterxml/jackson/core/jackson-databind/2.15.2/jackson-databind-2.15.2.jar" + } + }, "org_slf4j_slf4j_api_1_7_30": { "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", "ruleClassName": "http_file", @@ -138189,6 +138257,7 @@ "attributes": { "sha256": "daddea1ea0be0f56978ab3006b8ac92834afeefbd9b7e4e6316fca57df0fa636", "urls": [ + "https://repo.maven.apache.org/maven2/commons-logging/commons-logging/1.2/commons-logging-1.2.jar", "https://repo1.maven.org/maven2/commons-logging/commons-logging/1.2/commons-logging-1.2.jar" ], "downloaded_file_path": "v1/commons-logging/commons-logging/1.2/commons-logging-1.2.jar" @@ -138458,6 +138527,9 @@ "{ \"group\": \"com.typesafe.scala-logging\", \"artifact\": \"scala-logging_2.13\", \"version\": \"3.9.4\" }", "{ \"group\": \"org.scalatest\", \"artifact\": \"scalatest_2.13\", \"version\": \"3.3.0-SNAP4\" }", "{ \"group\": \"org.typelevel\", \"artifact\": \"cats-core_2.13\", \"version\": \"2.9.0\" }", + "{ \"group\": \"org.apache.commons\", \"artifact\": \"commons-text\", \"version\": \"1.10.0\" }", + "{ \"group\": \"org.apache.httpcomponents\", \"artifact\": \"httpclient\", \"version\": \"4.4.1\" }", + "{ \"group\": \"com.fasterxml.jackson.core\", \"artifact\": \"jackson-databind\", \"version\": \"2.15.2\" }", "{ \"group\": \"io.circe\", \"artifact\": \"circe-core_2.13\", \"version\": \"0.14.5\" }", "{ \"group\": \"io.circe\", \"artifact\": \"circe-generic_2.13\", \"version\": \"0.14.5\" }", "{ \"group\": \"io.circe\", \"artifact\": \"circe-parser_2.13\", \"version\": \"0.14.5\" }", @@ -138973,6 +139045,18 @@ "downloaded_file_path": "v1/software/amazon/awssdk/annotations/2.20.128/annotations-2.20.128.jar" } }, + "org_apache_httpcomponents_httpcore_4_4_1": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "dd1390c17d40f760f7e51bb20523a8d63deb69e94babeaf567eb76ecd2cad422", + "urls": [ + "https://repo.maven.apache.org/maven2/org/apache/httpcomponents/httpcore/4.4.1/httpcore-4.4.1.jar", + "https://repo1.maven.org/maven2/org/apache/httpcomponents/httpcore/4.4.1/httpcore-4.4.1.jar" + ], + "downloaded_file_path": "v1/org/apache/httpcomponents/httpcore/4.4.1/httpcore-4.4.1.jar" + } + }, "org_scalatest_scalatest_flatspec_2_13_3_3_0_SNAP4": { "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", "ruleClassName": "http_file", diff --git a/WORKSPACE b/WORKSPACE.bazel similarity index 100% rename from WORKSPACE rename to WORKSPACE.bazel diff --git a/maven_install.json b/maven_install.json index 0285c6e9ca..261a61c536 100644 --- a/maven_install.json +++ b/maven_install.json @@ -1,7 +1,7 @@ { "__AUTOGENERATED_FILE_DO_NOT_MODIFY_THIS_FILE_MANUALLY": "THERE_IS_NO_DATA_ONLY_ZUUL", - "__INPUT_ARTIFACTS_HASH": -1351414053, - "__RESOLVED_ARTIFACTS_HASH": -1587158705, + "__INPUT_ARTIFACTS_HASH": 1105404835, + "__RESOLVED_ARTIFACTS_HASH": 124091257, "conflict_resolution": { "com.google.errorprone:error_prone_annotations:2.3.2": "com.google.errorprone:error_prone_annotations:2.11.0" }, @@ -12,6 +12,24 @@ }, "version": "2.3.10" }, + "com.fasterxml.jackson.core:jackson-annotations": { + "shasums": { + "jar": "04e21f94dcfee4b078fa5a5f53047b785aaba69d19de392f616e7a7fe5d3882f" + }, + "version": "2.15.2" + }, + "com.fasterxml.jackson.core:jackson-core": { + "shasums": { + "jar": "303c99e82b1faa91a0bae5d8fbeb56f7e2adf9b526a900dd723bf140d62bd4b4" + }, + "version": "2.15.2" + }, + "com.fasterxml.jackson.core:jackson-databind": { + "shasums": { + "jar": "0eb2fdad6e40ab8832a78c9b22f58196dd970594e8d3d5a26ead87847c4f3a96" + }, + "version": "2.15.2" + }, "com.google.auto.value:auto-value-annotations": { "shasums": { "jar": "fedd59b0b4986c342f6ab2d182f2a4ee9fceb2c7e2d5bdc4dc764c92394a23d3" @@ -78,6 +96,18 @@ }, "version": "3.9.4" }, + "commons-codec:commons-codec": { + "shasums": { + "jar": "ad19d2601c3abf0b946b5c3a4113e226a8c1e3305e395b90013b78dd94a723ce" + }, + "version": "1.9" + }, + "commons-logging:commons-logging": { + "shasums": { + "jar": "daddea1ea0be0f56978ab3006b8ac92834afeefbd9b7e4e6316fca57df0fa636" + }, + "version": "1.2" + }, "io.circe:circe-core_2.13": { "shasums": { "jar": "a560267179eef5420fad41c83cf2ce69adbff9b2541236c40f5e88a230e091e9" @@ -126,6 +156,30 @@ }, "version": "1.12.7" }, + "org.apache.commons:commons-lang3": { + "shasums": { + "jar": "d919d904486c037f8d193412da0c92e22a9fa24230b9d67a57855c5c31c7e94e" + }, + "version": "3.12.0" + }, + "org.apache.commons:commons-text": { + "shasums": { + "jar": "770cd903fa7b604d1f7ef7ba17f84108667294b2b478be8ed1af3bffb4ae0018" + }, + "version": "1.10.0" + }, + "org.apache.httpcomponents:httpclient": { + "shasums": { + "jar": "b2958ffb74f691e108abe69af0002ccff90ba326420596b1aab5bb0f63c31ef9" + }, + "version": "4.4.1" + }, + "org.apache.httpcomponents:httpcore": { + "shasums": { + "jar": "dd1390c17d40f760f7e51bb20523a8d63deb69e94babeaf567eb76ecd2cad422" + }, + "version": "4.4.1" + }, "org.checkerframework:checker-qual": { "shasums": { "jar": "ff10785ac2a357ec5de9c293cb982a2cbb605c0309ea4cc1cb9b9bc6dbe7f3cb" @@ -299,6 +353,10 @@ "com.chuusai:shapeless_2.13": [ "org.scala-lang:scala-library" ], + "com.fasterxml.jackson.core:jackson-databind": [ + "com.fasterxml.jackson.core:jackson-annotations", + "com.fasterxml.jackson.core:jackson-core" + ], "com.google.guava:guava": [ "com.google.code.findbugs:jsr305", "com.google.errorprone:error_prone_annotations", @@ -354,6 +412,14 @@ "junit:junit": [ "org.hamcrest:hamcrest-core" ], + "org.apache.commons:commons-text": [ + "org.apache.commons:commons-lang3" + ], + "org.apache.httpcomponents:httpclient": [ + "commons-codec:commons-codec", + "commons-logging:commons-logging", + "org.apache.httpcomponents:httpcore" + ], "org.mockito:mockito-core": [ "net.bytebuddy:byte-buddy", "net.bytebuddy:byte-buddy-agent", @@ -473,6 +539,50 @@ "shapeless.syntax.std", "shapeless.test" ], + "com.fasterxml.jackson.core:jackson-annotations": [ + "com.fasterxml.jackson.annotation" + ], + "com.fasterxml.jackson.core:jackson-core": [ + "com.fasterxml.jackson.core", + "com.fasterxml.jackson.core.async", + "com.fasterxml.jackson.core.base", + "com.fasterxml.jackson.core.exc", + "com.fasterxml.jackson.core.filter", + "com.fasterxml.jackson.core.format", + "com.fasterxml.jackson.core.io", + "com.fasterxml.jackson.core.io.doubleparser", + "com.fasterxml.jackson.core.io.schubfach", + "com.fasterxml.jackson.core.json", + "com.fasterxml.jackson.core.json.async", + "com.fasterxml.jackson.core.sym", + "com.fasterxml.jackson.core.type", + "com.fasterxml.jackson.core.util" + ], + "com.fasterxml.jackson.core:jackson-databind": [ + "com.fasterxml.jackson.databind", + "com.fasterxml.jackson.databind.annotation", + "com.fasterxml.jackson.databind.cfg", + "com.fasterxml.jackson.databind.deser", + "com.fasterxml.jackson.databind.deser.impl", + "com.fasterxml.jackson.databind.deser.std", + "com.fasterxml.jackson.databind.exc", + "com.fasterxml.jackson.databind.ext", + "com.fasterxml.jackson.databind.introspect", + "com.fasterxml.jackson.databind.jdk14", + "com.fasterxml.jackson.databind.json", + "com.fasterxml.jackson.databind.jsonFormatVisitors", + "com.fasterxml.jackson.databind.jsonschema", + "com.fasterxml.jackson.databind.jsontype", + "com.fasterxml.jackson.databind.jsontype.impl", + "com.fasterxml.jackson.databind.module", + "com.fasterxml.jackson.databind.node", + "com.fasterxml.jackson.databind.ser", + "com.fasterxml.jackson.databind.ser.impl", + "com.fasterxml.jackson.databind.ser.std", + "com.fasterxml.jackson.databind.type", + "com.fasterxml.jackson.databind.util", + "com.fasterxml.jackson.databind.util.internal" + ], "com.google.auto.value:auto-value-annotations": [ "com.google.auto.value", "com.google.auto.value.extension.memoized", @@ -539,6 +649,18 @@ "com.typesafe.scala-logging:scala-logging_2.13": [ "com.typesafe.scalalogging" ], + "commons-codec:commons-codec": [ + "org.apache.commons.codec", + "org.apache.commons.codec.binary", + "org.apache.commons.codec.digest", + "org.apache.commons.codec.language", + "org.apache.commons.codec.language.bm", + "org.apache.commons.codec.net" + ], + "commons-logging:commons-logging": [ + "org.apache.commons.logging", + "org.apache.commons.logging.impl" + ], "io.circe:circe-core_2.13": [ "io.circe", "io.circe.cursor", @@ -641,6 +763,80 @@ "net.bytebuddy.agent", "net.bytebuddy.agent.utility.nullability" ], + "org.apache.commons:commons-lang3": [ + "org.apache.commons.lang3", + "org.apache.commons.lang3.arch", + "org.apache.commons.lang3.builder", + "org.apache.commons.lang3.compare", + "org.apache.commons.lang3.concurrent", + "org.apache.commons.lang3.concurrent.locks", + "org.apache.commons.lang3.event", + "org.apache.commons.lang3.exception", + "org.apache.commons.lang3.function", + "org.apache.commons.lang3.math", + "org.apache.commons.lang3.mutable", + "org.apache.commons.lang3.reflect", + "org.apache.commons.lang3.stream", + "org.apache.commons.lang3.text", + "org.apache.commons.lang3.text.translate", + "org.apache.commons.lang3.time", + "org.apache.commons.lang3.tuple" + ], + "org.apache.commons:commons-text": [ + "org.apache.commons.text", + "org.apache.commons.text.diff", + "org.apache.commons.text.io", + "org.apache.commons.text.lookup", + "org.apache.commons.text.matcher", + "org.apache.commons.text.numbers", + "org.apache.commons.text.similarity", + "org.apache.commons.text.translate" + ], + "org.apache.httpcomponents:httpclient": [ + "org.apache.http.auth", + "org.apache.http.auth.params", + "org.apache.http.client", + "org.apache.http.client.config", + "org.apache.http.client.entity", + "org.apache.http.client.methods", + "org.apache.http.client.params", + "org.apache.http.client.protocol", + "org.apache.http.client.utils", + "org.apache.http.conn", + "org.apache.http.conn.params", + "org.apache.http.conn.routing", + "org.apache.http.conn.scheme", + "org.apache.http.conn.socket", + "org.apache.http.conn.ssl", + "org.apache.http.conn.util", + "org.apache.http.cookie", + "org.apache.http.cookie.params", + "org.apache.http.impl.auth", + "org.apache.http.impl.client", + "org.apache.http.impl.conn", + "org.apache.http.impl.conn.tsccm", + "org.apache.http.impl.cookie", + "org.apache.http.impl.execchain" + ], + "org.apache.httpcomponents:httpcore": [ + "org.apache.http", + "org.apache.http.annotation", + "org.apache.http.concurrent", + "org.apache.http.config", + "org.apache.http.entity", + "org.apache.http.impl", + "org.apache.http.impl.bootstrap", + "org.apache.http.impl.entity", + "org.apache.http.impl.io", + "org.apache.http.impl.pool", + "org.apache.http.io", + "org.apache.http.message", + "org.apache.http.params", + "org.apache.http.pool", + "org.apache.http.protocol", + "org.apache.http.ssl", + "org.apache.http.util" + ], "org.checkerframework:checker-qual": [ "org.checkerframework.checker.builder.qual", "org.checkerframework.checker.calledmethods.qual", @@ -941,6 +1137,9 @@ "repositories": { "https://repo.maven.apache.org/maven2/": [ "com.chuusai:shapeless_2.13", + "com.fasterxml.jackson.core:jackson-annotations", + "com.fasterxml.jackson.core:jackson-core", + "com.fasterxml.jackson.core:jackson-databind", "com.google.auto.value:auto-value-annotations", "com.google.code.findbugs:jsr305", "com.google.code.gson:gson", @@ -952,6 +1151,8 @@ "com.google.j2objc:j2objc-annotations", "com.google.truth:truth", "com.typesafe.scala-logging:scala-logging_2.13", + "commons-codec:commons-codec", + "commons-logging:commons-logging", "io.circe:circe-core_2.13", "io.circe:circe-generic_2.13", "io.circe:circe-jawn_2.13", @@ -960,6 +1161,10 @@ "junit:junit", "net.bytebuddy:byte-buddy", "net.bytebuddy:byte-buddy-agent", + "org.apache.commons:commons-lang3", + "org.apache.commons:commons-text", + "org.apache.httpcomponents:httpclient", + "org.apache.httpcomponents:httpcore", "org.checkerframework:checker-qual", "org.hamcrest:hamcrest-core", "org.mockito:mockito-core", @@ -991,6 +1196,9 @@ ], "https://repo1.maven.org/maven2/": [ "com.chuusai:shapeless_2.13", + "com.fasterxml.jackson.core:jackson-annotations", + "com.fasterxml.jackson.core:jackson-core", + "com.fasterxml.jackson.core:jackson-databind", "com.google.auto.value:auto-value-annotations", "com.google.code.findbugs:jsr305", "com.google.code.gson:gson", @@ -1002,6 +1210,8 @@ "com.google.j2objc:j2objc-annotations", "com.google.truth:truth", "com.typesafe.scala-logging:scala-logging_2.13", + "commons-codec:commons-codec", + "commons-logging:commons-logging", "io.circe:circe-core_2.13", "io.circe:circe-generic_2.13", "io.circe:circe-jawn_2.13", @@ -1010,6 +1220,10 @@ "junit:junit", "net.bytebuddy:byte-buddy", "net.bytebuddy:byte-buddy-agent", + "org.apache.commons:commons-lang3", + "org.apache.commons:commons-text", + "org.apache.httpcomponents:httpclient", + "org.apache.httpcomponents:httpcore", "org.checkerframework:checker-qual", "org.hamcrest:hamcrest-core", "org.mockito:mockito-core", diff --git a/tools/http-test-helper/BUILD.bazel b/tools/http-test-helper/BUILD.bazel new file mode 100644 index 0000000000..c87463ef3b --- /dev/null +++ b/tools/http-test-helper/BUILD.bazel @@ -0,0 +1,12 @@ +java_binary( + name = "http-test-helper", + srcs = glob(["src/main/java/**/*.java"]), + main_class = "org.enso.shttp.HTTPTestHelperServer", + deps = [ + "@maven//:org_apache_commons_commons_text", + "@maven//:org_apache_httpcomponents_httpclient", + "@maven//:org_apache_httpcomponents_httpcore", + "@maven//:com_fasterxml_jackson_core_jackson_databind", + "@maven//:com_fasterxml_jackson_core_jackson_core" + ] +) \ No newline at end of file