azure-kusto-java/quickstart/pom.xml

169 строки
6.7 KiB
XML
Исходник Обычный вид История

2022-03-27 17:03:41 +03:00
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.microsoft.azure.kusto</groupId>
<artifactId>kusto-quickstart</artifactId>
<packaging>jar</packaging>
<version>${revision}</version>
<!-- The Quickstart app is designed to be standalone. We therefore have to repeat from instead of using the parent pom. -->
<url>https://github.com/Azure/azure-kusto-java</url>
<scm>
<url>scm:git:https://github.com/Azure/azure-kusto-java</url>
<connection>scm:git:https://github.com/Azure/azure-kusto-java</connection>
</scm>
<distributionManagement>
<downloadUrl>https://github.com/Azure/azure-kusto-java/releases</downloadUrl>
</distributionManagement>
<licenses>
<license>
<name>MIT License</name>
<url>http://www.opensource.org/licenses/mit-license.php</url>
<distribution>repo</distribution>
</license>
</licenses>
<developers>
<developer>
<id>microsoft</id>
<name>Microsoft</name>
</developer>
</developers>
<properties>
Removes apache http libraries and replace with azure core httpclient (#335) * initial commit removing apache http libraries * updated MSAL wrapper class to include headers in response * Added TestHttpResponse class to replace BasicHttpResponse in Tests * Added KustoParseException to replace ParseException from old Apache Client. * removed todo regarding ParseException * removed EofSensorInputStream * added fixme to replace EofSensorInputStream * Return of the Apache * Fixed UtilitiesTest Removed cast to Closeable in CloudInfo * return UriBuilder to UriUtils * add proxy options back to HttpClientFactory * ran formatter * closeable and fix build * fix test * format * removed extra throws * Per Ohad review comments: -Adds custom HTTP status codes -Integrates status codes -Uses Context.NONE static factory * removed caught exceptions that were rethrown with no changes/side effects in QueuedIngestClientImpl per review comments * removes block on body by using BinaryData removes Entity references * ran formatter * added Tracing object and builder to shorten method signatures added HttpRequestBuilder to separate request building logic from execute methods in the client, providing better testability Created BaseClient class to host the inner httpClient Put post methods on BaseClient so no need for utils class removed HttpPostUtils.java updated impacted tests left notes on Keep-Alive header in ClientFactory ran formatter * puts old URIBuilder back in place * update readme with ProxyOptions * aligns with PR 342 * fix issue with Closeable * ran formatter * Fix sync HttpWrapper implementation * fix build * format * build * Few bug fixes Build works also with OKHttp providers * readd the exclusion of commons-codec for security posture * adds response timeout and client provider to the client properties wrapper * removes references to Netty * removes extra comment * adds Keep-Alive back to prevent breaking change for users of Keep-Alive. updates CHANGELOG.md ran formatter. * removes deflate algorithm from encoding header * revert removing Apache core (URIBuilder depends on utilities in core) * remove netty from client factory * fix * removes CloseParentResourcesStream.java * reusable Gzip logic * factory now uses azure-core default http client options * I always forget the formatter * fix test --------- Co-authored-by: cole <cole.snyder@gmork.tech> Co-authored-by: Ohad Bitton <ohbitton@microsoft.com> Co-authored-by: ohad bitton <32278684+ohadbitt@users.noreply.github.com>
2024-03-24 15:04:17 +03:00
<revision>6.0.0</revision> <!-- CHANGE THIS to match project version in the root (not technically parent) pom -->
<java.version>1.8</java.version>
2022-03-27 17:03:41 +03:00
<maven-jar-plugin.version>3.2.0</maven-jar-plugin.version>
<maven-compiler-plugin.version>3.8.1</maven-compiler-plugin.version>
<maven-assembly-plugin.version>3.3.0</maven-assembly-plugin.version>
<slf4j.version>1.8.0-beta4</slf4j.version>
<json.version>20201115</json.version>
</properties>
<build>
<plugins>
2024-05-22 17:18:19 +03:00
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven-compiler-plugin.version}</version>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
</configuration>
</plugin>
2022-03-27 17:03:41 +03:00
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>${maven-jar-plugin.version}</version>
<configuration>
<archive>
<manifest>
<addClasspath>true</addClasspath>
<mainClass>com.microsoft.azure.kusto.quickstart.SampleApp</mainClass>
2022-03-27 17:03:41 +03:00
</manifest>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>${maven-assembly-plugin.version}</version>
<configuration>
<archive>
<manifest>
<mainClass>com.microsoft.azure.kusto.quickstart.SampleApp</mainClass>
2022-03-27 17:03:41 +03:00
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
</manifest>
</archive>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
</configuration>
<executions>
<execution>
<id>make-assembly</id> <!-- this is used for inheritance merges -->
<phase>package</phase> <!-- bind to the packaging phase -->
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>net.revelc.code.formatter</groupId>
<artifactId>formatter-maven-plugin</artifactId>
<version>2.16.0</version>
<configuration>
<configFile>${project.basedir}/kusto-style.xml</configFile>
<encoding>UTF-8</encoding>
</configuration>
2022-03-27 17:03:41 +03:00
</plugin>
</plugins>
</build>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>io.opentelemetry</groupId>
<artifactId>opentelemetry-bom</artifactId>
<version>1.31.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
2022-03-27 17:03:41 +03:00
<dependencies>
<dependency>
<groupId>com.microsoft.azure.kusto</groupId>
<artifactId>kusto-data</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>com.microsoft.azure.kusto</groupId>
<artifactId>kusto-ingest</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>${slf4j.version}</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
<version>${slf4j.version}</version>
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-core-tracing-opentelemetry</artifactId>
<version>1.0.0-beta.42</version>
</dependency>
<dependency>
<groupId>io.opentelemetry</groupId>
<artifactId>opentelemetry-api</artifactId>
</dependency>
<dependency>
<groupId>io.opentelemetry</groupId>
<artifactId>opentelemetry-sdk</artifactId>
</dependency>
<dependency>
<groupId>io.opentelemetry</groupId>
<artifactId>opentelemetry-exporter-otlp</artifactId>
</dependency>
<dependency>
<groupId>io.opentelemetry.semconv</groupId>
<artifactId>opentelemetry-semconv</artifactId>
<version>1.23.1-alpha</version>
</dependency>
<dependency>
<groupId>io.opentelemetry</groupId>
<artifactId>opentelemetry-exporters-logging</artifactId>
<version>0.9.1</version>
</dependency>
2022-03-27 17:03:41 +03:00
</dependencies>
</project>