* 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>
* transient IOError
* transient IOError
* move getObjectMapper back to utils
* revert unrelated
* revert unrelated
* fix warning
* revert HttpClientProperties move to http folder
* try again
* format
* disable managed streamign test
* timeout test
* t
* dis q t
* redo test
* redo test
* no retry in cloud test
* no retry in cloud test
* fix vavr not used
* stop it !
* stop it !
* stop it !
* queuedClient test again?
* no managed , queuedClienttest minus ingestFromBlob_IngestionReportMethodIsNotTable_EmptyIngestionStatus
* format
* add again ingestFromBlob_IngestionReportMethodIsNotTable_EmptyIngestionStatus
* now with retries?
* retries not vavr?
* f
* nicer
* nicer
* nicer
---------
Co-authored-by: Ohad Bitton <ohbitton@microsoft.com>
* working and nice
* fix tests
* format
* revert samples
* test streaming from blob
* revert revert test
* test
* format
* fix test
* revert
---------
Co-authored-by: Ohad Bitton <ohbitton@microsoft.com>
* Added formatter plugin, right now only starting
* Put config on main file
* Updated style to match ours better.
* Added declaration.
* edit build.yml
* Update style and apply formatting
* Update style and apply formatting
* Tweaked settings again
* Replace with session because that might be the correct path.
* Try formatting
* line endings
* renormalize new lines
* csluuid
* new lines
* new lines
* Run again with clean
* fixed build.yml
* Changed style to be better
* Added some docs
* Fix enum nomenclature
* Fix enum nomenclature
* Fix IngestionBlobInfo to use the String versions of the enums
* Add KustoValue to IngestionReportLevel and IngestionReportMethod enums
* From code review
* Rearchitect the AAD authentication code to be object oriented and follow best-practices (Java and otherwise)
* Rearchitect the AAD authentication code to be object oriented and follow best-practices (Java and otherwise)
* Code review comments:
- Rename to CallbackTokenProvider
- Remove 2 unnecessarily-passed authorityIds
* Add another layer of abstraction (MsalTokenProvider)
* Add another layer of abstraction (MsalTokenProvider)
* Add Override annotation per code review comment
Introducing Streaming Ingest Client which performs ingest operations, of relatively small volume data for each table, directly to the engine over a special endpoint.
The streaming ingest client is recommended when there is a requirement for low latency queries, but it is not recommended for bulk ingestion.
* Update POMs for publish (#79)
* Adding an example of using CompletableFuture with the ingestFromFile() (#75)
* update readme with how to install from maven (#81)
* reportStatusWithoutSecrets (#83)
* ingestWithTagsPropeties (#82)
* aadAuthencticatorLocksFix (#84)
* throw-full-exceptions (#85)
* Ingestion properties: add setAdditionalProperties (#86)
* Reorg dependencies (#87)
* Flatten child poms to remove the need to publish the parent pom
* Add surefire plugin to kusto-data to run unit-tests
* change key file to 128bit to avoid the need for JCE
* Adding Ingestion Tests
* Adding argument validation
* Changes and fixes to make the code be more testable
* Adding Javadocs
* Renaming AzureStorageHelper -> AzureStorageClient
* Add ReadWriteLocks to make the Resource Manager thread safe
* Remove String formatting from logs.
* Use concurrent HashMap for ingestion resources map.
* pom changes: move common jar versions to parent, update minor version of libs
* updated readme fixes#17
* updated file ingest sample
* fixes#9, fix null string check in authentication
* add example of how to do a query